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

1234567

/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/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
H A Dstdio.h44 #ifndef NULL
45 #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
H A Dc11_tss.c42 VERIFY3P(tss_get(ct_key), ==, NULL); local
77 VERIFY3S(thrd_join(threads[i], NULL), ==, thrd_success);
/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/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) {
H A Dfunction-redecl.c2 #define NULL ((void*)0) macro
13 void __user *ret_as(void) { return NULL; } /* check-should-fail */
17 void const *ret_mod(void) { return NULL; } /* check-should-fail */
/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));
H A Dypsym.h74 #ifdef NULL
75 #undef NULL macro
77 #define NULL 0 macro
/illumos-gate/usr/src/grub/grub-0.97/lib/
H A Dgetopt1.c65 #ifndef NULL macro
66 #define NULL 0
/illumos-gate/usr/src/cmd/sendmail/include/sm/
H A Dgen.h40 ** Define NULL and offsetof (from the C89 standard)
46 # ifndef NULL
47 # define NULL 0 macro
48 # endif /* ! NULL */
/illumos-gate/usr/src/cmd/audio/include/
H A Dlibaudio.h61 #ifndef NULL
62 #define NULL 0 macro
/illumos-gate/usr/src/lib/libpkg/common/
H A Dnhash.h35 #ifndef NULL
36 #define NULL 0 macro
37 #endif /* NULL */
46 #define Null_Item ((Item *) NULL)
/illumos-gate/usr/src/uts/common/io/ib/clients/rds/
H A Drds_opt.c143 (void) proto_set_rx_hiwat(RD(q), NULL, *i1); local
/illumos-gate/usr/src/ucbhead/sys/
H A Ddir.h128 #ifndef NULL
129 #define NULL 0 macro
/illumos-gate/usr/src/lib/libadm/inc/
H A Ddevtab.h53 * NULL Manifest constant NULL (null-address)
64 #ifndef NULL
65 #define NULL (0) macro
/illumos-gate/usr/src/uts/sun4u/opl/io/pcicmu/
H A Dpcmu_intr.c225 (ddi_intr_handler_t *)pcmu_intr_wrapper, (caddr_t)ino_p, NULL); local
341 pcmu_p->pcmu_inos = NULL;
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dgen_pr.c71 return (NULL);
77 return (NULL);
123 return (NULL);
133 rval = NULL;
150 rval = NULL;
177 for (rule = pvt->rules; rule != NULL; rule = rule->next) {
193 return (NULL);
216 for (rule = pvt->rules; rule != NULL; rule = rule->next) {
220 (*pr->res_set)(pr, pvt->res, NULL); local

Completed in 46 milliseconds

1234567