| /xnu-11215/osfmk/i386/ |
| H A D | mtrr.c | 198 boolean_t match = TRUE; in mtrr_check_fix_ranges() local 206 for (i = 0; match && i < 8; i++) { in mtrr_check_fix_ranges() 207 match = range[3 + i].types == in mtrr_check_fix_ranges() 211 return match; in mtrr_check_fix_ranges() 218 boolean_t match = TRUE; in mtrr_check_var_ranges() local 227 return match; in mtrr_check_var_ranges() 440 boolean_t match = TRUE; in mtrr_update_cpu() local 454 if (match) { in mtrr_update_cpu() 470 if (!match) { in mtrr_update_cpu() 474 if (!match) { in mtrr_update_cpu() [all …]
|
| H A D | cpu_threads.c | 617 x86_cpu_cache_t *match; in x86_lcpu_add_caches() local 689 match = x86_match_cache(cur_lcpu->caches[level], cur); in x86_lcpu_add_caches() 690 if (match != NULL) { in x86_lcpu_add_caches() 692 x86_cache_add_lcpu(match, lcpu); in x86_lcpu_add_caches() 718 match = x86_match_cache(cur_lcpu->caches[level], cur); in x86_lcpu_add_caches() 719 if (match != NULL) { in x86_lcpu_add_caches() 721 x86_cache_add_lcpu(match, lcpu); in x86_lcpu_add_caches()
|
| /xnu-11215/libkern/zlib/ |
| H A D | deflate.c | 1158 match++; in longest_match() 1165 } while (*++scan == *++match && *++scan == *++match && in longest_match() 1166 *++scan == *++match && *++scan == *++match && in longest_match() 1167 *++scan == *++match && *++scan == *++match && in longest_match() 1168 *++scan == *++match && *++scan == *++match && in longest_match() 1223 if (match[0] != scan[0] || match[1] != scan[1]) return MIN_MATCH-1; in longest_match_fast() 1232 match += 2; in longest_match_fast() 1239 } while (*++scan == *++match && *++scan == *++match && in longest_match_fast() 1240 *++scan == *++match && *++scan == *++match && in longest_match_fast() 1241 *++scan == *++match && *++scan == *++match && in longest_match_fast() [all …]
|
| H A D | inftrees.c | 81 unsigned match; /* use base and extra for symbol >= match */ in inflate_table() local 209 match = 20; in inflate_table() 214 match = 257; in inflate_table() 219 match = 0; in inflate_table() 241 if (work[sym] + 1 < match) { in inflate_table() 245 else if (work[sym] >= match) { in inflate_table() 246 this.op = (unsigned char)(extra[work[sym] - match]); in inflate_table() 247 this.val = base[work[sym] - match]; in inflate_table()
|
| /xnu-11215/bsd/netinet/ |
| H A D | kpi_ipfilter.c | 258 if (match == 0 || (match->ipf_head != &ipv4_filters && match->ipf_head != &ipv6_filters)) { in ipf_remove() 262 head = match->ipf_head; in ipf_remove() 265 TAILQ_FOREACH(match, head, ipf_link) { in ipf_remove() 266 if (match == (struct ipfilter *)filter_ref) { in ipf_remove() 268 void *__single cookie = match->ipf_filter.cookie; in ipf_remove() 275 TAILQ_INSERT_TAIL(&tbr_filters, match, ipf_tbr); in ipf_remove() 276 match->ipf_filter.ipf_input = ipf_input_detached; in ipf_remove() 277 match->ipf_filter.ipf_output = ipf_output_detached; in ipf_remove() 281 if (match->ipf_flags & IPFF_INTERNAL) { in ipf_remove() 285 TAILQ_REMOVE(head, match, ipf_link); in ipf_remove() [all …]
|
| H A D | ip_encap.c | 137 struct encaptab *__single ep, *__single match; in encap4_input() local 165 match = NULL; in encap4_input() 209 match = ep; in encap4_input() 210 psw = (const struct protosw *)match->psw; in encap4_input() 216 if (match) { in encap4_input() 239 struct encaptab *__single ep, *__single match; in encap6_input() local 256 match = NULL; in encap6_input() 283 match = ep; in encap6_input() 284 psw = (const struct ip6protosw *)match->psw; in encap6_input() 290 if (match) { in encap6_input()
|
| /xnu-11215/tools/lldbmacros/ |
| H A D | zonetriage.py | 42 if re.match(zone_element_modified, panic_string) is not None: 44 elif re.match(zone_map_exhausted, panic_string) is not None: 102 if re.match(zone_element_modified, panic_string) is not None: 104 if re.match(zone_map_exhausted, panic_string) is not None:
|
| H A D | xnutriage.py | 96 for match in lr_pc_srch: 97 sp=match.strip("lr: ") 117 for match in lr_pc_srch: 118 sp=match.strip("lr: ")
|
| H A D | kext.py | 487 match = ( 495 for kinfo, segs in match: 513 match = ( 519 if match and not printed_header: 523 for kinfo, segs in match:
|
| /xnu-11215/tools/ |
| H A D | syscall_map.lua | 18 local assume_defined = not line:match('COMPAT_GETFSSTAT') 19 if line:match('^#if') then 21 elseif line:match('^#else') then 23 elseif line:match('^#endif') then 58 bsd_syscalls[#bsd_syscalls + 1] = syscall_ptn:match(line)
|
| H A D | symbolify.py | 15 m = nm_re.match(str)
|
| /xnu-11215/tests/ |
| H A D | stackshot_block_owner_14362384.m | 288 "Context should match unslid location of mutex in kernel memory"); 587 T_EXPECT_EQ(waitinfo.owner, pid, "Owner value should match process ID"); 771 "Wait type should match expected PThreadMutex value"); 779 "Thread ID of blocking thread should match 'owner' field in stackshot"); 781 "Userspace address of mutex should match 'context' field in stackshot"); 807 "Wait type should match expected PThreadRWLockRead value"); 813 "Userspace address of rwlck should match 'context' field in stackshot"); 840 "Wait type should match expected PThreadCondVar value"); 846 "Userspace address of condvar should match 'context' field in stackshot"); 875 "Wait type should match expected WaitOnProcess value"); [all …]
|
| H A D | cpucount.c | 392 CFDictionaryRef match = NULL; variable 412 match = IOServiceNameMatching("cpus"); 413 cpus_service = IOServiceGetMatchingService(kIOMainPortDefault, match); 414 match = NULL; // consumes reference to match
|
| /xnu-11215/bsd/kern/ |
| H A D | kern_persona.c | 448 int match = 0; in persona_find_all() local 452 match++; in persona_find_all() 455 match++; in persona_find_all() 458 match++; in persona_find_all() 463 if (match == 0) { in persona_find_all() 468 match, login, uid); in persona_find_all() 483 if (m == match) { in persona_find_all() 492 tmp->pna_id, m, match, (int)found, (int)*plen); in persona_find_all()
|
| H A D | kdebug_common.c | 884 kd_event_matcher *match = &kd_control_trace.disable_event_match; in kernel_debug_read() local 886 if ((earliest_event->debugid & mask->kem_debugid) == match->kem_debugid && in kernel_debug_read() 887 (earliest_event->arg1 & mask->kem_args[0]) == match->kem_args[0] && in kernel_debug_read() 888 (earliest_event->arg2 & mask->kem_args[1]) == match->kem_args[1] && in kernel_debug_read() 889 (earliest_event->arg3 & mask->kem_args[2]) == match->kem_args[2] && in kernel_debug_read() 890 (earliest_event->arg4 & mask->kem_args[3]) == match->kem_args[3]) { in kernel_debug_read()
|
| H A D | subr_log.c | 819 boolean_t match = TRUE; in find_pattern_in_buffer() local 823 match = FALSE; in find_pattern_in_buffer() 827 if (match && ++match_count >= expected_count) { in find_pattern_in_buffer()
|
| /xnu-11215/bsd/kern/code_signing/ |
| H A D | xnu.c | 129 bool match = false; in xnu_match_compilation_service_cdhash() local 133 match = true; in xnu_match_compilation_service_cdhash() 137 return match; in xnu_match_compilation_service_cdhash()
|
| /xnu-11215/tools/lldbmacros/core/ |
| H A D | pointer.py | 70 def match(cls, sbvalue): member in PointerPolicy 115 def match(cls, sbvalue): member in NativePointer
|
| H A D | standard.py | 235 match = self._KEY_RE.search(name) 236 index = match.start() if match else len(name)
|
| /xnu-11215/iokit/Kernel/ |
| H A D | IOService.cpp | 6062 if (!match) { in instanceMatch() 6067 if (match) { in instanceMatch() 6072 if (!match) { in instanceMatch() 7669 match = false; in matchInternal() 7706 if (!match) { in matchInternal() 7723 match = false; in matchInternal() 7739 match = false; in matchInternal() 7756 if (match) { in matchInternal() 7880 return match; in matchInternal() 7930 if (!match) { in matchPassive() [all …]
|
| /xnu-11215/bsd/net/ |
| H A D | pktap.c | 713 int match = 0; in pktap_filter_evaluate() local 720 match = 1; in pktap_filter_evaluate() 728 match = 1; in pktap_filter_evaluate() 736 match = !strlcmp(pktap_filter->filter_param_if_name, in pktap_filter_evaluate() 740 match = strprefix(ifp->if_xname, in pktap_filter_evaluate() 744 if (match) { in pktap_filter_evaluate() 758 match = 1; in pktap_filter_evaluate() 770 match = strprefix(ifp->if_xname, in pktap_filter_evaluate() 773 if (match) { in pktap_filter_evaluate() 782 if (match) { in pktap_filter_evaluate() [all …]
|
| /xnu-11215/tests/vm/ |
| H A D | vm_parameter_validation_replacement_mach_host.defs | 3 // rdar://117927965 (mach_memory_object_memory_entry() declaration does not match its definition)
|
| H A D | perf_madvise.lua | 53 local result = out:match("-----Results-----\n(.*)")
|
| /xnu-11215/bsd/skywalk/nexus/flowswitch/flow/ |
| H A D | flow_var.h | 619 flow_key_cmp(const struct flow_key *match, const struct flow_key *key) in flow_key_cmp() argument 622 if ((match->fk_mask & mask) != 0) { \ in flow_key_cmp() 626 int d = memcmp(&match->field, &key->field, sizeof(match->field)); \ in flow_key_cmp() 647 flow_key_cmp_mask(const struct flow_key *match, in flow_key_cmp_mask() argument 656 const struct flow_key *match_idx = match; in flow_key_cmp_mask()
|
| /xnu-11215/iokit/IOKit/ |
| H A D | IOCatalogue.h | 176 bool personalityIsBoot(OSDictionary * match);
|