Searched refs:NULL (Results 126 - 150 of 10793) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dufn.c68 * cancelled. This can be NULL. If it is non-NULL, the
78 * error = ldap_ufn_search_ctx( ld, ufncomp, 3, NULL, attrs, attrsonly,
99 char *dn, *ftag = NULL;
100 char **dns = NULL;
105 static char *objattrs[] = { "objectClass", NULL };
121 *res = NULL;
122 candidates = NULL;
128 if ( (quote = strrchr( ufncomp[ncomp], '"' )) != NULL )
155 if ( candidates == NULL ) {
[all...]
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dpthr_attr.c36 * Default attribute object for pthread_create() with NULL attr pointer.
44 NULL, /* stkaddr */
68 if ((ap = lmalloc(sizeof (thrattr_t))) != NULL) {
78 * with NULL value.
83 if (attr == NULL || attr->__pthread_attrp == NULL)
86 attr->__pthread_attrp = NULL;
100 if (old_ap == NULL)
102 if ((ap = lmalloc(sizeof (thrattr_t))) == NULL)
111 * A NULL pthread_attr_
[all...]
/illumos-gate/usr/src/lib/libsip/common/
H A Dsip_ui.c58 if (error != NULL)
60 if (sip_msg == NULL) {
61 if (error != NULL)
63 return (NULL);
70 if (sip_hdr == NULL && error != NULL)
83 if (error != NULL)
85 if (sip_msg == NULL || !sip_msg_is_request(sip_msg, error)) {
86 if (error != NULL)
88 return (NULL);
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/md/
H A Dmd.c65 { "md_verbose", NULL, "toggle verbose mode for SVM dcmds",
67 { "metaset", NULL, "list SVM metasets", metaset },
70 { "set_io", NULL, "show the pending IO counts", set_io,
74 { "dumphotspare", NULL, "dump the hot spare pools",
78 { "simple_de_ic", NULL, "simple mddb_de_ic_t",
80 { "printmmbm", NULL, "print bitmaps for given mm_unit_t",
82 { NULL }
87 mddb_db_walk_init, mddb_db_walk_step, NULL, NULL },
89 mddb_de_ic_walk_init, mddb_de_ic_walk_step, NULL, NUL
[all...]
/illumos-gate/usr/src/lib/print/libipp-listener/common/
H A Dvalidate-job.c43 papi_job_t j = NULL;
44 papi_attribute_t **operational = NULL;
45 papi_attribute_t **job_attributes = NULL;
46 char *queue = NULL;
47 char *files[] = { "/etc/syslog.conf", NULL };
51 "printer-uri", NULL };
54 (void) papiAttributeListGetCollection(request, NULL,
61 get_printer_id(operational, &queue, NULL);
62 if (queue == NULL) {
82 split_and_copy_attributes(keys, operational, NULL,
[all...]
/illumos-gate/usr/src/lib/libpkg/common/
H A Dprogerr.c41 static char *ProgName = NULL; /* Set via set_prog_name() */
56 if (name == NULL)
57 return (NULL);
58 if ((name = strdup(name)) == NULL) {
123 if (alloc_proc != (void (*)())NULL)
133 * NULL - malloc() failure
143 if ((tmp = (void *) malloc(size)) == NULL) {
145 return (NULL);
159 * NULL - realloc() failed
169 if ((tmp = (void *)realloc(ptr, size)) == (void *)NULL) {
[all...]
H A Dp12lib.c126 { 0, NULL }
161 { 0, NULL }
170 { 0, NULL }
225 * other (CA) certs. Note either ca should be NULL, *ca should be NULL,
231 * pass - Pass phrase for the private key (possibly empty) or NULL if
239 * to match. This value should be a NULL terminated string.
283 /* If NULL PKCS12 structure, this is an error */
284 if (p12 == NULL) {
291 *pkey = NULL;
[all...]
/illumos-gate/usr/src/lib/libbsm/common/
H A Dgetdevicerange.c40 * Returns malloc'ed blrange pointer, or NULL on any error.
52 if ((range = malloc(sizeof (blrange_t))) == NULL)
53 return (NULL);
54 if ((range->lower_bound = blabel_alloc()) == NULL) {
56 return (NULL);
58 if ((range->upper_bound = blabel_alloc()) == NULL) {
61 return (NULL);
69 if ((da = getdanam((char *)dev)) == NULL) {
72 if ((dm = getdmapdev((char *)dev)) != NULL) {
79 if (da == NULL) {
[all...]
/illumos-gate/usr/src/common/net/wanboot/
H A Dp12access.c80 if (ctx == NULL || cert == NULL) {
107 if (ctx == NULL || pkey == NULL) {
143 if (ctx == NULL || ctx->cert_store == NULL || ta_certs == NULL) {
196 PKCS12 *p12 = NULL;
197 X509 *cert = NULL;
201 if (ctx == NULL || filenam
[all...]
/illumos-gate/usr/src/cmd/policykit/
H A Dpolkit-is-privileged.c65 char *user = NULL;
66 char *privilege = NULL;
67 char *resource = NULL;
68 char *system_bus_unique_name = NULL;
70 {"user", required_argument, NULL, 'u'},
71 {"system-bus-unique-name", required_argument, NULL, 's'},
72 {"resource", required_argument, NULL, 'r'},
73 {"privilege", required_argument, NULL, 'p'},
74 {"help", no_argument, NULL, 'h'},
75 {"verbose", no_argument, NULL, '
[all...]
/illumos-gate/usr/src/uts/common/io/ppp/sppp/
H A Dsppp_mod.c86 NULL, /* qi_putp */
87 NULL, /* qi_srvp */
90 NULL, /* qi_qadmin */
92 NULL /* qi_mstat */
98 NULL, /* qi_qopen */
99 NULL, /* qi_qclose */
100 NULL, /* qi_qadmin */
102 NULL /* qi_mstat */
108 NULL, /* qi_qopen */
109 NULL, /* qi_qclos
[all...]
/illumos-gate/usr/src/cmd/syseventd/modules/datalink_mod/
H A Ddatalink_mod.c50 static rcm_handle_t *rcm_hdl = NULL;
65 while (! dl_exiting || dl_events != NULL) {
66 if (dl_events == NULL) {
72 dl_events = NULL;
76 while (tmp_events != NULL) {
92 0, tmp_events->ev, NULL) != RCM_SUCCESS)
96 (void) sigaction(SIGCHLD, &cbuf, NULL);
108 return (NULL);
132 if ((newp = malloc(sizeof (struct event_list))) == NULL)
136 newp->next = NULL;
[all...]
/illumos-gate/usr/src/cmd/lvm/metassist/layout/
H A Dlayout_dlist_util.c67 assert(str1 != NULL);
68 assert(str2 != NULL);
96 assert(devconf1 != NULL);
97 assert(devconf2 != NULL);
126 assert(desc1 != NULL);
127 assert(desc2 != NULL);
158 char *volname = NULL;
159 char *descname = NULL;
161 assert(devconf != NULL);
162 assert(desc != NULL);
[all...]
/illumos-gate/usr/src/lib/libc/port/aio/
H A Daio_alloc.c62 chunk_t *chunk_list = NULL; /* list of all chunks */
68 chunk_t *chp = NULL;
71 ptr = mmap(NULL, size, PROT_READ | PROT_WRITE,
85 aio_worker_t *worker_freelist = NULL; /* free list of worker structures */
86 aio_worker_t *worker_freelast = NULL;
103 if ((aiowp = worker_freelist) == NULL) {
106 if ((chp = chunk_alloc(chunksize)) == NULL) {
108 return (NULL);
116 worker_freelast->work_forw = NULL;
119 if ((worker_freelist = aiowp->work_forw) == NULL)
[all...]
/illumos-gate/usr/src/lib/print/libpapi-dynamic/common/
H A Dprinter.c42 if (tmp != NULL) {
46 if (f != NULL)
48 if (tmp->attributes != NULL)
59 if (printers != NULL) {
62 for (i = 0; printers[i] != NULL; i++)
74 papi_printer_t *svc_printers = NULL;
77 if ((svc == NULL) || (printers == NULL))
85 if (f != NULL)
96 if ((result == PAPI_OK) && (svc_printers != NULL)) {
[all...]
/illumos-gate/usr/src/cmd/cmd-crypto/kmfcfg/
H A Dutil.c46 static av_opts *opts_av = NULL;
47 static const char *_save_optstr = NULL;
50 char *optarg_av = NULL;
57 if (plist == NULL)
60 while (n != NULL) {
66 plist = NULL;
74 POLICY_LIST *newitem, *plist = NULL;
76 xmlDocPtr doc = NULL;
81 if (ctxt == NULL)
85 doc = xmlCtxtReadFile(ctxt, file, NULL,
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dutil_dup.c36 if ((ret = (char *) xmalloc(strlen(str)+1)) == NULL)
37 return(NULL);
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dslk_atroff.c56 if ((SP->slk == NULL) || ((win = SP->slk->_win) == NULL))
H A Dslk_atron.c56 if ((SP->slk == NULL) || ((win = SP->slk->_win) == NULL))
H A Dslk_atrset.c56 if ((SP->slk == NULL) || ((win = SP->slk->_win) == NULL))
H A Dwaddnwstr.c46 if ((sp = _strcode2byte(code, NULL, n)) == NULL)
H A Dwinsnwstr.c47 if ((sp = _strcode2byte(code, NULL, n)) == NULL)
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dgetlogin.c36 if ((lgn = (char *)_getlogin()) == NULL) {
38 if ((pwd = (struct passwd *)_getpwuid(_getuid())) != NULL)
H A Drindex.c27 * appears; NULL if not found
30 #define NULL 0 macro
38 r = NULL;
H A Dstrpbrk.c30 * in the character string `string'; NULL if none exists.
33 #define NULL (char *) 0 macro
48 return(NULL);

Completed in 73 milliseconds

1234567891011>>