Searched refs:NULL (Results 1 - 25 of 813) sorted by relevance

1234567891011>>

/darwin-on-arm/xnu/bsd/sys/_types/
H A D_null.h28 #ifndef NULL
29 #define NULL __DARWIN_NULL macro
30 #endif /* NULL */
/darwin-on-arm/xnu/bsd/dev/dtrace/
H A Dsdt_subr.c104 { NULL }
106 { NULL, NULL, NULL, 0 }
120 { "sched", "enqueue", 3, 2, "int", NULL },
129 { "sched", "change-pri", 2, 1, "pri_t", NULL },
132 { "sched", "schedctl-nopreempt", 2, 1, "int", NULL },
135 { "sched", "schedctl-yield", 0, 0, "int", NULL },
145 { "proc", "exec", 0, 0, "string", NULL },
146 { "proc", "exec-failure", 0, 0, "int", NULL },
[all...]
/darwin-on-arm/xnu/osfmk/kern/
H A Dsyscall_sw.c102 /* 0 */ MACH_TRAP(kern_invalid, 0, NULL, NULL),
103 /* 1 */ MACH_TRAP(kern_invalid, 0, NULL, NULL),
104 /* 2 */ MACH_TRAP(kern_invalid, 0, NULL, NULL),
105 /* 3 */ MACH_TRAP(kern_invalid, 0, NULL, NULL),
106 /* 4 */ MACH_TRAP(kern_invalid, 0, NULL, NULL),
[all...]
H A Dpage_decrypt.c35 static dsmos_page_transform_hook_t dsmos_hook = NULL;
54 if (dsmos_hook == NULL) {
65 text_crypter_create_hook_t text_crypter_create=NULL;
/darwin-on-arm/xnu/libsyscall/mach/
H A Derr_us.sub43 NULL,
H A Dstring.h40 #ifndef NULL
41 #define NULL __DARWIN_NULL macro
/darwin-on-arm/xnu/bsd/vfs/
H A Dvfs_conf.c92 int (*mountroot)(void) = NULL;
119 { &hfs_vfsops, "hfs", 17, 0, (MNT_LOCAL | MNT_DOVOLFS), hfs_mountroot, NULL, 0, 0, VFC_VFSLOCALARGS | VFC_VFSREADDIR_EXTENDED | VFS_THREAD_SAFE_FLAG | VFC_VFS64BITREADY | VFC_VFSVNOP_PAGEOUTV2 | VFC_VFSVNOP_PAGEINV2, NULL, 0},
126 { &mfs_vfsops, "mfs", 3, 0, MNT_LOCAL, mfs_mountroot, NULL, 0, 0, VFC_VFSGENERICARGS, NULL, 0},
132 { &nfs_vfsops, "nfs", 2, 0, 0, NULL, NULL, 0, 0, VFC_VFSGENERICARGS | VFC_VFSPREFLIGHT | VFS_THREAD_SAFE_FLAG | VFC_VFS64BITREADY | VFC_VFSREADDIR_EXTENDED, NULL, 0},
138 { &afs_vfsops, "andrewfs", 13, 0, 0, afs_mountroot, NULL, 0, 0, VFC_VFSGENERICARGS , NULL,
[all...]
/darwin-on-arm/xnu/tools/tests/libMicro/
H A Dstrtol.c53 (void) strtol("1", NULL, 10);
54 (void) strtol("11", NULL, 10);
55 (void) strtol("123", NULL, 10);
56 (void) strtol("1234", NULL, 10);
57 (void) strtol("12345", NULL, 10);
58 (void) strtol("123456", NULL, 10);
59 (void) strtol("1234567", NULL, 10);
60 (void) strtol("12345678", NULL, 10);
61 (void) strtol("123456789", NULL, 10);
62 (void) strtol("1234567890", NULL, 1
[all...]
H A Dtime.c55 (void) time(NULL);
56 (void) time(NULL);
57 (void) time(NULL);
58 (void) time(NULL);
59 (void) time(NULL);
60 (void) time(NULL);
61 (void) time(NULL);
62 (void) time(NULL);
63 (void) time(NULL);
64 (void) time(NULL);
[all...]
H A Dgettimeofday.c58 (void) gettimeofday(&t, NULL);
59 (void) gettimeofday(&t, NULL);
60 (void) gettimeofday(&t, NULL);
61 (void) gettimeofday(&t, NULL);
62 (void) gettimeofday(&t, NULL);
63 (void) gettimeofday(&t, NULL);
64 (void) gettimeofday(&t, NULL);
65 (void) gettimeofday(&t, NULL);
66 (void) gettimeofday(&t, NULL);
67 (void) gettimeofday(&t, NULL);
[all...]
/darwin-on-arm/xnu/osfmk/libsa/
H A Dstdlib.h65 #ifndef NULL
66 #define NULL (void *)0 macro
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/helpers/
H A Dlaunch.c33 char * errmsg = NULL;
34 char * argvs[2] = {"", NULL};
44 if (do_execve_test("helpers/sleep-i386", argvs, NULL, 0)) goto test_failed_exit;
48 if (do_execve_test("helpers/sleep-x86_64-4G", argvs, NULL, 0)) goto test_failed_exit;
52 if (do_execve_test("helpers/sleep-x86_64-4K", argvs, NULL, 0)) goto test_failed_exit;
63 if (do_execve_test("helpers/sleep-x86_64-4G", argvs, NULL, 1)) goto test_failed_exit;
67 if (do_execve_test("helpers/sleep-x86_64-4K", argvs, NULL, 1)) goto test_failed_exit;
71 if (do_execve_test("helpers/sleep-i386", argvs, NULL, 1)) goto test_failed_exit;
/darwin-on-arm/xnu/libkern/libkern/c++/
H A DOSLib.h49 #ifndef NULL
51 #define NULL 0 macro
53 #define NULL ((void *)0)
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/
H A Dmain.c69 {1, &syscall_test, NULL, "syscall"},
70 {1, &fork_wait4_exit_test, NULL, "fork, wait4, exit"},
71 {1, &read_write_test, NULL, "fsync, ftruncate, lseek, pread, pwrite, read, readv, truncate, write, writev"},
72 {1, &open_close_test, NULL, "close, fpathconf, fstat, open, pathconf"},
73 {1, &link_stat_unlink_test, NULL, "link, stat, unlink"},
74 {1, &chdir_fchdir_test, NULL, "chdir, fchdir"},
75 {1, &access_chmod_fchmod_test, NULL, "access, chmod, fchmod"},
76 {1, &chown_fchown_lchown_lstat_symlink_test, NULL, "chown, fchown, lchown, lstat, readlink, symlink"},
77 {1, &fs_stat_tests, NULL, "fstatfs, getfsstat, statfs, fstatfs64, getfsstat64, statfs64"},
79 {1, &statfs_32bit_inode_tests, NULL, "3
[all...]
/darwin-on-arm/xnu/tools/tests/libMicro/apple/
H A Dposix_spawn_bin.c64 if (posix_spawn(&pid, argv[0], NULL, NULL, argv, NULL)) {
/darwin-on-arm/xnu/pexpert/arm/common/
H A Dpe_serial.c41 if (gPESocDispatch.uart_putc == NULL)
54 if (gPESocDispatch.uart_getc == NULL)
/darwin-on-arm/xnu/iokit/Kernel/
H A DIOPMinformeeList.cpp41 firstItem = NULL;
51 static IORecursiveLock *sharedListLock = NULL;
64 if ( NULL == sharedListLock )
80 return NULL;
85 return NULL;
90 return NULL;
111 while ( nextInformee != NULL )
144 if ( NULL == item )
159 while ( item->nextInList != NULL )
195 if ( currentItem != NULL ) {
[all...]
H A DIOPMPowerSourceList.cpp41 firstItem = NULL;
56 while ( nextPowerSource != NULL )
91 if ( currentItem != NULL ) {
94 return NULL;
118 if ( NULL == item) goto exit;
126 while ( item->nextInList != NULL ) {
152 while ( next != NULL ) {
/darwin-on-arm/xnu/tools/tests/kqueue_tests/
H A Dkqueue_file_tests.c329 tv.tv_sec = time(NULL);
440 res = pthread_create(&thr, NULL, execute_action, (void*) &test->t_helpthreadact);
549 EV_SET(&tst->t_union.tu_kev, 0, event, EV_ADD | EV_ENABLE, 0, 0, NULL);
552 EV_SET(&tst->t_union.tu_kev, 0, EVFILT_VNODE, EV_ADD | EV_ENABLE, event, 0, NULL);
585 init_action(&(test.t_prep_actions[0]), NOSLEEP, CREAT, 2, (void*)FILE1, (void*)NULL);
586 init_action(&test.t_helpthreadact, SLEEP, UNLINK, 2, (void*)FILE1, NULL);
590 init_action(&(test.t_prep_actions[0]), NOSLEEP, MKDIR, 2, (void*)DIR1, (void*)NULL);
591 init_action(&test.t_helpthreadact, SLEEP, RMDIR, 2, (void*)DIR1, NULL);
595 init_action(&(test.t_prep_actions[0]), NOSLEEP, CREAT, 2, (void*)FILE1, (void*)NULL);
596 init_action(&(test.t_prep_actions[1]), NOSLEEP, CREAT, 2, (void*)FILE2, (void*)NULL);
[all...]
/darwin-on-arm/xnu/libsa/
H A Dbootstrap.cpp107 NULL
180 kernel_section_t * prelinkInfoSect = NULL; // do not free
182 OSKextLog(/* kext */ NULL,
214 OSArray * infoDictArray = NULL; // do not release
215 OSObject * parsedXML = NULL; // must release
216 OSDictionary * prelinkInfoDict = NULL; // do not release
217 OSString * errorString = NULL; // must release
218 OSKext * theKernel = NULL; // must release
220 kernel_segment_command_t * prelinkTextSegment = NULL; // see code
221 kernel_segment_command_t * prelinkInfoSegment = NULL; // se
[all...]
/darwin-on-arm/xnu/bsd/netinet6/
H A Din6_src.c197 * caller provides a non-NULL ifpp. The caller is responsible for checking
207 struct ifnet *ifp = NULL;
208 struct in6_ifaddr *ia = NULL, *ia_best = NULL;
209 struct in6_pktinfo *pi = NULL;
211 struct in6_addrpolicy *dst_policy = NULL, *best_policy = NULL;
223 if (ifpp != NULL)
224 *ifpp = NULL;
226 if (inp != NULL) {
[all...]
H A Dip6_forward.c130 struct mbuf *mcopy = NULL;
135 struct secpolicy *sp = NULL;
146 if (pf_mtag != NULL && pf_mtag->pftag_rtableid != IFSCOPE_NONE)
154 if (ifscope != IFSCOPE_NONE && (rt = ip6forward_rt->ro_rt) != NULL) {
159 rt = ip6forward_rt->ro_rt = NULL;
175 if (ipsec6_in_reject(m, NULL)) {
178 return (NULL);
205 return (NULL);
212 return (NULL);
252 if (sp == NULL) {
[all...]
/darwin-on-arm/xnu/bsd/libkern/
H A Dstrsep.c46 * be further tokens), or is NULL (if there are definitely no more tokens).
48 * If *stringp is NULL, strsep returns NULL.
60 if ((s = *stringp) == NULL)
61 return (NULL);
68 s = NULL;
/darwin-on-arm/xnu/libkern/kxld/tests/
H A Dkextcopyright.c38 const char *gProgname = NULL;
79 char *result = NULL;
80 CFDataRef the_data = NULL;
81 const UInt8 *data_bytes = NULL;
82 char *converted_string = NULL;
127 CFURLRef anURL = NULL; // must release
128 CFBundleRef aBundle = NULL; // must release
129 CFDictionaryRef aDict = NULL; // do not release
130 CFStringRef infoCopyrightString = NULL; // do not release
131 CFStringRef readableCopyrightString = NULL; // d
[all...]
/darwin-on-arm/xnu/osfmk/i386/
H A DpmCPU.c64 pmDispatch_t *pmDispatch = NULL;
77 if (pmDispatch != NULL && pmDispatch->cstateInit != NULL)
101 if (my_cpu == NULL)
130 && pmDispatch != NULL
131 && pmDispatch->MachineIdle != NULL)
197 && pmDispatch != NULL
198 && pmDispatch->pmCPUHalt != NULL) {
235 && pmDispatch != NULL
236 && pmDispatch->markAllCPUsOff != NULL)
[all...]

Completed in 82 milliseconds

1234567891011>>