Home
last modified time | relevance | path

Searched refs:second (Results 1 – 20 of 20) sorted by relevance

/xnu-11215/tests/
H A Dpersona.c39 uid_t second = _create_persona(PERSONA_SYSTEM, PERSONA_INFO_V1); variable
41 T_ASSERT_NE(first, second, NULL);
44 T_ASSERT_EQ(kpersona_dealloc(second), 0, NULL);
50 uid_t second = _create_persona(PERSONA_SYSTEM_PROXY, PERSONA_INFO_V1); variable
52 T_ASSERT_NE(first, second, NULL);
55 T_ASSERT_EQ(kpersona_dealloc(second), 0, NULL);
H A Dkqueue_timer_tests.c331 test_updated_kevent(int first, int second) in test_updated_kevent() argument
336 T_LOG("Testing update from %d to %d msecs...\n", first, second); in test_updated_kevent()
350 EV_SET64(&kev, 4, EVFILT_TIMER, EV_ONESHOT, 0, second, 0, 0, 0); in test_updated_kevent()
352 uint64_t expected_us = (uint64_t)second * 1000; in test_updated_kevent()
354 if (second < 0) { in test_updated_kevent()
362 T_PASS("%s() %d, %d", __func__, first, second); in test_updated_kevent()
365 T_FAIL("%s() %d, %d", __func__, first, second); in test_updated_kevent()
/xnu-11215/tests/iokit/
H A Dioserviceusernotification_race.c113 absoluteDifference(size_t first, size_t second) in absoluteDifference() argument
115 if (first > second) { in absoluteDifference()
116 return first - second; in absoluteDifference()
118 return second - first; in absoluteDifference()
/xnu-11215/tools/kt-dump/
H A Dkt-dump.cpp207 if (!dedup_entries.insert(std::make_tuple(name, sig)).second) { in dump_types()
214 if (dedup_strings.insert(name).second) { in dump_types()
217 if (dedup_strings.insert(sig).second) { in dump_types()
270 if (!dedup_entries_var.insert(std::make_tuple(name, sig_hdr, sig_type)).second) { in dump_types_var()
274 if (dedup_strings.insert(name).second) { in dump_types_var()
277 if (sig_hdr && dedup_strings.insert(sig_hdr).second) { in dump_types_var()
280 if (dedup_strings.insert(sig_type).second) { in dump_types_var()
/xnu-11215/tests/recount/
H A Drecount_tests.c108 struct usage_thread second = { 0 }; variable
114 thread_start(&second, "second", USAGE_SPIN);
122 thread_end(&second);
153 struct usage_thread second = { 0 }; in test_usr_sys_time_sanity() local
154 thread_start(&second, "second", USAGE_SLEEP); in test_usr_sys_time_sanity()
166 thread_end(&second); in test_usr_sys_time_sanity()
/xnu-11215/tests/sched/
H A Dclutch_runqueue.c181 test_thread_t second = create_thread(bucket, second_tg, root_bucket_to_highest_pri[bucket]); variable
182 enqueue_threads(2, first, second);
184 ret = dequeue_threads_expect_ordered(2, first, second);
216 test_thread_t second = create_thread(bucket, same_tg, root_bucket_to_highest_pri[bucket]); variable
217 enqueue_threads(2, first, second);
219 ret = dequeue_threads_expect_ordered(2, first, second);
/xnu-11215/osfmk/vm/
H A Dvm_map_store_rb_internal.h39 struct vm_map_store *second);
/xnu-11215/libsyscall/mach/
H A Dvm_map.defs31 * really just a second instance of the "wide" Mach VM interfaces.
/xnu-11215/iokit/IOKit/pwr_mgt/
H A DIOPM.h821 UInt8 second; member
/xnu-11215/tools/tests/perf_index/
H A DREADME41 from the first half of memory to the second. If the allocated space is less than
/xnu-11215/bsd/miscfs/devfs/
H A DREADME17 for reasons that will become obvious in a second. Think of it as a
/xnu-11215/iokit/DriverKit/
H A DIODispatchQueue.iig101 …* second queue (ie. OnQueue can return true for more than one queue in a given contex…
/xnu-11215/doc/vm/
H A Dfreezer.md19 …below for details. If the map meets our criteria, `vm_map_freeze` does a second pass to compress a…
H A Dmemorystatus.md178 The freezer snapshot, `memorystatus_jetsam_snapshot_freezer`, is a second global jetsam snapshot ob…
/xnu-11215/doc/allocators/
H A Dapi-basics.md160 the kernel pointers and the second that is untyped and data-only.
/xnu-11215/doc/lifecycle/
H A Dhibernation.md94 includes the second file extent so that only the header block is needed to
/xnu-11215/config/
H A DMASTER345 # support loading a second static trust cache
/xnu-11215/makedefs/
H A DMakeInc.top109 # kernel configuration, the second is the architecture configuration,
/xnu-11215/doc/scheduler/
H A Dsched_clutch_edge.md68 The second level is the “thread group” level which decides which thread group within a QoS bucket s…
/xnu-11215/iokit/Kernel/
H A DIOPMrootDomain.cpp248 …YMDT(cal) ((int)(cal)->year), (cal)->month, (cal)->day, (cal)->hour, (cal)->minute, (cal)->second
7707 dt->second = n % 60;
7777 secs = dt->second + 60 * dt->minute + 3600 * dt->hour;