Searched refs:NULL (Results 301 - 325 of 10793) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/lib/libshare/common/
H A Dscfutil.c56 NULL
70 if (handle != NULL) {
72 if (handle->scope != NULL) {
76 if (handle->instance != NULL)
78 if (handle->service != NULL)
80 if (handle->pg != NULL)
82 if (handle->handle != NULL) {
109 if (handle == NULL)
115 if (handle->handle == NULL) {
117 handle = NULL;
[all...]
/illumos-gate/usr/src/lib/pylibbe/common/
H A Dlibbe_py.c100 char *beName = NULL;
101 char *snapName = NULL;
103 nvlist_t *beAttrs = NULL;
104 PyObject *retVals = NULL;
107 return (Py_BuildValue("[is]", BE_PY_ERR_PARSETUPLE, NULL));
114 return (Py_BuildValue("[is]", BE_PY_ERR_NVLIST, NULL));
117 if (beAttrs == NULL) {
123 return (Py_BuildValue("[is]", ret, NULL));
125 if (snapName == NULL) {
128 NULL) !
[all...]
/illumos-gate/usr/src/lib/libshare/smbfs/
H A Dlibshare_smbfs.c87 NULL, /* share */
88 NULL, /* unshare */
89 NULL, /* valid_prop */
90 NULL, /* valid_space */
91 NULL, /* security_prop */
92 NULL, /* legacy_opts */
93 NULL, /* legacy_format */
97 NULL, /* space_alias */
98 NULL, /* update_legacy */
99 NULL, /* delete_legac
[all...]
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dextendop.c32 * err = ldap_extended_operation( ld, exoid, &exdata, NULL, NULL, &msgid );
70 LDAP_SET_LDERRNO( ld, rc, NULL, NULL );
74 if ( msgidp == NULL || exoid == NULL || *exoid == '\0' ||
75 exdata == NULL || exdata->bv_val == NULL ) {
77 LDAP_SET_LDERRNO( ld, rc, NULL, NULL );
[all...]
H A Durl.c68 return( url != NULL
81 if ( *urlp == NULL ) {
134 if ( (*ludpp)->lud_filter == NULL ) {
138 (*ludpp)->lud_dn = NULL;
159 if ((*ludpp)->lud_filter == NULL) {
163 (*ludpp)->lud_dn = NULL;
174 * (we just leave the lud_dn field NULL)
176 * and NULL respectively if no SCOPE or FILTER are present in the URL).
177 * 3) when there is a zero-length DN in a URL we do not set lud_dn to NULL.
185 char *urlcopy, *attrs, *scope, *extensions = NULL, *
[all...]
/illumos-gate/usr/src/cmd/hal/utils/
H A Dprinter.c30 if (s != NULL) {
34 for (; ((*s != NULL) && (isspace(*s) != 0)); s++);
50 char *iter = NULL;
53 if (devid_string == NULL)
57 for (s = (char *)strtok_r(devid_string, ";\n", &iter); s != NULL;
58 s = (char *)strtok_r(NULL, ";\n", &iter)) {
59 char *t, *u, *iter2 = NULL;
61 if ((t = (char *)strtok_r(s, ":\n", &iter2)) == NULL)
64 if ((u = (char *)strtok_r(NULL, ":\n", &iter2)) == NULL)
[all...]
/illumos-gate/usr/src/cmd/svc/startd/
H A Ddeathrow.c108 while ((file = fopen(SVC_DEATHROW_FILE, "r")) == NULL) {
123 NULL, UU_LIST_POOL_DEBUG);
124 if (deathrow_pool == NULL) {
129 if (deathrow_list == NULL) {
142 while (fgets(line, line_size, file) != NULL) {
144 fmri = NULL;
145 manifest = NULL;
146 pkgname = NULL;
154 if (manifest != NULL) {
159 if (pkgname != NULL) {
[all...]
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_tkt_policy.c49 LDAP *ld=NULL;
50 char *strval[3]={NULL}, *policy_dn = NULL;
51 LDAPMod **mods=NULL;
52 kdb5_dal_handle *dal_handle=NULL;
53 krb5_ldap_context *ldap_context=NULL;
54 krb5_ldap_server_handle *ldap_server_handle=NULL;
57 if (policy == NULL || policy->policy == NULL) {
99 if ((st=ldap_add_ext_s(ld, policy_dn, mods, NULL, NUL
[all...]
H A Dldap_krbcontainer.c38 char *policyrefattribute[] = {"krbTicketPolicyReference",NULL};
39 char *krbcontainerrefattr[] = {"krbContainerReference", NULL};
48 if (cparams == NULL)
80 LDAP *ld=NULL;
81 LDAPMessage *result=NULL, *ent=NULL;
82 krb5_ldap_krbcontainer_params *cparams=NULL;
83 kdb5_dal_handle *dal_handle=NULL;
84 krb5_ldap_context *ldap_context=NULL;
85 krb5_ldap_server_handle *ldap_server_handle=NULL;
[all...]
/illumos-gate/usr/src/lib/libfsmgt/common/
H A Dfs_shares.c65 while (headp != NULL) {
72 headp->next = NULL;
90 headp = NULL;
91 tailp = NULL;
93 if ((fp = fopen(SHARETAB, "r")) != NULL) {
100 if (newp == NULL) {
107 return (NULL);
110 if (headp == NULL) {
123 } /* if ((fp = fopen(SHARETAB, "r")) != NULL) */
149 if (strptr == NULL) {
[all...]
/illumos-gate/usr/src/lib/libidmap/common/
H A Ddirectory_helper.c48 * d, if non-NULL, specifies an existing directory-search context.
49 * If NULL, a temporary one will be created.
59 directory_t d1 = NULL;
63 NULL,
65 directory_entry_t *ret_list = NULL;
73 *sid = NULL;
74 if (classes != NULL)
77 if (d == NULL) {
79 if (de != NULL)
86 if (de != NULL)
[all...]
/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/
H A Dcommon.c56 if (mesg == NULL)
115 { NULL, NULL}
123 if (lp_type == NULL)
126 for (i = 0; type_map[i].lp_type != NULL; i++)
179 (void) papiAttributeListGetInteger(list, NULL,
181 (void) papiAttributeListGetString(list, NULL,
183 (void) papiAttributeListGetString(list, NULL,
215 (void) papiAttributeListGetInteger(list, NULL,
217 (void) papiAttributeListGetInteger(list, NULL,
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dcrypt.c140 * On failure we return NULL and set errno to one of:
152 ctbuffer = tsdalloc(_T_CRYPT, CRYPT_MAXCIPHERTEXTLEN, NULL);
153 if (ctbuffer == NULL)
154 return (NULL);
159 * algorithm. If the salt passed in is NULL or the first char
163 if (salt == NULL || salt[0] != '$' || strlen(salt) == 1) {
172 * If alg is NULL but found = B_TRUE then there is a problem with
176 if ((algname = getalgfromsalt(salt)) == NULL) {
177 return (NULL);
182 if ((alg == NULL) || !foun
[all...]
/illumos-gate/usr/src/lib/libpkg/common/
H A Dncgrpw.c56 static Cache *pwnam_cache = (Cache *) NULL;
57 static Cache *grnam_cache = (Cache *) NULL;
58 static Cache *pwuid_cache = (Cache *) NULL;
59 static Cache *grgid_cache = (Cache *) NULL;
92 } else if ((itemp->key = (char *)malloc(len)) == NULL) {
96 } else if ((itemp->data = malloc(struct_size)) == NULL) {
109 return ((Item *) NULL);
124 (int (*)())NULL, (int (*)())NULL) == -1) {
126 grnam_cache = (Cache *) NULL;
[all...]
/illumos-gate/usr/src/cmd/hal/probing/network-printer/
H A Dprobe-snmp.c32 if (string == NULL)
36 if ((strchr(string, ':') != NULL) && (strchr(string, ';') != NULL)) {
38 description, NULL, NULL, NULL);
43 if ((s = strchr(*manufacturer, ' ')) != NULL) {
44 *s++ = NULL;
57 struct snmp_pdu *request = NULL, *result = NULL;
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dnfslogtab.c71 struct logtab_ent *lep = NULL;
74 if ((lep = (struct logtab_ent *)malloc(sizeof (*lep))) == NULL) {
79 if ((p = fgets(line, MAXBUFSIZE, fd)) == NULL) {
87 if (tmp == NULL) {
91 if ((lep->le_buffer = strdup(tmp)) == NULL) {
96 tmp = (char *)strtok_r(NULL, w, &lasts);
97 if (tmp == NULL) {
101 if ((lep->le_path = strdup(tmp)) == NULL) {
106 tmp = (char *)strtok_r(NULL, w, &lasts);
107 if (tmp == NULL) {
[all...]
/illumos-gate/usr/src/cmd/hal/probing/xkb/
H A Dprobe-xkb.c45 priv_set_t *pPrivSet = NULL;
46 priv_set_t *lPrivSet = NULL;
52 if ((pPrivSet = priv_str_to_set("basic", ",", NULL)) == NULL) {
73 if ((lPrivSet = priv_allocset()) == NULL) {
102 if (strstr(device_file, "hid") != NULL) {
157 return (NULL);
172 if ((tmp = strchr(ptr, '#')) != NULL) {
194 char *keymap, *defkeymap = NULL;
195 char *model, *defmodel = NULL;
[all...]
/illumos-gate/usr/src/lib/libsip/common/
H A Dsip_dialog.c49 void (*sip_dlg_ulp_state_cb)(sip_dialog_t, sip_msg_t, int, int) = NULL;
50 void (*sip_ulp_dlg_del_cb)(sip_dialog_t, sip_msg_t, void *) = NULL;
122 if (dialog->sip_dlg_call_id != NULL)
124 if (dialog->sip_dlg_local_uri_tag != NULL)
126 if (dialog->sip_dlg_remote_uri_tag != NULL)
128 if (dialog->sip_dlg_remote_target != NULL)
130 if (dialog->sip_dlg_local_contact != NULL)
132 if (dialog->sip_dlg_new_local_contact != NULL)
134 if (dialog->sip_dlg_route_set != NULL)
136 if (dialog->sip_dlg_event != NULL)
[all...]
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_getalias.c77 if (realfilter == NULL)
79 *realfilter = NULL;
81 if (desc == NULL || desc->filter == NULL || userdata == NULL)
89 if (checker != NULL) {
96 } while (checker != NULL);
101 if (*realfilter == NULL)
115 ns_ldap_result_t *result = NULL;
116 ns_ldap_error_t *errorp = NULL;
[all...]
/illumos-gate/usr/src/cmd/vntsd/
H A Dqueue.c55 if (el == NULL) {
56 return (NULL);
60 el->nextp = NULL;
61 el->prevp = NULL;
80 if (el == NULL) {
86 if (p == NULL) {
91 while (p->nextp != NULL)
111 while (q != NULL) {
119 if (q == NULL) {
126 if (el == NULL) {
[all...]
/illumos-gate/usr/src/cmd/gss/gsscred/
H A Dgsscred_file.c74 if ((fp = fopen(credFile, "a")) == NULL) {
106 if ((fp = fopen(credFile, "r")) == NULL) {
119 while (fgets(entry, MAX_ENTRY_LEN, fp) != NULL) {
121 if (name == NULL && uid == NULL) {
126 if (matchEntry(entry, name, uid, NULL))
151 if ((fp = fopen(credFile, "r")) == NULL)
155 while (fgets(entry, MAX_ENTRY_LEN, fp) != NULL) {
156 if (matchEntry(entry, expName, NULL, uidOut)) {
181 if (name == NULL
[all...]
/illumos-gate/usr/src/cmd/hal/hald/solaris/
H A Ddevinfo_misc.c38 NULL,
39 NULL,
40 NULL,
41 NULL,
42 NULL
47 NULL,
48 NULL,
49 NULL,
50 NULL,
56 NULL,
[all...]
/illumos-gate/usr/src/uts/common/crypto/api/
H A Dkcf_digest.c73 * When the mech's parameter is not NULL, its definition depends
107 rv = kcf_get_hardware_provider(mech->cm_type, NULL,
108 CRYPTO_MECH_INVALID, NULL, pd, &real_provider,
114 KCF_WRAP_DIGEST_OPS_PARAMS(&params, KCF_OP_ATOMIC, sid, mech, NULL,
118 rv = kcf_submit_request(real_provider, NULL, crq, &params, B_FALSE);
136 kcf_prov_tried_t *list = NULL;
140 if ((pd = kcf_get_mech_provider(mech->cm_type, NULL, NULL, &error,
141 list, CRYPTO_FG_DIGEST_ATOMIC, data->cd_length)) == NULL) {
142 if (list != NULL)
[all...]
/illumos-gate/usr/src/cmd/powertop/common/
H A Dbattery.c56 static char *kstat_batt_mod[3] = {NULL, "battery", "acpi_drv"};
71 if (kstat_lookup(kc, kstat_batt_mod[1], 0, NULL))
74 if (kstat_lookup(kc, kstat_batt_mod[2], 0, NULL))
131 if (ksp == NULL) {
136 (void) kstat_read(kc, ksp, NULL);
139 if (knp == NULL) {
154 if (ksp == NULL) {
159 (void) kstat_read(kc, ksp, NULL);
162 if (knp == NULL) {
181 if (ksp == NULL) {
[all...]
/illumos-gate/usr/src/uts/i86pc/io/acpi/acpidev/
H A Dacpidev_device.c54 NULL, /* adc_private */
55 NULL, /* adc_pre_probe */
56 NULL, /* adc_post_probe */
60 NULL, /* adc_fini */
67 acpidev_class_list_t *acpidev_class_list_device = NULL;
72 NULL,
82 NULL,
85 NULL,
88 NULL,
89 NULL,
[all...]

Completed in 106 milliseconds

<<11121314151617181920>>