Home
last modified time | relevance | path

Searched refs:then (Results 1 – 25 of 33) sorted by relevance

12

/xnu-8020.101.4/bsd/kern/
H A Dkern_sig.c1024 mach_timespec_t then; in __old_semwait_signal_nocancel() local
1053 then.tv_sec = (unsigned int)ts.tv_sec; in __old_semwait_signal_nocancel()
1054 then.tv_nsec = (clock_res_t)ts.tv_nsec; in __old_semwait_signal_nocancel()
1062 then.tv_sec = 0; in __old_semwait_signal_nocancel()
1063 then.tv_nsec = 0; in __old_semwait_signal_nocancel()
1065 then.tv_sec = (unsigned int)(ts.tv_sec - now.tv_sec); in __old_semwait_signal_nocancel()
1066 then.tv_nsec = (clock_res_t)(ts.tv_nsec - now.tv_nsec); in __old_semwait_signal_nocancel()
1067 if (then.tv_nsec < 0) { in __old_semwait_signal_nocancel()
1068 then.tv_nsec += NSEC_PER_SEC; in __old_semwait_signal_nocancel()
1069 then.tv_sec--; in __old_semwait_signal_nocancel()
[all …]
/xnu-8020.101.4/osfmk/tests/
H A DREADME.md34 …* If you wish to add a new *.c* file for your tests then, use ```#include <xnupost.h>``` to includ…
73 … to boot after testing. If you are unable to cleanup and require a reboot then use XNUPOST_TEST_CO…
90 …xample if you wish to check for api foo(int arg) { assert(arg > 0); ... } then a test case could b…
107 …panic()`. This callout can then determine if testing was enabled and has a widget registered for c…
/xnu-8020.101.4/makedefs/
H A DMakeInc.kernel119 $(_v)if [ -s [email protected] ]; then \
154 then \
156 then \
163 then \
174 then \
177 then \
199 then \
317 …)/.mach_kernel.timestamp -nt $@ -o \( -e $(OBJROOT)/.mach_kernel.timestamp -a \! -e $@ \) ]; then \
369 …/.mach_kernel.timestamp -nt $@ -o \( -e $(OBJROOT)/.mach_kernel.timestamp -a \! -e $@ \) ]; then \
411 ….mach_kernel.timestamp -nt $@ -o \( -e $(OBJROOT)/.mach_kernel.timestamp -a \! -e $@ \) ]; then \
H A DMakeInc.rule79 if [ $$$$? -eq 2 ]; then \
85 if [ -s ./$(3)/$$*.strip.$$$$$$$$ ]; then \
116 if [ $$$$? -eq 2 ]; then \
125 $$(_v)if [ -n "$(5)" ]; then $$(TOUCH) "$(5)"; fi
176 # If there are no headers then there can be no module maps.
423 if [ $$? -eq 2 ]; then \
H A DMakeInc.top323 …M_PER_KERNEL_BUILD))) ]; then echo 1; elif [ $(MEMORY_SIZE) -gt $$(($(SYSCTL_HW_PHYSICALCPU) * $(R…
720 if [ -d $${cdir} ] ; then \
/xnu-8020.101.4/tools/lldbmacros/
H A DREADME.md37 …* start lldb with the right symbols file. If you do not know the version apriori, then enable dsym…
171 …6. If your function finds issue with the passed argument then you can `raise ArgumentError('error_…
220 diagnosed better if displayed differently, then feel free to add a type summary for that type. Foll…
225 …of `GetTypeSummary()` is displayed. [In case you do not wish to have header then still define it a…
269 …A. The python framework does not allow for removing a loaded module and then reloading it. So some…
275 …uages. If you get any message with SyntaxError or TypeError or ValueError then please review your …
309 To avoid the horrors of printing a tabular data on console and then 2 weeks later again messing wit…
317 …* [ I'd first create a format string for data and then for the header just change the x's and d's …
319 …* If you need to print a string from a core.value object then use str() to get string representati…
376 …* If you are adding new file then please update the Makefile and xnu.py imports to ensure they get…
[all …]
/xnu-8020.101.4/doc/allocators/
H A Dapi-basics.md67 If `Z_NOFAIL` is incorrectly used, then the zone allocator will panic at runtime.
106 If the allocations you perform do not fit the model, then your types
145 then the array element type **must not** be only data.
147 If those rules can't be followed, then the allocation must be split with
278 manually. If your struct or class is POD then replacing usage of `new/delete`
280 structors or members of your class/struct have non default structors, then you
/xnu-8020.101.4/osfmk/arm64/
H A Dcpu.c205 uint64_t then, now, delta; in arm64_ipi_test() local
230 absolutetime_to_nanoseconds(now - then, &delta); in arm64_ipi_test()
240 then = mach_absolute_time(); in arm64_ipi_test()
244 absolutetime_to_nanoseconds(now - then, &delta); in arm64_ipi_test()
/xnu-8020.101.4/tools/tests/perf_index/
H A DREADME27 The server will wait for num_client to connect. It will then pass type, threads,
40 then writes a byte to every page to ensure it is paged in. Then copies n bytes
/xnu-8020.101.4/bsd/man/man2/
H A Dgetdirentriesattr.2127 These groups are then placed into the buffer, one after another.
207 attributes and then use the value of the
236 and then testing the
256 If the directory contains a mount point, then
/xnu-8020.101.4/osfmk/conf/
H A Dcopyright.osf20 # Software, then Licensee will (1) notify the OSF/RI regarding its
/xnu-8020.101.4/tests/
H A Dstackshot_block_owner_14362384.m242 * is signalled, then unlock. if called with CHECK_EXISTS, returns whether or not the sysctl
349 * is signalled, then unlock. if called with CHECK_EXISTS, returns whether or not the sysctl
449 // acquires a kernel rwlock for writing, and then waits on a kernel semaphore.
511 * giving the opportunity for the 'grabbing' thread to lock it and then immediately unlock it.
699 // this thread should spawn, acquire a kernel rwlock for write, and then wait on a semaphore
H A Dstackshot_accuracy.m252 /* if we couldn't fault the pages back in, then at least verify that we tried */
293 * then send SIGUSR1 to the parent to let it know that we are done.
/xnu-8020.101.4/libkdd/
H A DKCDStructTypeDescription.m114 * KCS_SUBTYPE_FLAGS_MERGE was used to define the type, then a member of
H A DREADME.md54 The userspace tools can then look at the description and print the data even if they are not compil…
/xnu-8020.101.4/osfmk/mach/
H A Dmach_port.defs289 * MACH_NOTIFY_DEAD_NAME: if non-zero, then name can be dead,
291 * If zero, then name can't be dead.
320 * for the port, then the names must agree. In any case,
H A Dmemory_object_control.defs140 * of the following calls. These UPLs are then committed (or aborted)
H A Dhost_priv.defs339 * This can then be used to communicate with that daemon, which
/xnu-8020.101.4/
H A DREADME.md237 setting, respectively. If your header is architecture-specific, then you should
239 should be installed for all architectures, then you should use a
350 the directory name. If that's not possible, then the following method will
/xnu-8020.101.4/bsd/nfs/
H A Dnfs_node.c1440 struct timeval now, then, diff; in nfs_mount_is_dirty() local
1458 microuptime(&then); in nfs_mount_is_dirty()
1459 timersub(&then, &now, &diff); in nfs_mount_is_dirty()
/xnu-8020.101.4/iokit/DriverKit/
H A DIOWorkGroup.iig49 …* The application will have to first create an workgroup object. The application then should copy …
H A DIOEventLink.iig64 * with os_eventlink_create() (see <os/eventlink_private.h>). The application then has to extract
/xnu-8020.101.4/doc/
H A Datomics.md47 any `atomic_*_explicit()` operation, then the compiler will generate the
313 // And only then redrive.
/xnu-8020.101.4/bsd/netinet6/
H A Dmld6.c3200 uint8_t mode, now, then; in mld_v2_enqueue_filter_change() local
3314 then = im6s_get_mode(inm, ims, 0); in mld_v2_enqueue_filter_change()
3316 __func__, then, now)); in mld_v2_enqueue_filter_change()
3317 if (now == then) { in mld_v2_enqueue_filter_change()
/xnu-8020.101.4/bsd/netinet/
H A Digmp.c3481 uint8_t now, then; in igmp_v3_enqueue_filter_change() local
3604 then = ims_get_mode(inm, ims, 0); in igmp_v3_enqueue_filter_change()
3606 __func__, then, now)); in igmp_v3_enqueue_filter_change()
3607 if (now == then) { in igmp_v3_enqueue_filter_change()

12