/illumos-gate/usr/src/boot/sys/boot/efi/include/ |
H A D | efidef.h | 42 #ifndef NULL 43 #define NULL ((VOID *) 0) macro
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | _null.h | 29 #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/cmd/audio/include/ |
H A D | libaudio.h | 61 #ifndef NULL 62 #define NULL 0 macro
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/ |
H A D | zlib.c | 57 #ifndef NULL 58 #define NULL ((void *) 0) macro 717 if (strm->next_out != NULL) { 1549 ct_data *static_tree; /* static tree or NULL */ 1550 intf *extra_bits; /* extra bits for each code or NULL */ 2283 charf *buf; /* input block, or NULL if too old */ 2361 /* The test buf != NULL is only necessary if LIT_BUFSIZE > WSIZE. 4344 if (p != NULL) { 4372 if (p != NULL) {
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/ |
H A D | sys_bsd.c | 182 (void) ioctl(fileno(stdout), TIOCFLUSH, NULL); local 782 (poll == 0) ? NULL : &TimeValue)) < 0) {
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/ |
H A D | ilbd_scf.c | 208 if (pg != NULL) 210 if (inst != NULL) 212 if (s != NULL) 214 if (h != NULL) 222 if ((*h = scf_handle_create(SCF_VERSION)) == NULL) 226 ilbd_scf_destroy(*h, NULL, NULL, NULL); 230 if ((*svc = scf_service_create(*h)) == NULL) { 231 ilbd_scf_destroy(*h, NULL, NUL 854 ilbd_scf_destroy(scf_pg_handle(pg), NULL, NULL, pg); local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ifconfig/ |
H A D | ifconfig.c | 91 { NULL, 0, 0 } 345 { 0, 0, NULL }, 353 static ni_t *ni_list = NULL; 397 default_ip_str = NULL; 511 ifconfig(argc, argv, af, NULL); 540 istatus = ipadm_addr_info(iph, NULL, &ainfo, IPADM_OPT_ZEROADDR, 549 for (ainfop = ainfo; ainfop != NULL; ainfop = IA_NEXT(ainfop)) { 600 ifconfig(argc, argv, af, NULL); 689 &g_netmask, NULL); 737 if (setaddr && ipaddr != NULL) { 1478 (*afp->af_getaddr)(addr, (struct sockaddr *)&lifr.lifr_addr, NULL); local [all...] |
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.h | 534 #ifndef NULL 535 #define NULL 0 macro
|
/illumos-gate/usr/src/cmd/hal/hald/ |
H A D | hald_dbus.c | 53 static DBusConnection *dbus_connection = NULL; 91 if (reply == NULL) 93 if (!dbus_connection_send (connection, reply, NULL)) 217 if (reply == NULL || !dbus_connection_send (connection, reply, NULL)) 246 if (reply == NULL || !dbus_connection_send (connection, reply, NULL)) 332 if (reply == NULL) 347 if (!dbus_connection_send (connection, reply, NULL)) 374 if (dev_value != NULL 2205 hal_util_branch_claim (hald_get_gdl (), d, FALSE, NULL, 0); local 2520 hal_util_branch_claim (hald_get_gdl (), d, FALSE, NULL, 0); local [all...] |
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | ipftest.c | 70 NULL }; 91 iface = NULL; 92 logout = NULL; 94 datain = NULL; 219 if (iface == NULL || *iface == '\0') 222 if (ifp == NULL) { 286 if (dir && (ifp != NULL) && IP_V(ip) && (m != NULL)) 288 (*ifp->if_output)(ifp, (void *)m, NULL); local 291 (*ifp->if_output)(ifp, (void *)m, NULL, [all...] |
/illumos-gate/usr/src/cmd/lms/ |
H A D | LMEConnection.h | 140 AuthMethodData *methodData = NULL) : 180 UINT32 dataLength = 0, UINT8 *data = NULL) : 186 if ((data != NULL) && (dataLength != 0)) { 190 Data = NULL; 197 if (Data != NULL) { 199 Data = NULL; 274 UINT8 *data = NULL) : 279 if ((data != NULL) && (dataLength != 0)) { 283 Data = NULL; 289 if (Data != NULL) { 137 LMEUserAuthRequestMessage(std::string username = �, std::string serviceName = �, std::string methodName = �, AuthMethodData *methodData = NULL) argument 179 LMEUdpSendToMessage(std::string address = �, UINT32 port = 0, UINT32 dataLength = 0, UINT8 *data = NULL) argument 272 LMEChannelDataMessage(UINT32 recipientChannel = 0, UINT32 dataLength = 0, UINT8 *data = NULL) argument [all...] |
/illumos-gate/usr/src/cmd/lms/SyncLib/Include/ |
H A D | Lock.h | 41 #ifndef NULL 42 #define NULL 0 macro 48 Lock(Semaphore &sem) : _sem(&sem), _rw_lock(NULL) 54 _sem(NULL), _rw_lock(&rw_lock)
|
H A D | Thread.h | 59 #ifndef NULL 60 #define NULL 0 macro 72 Thread(CallbackFunction func = NULL, void *param = NULL);
|
/illumos-gate/usr/src/cmd/logadm/ |
H A D | kw.c | 99 if (nfnp == NULL) { 100 nfullpath = NULL; 112 if ((ptr = strrchr(splitpath, '/')) == NULL) { 149 if ((home = getenv("HOME")) != NULL) 152 if ((user = getenv("USER")) != NULL) 155 if ((logname = getenv("LOGNAME")) != NULL) 201 struct fn *kw = fn_new(NULL); 270 fn_renew(kw, NULL); 277 fn_s(kw))) == NULL) { 400 struct fn *src = fn_new(NULL); 411 kw_init(fn_new(argv[1]), NULL); local [all...] |
/illumos-gate/usr/src/cmd/lvm/rpc.mdcommd/ |
H A D | mdmn_commd_server.c | 203 if (commdout != (FILE *)NULL) { \ 223 } else if (slave_result == NULL) { 237 (void) uadmin(A_DUMP, AD_BOOT, NULL); 250 if (commdout == (FILE *)NULL) 263 * And we drop the verbosity level to NULL 286 /* safer version of clnt_destroy. If clnt is NULL don't do anything */ 383 now = time((time_t *)NULL); 431 /* if commdout is non-NULL it is an open FILE, we'd better close it */ 432 if (commdout != (FILE *)NULL) { 439 if (commdoutfile == (char *)NULL) { 774 class), USYNC_THREAD, NULL); local 776 USYNC_THREAD, NULL); local 778 class), USYNC_THREAD, NULL); local [all...] |
/illumos-gate/usr/src/cmd/sendmail/db/os/ |
H A D | os_fsync.c | 32 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/cmd/sendmail/include/sm/ |
H A D | gen.h | 40 ** Define NULL and offsetof (from the C89 standard) 46 # ifndef NULL 47 # define NULL 0 macro 48 # endif /* ! NULL */
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | alias.c | 23 static MAP *AliasFileMap = NULL; /* the actual aliases.files map */ 92 if (e->e_sender != NULL && *e->e_sender == '\0') 96 if (aliaslookup(obuf, &status, a->q_host) != NULL) 111 if (e->e_message == NULL) 116 if (a->q_message == NULL) 120 if (p == NULL) 157 a->q_fullname = NULL; 175 if (owner == NULL) 179 if (strpbrk(owner, ",:/|\"") != NULL) 184 if (e->e_xfp != NULL) 563 map->map_file, NULL, LOCK_EX); local [all...] |
/illumos-gate/usr/src/cmd/setuname/ |
H A D | setuname.c | 120 #ifndef NULL macro 121 #define NULL (0) 215 n_arg = s_arg = (char *) NULL; 387 {NULL} 392 char *sysnm = (char *)NULL; /* System name to set (from file or arg) */ 393 char *nodenm = (char *)NULL; /* Network node-name to set (from file or arg) */ 429 if ((kd = kvm_open(NULL, NULL, NULL, O_RDWR, NULL)) [all...] |
/illumos-gate/usr/src/cmd/sgs/elfedit/common/ |
H A D | elfedit.c | 91 /* newline or NULL termination chars */ 93 /* tokens, including terminating NULL */ 106 int gtok_inc_null_final; /* True if final NULL token used */ 107 int gtok_null_seen; /* True when NULL byte seen */ 205 * the size of the destination. Hence, you can copy non-NULL 207 * 2) The destination is guaranteed to be NULL terminated. strncpy() 317 if (state.pager.fptr != NULL) { 412 (state.pager.fptr == NULL)) { 419 if ((cmd == NULL) || (*cmd == '\0')) 429 if (state.pager.fptr == NULL) { 2573 MSG_ORIG(MSG_STR_BINCP), infile, outfile, NULL); local [all...] |
/illumos-gate/usr/src/cmd/sgs/rtld/mdbmod/common/ |
H A D | rtld.c | 78 { NULL, 0, 0} 103 { NULL, 0, 0} 125 { NULL, 0, 0} 139 { NULL, 0, 0} 146 { NULL, 0, 0} 157 { NULL, 0, 0} 167 { NULL, 0, 0} 174 { NULL, 0, 0} 350 &flg, NULL) != argc) 367 if (DEPENDS(&rtmap) == NULL) 505 MSG_ORIG(MSG_RTMAP_STR), addr, DCMD_ADDRSPEC, NULL, NULL); local [all...] |
/illumos-gate/usr/src/cmd/spell/ |
H A D | malloc.c | 63 #define NULL 0 macro 110 return(NULL); 121 return(NULL); 128 return(NULL); 217 if(q==NULL || q==p)
|
/illumos-gate/usr/src/cmd/truss/ |
H A D | expound.c | 205 if (pri->sys_nargs < 1 || (offset = pri->sys_args[0]) == NULL) 333 if (pri->sys_nargs < 1 || (offset = pri->sys_args[0]) == NULL) 383 if (offset != NULL && 402 if (offset != NULL && 420 if (offset != NULL && 783 const char *s = NULL; 797 if (s == NULL) 866 if (sp->buf == NULL || sp->len <= 0) 902 if (sp->buf == NULL || sp->len <= 0) 1143 { 0, NULL } 5334 "new", NULL); local [all...] |
/illumos-gate/usr/src/cmd/vi/port/ |
H A D | ex.h | 184 #undef NULL macro 185 #define NULL 0 macro
|
H A D | exrecover.c | 34 #undef NULL macro 107 if (pp == NULL) { 193 setbuf(stdin, (char *)NULL); 316 if ((dir = opendir((char *)dirname)) == NULL) 331 while ((direntry = readdir64(dir)) != NULL) 525 if ((dir = opendir((char *)dirname)) == NULL) 527 while ((direntry = readdir64(dir)) != NULL) 845 setbuf(stdin, (char*)NULL);
|