/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | tsearch.c | 56 if (rootp == NULL) 57 return (NULL); 58 while (*rootp != NULL) { /* T1: */ 67 if (q != NULL) { /* Allocate new node */ 70 q->llink = q->rlink = NULL; 91 if (rootp == NULL || (p = *rootp) == NULL) 92 return (NULL); 98 if (*rootp == NULL) 99 return (NULL); /* Ke [all...] |
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | tsearch.c | 68 if (rootp == NULL) 69 return (NULL); 70 while (*rootp != NULL) { /* T1: */ 79 if (q != NULL) { /* Allocate new node */ 82 q->llink = q->rlink = NULL; 98 if (rootp == NULL || (p = *rootp) == NULL) 99 return (NULL); 105 if (*rootp == NULL) 106 return (NULL); /* Ke [all...] |
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | compare.c | 58 bv.bv_len = ( value == NULL ) ? 0 : strlen( value ); 60 if ( ldap_compare_ext( ld, dn, attr, &bv, NULL, NULL, &msgid ) 93 if ( attr == NULL || bvalue == NULL || bvalue->bv_len == 0 94 || msgidp == NULL ) { 96 LDAP_SET_LDERRNO( ld, lderr, NULL, NULL ); 100 if ( dn == NULL ) { 109 if ( ld->ld_cache_on && ld->ld_cache_compare != NULL ) { [all...] |
/illumos-gate/usr/src/lib/libmtmalloc/tests/ |
H A D | general.c | 54 thr_create(NULL, 1<<23, be_thread, NULL, THR_BOUND, &tid[i--]); 56 while (thr_join(NULL, NULL, NULL) == 0);
|
/illumos-gate/usr/src/cmd/mdb/tools/common/ |
H A D | findscn.c | 38 Elf_Scn *scn = NULL; 42 if (gelf_getehdr(elf, &ehdr) == NULL) 45 while ((scn = elf_nextscn(elf, scn)) != NULL) { 48 if (gelf_getshdr(scn, &shdr) == NULL || 50 (size_t)shdr.sh_name)) == NULL)
|
/illumos-gate/usr/src/cmd/getent/ |
H A D | dogetsp.c | 47 if (list == NULL || *list == NULL) { 49 while ((sp = getspent()) != NULL) 53 for (; *list != NULL; list++) { 55 if (sp == NULL)
|
/illumos-gate/usr/src/lib/sun_sas/common/ |
H A D | Sun_sasGetAdapterName.c | 41 if (name == NULL) { 42 log(LOG_DEBUG, ROUTINE, "NULL adapter name"); 46 for (hba_ptr = global_hba_head; hba_ptr != NULL; 49 if (hba_ptr->handle_name == NULL) { 50 hba_ptr = NULL; 60 if (hba_ptr == NULL) {
|
/illumos-gate/usr/src/boot/sys/boot/arm/uboot/ |
H A D | conf.c | 46 NULL 74 NULL 81 NULL, 86 NULL 93 NULL
|
/illumos-gate/usr/src/lib/libsip/common/ |
H A D | sip_hdrs_ui.c | 45 if (error != NULL) 48 if (val == NULL || val->sip_value_state == SIP_VALUE_DELETED) { 49 if (error != NULL) 51 return (NULL); 64 if (val->strs_val.s1.sip_str_ptr != NULL) 66 return (NULL); 68 if (val->strs_val.s2.sip_str_ptr != NULL) 70 return (NULL); 73 if (val->intstr_str.sip_str_ptr != NULL) 76 return (NULL); [all...] |
H A D | sip_add_hdrs.c | 67 return (NULL); 78 if (str == NULL) 79 return (NULL); 108 if (new_str == NULL) 109 return (NULL); 133 if (sip_msg == NULL || hdr_name == NULL) 145 if (new_header == NULL) { 154 if (_sip_msg->sip_msg_buf != NULL) 173 if (sip_msg == NULL || str [all...] |
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_fmt.c | 486 { FMT_NONE, NULL, NULL, 0 }, /* 0 = NUL */ 487 { FMT_NONE, NULL, NULL, 0 }, /* 1 = SOH */ 488 { FMT_NONE, NULL, NULL, 0 }, /* 2 = STX */ 489 { FMT_NONE, NULL, NULL, 0 }, /* 3 = ETX */ 490 { FMT_NONE, NULL, NULL, [all...] |
/illumos-gate/usr/src/cmd/fm/modules/common/cpumem-retire/ |
H A D | cma_main.c | 106 NULL }, 108 NULL }, 110 NULL }, 112 NULL }, 114 FM_HC_SCHEME_VERSION, NULL }, 116 FM_HC_SCHEME_VERSION, NULL }, 118 FM_HC_SCHEME_VERSION, NULL }, 120 FM_HC_SCHEME_VERSION, NULL }, 122 FM_HC_SCHEME_VERSION, NULL }, 124 FM_HC_SCHEME_VERSION, NULL }, [all...] |
/illumos-gate/usr/src/lib/print/libipp-core/common/ |
H A D | ipp.c | 55 papi_attribute_t **attributes = NULL; 59 if ((request == NULL) || (response == NULL) || (*response == NULL)) 63 result = papiAttributeListGetCollection(request, NULL, 72 result = papiAttributeListGetString(attributes, NULL, 80 result = papiAttributeListGetString(attributes, NULL, 100 if (message == NULL) 103 if (format != NULL) { 104 papi_attribute_t **operational = NULL; [all...] |
/illumos-gate/usr/src/cmd/sendmail/libsm/ |
H A D | vasprintf.c | 48 ** On failure, set *str to NULL, set errno, and return -1. 73 if (fake.f_bf.smb_base == NULL) 75 fake.f_close = NULL; 76 fake.f_open = NULL; 77 fake.f_read = NULL; 78 fake.f_write = NULL; 79 fake.f_seek = NULL; 80 fake.f_setinfo = fake.f_getinfo = NULL; 91 if (base == NULL) 97 if (fake.f_bf.smb_base != NULL) [all...] |
/illumos-gate/usr/src/cmd/sgs/link_audit/common/ |
H A D | env.c | 40 if ((envstr = getenv(env)) == NULL) 46 if ((lp = (Elist *)malloc(sizeof (Elist))) == NULL) { 53 tok = strtok_r(NULL, token, &lasts); 64 if (list == NULL) 65 return (NULL); 70 if ((basestr = strrchr(str, '/')) != NULL) 77 if (strchr(list->l_libname, '/') == NULL) { 85 return (NULL); 92 if ((envstr = getenv(env)) == NULL) 93 return (NULL); [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | pipemod.c | 97 pipeput, NULL, pipeopen, pipeclose, NULL, &pipe_info, NULL 101 pipeput, NULL, NULL, NULL, NULL, &pipe_info, NULL 104 static struct streamtab pipeinfo = { &piperinit, &pipewinit, NULL, NULL }; [all...] |
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/ |
H A D | ldap_fetch_mkey.c | 46 kdb5_dal_handle *dal_handle=NULL; 47 krb5_ldap_context *ldap_context=NULL; 55 if (ldap_context == NULL || ldap_context->lrparams == NULL) 73 kdb5_dal_handle *dal_handle=NULL; 74 krb5_ldap_context *ldap_context=NULL; 75 krb5_ldap_realm_params *r_params = NULL; 83 if (ldap_context == NULL || ldap_context->lrparams == NULL) 90 r_params->mkey.contents=NULL; [all...] |
/illumos-gate/usr/src/cmd/lp/cmd/lpadmin/ |
H A D | pick_opts.c | 49 char * flasts = NULL; 51 char ** final_opts = NULL; 56 if (infile_opts == NULL || new_opts == NULL) { 58 return (NULL); 62 for (; *new_opts != NULL; new_opts++) { 69 return (NULL); 78 old_opt != NULL; old_opt = strtok_r(NULL, LP_SEP, &flasts)) { 82 for (new_opts = head; *new_opts != NULL; new_opt [all...] |
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | mandoc_aux.c | 45 err((int)MANDOCLEVEL_SYSERR, NULL); 55 if (ptr == NULL) 56 err((int)MANDOCLEVEL_SYSERR, NULL); 66 if (ptr == NULL) 67 err((int)MANDOCLEVEL_SYSERR, NULL); 76 if (ptr == NULL) 77 err((int)MANDOCLEVEL_SYSERR, NULL); 86 if (ptr == NULL) 87 err((int)MANDOCLEVEL_SYSERR, NULL); 97 if (p == NULL) [all...] |
/illumos-gate/usr/src/lib/print/libipp-listener/common/ |
H A D | disable-printer.c | 42 papi_attribute_t **operational = NULL; 44 char *queue = NULL; 45 char *message = NULL; 48 (void) papiAttributeListGetCollection(request, NULL, 56 get_printer_id(operational, &queue, NULL); 57 if (queue == NULL) { 67 (void) papiAttributeListGetString(operational, NULL,
|
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/ |
H A D | cfga_scsi.c | 66 apid_t apidt = {NULL}; 69 if (errstring != NULL) { 70 *errstring = NULL; 81 if (options != NULL && strcmp(options, OPT_DISABLE_RCM) != 0) { 90 if (options != NULL) 94 if (apidt.dyncomp != NULL) { 117 apid_t apidt = {NULL}; 118 prompt_t args = {NULL}; 121 if (errstring != NULL) 122 *errstring = NULL; [all...] |
/illumos-gate/usr/src/lib/libfsmgt/common/ |
H A D | fs_dfstab.c | 70 dfstab_entry_t *dfstablist, *headptr, *tailptr = NULL; 75 if ((dfp = fopen(DFSTAB, "r")) != NULL) { 79 fileutil_getline(dfp, cmd, BUFSIZE)) != NULL) { 82 NULL) { 83 if (tailptr == NULL) { 97 if (tailptr == NULL) { 105 headptr = NULL; 115 if ((dfp = fopen(DFSTAB, "a")) != NULL) { 117 if ((share_cmd = create_share_cmd(list, NULL, err)) != NULL) { [all...] |
H A D | nfs_netcfg.c | 50 char **return_list = NULL; 56 if ((nc = setnetconfig()) == (NCONF_HANDLE *)NULL) { 58 return (NULL); 70 if (tmp_list == NULL) { 75 return (NULL); 81 if (return_list[(*num_elements)] == NULL) { 86 return (NULL);
|
/illumos-gate/usr/src/lib/libipmi/common/ |
H A D | ipmi_misc.c | 37 if (ihp->ih_deviceid != NULL) 43 cmd.ic_data = NULL; 46 if ((resp = ipmi_send(ihp, &cmd)) == NULL) 47 return (NULL); 50 (void) ipmi_set_error(ihp, EIPMI_BAD_RESPONSE_LENGTH, NULL); 51 return (NULL); 58 if ((ihp->ih_deviceid = ipmi_alloc(ihp, resp->ic_dlen)) == NULL) 59 return (NULL); 85 if (ihp->ih_firmware_rev != NULL) 88 if ((dp = ipmi_get_deviceid(ihp)) == NULL) [all...] |
/illumos-gate/usr/src/cmd/zic/ |
H A D | ialloc.c | 23 if (pointer == NULL) 36 newsize = (new == NULL) ? 0 : strlen(new); 37 if (old == NULL) 42 if ((result = irealloc(old, oldsize + newsize + 1)) != NULL) 43 if (new != NULL) 52 return (icatalloc((char *) NULL, string)); 59 if (p != NULL)
|