Searched defs:NULL (Results 1 - 25 of 193) sorted by relevance

12345678

/illumos-gate/usr/src/boot/sys/sys/
H A D_null.h29 #ifndef NULL
32 #define NULL ((void *)0) macro
35 #define NULL nullptr macro
37 #define NULL __null macro
40 #define NULL (0L) macro
42 #define NULL 0 macro
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dindex.c27 * NULL if not found
30 #define NULL 0 macro
41 return (NULL);
H A Dstrchr.c30 * NULL if not found
33 #define NULL 0 macro
43 return(NULL);
H A Drindex.c27 * appears; NULL if not found
30 #define NULL 0 macro
38 r = NULL;
H A Dstrpbrk.c30 * in the character string `string'; NULL if none exists.
33 #define NULL (char *) 0 macro
48 return(NULL);
H A Dstrrchr.c30 * appears; NULL if not found
33 #define NULL 0 macro
41 r = NULL;
H A Dgetenv.c30 * returns ptr to value associated with name, if any, else NULL
32 #define NULL 0 macro
42 if(p == NULL)
43 return(NULL);
44 while(*p != NULL)
45 if((v = nvmatch(name, *p++)) != NULL)
47 return(NULL);
53 * if names match, return value of s2, else NULL
66 return(NULL);
H A Dstrtok.c30 * sequentially subsequent calls. returns NULL when no
32 * `subsequent' calls are calls with first argument NULL.
35 #define NULL (char*)0 macro
48 p = (string == NULL)? savept: string;
51 return(NULL);
56 return(NULL);
58 if((r = strpbrk(q, sepset)) == NULL) /* move past token */
H A Dftw.c101 #define NULL 0 macro
161 if(dirp == NULL)
172 if(subpath == NULL) {
189 while((dp = readdir(dirp)) != NULL) {
223 if(dirp == NULL) {
H A Dtfind.c39 #define NULL 0 macro
49 if (rootp == NULL)
50 return (NULL);
51 while (*rootp != NULL) { /* T1: */
59 return (NODE *)(NULL);
/illumos-gate/usr/src/stand/lib/sa/
H A Dstring.h43 #ifndef NULL
44 #define NULL 0 /* defined here as per ISO C */ macro
H A Dstddef.h40 #ifndef NULL
41 #define NULL 0 macro
/illumos-gate/usr/src/lib/libbc/inc/include/
H A Dstring.h37 #ifndef NULL
38 #define NULL 0 macro
/illumos-gate/usr/src/uts/common/sys/
H A Dnull.h21 #ifndef NULL
25 * SPARC code is not yet NULL pointer clean.
29 * POSIX.1-2008 requires that the NULL macro be cast to type void *.
35 #define NULL ((void *)0) macro
39 * ISO C++ requires that the NULL macro be a constant integral type evaluating
45 #define NULL nullptr macro
48 #define NULL 0L macro
50 #define NULL 0 macro
56 * POSIX.1-2008 requires that the NULL macro be cast to type void *.
60 #define NULL ((voi macro
70 #define NULL macro
73 #define NULL macro
75 #define NULL macro
[all...]
/illumos-gate/usr/src/test/libc-tests/tests/
H A Daligned_alloc.c40 VERIFY3P(aligned_alloc(sizeof (void *) - 1, 16), ==, NULL); local
43 VERIFY3P(aligned_alloc(sizeof (void *) + 1, 16), ==, NULL); local
47 VERIFY3P(aligned_alloc(23, 16), ==, NULL);
51 VERIFY3P(buf, !=, NULL);
64 if (malloc(16) == NULL)
69 if (aligned_alloc(sizeof (void *), 16) == NULL)
73 VERIFY3P(aligned_alloc(sizeof (void *), 16), ==, NULL); local
/illumos-gate/usr/src/cmd/ypcmd/revnetgroup/
H A Dutil.h35 #ifndef NULL
36 # define NULL ((char *) 0) macro
/illumos-gate/usr/src/cmd/sendmail/db/os/
H A Dos_fsync.c32 FCONTROL(_MPE_FILENO(fd), 2, NULL); /* Flush the buffers */ local
33 FCONTROL(_MPE_FILENO(fd), 6, NULL); /* Write the EOF */ local
57 ret = __db_jump.j_fsync != NULL ? __db_jump.j_fsync(fd) : fsync(fd);
/illumos-gate/usr/src/lib/libbc/inc/5include/
H A Dstdlib.h45 #ifndef NULL
46 #define NULL 0 macro
/illumos-gate/usr/src/tools/smatch/src/validation/backend/
H A Dcall-variadic.c1 #define NULL ((void*)0) macro
8 return print(fmt, 'x', a, __LINE__, l, 0L, p, NULL);
/illumos-gate/usr/src/tools/smatch/src/validation/
H A Dcall-variadic.c1 #define NULL ((void*)0) macro
7 return print("msg %c: %d %d/%ld %ld/%p %p\n", 'x', a, __LINE__, l, 0L, p, NULL);
H A Dsm_implied3.c1 #define NULL ((void *)0) macro
23 if (NULL == ab) {
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Detherboot.h37 #ifndef NULL
38 #define NULL ((void *)0) macro
/illumos-gate/usr/src/cmd/ypcmd/
H A Dypv1_xdr.c36 #define NULL 0 macro
65 yprequest_arms[3].proc = (xdrproc_t)NULL;
70 yprequest_arms, NULL));
88 ypresponse_arms[3].proc = (xdrproc_t)NULL;
93 ypresponse_arms, NULL));
/illumos-gate/usr/src/lib/libbc/inc/include/rpc/
H A Dtypes.h48 #ifndef NULL
49 # define NULL 0 macro
/illumos-gate/usr/src/grub/grub-0.97/lib/
H A Dgetopt1.c65 #ifndef NULL macro
66 #define NULL 0

Completed in 305 milliseconds

12345678