Searched refs:NULL (Results 501 - 525 of 10793) sorted by relevance

<<21222324252627282930>>

/illumos-gate/usr/src/lib/libnsl/ipsec/
H A Dalgs.c53 if (proto == NULL)
85 int *key_sizes = NULL, num_sizes, key_low, key_high, key_default;
98 if (strchr(input_string, '/') != NULL) {
103 if (token == NULL || (key_default = atoi(token)) == 0)
107 token = strtok_r(NULL, dash, &lasts);
108 if (token == NULL || (key_low = atoi(token)) == 0)
112 token = strtok_r(NULL, comma, &lasts);
113 if (token == NULL || (key_high = atoi(token)) == 0 ||
118 token = strtok_r(NULL, "", &lasts);
119 if (token == NULL || (key_incremen
[all...]
/illumos-gate/usr/src/lib/librcm/
H A Dlibrcm.c59 if ((hdp == NULL) || (flag & ~RCM_ALLOC_HDL_MASK)) {
69 if ((hd = calloc(1, sizeof (*hd))) == NULL) {
77 if ((hd->modname = strdup(namebuf)) == NULL) {
82 if ((temp = rcm_module_open(namebuf)) == NULL) {
106 if (hd == NULL) {
130 if ((flag & ~RCM_GET_INFO_MASK) || (infop == NULL)) {
136 * rsrcname may be NULL if requesting dr operations or modinfo
138 if ((rsrcname == NULL) &&
145 rsrcnames[1] = NULL;
147 return (rcm_common(CMD_GETINFO, hd, rsrcnames, flag, NULL, info
[all...]
/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_access.c82 if (data == NULL)
137 if (data == NULL)
168 if (data == NULL)
169 return (NULL);
187 access->seq_num)) == NULL) {
190 assert(addr_rwlock != NULL);
191 return (NULL);
196 ret = NULL;
240 /* if old_data == new_data, both must be NULL */
241 return (NULL);
[all...]
/illumos-gate/usr/src/cmd/oamuser/user/
H A Dfuncs.c105 * NULL, value - -K key=value option.
114 if (key == NULL) {
118 if (value == NULL) {
127 if (keys[i].newvalue != NULL) {
133 if (keys[i].check != NULL &&
134 (res = keys[i].check(value)) != NULL) {
161 if (val == NULL)
175 * If the proposed default value is NULL, return the actual value set.
185 if (keys[i].newvalue != NULL)
190 return (NULL);
[all...]
/illumos-gate/usr/src/lib/libsip/common/
H A Dsip_itf.c45 const sip_dialog_t) = NULL;
47 struct timeval *) = NULL;
48 boolean_t (*sip_stack_untimeout)(uint_t) = NULL;
50 NULL;
51 void (*sip_refhold_conn)(sip_conn_object_t) = NULL;
52 void (*sip_refrele_conn)(sip_conn_object_t) = NULL;
53 boolean_t (*sip_is_conn_stream)(sip_conn_object_t) = NULL;
54 boolean_t (*sip_is_conn_reliable)(sip_conn_object_t) = NULL;
56 socklen_t *) = NULL;
58 socklen_t *) = NULL;
[all...]
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dsetlocale.c50 NULL,
52 NULL, /* not defined */
113 struct dtconv *_dtconv = NULL;
115 static char *realmonths = NULL;
116 static char *realdays = NULL;
117 static char *realfmts = NULL;
134 static char *lconv_numeric_str = NULL;
135 static char *lconv_monetary_str = NULL;
173 if (locale == NULL) {
214 if (strchr(locale, '/') != NULL) {
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/nwamcfg/
H A Dnwamcfg_grammar.y33 static cmd_t *cmd = NULL; /* Command being processed */
112 if ($1 != NULL) {
113 if ($1->cmd_handler != NULL)
122 if ($1 != NULL)
163 if (($$ = alloc_cmd()) == NULL)
169 $$->cmd_argv[0] = NULL;
185 if (($$ = alloc_cmd()) == NULL)
192 $$->cmd_argv[0] = NULL;
197 if (($$ = alloc_cmd()) == NULL)
203 $$->cmd_argv[0] = NULL;
[all...]
/illumos-gate/usr/src/cmd/svr4pkg/pkgadd/
H A Dcheck.c65 static depckError_t er_ckconflict = {0, (depckErrorRecord_t *)NULL};
66 static depckError_t er_ckdepend = {0, (depckErrorRecord_t *)NULL};
67 static depckError_t er_ckcfcontent = {0, (depckErrorRecord_t *)NULL};
68 static depckError_t er_ckinstance = {0, (depckErrorRecord_t *)NULL};
69 static depckError_t er_ckdirs = {0, (depckErrorRecord_t *)NULL};
70 static depckError_t er_ckpartinst = {0, (depckErrorRecord_t *)NULL};
71 static depckError_t er_ckpartrem = {0, (depckErrorRecord_t *)NULL};
72 static depckError_t er_ckpkgdirs = {0, (depckErrorRecord_t *)NULL};
73 static depckError_t er_ckpkgfilebad = {0, (depckErrorRecord_t *)NULL};
74 static depckError_t er_ckpkgfiles = {0, (depckErrorRecord_t *)NULL};
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Dneti_impl.c45 ASSERT(protocol != NULL);
46 ASSERT(nts != NULL);
49 ASSERT(n->netd_info.netp_name != NULL);
70 ASSERT(info != NULL);
73 if (nts == NULL)
74 return (NULL);
78 new->netd_hooks = NULL;
85 if (n != NULL) {
88 return (NULL);
107 ASSERT(info != NULL);
[all...]
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_nss/common/
H A Dnss_spi.c147 NULL /* ListCRL */,
158 NULL /* Finalize */
191 return (NULL);
192 if (arg != NULL)
195 return (NULL);
207 if (cred == NULL || cred->cred == NULL || cred->credlen == 0 ||
208 nss_slot == NULL) {
212 if (PK11_IsLoggedIn(nss_slot, NULL)) {
312 char *slotlabel = NULL;
[all...]
/illumos-gate/usr/src/lib/libtsnet/common/
H A Dtsol_sgettpent.c56 char *val = NULL;
59 if (val == NULL)
77 if (min == NULL && max == NULL)
79 if (min == NULL)
81 if (max == NULL)
85 if (str_to_label(min, &slp, MAC_LABEL, L_NO_CORRECTION, NULL) != 0)
88 if (str_to_label(max, &slp, MAC_LABEL, L_NO_CORRECTION, NULL) != 0)
106 for (sc = 0; tokp != NULL && sc < NSLS_MAX; sc++) {
109 NULL) !
[all...]
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dsort.c91 || chain == NULL || cmp == NULL ) {
98 if ( kt == NULL ) {
99 LDAP_SET_LDERRNO( ld, LDAP_NO_MEMORY, NULL, NULL );
112 if ( kt[i]->kt_key == NULL ) {
115 LDAP_SET_LDERRNO( ld, LDAP_NO_MEMORY, NULL, NULL );
159 if (NULL == a || NULL
[all...]
H A Dmodify.c65 if ( ldap_modify_ext( ld, dn, mods, NULL, NULL, &msgid )
106 LDAP_SET_LDERRNO( ld, LDAP_PARAM_ERROR, NULL, NULL );
112 LDAP_SET_LDERRNO( ld, lderr, NULL, NULL );
115 if ( dn == NULL ) {
124 if ( ld->ld_cache_on && ld->ld_cache_modify != NULL ) {
144 LDAP_SET_LDERRNO( ld, lderr, NULL, NULL );
[all...]
/illumos-gate/usr/src/common/smbsrv/
H A Dsmb_sid.c49 if (sid == NULL)
64 if (sid == NULL)
84 if (sid == NULL)
85 return (NULL);
88 if ((new_sid = smb_sid_alloc(size)) == NULL)
89 return (NULL);
109 if (domain_sid == NULL)
110 return (NULL);
113 if ((sid = smb_sid_alloc(size + sizeof (rid))) == NULL)
114 return (NULL);
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/SUNW,SPARC-Enterprise/ioboard/
H A Dopl_hostbridge.c51 return (NULL);
62 return (NULL);
73 if (parent == NULL || inst < 0) {
74 return (NULL);
79 inst, NULL, auth, NULL, NULL, NULL)) == NULL) {
83 return (NULL);
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Drepval.c59 static uu_list_pool_t *rep_val_pool = NULL;
68 static scf_handle_t *rep_handle = NULL;
69 static scf_propertygroup_t *pg = NULL;
70 static scf_instance_t *inst = NULL;
71 static scf_transaction_t *trans = NULL;
72 static scf_transaction_entry_t *entry = NULL;
73 static scf_property_t *prop = NULL;
112 offsetof(rep_val_t, link), NULL, UU_LIST_POOL_DEBUG);
113 if (rep_val_pool == NULL) {
125 if ((rep_handle = scf_handle_create(SCF_VERSION)) == NULL) {
[all...]
/illumos-gate/usr/src/lib/libscf/common/
H A Dmidlevel.c57 if (simple_h == NULL)
71 * FMRI is NULL, assemble_fmri() gets the base FMRI from scf_myname().
82 if (prop == NULL) {
84 return (NULL);
87 if (pg == NULL)
92 if (base == NULL) {
93 if ((baselen = scf_myname(h, NULL, 0)) == -1)
94 return (NULL);
103 if ((fmri_buf = malloc(fmri_sz)) == NULL) {
105 return (NULL);
[all...]
/illumos-gate/usr/src/lib/libinetsvc/common/
H A Dinetsvc.c62 B_FALSE, IVE_UNSET, NULL, B_FALSE},
64 B_FALSE, IVE_UNSET, NULL, B_FALSE},
66 B_FALSE, IVE_UNSET, NULL, B_FALSE},
68 B_FALSE, IVE_UNSET, NULL, B_FALSE},
70 B_FALSE, IVE_UNSET, NULL, B_FALSE},
72 B_FALSE, IVE_UNSET, NULL, B_FALSE},
74 B_FALSE, IVE_UNSET, NULL, B_FALSE},
76 B_FALSE, IVE_UNSET, NULL, B_FALSE},
78 B_FALSE, IVE_UNSET, NULL, B_FALSE},
80 B_FALSE, IVE_UNSET, NULL, B_FALS
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wanboot/wanboot-cgi/
H A Dwanboot-cgi.c118 { "bootfile", "bootfs", "rootfs", NULL };
130 { "CONTENT", "IP", "CID", "NONCE", NULL };
161 if (spec_msg == NULL) {
173 char *ptr = NULL;
178 (ptr = strdup(path)) == NULL) {
188 if (*pathp != NULL) {
190 *pathp = NULL;
201 char *ptr = NULL;
203 if ((pid = getpid()) < 0 || (secs = time(NULL)) < 0 ||
206 (ptr = strdup(path)) == NULL) {
[all...]
/illumos-gate/usr/src/lib/libprtdiag/common/
H A Dkstat.c76 if ((kc = kstat_open()) == NULL) {
81 for (bnode = tree->bd_list; bnode != NULL; bnode = bnode->next) {
95 if ((ksp != NULL) && (kstat_read(kc, ksp, NULL) == -1)) {
96 ksp = NULL;
100 if (ksp != NULL) {
112 if (knp != NULL) {
118 if (knp != NULL) {
129 if ((ksp != NULL) && (kstat_read(kc, ksp, NULL)
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dserializer.c157 ASSERT(proc != NULL);
158 ASSERT(mp != NULL);
179 if (s->ser_last != NULL)
197 for (; mp != NULL && credit-- != 0; mp = s->ser_first) {
201 if ((s->ser_first = s->ser_first->b_next) == NULL) {
202 s->ser_last = NULL;
204 mp->b_next = NULL;
208 mp->b_queue = NULL;
209 mp->b_prev = NULL;
230 if (s->ser_owner == NULL) {
[all...]
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_runtime.c165 if (param_valuep != NULL) {
196 if (param_valuep != NULL) {
197 retval = (uint_t)strtol(param_valuep, NULL, 16);
206 * Note that if returning non-NULL, the caller is responsible for freeing
234 if (param_valuep != NULL) {
235 retval = (uint_t)strtol(param_valuep, NULL, 16);
249 char *line_bufferp = NULL;
250 char *newlinep = NULL;
251 FILE *param_filep = NULL;
252 char *param_name_tokenp = NULL;
[all...]
/illumos-gate/usr/src/lib/passwdutil/
H A Dutils.c49 NULL,
52 NULL,
54 NULL,
55 NULL,
56 NULL,
82 if (s == NULL) {
83 *d = NULL;
86 if ((*d = calloc(1, sizeof (**d))) == NULL)
90 if (((*d)->pw_name = strdup(s->pw_name)) == NULL)
94 if (((*d)->pw_passwd = strdup(s->pw_passwd)) == NULL)
[all...]
/illumos-gate/usr/src/common/iscsi/
H A Dutils.c73 { 0, NULL }
90 for (pn = param_names; pn->u_name != NULL; pn++)
93 return (NULL);
102 char *p = NULL;
143 * to insert NULL terminators if required. Port and TPGT are optional.
151 if (addr == NULL) {
154 *addr = NULL;
156 if (port != NULL) {
157 *port = NULL;
159 if (tpgt != NULL) {
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/chicago/envd/
H A Dpiclenvsetup.c86 NULL, NULL, NULL, NULL},
88 NULL, NULL, NULL, NULL},
90 NULL, NULL, NUL
[all...]

Completed in 93 milliseconds

<<21222324252627282930>>