Home
last modified time | relevance | path

Searched refs:pattern (Results 1 – 25 of 152) sorted by relevance

1234567

/qemu/tests/qemu-iotests/
H A D021.out5 -1 is not a valid pattern byte
8 -1 is not a valid pattern byte
11 -1 is not a valid pattern byte
14 -1 is not a valid pattern byte
17 -1 is not a valid pattern byte
20 -1 is not a valid pattern byte
23 300 is not a valid pattern byte
26 300 is not a valid pattern byte
29 300 is not a valid pattern byte
32 300 is not a valid pattern byte
[all …]
H A D07550 _use_sample_img simple-pattern.cloop.bz2
55 _use_sample_img simple-pattern.cloop.bz2
60 _use_sample_img simple-pattern.cloop.bz2
66 _use_sample_img simple-pattern.cloop.bz2
72 _use_sample_img simple-pattern.cloop.bz2
78 _use_sample_img simple-pattern.cloop.bz2
84 _use_sample_img simple-pattern.cloop.bz2
90 _use_sample_img simple-pattern.cloop.bz2
97 _use_sample_img simple-pattern.cloop.bz2
H A D024.out5 === IO: pattern 0x11
25 === IO: pattern 0x22
37 === IO: pattern 0x33
40 === IO: pattern 0x33
45 === IO: pattern 0x33
48 === IO: pattern 0x33
51 === IO: pattern 0x33
54 === IO: pattern 0x33
57 === IO: pattern 0x11
60 === IO: pattern 0x00
[all …]
H A D075.out12 qemu-io: can't open device TEST_DIR/simple-pattern.cloop: block_size 513 must be a multiple of 512
15 qemu-io: can't open device TEST_DIR/simple-pattern.cloop: block_size cannot be zero
18 qemu-io: can't open device TEST_DIR/simple-pattern.cloop: block_size 4294966784 must be 64 MB or le…
21 qemu-io: can't open device TEST_DIR/simple-pattern.cloop: n_blocks 4294967295 must be 536870911 or …
24 qemu-io: can't open device TEST_DIR/simple-pattern.cloop: image requires too many offsets, try incr…
27 qemu-io: can't open device TEST_DIR/simple-pattern.cloop: offsets not monotonically increasing at i…
30 qemu-io: can't open device TEST_DIR/simple-pattern.cloop: invalid compressed block size at index 1,…
H A D149.out8 # Write test pattern 0xa7
14 # Write test pattern 0x13
22 # Read test pattern 0xa7
27 # Read test pattern 0x13
32 # Write test pattern 0x91
37 # Write test pattern 0x5e
44 # Read test pattern 0x91
50 # Read test pattern 0x5e
80 # Read test pattern 0xa7
85 # Read test pattern 0x13
[all …]
H A D03860 local pattern=0
65 pattern=$(( ( (cur_sec % 128) + (cur_sec / 128)) % 128 ))
67 echo "$op -P $pattern $((cur_sec * 64))k 64k"
123 local pattern=$(( ( (cur_sec % 128) + (cur_sec / 128)) % 128 ))
125 echo read -P $pattern $((i * 128 + 96))k 32k
H A Dcommon.pattern40 local pattern=$6
42 echo "=== IO: pattern $pattern" >&2
44 echo "$op -P $pattern $(( start + (i - 1) * step )) $size"
54 local pattern=$(( (start >> 9) % 256 ))
56 do_io "$@" $pattern | $QEMU_IO "$TEST_IMG" | _filter_qemu_io
H A D048.out3 === IO: pattern 45
23 === IO: pattern 67
28 === IO: pattern 123
34 === IO: pattern 100
37 === IO: pattern 101
H A D02150 for pattern in $INVALID_PATTERNS; do
53 echo "== testing $op -P $pattern =="
54 $QEMU_IO -c "$op -P $pattern 0 4096" "$TEST_IMG" | _filter_qemu_io
H A D025.out7 === IO: pattern 0xc5
21 === IO: pattern 0xc5
24 === IO: pattern 0
H A D027.out12 == verify pattern ==
16 == verify zeroes before sub-cluster pattern ==
20 == verify zeroes after sub-cluster pattern ==
H A D189.out9 == verify pattern ==
19 == verify pattern ==
23 == verify pattern ==
H A D158.out9 == verify pattern ==
19 == verify pattern ==
23 == verify pattern ==
H A D134.out12 == verify pattern ==
22 == verify pattern ==
26 == verify pattern failure with wrong password ==
H A D03763 local pattern=0
68 pattern=$(( ( (cur_sec % 256) + (cur_sec / 256)) % 256 ))
70 echo "$op -P $pattern $((cur_sec * 512)) 512"
H A D198.out15 == verify pattern base ==
19 == verify pattern layer ==
26 == verify pattern base ==
30 == verify pattern layer ==
H A D04660 local pattern=0
65 pattern=$(( ( (cur_sec % 128) + (cur_sec / 128)) % 128 ))
67 echo "$op -P $pattern $((cur_sec * 64))k 64k"
/qemu/trace/
H A Dtrace-hmp-cmds.c108 char *pattern = g_strdup_printf("%s*", str); in info_trace_events_completion() local
109 trace_event_iter_init_pattern(&iter, pattern); in info_trace_events_completion()
113 g_free(pattern); in info_trace_events_completion()
126 char *pattern = g_strdup_printf("%s*", str); in trace_event_completion() local
127 trace_event_iter_init_pattern(&iter, pattern); in trace_event_completion()
131 g_free(pattern); in trace_event_completion()
H A Dcontrol.c102 iter->pattern = NULL; in trace_event_iter_init_all()
105 void trace_event_iter_init_pattern(TraceEventIter *iter, const char *pattern) in trace_event_iter_init_pattern() argument
108 iter->pattern = pattern; in trace_event_iter_init_pattern()
128 if (iter->pattern && in trace_event_iter_next()
129 !g_pattern_match_simple(iter->pattern, trace_event_get_name(ev))) { in trace_event_iter_next()
/qemu/tests/qemu-iotests/tests/
H A Dparallels-checks.out4 == write pattern ==
14 == write pattern to last cluster ==
36 == write pattern to whole image ==
39 == write another pattern to second cluster ==
64 == write another pattern to the first clusters ==
75 == write pattern to whole image ==
78 == write another pattern to second cluster ==
95 == write another pattern to the first clusters ==
106 == write pattern to first cluster ==
116 == write pattern to first cluster ==
/qemu/tests/unit/
H A Dtest-replication.c51 static void test_blk_read(BlockBackend *blk, long pattern, in test_blk_read() argument
61 if (pattern) { in test_blk_read()
63 memset(cmp_buf, pattern, pattern_count); in test_blk_read()
67 if (pattern) { in test_blk_read()
68 memset(pattern_buf, pattern, count); in test_blk_read()
85 if (pattern) { in test_blk_read()
96 static void test_blk_write(BlockBackend *blk, long pattern, int64_t offset, in test_blk_write() argument
104 if (pattern) { in test_blk_write()
105 memset(pattern_buf, pattern, count); in test_blk_write()
/qemu/docs/devel/
H A Ddecodetree.rst5 A *decodetree* is built from instruction *patterns*. A pattern may
9 Each pattern has both *fixedbits* and *fixedmask*, the combination of which
10 describes the condition under which the pattern is matched::
14 Each pattern may have *fields*, which are extracted from the insn and
35 A *named_field* refers to some other field in the instruction pattern
44 defined in the instruction pattern(s) that use the format.
45 Conversely, an instruction pattern can include fields that refer to
47 cannot currently do both at once (i.e. pattern P uses format F; F has
106 pattern and the ``OR`` pattern put their operands into the same named
135 final 0 or 1 from the pattern, and '-' means that the bit is really
[all …]
/qemu/contrib/plugins/
H A Dhwprofile.c48 static bool pattern; variable
112 if (!(pattern || source)) { in plugin_exit()
134 const char *prefix = pattern ? "off" : "pc"; in plugin_exit()
161 if (pattern || source) { in new_count()
230 if (pattern || source) { in vcpu_haddr()
278 if (!qemu_plugin_bool_parse(tokens[0], tokens[1], &pattern)) { in qemu_plugin_install()
299 if (source && pattern) { in qemu_plugin_install()
/qemu/
H A Dqemu-io-cmds.c322 long pattern; in parse_pattern() local
325 if (pattern < 0 || pattern > UCHAR_MAX || *endptr != '\0') { in parse_pattern()
330 return pattern; in parse_pattern()
350 memset(buf, pattern, len); in qemu_io_alloc()
719 int pattern = 0; in read_f() local
916 int pattern = 0; in readv_f() local
1060 int pattern = 0xcd; in write_f() local
1272 int pattern = 0xcd; in writev_f() local
1356 int pattern; member
1592 int pattern = 0xcd; in aio_write_f() local
[all …]
/qemu/scripts/
H A Dqom-cast-macro-clean-cocci-gen.py47 for pattern in patterns:
48 for match in re.findall(pattern, content):

1234567