Lines Matching defs:NULL

81 	for (t = ldapTableMapping; t != NULL; t = t1) {
85 ldapTableMapping = NULL;
103 proxy_info->default_servers = NULL;
106 proxy_info->tls_cert_db = NULL;
107 proxy_info->default_search_base = NULL;
108 proxy_info->proxy_dn = NULL;
109 proxy_info->proxy_passwd = NULL;
110 proxy_info->default_nis_domain = NULL;
167 if (rule != NULL) {
171 if (r->element != NULL)
177 if (r->element != NULL)
197 if (e == NULL)
205 if (e->element.print.fmt != NULL)
207 e->element.print.fmt = NULL;
212 if (e->element.print.subElement != NULL)
214 e->element.print.subElement = NULL;
220 if (e->element.match.fmt != NULL)
222 e->element.match.fmt = NULL;
226 if (e->element.match.item != NULL)
228 e->element.match.item = NULL;
231 if (e->element.extract.fmt != NULL)
233 e->element.extract.fmt = NULL;
237 e = NULL;
258 if (mapping == NULL)
261 if (mapping->dbId != NULL)
263 mapping->dbId = NULL;
265 if (mapping->objName != NULL)
267 mapping->objName = NULL;
274 if (mapping->index.name != NULL)
276 mapping->index.name = NULL;
278 if (mapping->index.value != NULL)
280 mapping->index.value = NULL;
284 if (mapping->column != NULL) {
290 mapping->column = NULL;
293 if (mapping->commentChar != NULL)
294 mapping->commentChar = NULL;
296 if (mapping->objectDN != NULL)
298 mapping->objectDN = NULL;
300 if (mapping->separatorStr != NULL)
301 mapping->separatorStr = NULL;
309 if (mapping->ruleFromLDAP != NULL)
311 mapping->ruleFromLDAP = NULL;
328 if (mapping->ruleToLDAP != NULL)
330 mapping->ruleToLDAP = NULL;
332 if (mapping->e != NULL) {
339 mapping->e = NULL;
357 if (config_info->config_dn != NULL)
359 config_info->config_dn = NULL;
361 if (config_info->default_servers != NULL)
363 config_info->default_servers = NULL;
365 if (config_info->proxy_dn != NULL)
367 config_info->proxy_dn = NULL;
369 if (config_info->proxy_passwd != NULL)
371 config_info->proxy_passwd = NULL;
373 if (config_info->tls_cert_db != NULL)
375 config_info->tls_cert_db = NULL;
389 if (proxy_info->tls_cert_db != NULL)
391 proxy_info->tls_cert_db = NULL;
393 if (proxy_info->default_servers != NULL)
395 proxy_info->default_servers = NULL;
397 if (proxy_info->default_search_base != NULL)
399 proxy_info->default_search_base = NULL;
401 if (proxy_info->proxy_dn != NULL)
403 proxy_info->proxy_dn = NULL;
405 if (proxy_info->proxy_passwd != NULL)
407 proxy_info->proxy_passwd = NULL;
409 if (proxy_info->default_nis_domain != NULL)
411 proxy_info->default_nis_domain = NULL;
428 while (obj_dn != NULL) {
429 if (obj_dn->read.base != NULL)
431 obj_dn->read.base = NULL;
432 if (obj_dn->read.attrs != NULL)
434 obj_dn->read.attrs = NULL;
435 if (obj_dn->write.base != NULL)
437 obj_dn->write.base = NULL;
438 if (obj_dn->write.attrs != NULL)
440 obj_dn->write.attrs = NULL;
441 if (obj_dn->dbIdName != NULL)
443 obj_dn->dbIdName = NULL;
448 if (obj_dn->dbId != NULL)
450 obj_dn->dbId = NULL;
475 if (index->name != NULL)
477 index->name = NULL;
478 if (index->value != NULL)
480 index->value = NULL;
494 if (item == NULL)
497 if (item->name != NULL)
499 item->name = NULL;
502 if (item->searchSpec.obj.name != NULL)
504 item->searchSpec.obj.name = NULL;
506 if (item->searchSpec.triple.base != NULL)
508 item->searchSpec.triple.base = NULL;
509 if (item->searchSpec.triple.attrs != NULL)
511 item->searchSpec.triple.attrs = NULL;
512 if (item->searchSpec.triple.element != NULL) {
517 item->searchSpec.triple.element = NULL;
519 if (item->exItem != NULL) {
544 if (fmt->match.string != NULL)
546 fmt->match.string = NULL;
549 if (fmt->match.single.lo != NULL)
551 fmt->match.single.lo = NULL;
552 if (fmt->match.single.hi != NULL)
554 fmt->match.single.hi = NULL;
562 if (fmt->match.berString != NULL)
564 fmt->match.berString = NULL;
594 if (sub->element.print.fmt != NULL)
596 sub->element.print.fmt = NULL;
600 if (sub->element.print.item != NULL)
602 sub->element.print.item = NULL;
608 if (sub->element.extract.fmt != NULL)
610 sub->element.extract.fmt = NULL;
737 __nis_table_mapping_t *t_del = NULL;
751 report_error(NULL, NULL);
755 if (proxy_info->default_servers == NULL) {
757 report_error(NULL, NULL);
764 (proxy_info->tls_cert_db == NULL ||
767 report_error(NULL, NULL);
771 if (proxy_info->default_nis_domain == NULL)
779 if (proxy_info->default_nis_domain != NULL)
784 proxy_info->tls_cert_db, NULL)) < 0) {
786 report_error(ldapssl_err2string(errnum), NULL);
791 if (proxy_info->default_search_base == NULL)
800 report_error(NULL, NULL);
806 * those have NULL objectDNs, but badly also rules
811 t2 = NULL;
812 for (t = *table_mapping; t != NULL; t = t1) {
814 if (t->objectDN == NULL) {
815 if (t2 == NULL)
826 for (t = *table_mapping; t != NULL; t = t->next) {
828 while (objectDN != NULL) {
829 if (objectDN->dbIdName != NULL) {
832 if (t1 == NULL) {
836 } else if (t1->objName != NULL ||
840 report_error(t1->dbId, NULL);
846 if (objectDN->dbId == NULL) {
856 for (t = t_del; t != NULL; t = t1) {
860 report_error(t->dbId, NULL);
869 for (t = *table_mapping; t != NULL; t = t->next) {
872 report_error(t->dbId, NULL);
878 report_error(NULL, NULL);
891 while (objectDN != NULL) {
898 if (objectDN->write.base != NULL &&
902 if (objectDN->write.base == NULL) {
905 if (objectDN->write.base == NULL)
913 report_error(NULL, NULL);
921 report_error(t->dbId, NULL);
937 NULL, NULL);
948 NULL, NULL);
1078 for (t = table_mapping; t != NULL; t = t->next)
1093 if (s != NULL) {
1110 if (s != NULL) {
1136 if (*dn == NULL) {
1143 if (*dn != NULL)
1147 return (*dn != NULL);
1167 if (dn == NULL) {
1170 while (dn != NULL && dn->read.base != NULL) {
1176 if (dn->read.base != NULL)
1194 * RETURN VALUE: NULL if error
1212 if ((base = malloc(count)) == NULL) {
1250 if (domain == NULL || *objName == NULL) {
1261 if (obj_name != NULL) {
1272 return (*objName != NULL);
1282 if (out->name == NULL)
1286 if (out->value == NULL) {
1288 out->name = NULL;
1294 if (out->name[i] == NULL)
1297 if (out->value[i] == NULL)
1302 if (out->name[j] != NULL)
1304 if (out->value[j] != NULL)
1308 out->name = NULL;
1310 out->value = NULL;
1327 if (in->searchSpec.obj.name != NULL) {
1330 if (out->searchSpec.obj.name == NULL)
1333 out->searchSpec.obj.name = NULL;
1335 if (in->searchSpec.triple.base != NULL) {
1338 if (out->searchSpec.triple.base == NULL)
1341 out->searchSpec.triple.base = NULL;
1344 if (in->searchSpec.triple.attrs != NULL) {
1347 if (out->searchSpec.triple.attrs == NULL)
1350 out->searchSpec.triple.attrs = NULL;
1351 if (in->searchSpec.triple.element != NULL) {
1355 if (out->searchSpec.triple.element != NULL)
1359 if (out->searchSpec.triple.element == NULL)
1362 out->searchSpec.triple.element = NULL;
1365 if (in->name != NULL) {
1367 if (out->name == NULL)
1370 out->name = NULL;
1376 if (out->exItem == NULL)
1386 out->exItem = NULL;
1403 if (out != NULL) {
1418 if (out[i].match.single.lo == NULL)
1422 if (out[i].match.single.hi == NULL)
1454 out = NULL;
1477 if (out->element.print.fmt == NULL)
1484 if (out->element.print.item == NULL)
1505 if (out->element.extract.fmt == NULL)
1526 if (in == NULL)
1537 if (out->element.print.fmt == NULL)
1545 if (out->element.print.subElement == NULL)
1566 if (out->element.match.fmt == NULL)
1573 if (out->element.match.item == NULL)
1587 if (out->element.extract.fmt == NULL)
1610 if (out != NULL) {
1616 if (r_out->element == NULL) {
1618 return (NULL);
1627 return (NULL);
1635 if (r_out->element == NULL) {
1637 return (NULL);
1646 return (NULL);
1660 if (r != NULL) {
1663 if (r[i] == NULL) {
1667 r = NULL;
1690 char **cols = NULL;
1700 if (cols == NULL)
1704 if (cols[t->numColumns] == NULL)
1733 if (e1 == NULL) {
1737 if (m->element != NULL)
1739 m->element = NULL;
1746 return (e1 != NULL);
1754 * RETURN VALUE: NULL if error
1790 if (s != NULL) {
1802 s = NULL;
1816 if (s != NULL) {
1842 * RETURN VALUE: NULL if error
1884 return (NULL);
1917 return (NULL);
1936 * RETURN VALUE: NULL if error
1949 if (s == NULL)
1979 s = NULL;
1990 * RETURN VALUE: NULL if error
2010 char *lo = NULL;
2011 char *hi = NULL;
2111 if (lo == NULL || hi == NULL)
2162 if (fmt->match.string == NULL)
2169 if (lo != NULL)
2171 if (hi != NULL)
2173 return (NULL);
2181 * RETURN VALUE: NULL if error
2263 if (fmt->match.string == NULL)
2270 return (NULL);
2280 * RETURN VALUE: NULL if error
2302 s = NULL;
2325 s = NULL;
2327 s = NULL;
2331 if (s == NULL)
2342 * RETURN VALUE: NULL if error
2368 s = NULL;
2406 s = NULL;
2416 if (s == NULL)
2451 if (s == NULL || s_end != end)
2462 if (d != NULL) {
2479 if (d != NULL) {
2498 if (d == NULL) {
2509 if (d == NULL)
2518 if (s == NULL)
2526 return (s != NULL ? s_strndup(s, strlen(s)) : NULL);
2540 if (buffer == NULL)
2568 * returns NULL.
2579 return (NULL);
2602 if (command_line_source != NULL) {
2606 } else if (file_source != NULL) {
2610 } else if (ldap_source != NULL) {
2622 if (attr != NULL) {
2628 if (cons != NULL) {
2631 fprintf(cons, fmt_buf, str == NULL ? "" : str);
2635 syslog(LOG_ERR, fmt_buf, str == NULL ? "" : str);
2646 if (cons != NULL) {
2663 if (cons != NULL) {
2667 str1 == NULL ? "" : str1,
2668 str2 == NULL ? "" : str2);
2672 str1 == NULL ? "" : str1,
2673 str2 == NULL ? "" : str2);
2682 if (cons != NULL) {
2684 if (arg != NULL)