| /qemu/docs/sphinx/ |
| A D | hxtool.py | 57 match = re.match(r'DEFHEADING\((.*?):?\)', line) 58 if match is None: 60 return match.group(1) 70 match = re.match(r'ARCHHEADING\((.*?):?,.*\)', line) 71 if match is None: 73 return match.group(1) 78 match = re.match(r'SRST(\((.*?)\))?', line) 79 if match is None: 81 return match.group(2)
|
| /qemu/authz/ |
| A D | list.c | 40 trace_qauthz_list_check_rule(authz, rule->match, identity, in qauthz_list_is_allowed() 44 if (g_str_equal(rule->match, identity)) { in qauthz_list_is_allowed() 49 if (g_pattern_match_simple(rule->match, identity)) { in qauthz_list_is_allowed() 151 const char *match, in qauthz_list_append_rule() argument 162 rule->match = g_strdup(match); in qauthz_list_append_rule() 185 const char *match, in qauthz_list_insert_rule() argument 197 rule->match = g_strdup(match); in qauthz_list_insert_rule() 221 ssize_t qauthz_list_delete_rule(QAuthZList *auth, const char *match) in qauthz_list_delete_rule() argument 231 if (g_str_equal(rule->match, match)) { in qauthz_list_delete_rule()
|
| /qemu/scripts/coccinelle/ |
| A D | qom-parent-type.cocci | 4 @match@ 13 @script:python filter depends on match@ 14 obj_t << match.obj_t; 20 identifier match.obj_t, match.fld; 21 type match.parent_t;
|
| A D | tcg_gen_extract.cocci | 40 @match@ 62 @script:python verify_len depends on match@ 63 ret_s << match.ret; 64 msk_s << match.msk; 65 shr_p << match.shr_p; 86 identifier match.ret; 87 metavariable match.arg; 88 constant match.ofs, match.msk; 89 position match.shr_p, match.and_p;
|
| /qemu/tests/tcg/plugins/ |
| A D | insn.c | 40 Match *match; member 70 record->match = m; in get_insn_record() 111 Match *insn_match = insn->match; in vcpu_insn_matched_exec_before() 118 uint64_t delta = icount - match->last_hit; in vcpu_insn_matched_exec_before() 120 match->hits++; in vcpu_insn_matched_exec_before() 121 match->total_delta += delta; in vcpu_insn_matched_exec_before() 122 match->last_hit = icount; in vcpu_insn_matched_exec_before() 135 match->total_delta / match->hits); in vcpu_insn_matched_exec_before() 233 if (record->match == m) { in plugin_exit() 255 static void parse_match(char *match) in parse_match() argument [all …]
|
| /qemu/hw/timer/ |
| A D | stellaris-gptm.c | 82 uint32_t match; in gptm_tick() local 84 match = s->match[0] | (s->match[1] << 16); in gptm_tick() 85 if (s->rtc > match) in gptm_tick() 128 return s->match[0] | ((s->config < 4) ? (s->match[1] << 16) : 0); in gptm_read() 130 return s->match[1]; in gptm_read() 215 s->match[0] = value & 0xffff; in gptm_write() 217 s->match[1] = value >> 16; in gptm_write() 221 s->match[1] = value >> 16; in gptm_write() 261 VMSTATE_UINT32_ARRAY(match, gptm_state, 2),
|
| A D | aspeed_timer.c | 131 return t->match[i] < t->reload ? t->match[i] : 0; in calculate_match() 197 interrupt = timer_overflow_interrupt(t) || !t->match[0] || !t->match[1]; in aspeed_timer_expire() 198 } else if (ticks <= MIN(t->match[0], t->match[1])) { in aspeed_timer_expire() 200 } else if (ticks <= MAX(t->match[0], t->match[1])) { in aspeed_timer_expire() 231 value = t->match[reg - 2]; in aspeed_timer_get_value() 304 t->match[reg - 2] = value; in aspeed_timer_set_value() 638 t->match[0] = 0; in aspeed_timer_reset() 639 t->match[1] = 0; in aspeed_timer_reset() 656 VMSTATE_UINT32_ARRAY(match, AspeedTimer, 2),
|
| /qemu/hw/net/rocker/ |
| A D | rocker_of_dpa.c | 310 OfDpaFlowMatch *match = user_data; in _of_dpa_flow_match() local 332 if (!match->best || in _of_dpa_flow_match() 334 flow->lpm > match->best->lpm) { in _of_dpa_flow_match() 335 match->best = flow; in _of_dpa_flow_match() 346 return match->best; in of_dpa_flow_match() 595 OfDpaFlowMatch match = { { 0, }, }; in of_dpa_bridging_learn() local 608 match.value.eth.vlan_id = vlan_id; in of_dpa_bridging_learn() 609 memcpy(match.value.eth.dst.a, addr, sizeof(match.value.eth.dst.a)); in of_dpa_bridging_learn() 733 match->value.ip.proto = in of_dpa_acl_build_match() 1003 OfDpaFlowMatch match = { { 0, }, }; in of_dpa_flow_ig_tbl() local [all …]
|
| /qemu/qapi/ |
| A D | authz.json | 26 # The authorization policy match format 28 # @exact: an exact string match 43 # @match: a string or glob to match against a user identity 45 # @policy: the result to return if @match evaluates to true 47 # @format: the format of the @match rule (default 'exact') 52 'data': {'match': 'str',
|
| /qemu/scripts/qapi/ |
| A D | parser.py | 353 match = must_match('[^[\\]{}:,\\s\']+', 437 return re.match(r'@([^:]*): *', string) 523 text = line[match.end():] 537 % match.group(1)) 541 text = line[match.end():] 546 elif match := re.match( 561 if 'Note' in match.group(1): 570 if 'Example' in match.group(1): 579 text = line[match.end():] 599 if match := self._match_at_name_colon(line): [all …]
|
| A D | main.py | 25 match = must_match(r'([A-Za-z_.-][A-Za-z0-9_.-]*)?', prefix) 26 if match.end() != len(prefix): 27 return prefix[match.end()]
|
| A D | common.py | 255 match = re.match(pattern, string) 256 assert match is not None 257 return match
|
| /qemu/scripts/codeconverter/codeconverter/ |
| A D | regexps.py | 62 assert re.match(r, 'abc') 63 assert re.match(r, '(abc)') 64 assert not re.match(r, '(abcd)') 65 assert not re.match(r, '(abc') 66 assert not re.match(r, 'abc)')
|
| A D | patching.py | 50 self.match: Match[str] = m 54 if 'name' not in self.match.groupdict(): 63 return self.match.start() 66 return self.match.end() 72 return self.match.group(group) 75 if group not in self.match.groupdict(): 77 return self.match.group(group) 182 return klass.compiled_re().match(content, pos) 189 self.match.end(group))) 194 self.match.start(group), [all …]
|
| /qemu/scripts/ |
| A D | qom-cast-macro-clean-cocci-gen.py | 48 for match in re.findall(pattern, content): 49 print_cocci_rule(match[0], match[1])
|
| A D | cpu-x86-uarch-abi.py | 132 match = True variable 134 match = False variable 135 models[name]["levels"][level] = match
|
| /qemu/docs/system/ |
| A D | authz.rst | 97 access by matching identities against a list of permitted one. Each match 112 { "match": "fred", "policy": "allow", "format": "exact" }, 113 { "match": "bob", "policy": "allow", "format": "exact" }, 114 { "match": "danb", "policy": "deny", "format": "exact" }, 115 { "match": "dan*", "policy": "allow", "format": "glob" } 130 access control policy by storing the match rules in a standalone file 158 { "match": "fred", "policy": "allow", "format": "exact" }, 159 { "match": "bob", "policy": "allow", "format": "exact" }, 160 { "match": "danb", "policy": "deny", "format": "exact" }, 161 { "match": "dan*", "policy": "allow", "format": "glob" } [all …]
|
| /qemu/tests/tcg/aarch64/gdbstub/ |
| A D | test-mte.py | 78 first_tag = re.match(PATTERN_1, co)[1] 81 second_tag = re.match(PATTERN_1, co)[1] 95 tag = re.match(PATTERN_1, co)[1] 98 last_tag = re.match(PATTERN_1, co)[1]
|
| /qemu/include/authz/ |
| A D | list.h | 78 const char *match, 84 const char *match, 91 const char *match);
|
| /qemu/docs/devel/testing/ |
| A D | blkdebug.rst | 58 which type of operation to match (e.g. ``read_aio``, ``write_aio``, 64 rule to match. See `State transitions`_ for information 74 match this rule 89 to make so rules can match specific types of requests. For example, the ``qcow2`` 90 block driver tells ``blkdebug`` when it accesses the L1 table so rules can match 113 There are cases where more power is needed to match a particular I/O request in 120 How do we match the 2nd ``write_aio`` but not the first? This is where state 132 the attribute in order for the rule to match. 134 For example, to match the 2nd write_aio:: 154 which type of operation to match (e.g. ``read_aio``, ``write_aio``, [all …]
|
| /qemu/target/openrisc/ |
| A D | mmu.c | 45 int right, match, valid; in get_phys_mmu() local 59 match = (imr ^ addr) & TARGET_PAGE_MASK ? 0 : PAGE_EXEC; in get_phys_mmu() 60 match |= (dmr ^ addr) & TARGET_PAGE_MASK ? 0 : PAGE_READ | PAGE_WRITE; in get_phys_mmu() 65 valid &= match; in get_phys_mmu() 82 need, match, valid, right, (need & right) ? "OK" : "FAIL"); in get_phys_mmu()
|
| /qemu/tests/qemu-iotests/tests/ |
| A D | migrate-bitmaps-postcopy-test | 178 match = {'data': {'status': 'completed'}} 179 event_complete = self.vm_b.event_wait('MIGRATION', match=match) 259 match = {'data': {'status': 'completed'}} 260 e_complete = self.vm_b.event_wait('MIGRATION', match=match)
|
| /qemu/hw/core/ |
| A D | loader-fit.c | 265 const struct fit_loader_match *match; in load_fit() local 288 for (match = ldr->matches; match->compatible; match++) { in load_fit() 291 if (fit_cfg_compatible(itb, off, match->compatible)) { in load_fit() 293 match_data = match->data; in load_fit()
|
| /qemu/target/s390x/tcg/ |
| A D | vec_fpu_helper.c | 421 int match = 0; in vfc32() local 430 match++; in vfc32() 441 if (match) { in vfc32() 453 int match = 0; in vfc64() local 462 match++; in vfc64() 473 if (match) { in vfc64() 491 match = true; in vfc128() 710 match++; in DEF_GVEC_VFMA() 720 if (match == 4 || (s && match)) { in DEF_GVEC_VFMA() 740 match++; in HELPER() [all …]
|
| /qemu/ui/ |
| A D | x_keymap.c | 39 gboolean match = FALSE; in check_for_xquartz() local 45 match = TRUE; in check_for_xquartz() 52 return match; in check_for_xquartz()
|