Lines Matching refs:NULL

76 	ASSERT(ipp1 != NULL);
77 ASSERT(ipp2 != NULL);
79 for (i = 0; ipp1[i].s != NULL && ipp2[i].s != NULL; i++)
85 if (ipp1[i].s == NULL && ipp2[i].s == NULL)
87 else if (ipp1[i].s == NULL)
107 ASSERT(np != NULL);
108 ASSERT(ipp != NULL);
110 for (i = 0; ipp[i].s != NULL && np != NULL; i++, np = np->u.name.next) {
118 if (np->u.name.child != NULL &&
122 config_getcompname(np->u.name.cp, NULL, &inum);
129 if (ipp[i].s == NULL && np == NULL)
131 else if (ipp[i].s == NULL)
154 while (ipp->s != NULL) {
156 (void *)ipp->s, NULL);
160 while (ipp->s != NULL) {
162 (void *)ipp->s, NULL);
173 while (ipp[1].s != NULL)
181 ret[1].s = NULL;
183 (lut_cmp)ipath_cmp)) != NULL) {
200 for (np2 = np; np2 != NULL; np2 = np2->u.name.next)
203 for (i = 0, np2 = np; np2 != NULL; np2 = np2->u.name.next) {
207 ret[i].s = NULL;
209 (lut_cmp)ipath_cmp)) != NULL) {
231 (lut_cmp)ipath_epnamecmp)) != NULL)
240 while (namep != NULL) {
248 /* allocate array for name and last NULL entry */
250 ret[count].s = NULL;
255 while (namep != NULL) {
258 if (namep->u.name.child != NULL &&
262 config_getcompname(namep->u.name.cp, NULL, &ret[i].i);
280 * if both ename and ipp are provided (non-NULL), the resulting string
284 * on which argument is non-NULL.
295 if (ename != NULL)
299 if (ipp != NULL) {
300 for (i = 0; ipp[i].s != NULL; i++) {
304 len += snprintf(NULL, 0, "%s%d", ipp[i].s, ipp[i].i);
308 if (ename != NULL && ipp != NULL)
315 if (ename != NULL) {
322 if (ename != NULL && ipp != NULL)
325 if (ipp != NULL) {
327 for (i = 0; ipp[i].s != NULL; i++) {
346 for (i = 0; ipp[i].s != NULL; i++)
351 (void *)ipp[i - 1].s, NULL);
364 if (ename != NULL)
368 if (ipp != NULL) {
369 for (i = 0; ipp[i].s != NULL; i++) {
373 len += snprintf(NULL, 0, "%s%d", ipp[i].s, ipp[i].i);
377 if (ename != NULL && ipp != NULL)
389 if (ename != NULL) {
391 if (ipp != NULL)
394 if (ipp != NULL) {
397 while (ipp->s != NULL) {
420 lut_free(Ipaths, ipath_destructor, NULL);
421 Ipaths = NULL;
422 lut_free(Usednames, NULL, NULL);
423 Usednames = NULL;
427 Nipath = NULL;
432 Nbytes = NULL;