| /xnu-11215/tests/ |
| H A D | libmalloc_apple_array.c | 190 bool found = false; in get_apple_array_key() local 194 found = true; in get_apple_array_key() 204 return found; in get_apple_array_key() 223 bool found = false; variable 229 T_ASSERT_TRUE(found, "Found " HARDENED_RUNTIME_KEY " in apple array"); 236 T_ASSERT_TRUE(found, "Found " HARDENED_RUNTIME_KEY " in apple array"); 249 bool found = false; variable 252 T_ASSERT_TRUE(!found, "Did not find " HARDENED_RUNTIME_KEY " in apple array"); 263 bool found = false; variable 273 T_ASSERT_TRUE(found, "Found " LIBMALLOC_EXPERIMENT_FACTORS_KEY " in apple array"); [all …]
|
| H A D | correct_kernel_booted.c | 19 bool found = false; in get_macho_uuid() local 91 found = true; in get_macho_uuid() 100 if (!found) { in get_macho_uuid() 110 return found; in get_macho_uuid() 148 bool found = false; variable 158 found = true; 164 if (!found) {
|
| H A D | preoslog.c | 52 boolean_t found = FALSE; variable 92 found = check_for_substrings(upper_buffer, upper_buffer_size); 95 found = found || check_for_substrings(lower_buffer, lower_buffer_size); 96 T_ASSERT_TRUE(found, "Verify buffer content");
|
| H A D | inet6_addr_mode.c | 124 bool found = FALSE; in inet6_get_linklocal_address() local 167 found = TRUE; in inet6_get_linklocal_address() 177 return found; in inet6_get_linklocal_address()
|
| H A D | stackshot_tests.m | 986 __block bool found = false; 989 for (tries = 0; !found && tries < tries_limit; tries++) { 1001 T_PASS("found mid-exec process in %d tries", tries); 2456 int found = 0; 2462 found |= 1; 2469 found |= 2; 2473 found |= 4; 2481 T_QUIET; T_ASSERT_EQ(found, 0x7, "found everything needed"); 3168 * we get here, then we have found the shared cache UUID 3231 T_LOG("found 2 tasks with pid %d", exec_inprogress_pid); [all …]
|
| H A D | stackshot_accuracy.m | 211 T_ASSERT_EQ([parsedPid intValue], target_pid, "found correct pid"); 230 …RT_EQ(expected_return_addr, [frame[@"lr"] unsignedLongLongValue], "expected return address found"); 237 "found kernel stack frames"); 258 T_ASSERT_NE(expected_return_addr, 0ull, "found child thread with recursions"); 262 T_ASSERT_EQ(found_fault_stats, true, "found fault stats"); 284 T_LOG("CHILD was found to be UNFREEZABLE, enabling freezing.");
|
| /xnu-11215/iokit/Kernel/ |
| H A D | IOStatistics.cpp | 271 if (found) { in onKextUnload() 392 if (found) { in onClassRemoved() 457 if (found) { in registerEventSource() 494 KextNode *found; in registerWorkLoop() local 508 if (!found) { in registerWorkLoop() 562 if (found) { in registerUserClient() 631 if (found) { in detachWorkLoopEventSource() 1085 if (!found) { in copyUserClientStatistics() 1270 found = ke; in getKextNodeFromBacktrace() 1278 if (!found) { in getKextNodeFromBacktrace() [all …]
|
| H A D | IORegistryEntry.cpp | 625 const OSObject * found; in propertyHasValue() local 629 result = (!found && !value) || (found && value && value->isEqualTo(found)); in propertyHasValue() 638 const OSObject * found; in propertyHasValue() local 642 result = (!found && !value) || (found && value && value->isEqualTo(found)); in propertyHasValue() 651 const OSObject * found; in propertyHasValue() local 655 result = (!found && !value) || (found && value && value->isEqualTo(found)); in propertyHasValue() 691 const OSObject * found; in propertyHasValue() local 695 result = (!found && !value) || (found && value && value->isEqualTo(found)); in propertyHasValue() 706 const OSObject * found; in propertyHasValue() local 710 result = (!found && !value) || (found && value && value->isEqualTo(found)); in propertyHasValue() [all …]
|
| H A D | IORangeAllocator.cpp | 265 bool found = false; in allocateRange() local 277 (!found) && (index < numElements); in allocateRange() 285 found = (dataEnd <= thisEnd); in allocateRange() 287 if (found) { in allocateRange() 290 found = allocElement( index + 1 ); in allocateRange() 291 if (found) { in allocateRange() 309 return found; in allocateRange()
|
| H A D | IOMapper.cpp | 187 goto found; in copyMapperForDeviceWithIndex() 192 goto found; in copyMapperForDeviceWithIndex() 197 goto found; in copyMapperForDeviceWithIndex() 209 found: in copyMapperForDeviceWithIndex()
|
| H A D | IOKitDebug.cpp | 294 uint32_t found; member 1064 ref->found++; in IOTrackingLeakScan() 1090 zone_leaks_scan(uintptr_t * instances, uint32_t count, uint32_t zoneSize, uint32_t * found) in zone_leaks_scan() argument 1108 if (count <= ref.found) { in zone_leaks_scan() 1113 *found = ref.found; in zone_leaks_scan() 1146 if (count <= ref.found) { in IOTrackingLeaks() 1203 bool exclude, found; in SkipName() local 1213 found = false; in SkipName() 1221 found = ((sLen == qLen) && !strncmp(scan, name, sLen)); in SkipName() 1223 }while (!found && (scan < (names + namesLen))); in SkipName() [all …]
|
| /xnu-11215/tools/lockstat/ |
| H A D | lockstat.c | 95 int found; in main() local 136 found = 0; in main() 139 found = 1; in main() 149 if (found == 0) { in main() 195 found = 0; in main() 198 found = 1; in main() 211 if (found == 0) { in main() 251 found = 0; in main() 254 found = 1; in main() 266 if (found == 0) { in main()
|
| /xnu-11215/pexpert/gen/ |
| H A D | bootargs.c | 228 boolean_t found; in parse_boot_arg_test() member 254 boolean_t found = PE_parse_boot_argn_internal(test_case->args, in parse_boot_arg_test() local 257 if (test_case->found) { in parse_boot_arg_test() 260 T_EXPECT(found, "Should find argument"); in parse_boot_arg_test() 266 T_EXPECT(!found, "Should not find argument"); in parse_boot_arg_test() 274 boolean_t found; in parse_boot_arg_test() member 299 boolean_t found = PE_parse_boot_argn_internal(test_case->args, in parse_boot_arg_test() local 302 if (test_case->found) { in parse_boot_arg_test() 305 T_EXPECT(found, "Should find argument"); in parse_boot_arg_test() 311 T_EXPECT(!found, "Should not find argument"); in parse_boot_arg_test()
|
| /xnu-11215/libsyscall/mach/ |
| H A D | mach_error_string.c | 98 boolean_t found = FALSE; in err_sparse_mapit() local 106 found = TRUE; in err_sparse_mapit() 112 return (found)? ret : INT_MAX; in err_sparse_mapit()
|
| H A D | err_server.sub | 43 "(server/netname) host not found", 47 "(server/env_mgr) variable not found", 83 "(server/ns) name not found", 125 "(server/us) object not found", 172 "(server/object system) object not found", 183 "(server/loader) symbol not found",
|
| /xnu-11215/osfmk/vm/ |
| H A D | vm_phantom_cache.c | 363 uint32_t found; member 380 is_thrashing(uint32_t added, uint32_t found, uint32_t threshold) in is_thrashing() argument 383 if (added < threshold || found < threshold) { in is_thrashing() 399 if (found < added / 2) { in is_thrashing() 439 …sample_period_ghost_counts[sample_period_ghost_counts_indx].found = sample_period_ghost_found_coun… in vm_phantom_cache_check_pressure()
|
| /xnu-11215/bsd/kern/ |
| H A D | kern_persona.c | 449 size_t found = 0; in persona_find_all() local 484 if (persona && *plen > found) { in persona_find_all() 485 persona[found] = persona_get_locked(tmp); in persona_find_all() 487 found++; in persona_find_all() 492 tmp->pna_id, m, match, (int)found, (int)*plen); in persona_find_all() 499 *plen = found; in persona_find_all() 500 if (!found) { in persona_find_all()
|
| H A D | sys_recount.c | 227 bool found = recount_task_thread_perf_level_usage(task, tid, usages); in proc_pidthreadcounts() local 228 if (!found) { in proc_pidthreadcounts()
|
| /xnu-11215/bsd/net/ |
| H A D | pf_ruleset.c | 192 struct pf_anchor *key, *found; in pf_find_anchor() local 196 found = RB_FIND(pf_anchor_global, &pf_anchors, key); in pf_find_anchor() 199 if (found) { in pf_find_anchor() 200 pf_reference_anchor(found); in pf_find_anchor() 202 return found; in pf_find_anchor()
|
| H A D | pktap.c | 818 int found; in pktap_finalize_proc_info() local 826 found = inp_findinpcb_procinfo(&tcbinfo, hdr->pth_flowid, in pktap_finalize_proc_info() 836 if (found == 1) { in pktap_finalize_proc_info() 896 int found; in pktap_v2_finalize_proc_info() local 904 found = inp_findinpcb_procinfo(&tcbinfo, in pktap_v2_finalize_proc_info() 907 found = inp_findinpcb_procinfo(&udbinfo, in pktap_v2_finalize_proc_info() 910 found = inp_findinpcb_procinfo(&ripcbinfo, in pktap_v2_finalize_proc_info() 913 if (found == 1) { in pktap_v2_finalize_proc_info() 971 int found = 0; in pktap_fill_proc_info() local 1113 found = 1; in pktap_fill_proc_info() [all …]
|
| /xnu-11215/iokit/Tests/ |
| H A D | Tests.cpp | 1407 __block IOService * found; in IOServiceTest() local 1410 found = new IOService; in IOServiceTest() 1411 found->init(); in IOServiceTest() 1412 found->setName("IOTestUserClientProvider"); in IOServiceTest() 1413 found->attach(IOService::getPlatform()); in IOServiceTest() 1415 found->registerService(); in IOServiceTest() 1420 found = nullptr; in IOServiceTest() 1424 found = newService; in IOServiceTest() 1425 found->retain(); in IOServiceTest() 1430 assert(found); in IOServiceTest() [all …]
|
| /xnu-11215/bsd/netinet6/ |
| H A D | in6_rmx.c | 554 uint32_t found; member 585 ap->found++; in in6_rtqkill() 691 arg.found, arg.killed); in in6_rtqtimo() 701 ours = (arg.found - arg.killed); in in6_rtqtimo() 715 arg.found = arg.killed = 0; in in6_rtqtimo()
|
| H A D | in6_pcb.c | 1379 int found; in in6_pcblookup_hash_exists() local 1413 if ((found = (inp->inp_socket != NULL))) { in in6_pcblookup_hash_exists() 1423 return found; in in6_pcblookup_hash_exists() 1451 found = (inp->inp_socket != NULL); in in6_pcblookup_hash_exists() 1452 if (found) { in in6_pcblookup_hash_exists() 1459 return found; in in6_pcblookup_hash_exists() 1467 if ((found = (local_wild->inp_socket != NULL))) { in in6_pcblookup_hash_exists() 1474 return found; in in6_pcblookup_hash_exists()
|
| /xnu-11215/bsd/netinet/ |
| H A D | in_rmx.c | 465 uint32_t found; member 495 ap->found++; in in_rtqkill() 599 arg.found, arg.killed); in in_rtqtimo() 609 ours = (arg.found - arg.killed); in in_rtqtimo() 623 arg.found = arg.killed = 0; in in_rtqtimo()
|
| H A D | in_pcb.c | 1145 bool found; in in_pcbbind() local 1213 found = false; in in_pcbbind() 1238 if (found && in in_pcbbind() 1300 if (found && in in_pcbbind() 2477 int found = 0; in in_pcblookup_hash_exists() local 2523 return found; in in_pcblookup_hash_exists() 2581 return found; in in_pcblookup_hash_exists() 2593 return found; in in_pcblookup_hash_exists() 3818 int found = 0; in inp_findinpcb_procinfo() local 3831 found = 1; in inp_findinpcb_procinfo() [all …]
|