Home
last modified time | relevance | path

Searched refs:seen (Results 1 – 17 of 17) sorted by relevance

/xnu-11215/osfmk/corecrypto/
H A Dcc_internal.h543 unsigned seen = 0; in cc_ffs32_fallback() local
550 seen |= bit; in cc_ffs32_fallback()
553 b += (1 - bit) & (seen - 1); in cc_ffs32_fallback()
557 return (~(seen - 1)) & (b + 1); in cc_ffs32_fallback()
573 unsigned seen = 0; in cc_ffs64_fallback() local
580 seen |= bit; in cc_ffs64_fallback()
583 b += (1 - bit) & (seen - 1); in cc_ffs64_fallback()
587 return (~(seen - 1)) & (b + 1); in cc_ffs64_fallback()
/xnu-11215/osfmk/kern/
H A Dtest_lock.c199 bool seen[nelems] = { }; in smr_hash_basic_test() local
214 assert(!seen[i]); in smr_hash_basic_test()
215 seen[i] = true; in smr_hash_basic_test()
222 assert(seen[i]); in smr_hash_basic_test()
/xnu-11215/tests/ktrace/
H A Dkdebug_tests.c248 __block bool seen = 0; variable
257 if (KDBG_EXTRACT_CODE(evt->debugid) != telemetry_syscall_no || seen) {
261 seen = true;
274 T_ASSERT_TRUE(seen,
1238 __block uint64_t seen = 0; variable
1250 seen++;
1251 if (seen >= ROUND_TRIPS_THRESHOLD) {
1253 "emitting %" PRIu64, seen, emitted);
1261 T_EXPECT_GE(seen, ROUND_TRIPS_THRESHOLD,
1262 "saw %" PRIu64 " round-trip events", seen);
/xnu-11215/tools/lldbmacros/core/
H A Diterators.py722 seen = set()
731 if addr not in seen:
732 seen.add(addr)
/xnu-11215/bsd/skywalk/lib/
H A Dcuckoo_hashtable.c1056 uint32_t seen = 0; in cuckoo_hashtable_health_check() local
1070 seen++; in cuckoo_hashtable_health_check()
1089 if (seen != h->_n_entries) { in cuckoo_hashtable_health_check()
1090 panic("seen %d != n_entries %d", seen, h->_n_entries); in cuckoo_hashtable_health_check()
/xnu-11215/bsd/netinet6/
H A Dip6_input.c788 int seen = 1; in ip6_input() local
847 seen = 0; in ip6_input()
850 seen = 1; in ip6_input()
1402 if (seen == 0) { in ip6_input()
1405 seen = 1; in ip6_input()
H A Dip6_output.c869 int seen = (inject_filter_ref == NULL); in ip6_output_list() local
894 if (seen == 0) { in ip6_output_list()
897 seen = 1; in ip6_output_list()
/xnu-11215/doc/debugging/
H A Dtask_ref.md25 One of the big problems seen with task references is that difficult to debug
/xnu-11215/bsd/netinet/
H A Dip_output.c990 int seen = (inject_filter_ref == NULL); in ip_output_list() local
1011 if (seen == 0) { in ip_output_list()
1014 seen = 1; in ip_output_list()
1160 int seen = (inject_filter_ref == NULL); in ip_output_list() local
1182 if (seen == 0) { in ip_output_list()
1185 seen = 1; in ip_output_list()
H A Dip_input.c626 int seen = (inject_ipfref == NULL); in ip_proto_dispatch_in() local
634 if (seen == 0) { in ip_proto_dispatch_in()
636 seen = 1; in ip_proto_dispatch_in()
/xnu-11215/bsd/miscfs/devfs/
H A DREADME15 There is a tree of nodes that describe the layout of the DEVFS as seen by
/xnu-11215/libsyscall/mach/
H A Derr_iokit.sub43 "(iokit/common) invalid - should never be seen", // 0x001
/xnu-11215/tests/
H A Dstackshot_tests.m1472 T_ASSERT_FALSE(seen_page_table_snapshot, "check that we haven't yet seen a page table snapshot");
1517 T_ASSERT_FALSE(seen_asid, "check that we haven't yet seen an ASID");
1522 T_ASSERT_TRUE(seen_page_table_snapshot, "check that we have seen a page table snapshot");
1523 T_ASSERT_TRUE(seen_asid, "check that we have seen an ASID");
2267 bool seen = false;
2283 seen = true;
2303 …T_QUIET; T_ASSERT_TRUE(seen || !is_development_kernel(), "Seen CPU latency info or is release kern…
2706 T_ASSERT_TRUE(seen_thread_group_snapshot, "check that we have seen a thread group snapshot");
/xnu-11215/doc/observability/
H A Dmt_stackshot.md124 CPU which can be seen from a debugger.
/xnu-11215/tools/lldbmacros/
H A Dkcdata.py2575 seen = 0
2583 seen |= 2 ** s
2586 rest = (v & ~seen)
H A Dmemory.py1916 seen = 0
1928 if not seen:
1930 seen = seen + 1
1938 print("\n{0: d} total locks for {1: #018x}".format(seen, proc))
/xnu-11215/bsd/kern/
H A Duipc_mbuf.c9304 uint8_t seen[256]; local
9361 bzero(&seen, sizeof(seen));
9364 seen[mp->mt_type] = 1;
9370 seen[MT_FREE] = 1;
9372 if (!seen[i] && mbstat.m_mtypes[i] != 0) {