Home
last modified time | relevance | path

Searched refs:matches (Results 1 – 25 of 47) sorted by relevance

12

/qemu/scripts/
H A Dxml-preprocess.py87 matches = re.findall(include_regex, xml_str)
88 for group_inc, group_xml in matches:
97 matches = re.findall(envvar_regex, xml_str)
98 for group_env, group_var in matches:
104 matches = re.findall(sysvar_regex, xml_str)
105 for group_sys, group_var in matches:
119 for group_cus, group_var in matches:
140 for group_var in matches:
144 for group_wrn, group_var in matches:
220 matches = re.findall(cmd_regex, xml_str)
[all …]
/qemu/tests/plugin/
H A Dinsn.c36 static GArray *matches; variable
134 if (matches->len) { in vcpu_tb_trans()
136 for (int j = 0; j < matches->len; j++) { in vcpu_tb_trans()
137 Match *m = &g_array_index(matches, Match, j); in vcpu_tb_trans()
177 for (i = 0; i < matches->len; ++i) { in plugin_exit()
178 Match *m = &g_array_index(matches, Match, i); in plugin_exit()
182 g_array_free(matches, TRUE); in plugin_exit()
193 g_array_append_val(matches, new_match); in parse_match()
200 matches = g_array_new(false, true, sizeof(Match)); in qemu_plugin_install()
/qemu/scripts/codeconverter/codeconverter/
H A Dpatching.py225 def names(matches: Iterable[FileMatch]) -> Iterable[str]:
226 return [m.name for m in matches]
333 klass.__name__,' '.join(names(matches)))
334 return matches
361 def gen_patches(self, matches: List[FileMatch]) -> None:
362 for m in matches:
379 matches = self.matches_of_type(class_dict[cn])
381 len(matches), cn, ' '.join(names(matches)))
382 yield from matches
439 matches = list(f.scan_for_matches(class_names))
[all …]
H A Dtest_patching.py34 matches = f.matches_of_type(BasicPattern)
35 assert len(matches) == 2
36 p2 = matches[1]
42 f.gen_patches(matches)
H A Dqom_macros.py283 def merge_ids(self, matches: List['TypeCheckMacro']) -> Optional[TypeIdentifiers]:
285 if not matches:
287 r = matches[0].type_identifiers
290 for m in matches[1:]:
295 matches[0].name, r, m.name, m.type_identifiers)
357 matches = self.find_matching_macros()
358 DBG("found %d matching macros: %s", len(matches), ' '.join(m.name for m in matches))
360 if matches[0].start != self.start:
361 DBG("skipping %s (will patch when handling %s)", self.name, matches[0].name)
365 ids = self.merge_ids(matches)
[all …]
/qemu/docs/system/
H A Dcpu-models-mips.rst.inc11 matches the generation of the host CPUs in use. In a deployment with a
43 matches the generation of the host CPUs in use. In a deployment with a
87 matches the generation of the host CPUs in use. In a deployment with a
H A Dauthz.rst99 matches. The match can either be done as an exact string comparison, or can
152 closely matches the previous driver:
H A Dcpu-models-x86.rst.inc69 matches the generation of the host CPUs in use. In a deployment with a
232 matches the generation of the host CPUs in use. In a deployment with a
/qemu/docs/devel/
H A Dblkdebug.txt29 Each I/O request is evaluated against the rules. If a rule matches the request
63 errno - the numeric errno value to return when a request matches this rule.
134 The first write_aio request matches the set-state rule and transitions from
136 longer matches since it requires state 1. But the inject-error rule now
137 matches the next write_aio request and injects EIO (5).
H A Dtcg.rst28 matches the state recorded in the previous TB. The same idea can be applied
62 matches the current CPU state. If the destination TB is available its
148 matches the target instructions in memory in order to handle
H A Dci-definitions.rst.inc21 matches the expected result, the test has been successful; otherwise, it has
H A Dqapi-code-gen.rst69 * Concatenation: expression ``A B`` matches expression ``A``, then ``B``
70 * Alternation: expression ``A | B`` matches expression ``A`` or ``B``
71 * Repetition: expression ``A...`` matches zero or more occurrences of
73 * Repetition: expression ``A, ...`` matches zero or more occurrences of
75 * Grouping: expression ``( A )`` matches expression ``A``
82 * The symbol ``STRING`` is a terminal, and matches any JSON string
83 * The symbol ``BOOL`` is a terminal, and matches JSON ``false`` or ``true``
1076 # - its name matches the @name pattern, and
/qemu/contrib/plugins/
H A Dhwprofile.c53 static gchar **matches; variable
217 if (g_strv_contains((const char * const *)matches, counts->name)) { in vcpu_haddr()
296 matches = g_strsplit(matches_raw->str, ",", -1); in qemu_plugin_install()
/qemu/include/hw/
H A Dloader-fit.h31 const struct fit_loader_match *matches; member
/qemu/hw/vfio/
H A Dpci-quirks.c100 VFIOConfigWindowMatch matches[]; member
128 if ((data & ~window->matches[i].mask) == window->matches[i].match) { in vfio_generic_window_quirk_address_write()
130 window->address_val = data & window->matches[i].mask; in vfio_generic_window_quirk_address_write()
462 window->matches[0].match = 0x4000; in vfio_probe_ati_bar4_quirk()
463 window->matches[0].mask = vdev->config_size - 1; in vfio_probe_ati_bar4_quirk()
801 window->matches[0].match = 0x1800; in vfio_probe_nvidia_bar5_quirk()
802 window->matches[0].mask = PCI_CONFIG_SPACE_SIZE - 1; in vfio_probe_nvidia_bar5_quirk()
803 window->matches[1].match = 0x88000; in vfio_probe_nvidia_bar5_quirk()
804 window->matches[1].mask = vdev->config_size - 1; in vfio_probe_nvidia_bar5_quirk()
/qemu/hw/timer/
H A Domap_gptimer.c129 int64_t expires, matches; in omap_gp_timer_update() local
137 matches = muldiv64(timer->ticks_per_sec, in omap_gp_timer_update()
139 timer_mod(timer->match, timer->time + matches); in omap_gp_timer_update()
/qemu/hw/core/
H A Dloader-fit.c287 if (ldr->matches) { in load_fit()
288 for (match = ldr->matches; match->compatible; match++) { in load_fit()
/qemu/hw/net/
H A Dnpcm7xx_emc.c446 bool matches; in emc_receive_filter1() local
462 matches = ((emc->regs[REG_CAMCMR] & REG_CAMCMR_ECMP) && in emc_receive_filter1()
468 return !matches; in emc_receive_filter1()
471 return matches; in emc_receive_filter1()
/qemu/docs/interop/
H A Dvhost-user.json179 # to pick one of the many matches, and users need the ability to
204 # the sorted list that matches the search criteria. If a more specific
H A Dfirmware.json76 # (For example, the glob pattern "pc-i440fx-*" matches
358 # one of the many matches, and users need the ability to override distro
382 # the sorted list that matches the search criteria. If a more specific
/qemu/qapi/
H A Dauthz.json61 # @policy: Default policy to apply when no rule matches (default:
H A Drocker.json215 # @hits: count of matches (hits) on flow
/qemu/docs/specs/
H A Dppc-spapr-numa.rst61 that matches the relevancy of the boundary itself. Resources that belongs
274 NUMA level matches (considering the reference points {0x4, 0x3, 0x2, 0x1}) for
284 the NUMA level matches. Between 0 and 1, a match in 0x2, we'll also copy
291 after considering all matches with node 0:
/qemu/docs/tools/
H A Dqemu-trace-stap.rst71 *PATTERN* is a plain string that matches a probe name shown by the
/qemu/block/
H A Dvmdk.c1151 int matches; in vmdk_parse_extents() local
1179 matches = sscanf(p, "%10s %" SCNd64 " %10s \"%511[^\n\r\"]\" %" SCNd64, in vmdk_parse_extents()
1181 if (matches < 4 || strcmp(access, "RW")) { in vmdk_parse_extents()
1184 if (matches != 5 || flat_offset < 0) { in vmdk_parse_extents()
1188 if (matches == 4) { in vmdk_parse_extents()
1193 } else if (matches != 4) { in vmdk_parse_extents()

12