/illumos-gate/usr/src/cmd/roles/ |
H A D | roles.c | 62 errs = show_roles(NULL, 0); 75 register char *rolelist = NULL; 79 if (username == NULL) { 80 if ((pw = getpwuid(getuid())) == NULL) { 86 } else if (getpwnam(username) == NULL) { 92 if ((user = getusernam(username)) != NULL) { 94 if (rolelist == NULL) 96 if (print_name && username != NULL) 101 if (print_name && username != NULL)
|
/illumos-gate/usr/src/cmd/sendmail/db/os/ |
H A D | os_sleep.c | 49 if (__db_jump.j_sleep != NULL) 58 return (select(0, NULL, NULL, NULL, &t) == -1 ? errno : 0);
|
/illumos-gate/usr/src/cmd/sgs/libconv/common/ |
H A D | arch.c | 51 if ((strstr(buf, MSG_ORIG(MSG_ARCH_SPARCV9)) != NULL) || 52 (strstr(buf, MSG_ORIG(MSG_ARCH_AMD64)) != NULL)) 89 if (((str = getenv(MSG_ORIG(MSG_LD_NOEXEC64))) != NULL) && *str) 92 if ((str = getexecname()) != NULL)
|
/illumos-gate/usr/src/cmd/idmap/idmapd/ |
H A D | wksids.c | 127 {NULL, 498, NULL, "Enterprise Read-only Domain Controllers", 0, 129 {NULL, 500, NULL, "Administrator", 1, IDMAP_SENTINEL_PID, 1, -1}, 130 {NULL, 501, NULL, "Guest", 1, IDMAP_SENTINEL_PID, 1, -1}, 131 {NULL, 502, NULL, "KRBTGT", 1, IDMAP_SENTINEL_PID, 1, -1}, 132 {NULL, 512, NULL, "Domai [all...] |
/illumos-gate/usr/src/cmd/lms/SyncLib/Include/ |
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/tools/ctf/dwarf/common/ |
H A D | dwarf_error.c | 335 Allow NULL dbg on entry, since sometimes that can happen and we 337 if (error != NULL) { 340 If dbg is NULL, use the alternate error struct. However, 342 if (dbg != NULL) { 345 if (errptr == NULL) { 355 if (errptr == NULL) { 368 if (dbg != NULL && dbg->de_errhand != NULL) { 370 if (errptr == NULL) { 388 if (error == NULL) { [all...] |
H A D | dwarf_form.c | 51 if (attr == NULL) { 52 _dwarf_error(NULL, error, DW_DLE_ATTR_NULL); 57 if (cu_context == NULL) { 58 _dwarf_error(NULL, error, DW_DLE_ATTR_NO_CU_CONTEXT); 62 if (cu_context->cc_dbg == NULL) { 63 _dwarf_error(NULL, error, DW_DLE_ATTR_DBG_NULL); 105 if (dbg == NULL) { 106 _dwarf_error(NULL, error, DW_DLE_DBG_NULL); 112 input_block == NULL || 114 output_length_in_units_ptr == NULL) { [all...] |
/illumos-gate/usr/src/uts/common/inet/sockmods/ |
H A D | sockmod_rds.c | 45 ldi_handle_t rdsv3_transport_handle = NULL; 56 sockrds_li = NULL; 64 sockrds_li = NULL; 65 rdsv3_transport_handle = NULL; 73 sockrds_li = NULL; 74 rdsv3_transport_handle = NULL; 91 if (rdsv3_transport_handle != NULL) { 93 rdsv3_transport_handle = NULL; 96 if (sockrds_li != NULL)
|
/illumos-gate/usr/src/psm/promif/ieee1275/common/ |
H A D | prom_version.c | 73 return (NULL); /* For compatibilty, none exists in 1275 */
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | copyops.c | 43 ASSERT(tp->t_copyops == NULL); 50 ASSERT(tp->t_copyops != NULL); 51 tp->t_copyops = NULL; 57 return (tp->t_copyops != NULL);
|
/illumos-gate/usr/src/uts/sun4v/os/ |
H A D | kldc.c | 59 if (kldc_callback_enabled != 0 && kldc_debug_enter_cb != NULL) {
|
/illumos-gate/usr/src/cmd/lp/filter/postscript/common/ |
H A D | glob.c | 49 char *temp_file = NULL; /* temporary file - for some programs */
|
/illumos-gate/usr/src/cmd/lp/lib/papi/ |
H A D | lpsched-jobs.c | 47 papi_attribute_t **unmapped = NULL; 52 char **options = NULL; 53 char **modes = NULL; 56 char *pr_title = NULL; 64 void *iterator = NULL; 72 NULL }; 74 if (attributes == NULL) 83 papiAttributeListGetInteger(attributes, NULL, "copies", &i); 92 if (papiAttributeListGetInteger(attributes, NULL, "job-priority", &i) 106 memset(tmp, NULL, sizeo [all...] |
H A D | service.c | 46 service_t *svc = NULL; 49 if (handle == NULL) 52 if ((*handle = svc = calloc(1, sizeof (*svc))) == NULL) 56 if (svc->md == NULL) { 64 if ((svc->msgbuf = calloc(1, svc->msgbuf_size)) == NULL) 67 if (service_name != NULL) 85 if (svc != NULL) { 86 if (svc->md != NULL) 88 if (svc->msgbuf != NULL) 105 if (svc == NULL) [all...] |
/illumos-gate/usr/src/common/smbsrv/ |
H A D | smb_token.c | 58 if ((token == NULL) || (token->tkn_privileges == NULL)) 80 if (token == NULL) 83 if ((token->tkn_user.i_sid == NULL) || 84 (token->tkn_owner.i_sid == NULL) || 85 (token->tkn_primary_grp.i_sid == NULL) || 86 (token->tkn_account_name == NULL) || 87 (token->tkn_domain_name == NULL) || 88 (token->tkn_posix_grps == NULL)) 92 (token->tkn_win_grps.i_ids == NULL)) [all...] |
/illumos-gate/usr/src/test/libc-tests/tests/ |
H A D | env-7076.c | 38 if (getenv("FOO") == NULL) { 46 if (getenv("FOO") != NULL) { 58 if (getenv("FOO") == NULL) { 66 if (getenv("FOO") != NULL) {
|
/illumos-gate/usr/src/boot/lib/libc/string/ |
H A D | strtok.c | 57 if (s == NULL && (s = *last) == NULL) 58 return (NULL); 71 *last = NULL; 72 return (NULL); 86 s = NULL; 120 for (word = strtok(test, sep); word; word = strtok(NULL, sep)) 125 word = strtok_r(NULL, sep, &brkt)) { 129 phrase = strtok_r(NULL, sep, &brkb))
|
/illumos-gate/usr/src/boot/sys/boot/common/ |
H A D | boot.c | 63 if (file_findfile(NULL, NULL) != NULL) { 79 if (file_findfile(NULL, NULL) == NULL) 87 if ((fp = file_findfile(NULL, NULL)) == NULL) { 97 if (fp->f_args != NULL) [all...] |
/illumos-gate/usr/src/boot/sys/boot/userboot/userboot/ |
H A D | conf.c | 61 NULL 73 NULL 91 NULL 106 NULL
|
/illumos-gate/usr/src/cmd/nscd/ |
H A D | nscd_dbimpl.c | 95 while (*str != NULL) { 113 * not NULL. If option is NSCD_GET_NEXT_DB_ENTRY and id_num 128 while (idx_p != NULL) { 152 return (NULL); 171 if (db == NULL || str == NULL) 172 return (NULL); 198 nscd_hash_t *next_p = NULL, *prev_p = NULL; 208 if (idx_p == NULL) [all...] |
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | add.c | 67 if ( ldap_add_ext( ld, dn, attrs, NULL, NULL, &msgid ) 107 LDAP_SET_LDERRNO( ld, LDAP_PARAM_ERROR, NULL, NULL ); 111 || msgidp == NULL ) { 113 LDAP_SET_LDERRNO( ld, lderr, NULL, NULL ); 117 if ( dn == NULL ) { 126 if ( ld->ld_cache_on && ld->ld_cache_add != NULL ) { 146 LDAP_SET_LDERRNO( ld, lderr, NULL, NUL [all...] |
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_tdb.c | 85 for (t = tdb_list; t != NULL; t = t->tdb_next) { 90 if (t != NULL) 95 * and call it. If any of this fails, we return NULL for failure. 98 return (NULL); 100 if ((hdl = dlmopen(LM_ID_BASE, path, RTLD_LAZY | RTLD_LOCAL)) == NULL) { 102 return (NULL); 105 if ((tdb_init = (td_err_e (*)(void))dlsym(hdl, "td_init")) == NULL) { 108 return (NULL); 114 return (NULL); 136 if (t->tdb_ops.td_ta_new == NULL) [all...] |
/illumos-gate/usr/src/tools/ctf/cvt/ |
H A D | traverse.c | 117 NULL, 118 NULL, /* intrinsic */ 119 NULL, /* pointer */ 120 NULL, /* array */ 121 NULL, /* function */ 122 NULL, /* struct */ 123 NULL, /* union */ 124 NULL, /* enum */ 125 NULL, /* forward */ 126 NULL, /* typede [all...] |
/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | environment.c | 42 struct env_var *environ = NULL; 52 for (ev = environ; ev != NULL; ev = ev->ev_next) 64 * If (value) is NULL, the variable is set but has no value. 72 if ((ev = env_getenv(name)) != NULL) { 77 if ((ev->ev_sethook != NULL) && !(flags & EV_NOHOOK)) 81 if (ev->ev_value != NULL && (ev->ev_flags & EV_DYNAMIC) != 0) 83 ev->ev_value = NULL; 93 ev->ev_value = NULL; 100 ev->ev_prev = NULL; 101 ev->ev_next = NULL; [all...] |
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | config.c | 71 retval->next = NULL; 72 retval->props = NULL; 73 retval->child = retval->parent = NULL; 89 (void *)n->num, (void *)n, NULL); 111 if (parent == NULL) 115 if ((nextcom = strchr(path, '/')) != NULL) 139 if (nextcom != NULL) 144 lastcp = NULL; 160 return (NULL); 174 if (nextcom == NULL) [all...] |