/illumos-gate/usr/src/cmd/oamuser/lib/ |
H A D | putgrent.c | 56 grpstr->gr_passwd != NULL ? grpstr->gr_passwd : ""); 66 while (memptr != NULL && *memptr != NULL) { 69 if (memptr != NULL && *memptr != NULL) 84 while (*memptr != NULL) { 87 if (*memptr != NULL)
|
/illumos-gate/usr/src/cmd/ipf/lib/common/ |
H A D | getport.c | 17 if (fr == NULL || fr->fr_type != FR_T_IPF) { 18 s = getservbyname(name, NULL); 19 if (s != NULL) { 32 if (s == NULL) 36 if (s == NULL || s->s_port != p1) 43 s = getservbyname(name, p ? p->p_name : NULL); 44 if (s != NULL) {
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip_dummy.c | 57 (pfi_t)putnext, NULL, dummy_modopen, dummy_modclose, NULL, 62 (pfi_t)putnext, NULL, NULL, NULL, NULL, &dummy_mod_info 81 if (q->q_ptr != NULL)
|
/illumos-gate/usr/src/stand/lib/sa/ |
H A D | malloc.c | 41 if (iaddr == NULL) { 43 return (NULL); 56 if (addr == NULL) 57 return (NULL); 69 if (oldaddr != NULL) { 71 if (addr != NULL) { 85 if (addr == NULL)
|
/illumos-gate/usr/src/test/libc-tests/tests/ |
H A D | aligned_alloc.c | 40 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/boot/sys/boot/i386/libi386/ |
H A D | biospci.c | 56 {0x0, NULL}, 57 {-1, NULL} 63 {-1, NULL} 67 {0x00, NULL}, 68 {0x01, NULL}, 69 {0x02, NULL}, 70 {0x03, NULL}, 71 {0x04, NULL}, 72 {0x05, NULL}, 73 {0x06, NULL}, [all...] |
/illumos-gate/usr/src/lib/print/libprint/common/ |
H A D | nss_ldap.c | 117 (char *)NULL 124 (char *)NULL 130 (char *)NULL 143 (char *)NULL 208 * request. A NULL ptr = delete the object. 223 LDAP *ld = NULL; 224 uchar_t *printerDN = NULL; 225 uchar_t *domainDN = NULL; 226 char *printerName = NULL; 227 ns_cred_t *cred = NULL; [all...] |
H A D | ns.c | 49 if (ns == NULL) 50 return (NULL); 79 if (printer != NULL) { 80 if (printer->attributes != NULL) { /* attributes */ 87 if (printer->aliases != NULL) { /* aliases */ 90 if (printer->name != NULL) /* primary name */ 111 ns_printer_t **printer_list = NULL; 118 (ns_printer_t *)_cvt_nss_entry_to_printer(buf, NULL); 139 ns_printer_t *result = NULL; 148 if ((result = (ns_printer_t *)posix_name(name)) != NULL) [all...] |
/illumos-gate/usr/src/lib/libshare/common/ |
H A D | libsharecore.c | 112 if (sigs != NULL) { 113 (void) sigprocmask(SIG_BLOCK, NULL, &new); 130 if (sigs != NULL) 131 (void) sigprocmask(SIG_SETMASK, sigs, NULL); 146 if (item != NULL) 164 if (list == NULL) { 167 if (list == NULL) 168 return (NULL); 171 if (list->path == NULL && list->description != NULL [all...] |
/illumos-gate/usr/src/cmd/svr4pkg/pkgrm/ |
H A D | check.c | 65 static depckError_t er_depsonme = {0, (depckErrorRecord_t *)NULL}; 66 static depckError_t er_prenci = {0, (depckErrorRecord_t *)NULL}; 67 static depckError_t er_prereq = {0, (depckErrorRecord_t *)NULL}; 68 static depckError_t er_rckdepend = {0, (depckErrorRecord_t *)NULL}; 69 static depckError_t er_rckpriv = {0, (depckErrorRecord_t *)NULL}; 70 static depckError_t er_rckrunlevel = {0, (depckErrorRecord_t *)NULL}; 71 static depckError_t er_runlevel = {0, (depckErrorRecord_t *)NULL}; 78 static char *IMSG_PKGRMCHK_CKRUNLVL = (char *)NULL; 79 static char *IMSG_PKGRMCHK_DEPEND = (char *)NULL; 80 static char *IMSG_PKGRMCHK_DEPSONME = (char *)NULL; [all...] |
/illumos-gate/usr/src/cmd/idmap/idmapd/ |
H A D | adutils.c | 144 (void) nanosleep(&ts, NULL); 164 (void) pthread_create(&reaperid, NULL, 165 (void *(*)(void *))adreaper, (void *)NULL); 200 *state = NULL; 202 assert(ad != NULL); 206 if (new_state == NULL) 217 if (new_state->default_domain == NULL) { 266 assert(dn != NULL); 268 if ((domain = adutils_dn2dns(dn)) == NULL) 271 if (q->ecanonname != NULL [all...] |
/illumos-gate/usr/src/lib/sasl_plugins/login/ |
H A D | login.c | 93 if (text == NULL) { 120 *serverout = NULL; 228 *serverout = NULL; 234 oparams->encode_context = NULL; 235 oparams->encode = NULL; 236 oparams->decode_context = NULL; 237 oparams->decode = NULL; 245 params->utils->log(NULL, SASL_LOG_ERR, 272 NULL, /* glob_context */ 276 NULL, /* mech_fre [all...] |
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | setrunelocale.c | 92 { NULL, NULL } 105 if ((ldata = __locdata_alloc(name, sizeof (*lct))) == NULL) 106 return (NULL); 115 if ((rl = _Read_RuneMagi(path)) == NULL) { 118 return (NULL); 122 lct->lc_mbrtowc = NULL; 123 lct->lc_mbsinit = NULL; 124 lct->lc_mbsnrtowcs = NULL; 125 lct->lc_wcrtomb = NULL; [all...] |
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | friendly.c | 53 if ( map == NULL ) { 56 if ( NULL == name) 61 if ( *map == NULL ) { 62 if ( (fp = fopen( filename, "rF" )) == NULL ) 66 while ( fgets( buf, sizeof(buf), fp ) != NULL ) { 73 sizeof(struct friendly) )) == NULL ) { 79 while ( fgets( buf, sizeof(buf), fp ) != NULL && i < entries ) { 83 if ( (s = strchr( buf, '\n' )) != NULL ) 86 if ( (s = strchr( buf, '\t' )) == NULL ) 115 (*map)[i].f_unfriendly = NULL; [all...] |
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_list.c | 39 * previous and next pointers set to NULL, respectively. 50 q->ml_next = NULL; 52 if (p != NULL) { 53 ASSERT(p->ml_next == NULL); 56 ASSERT(mlp->ml_next == NULL); 68 p->ml_prev = NULL; 71 if (q != NULL) { 72 ASSERT(q->ml_prev == NULL); 75 ASSERT(mlp->ml_prev == NULL); 86 if (p == NULL || [all...] |
/illumos-gate/usr/src/cmd/hal/hald/solaris/ |
H A D | devinfo_pci.c | 35 NULL, 36 NULL, 37 NULL, 38 NULL, 39 NULL 49 if ((device_type == NULL) || 52 if (parent == NULL) { 53 return (NULL); 56 if ((s == NULL) || (strcmp (s, "pci") != 0)) { 57 return (NULL); [all...] |
/illumos-gate/usr/src/uts/common/fs/sockfs/ |
H A D | sodirect.c | 70 if (sodp == NULL) 71 return (NULL); 73 suiop = NULL; 78 sodp != NULL && sodp->sod_enabled && 122 if (sodp == NULL) { 128 if (suiop != NULL) { 133 if ((mp = sodp->sod_uioafh) != NULL) { 134 sodp->sod_uioafh = NULL; 135 sodp->sod_uioaft = NULL; 139 ASSERT(sodp->sod_uioafh == NULL); [all...] |
/illumos-gate/usr/src/lib/pysolaris/common/ |
H A D | misc.c | 42 return (NULL); 47 return (NULL); 67 return (NULL); 72 return (NULL); 75 stat = idmap_getwinnamebyuid(pid, flag, &name, NULL); 77 stat = idmap_getwinnamebygid(pid, flag, &name, NULL); 80 return (NULL); 83 if (name == NULL) { 85 return (NULL); 103 PyObject *ret = NULL; [all...] |
/illumos-gate/usr/src/lib/print/libipp-listener/common/ |
H A D | print-job.c | 46 papi_stream_t s = NULL; 47 papi_job_t j = NULL; 48 papi_attribute_t **operational = NULL; 49 papi_attribute_t **job_attributes = NULL; 50 char *queue = NULL; 53 char *host = NULL; 56 "printer-uri", NULL }; 59 (void) papiAttributeListGetCollection(request, NULL, 66 get_printer_id(operational, &queue, NULL); 67 if (queue == NULL) { [all...] |
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | pkgmount.c | 84 if (getvolflg && (n = getvol(devp->bdevice, NULL, 97 if (devp->fstyp == NULL) { 100 if ((pp = epopen(cmd, "r")) == NULL) { 107 if (fgets(cmd, CMDSIZ, pp) == NULL) { 130 n = pkgexecl(NULL, NULL, NULL, NULL, MOUNT, "-r", "-F", 131 devp->fstyp, devp->bdevice, devp->mount, NULL); 133 n = pkgexecl(NULL, NUL [all...] |
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | ns_fnutils.c | 54 FN_string_t *empty_string = NULL; 55 FN_composite_name_t *empty_cname = NULL; 56 FN_composite_name_t *slash_cname = NULL; 64 if (slash_cname != NULL) { 70 if (empty_string == NULL) { 71 if ((empty_string = fn_string_create()) == NULL) { 76 if (empty_cname == NULL) { 77 if ((empty_cname = new_cname("")) == NULL) { 81 if (slash_cname == NULL) { 82 if ((slash_cname = new_cname("/")) == NULL) { [all...] |
/illumos-gate/usr/src/cmd/hal/tools/ |
H A D | hal-is-caller-privileged.c | 98 char *udi = NULL; 99 char *action = NULL; 100 char *caller = NULL; 104 LibPolKitContext *pol_ctx = NULL; 106 DBusConnection *system_bus = NULL; 108 char *privilege = NULL; 123 {"udi", 1, NULL, 0}, 124 {"action", 1, NULL, 0}, 125 {"caller", 1, NULL, 0}, 126 {"version", 0, NULL, [all...] |
/illumos-gate/usr/src/uts/i86pc/io/acpi/acpidev/ |
H A D | acpidev_memory.c | 51 NULL, /* adc_private */ 52 NULL, /* adc_pre_probe */ 53 NULL, /* adc_post_probe */ 57 NULL, /* adc_fini */ 64 acpidev_class_list_t *acpidev_class_list_memory = NULL; 77 NULL, 80 NULL, 83 NULL, 84 NULL, 87 NULL, [all...] |
H A D | acpidev_scope.c | 52 NULL, /* adc_private */ 53 NULL, /* adc_pre_probe */ 54 NULL, /* adc_post_probe */ 58 NULL, /* adc_fini */ 61 acpidev_class_list_t *acpidev_class_list_scope = NULL; 71 NULL, 81 NULL, 91 NULL, 94 NULL, 97 NULL, [all...] |
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/ |
H A D | ldap_services.c | 41 static char *realmcontclass[] = {"krbRealmContainer", NULL}; 55 LDAP *ld=NULL; 56 char **rdns=NULL, *realmattr=NULL, *strval[3]={NULL}; 57 LDAPMod **mods=NULL; 58 kdb5_dal_handle *dal_handle=NULL; 59 krb5_ldap_context *ldap_context=NULL; 60 krb5_ldap_server_handle *ldap_server_handle=NULL; 64 if (service == NULL || servic [all...] |