Lines Matching refs:NULL

41 	char		*name = NULL, *value = NULL, **ret_values = NULL;  in __profile_iter_name_value()
42 void *state = NULL; in __profile_iter_name_value()
47 hierarchy[1] = NULL; in __profile_iter_name_value()
56 if (code == 0 && name != NULL) { in __profile_iter_name_value()
57 if ((key == NULL) || (strcmp(value, key) == 0)) { in __profile_iter_name_value()
68 if (name != NULL) { in __profile_iter_name_value()
70 name = NULL; in __profile_iter_name_value()
72 if (value != NULL) { in __profile_iter_name_value()
74 value = NULL; in __profile_iter_name_value()
83 if (state != NULL) in __profile_iter_name_value()
85 if (name != NULL) in __profile_iter_name_value()
87 if (value != NULL) in __profile_iter_name_value()
98 if (profile == NULL || realm == NULL || domains == NULL) in __profile_get_domain_realm()
111 if (profile == NULL) in __profile_set_appdefaults()
116 hierarchy[3] = NULL; in __profile_set_appdefaults()
144 if (profile == NULL) in __profile_set_logging()
148 hierarchy[2] = NULL; in __profile_set_logging()
149 hierarchy[3] = NULL; in __profile_set_logging()
197 if (profile == NULL || realm == NULL) in __profile_set_libdefaults()
202 hierarchy[2] = NULL; in __profile_set_libdefaults()
221 if (profile == NULL || realm == NULL || kdc == NULL) in __profile_set_kdc()
226 hierarchy[3] = NULL; in __profile_set_kdc()
258 if (profile == NULL || profile->magic != PROF_MAGIC_PROFILE) in __profile_release()
299 if (profile == NULL || domain == NULL || realm == NULL) in __profile_add_domain_mapping()
304 hierarchy[2] = NULL; in __profile_add_domain_mapping()
330 char **domains = NULL, **domain = NULL; in __profile_remove_domain_mapping()
332 if (profile == NULL || realm == NULL) in __profile_remove_domain_mapping()
336 hierarchy[1] = NULL; in __profile_remove_domain_mapping()
337 hierarchy[2] = NULL; in __profile_remove_domain_mapping()
340 if (code == 0 && domains != NULL) { in __profile_remove_domain_mapping()
350 if (domains != NULL) in __profile_remove_domain_mapping()
374 char **values = NULL; in __profile_get_realm_entry()
376 if (profile == NULL || realm == NULL || name == NULL || in __profile_get_realm_entry()
377 ret_value == NULL) in __profile_get_realm_entry()
383 hierarchy[3] = NULL; in __profile_get_realm_entry()
386 if (code == 0 && values != NULL) in __profile_get_realm_entry()
414 char **tvalue = NULL; in __profile_add_realm_entry()
416 if (profile == NULL || realm == NULL || name == NULL || values == NULL) in __profile_add_realm_entry()
422 hierarchy[3] = NULL; in __profile_add_realm_entry()
451 char *value = NULL; in __profile_get_default_realm()
453 if (profile == NULL || realm == NULL) in __profile_get_default_realm()
458 if (code == 0 && value != NULL) in __profile_get_default_realm()
480 if (profile == NULL || realms == NULL) in __profile_get_realms()
483 return (__profile_iter_name_value(profile, "realms", NULL, realms)); in __profile_get_realms()
513 if (profile == NULL || realm == NULL || master == NULL || kdcs == NULL) in __profile_add_realm()
526 hierarchy[3] = NULL; in __profile_add_realm()
582 void *state = NULL, *state2 = NULL; in __profile_remove_xrealm_mapping()
583 char *source = NULL, *dummy_val = NULL, *target = NULL; in __profile_remove_xrealm_mapping()
584 char *inter = NULL; in __profile_remove_xrealm_mapping()
586 if (profile == NULL || realm == NULL) in __profile_remove_xrealm_mapping()
591 hierarchy[2] = NULL; in __profile_remove_xrealm_mapping()
592 hierarchy[3] = NULL; in __profile_remove_xrealm_mapping()
597 code = profile_rename_section(profile, hierarchy, NULL); in __profile_remove_xrealm_mapping()
599 hierarchy[1] = NULL; in __profile_remove_xrealm_mapping()
604 if (code == 0 && source != NULL) { in __profile_remove_xrealm_mapping()
611 if (code2 == 0 && target != NULL && in __profile_remove_xrealm_mapping()
612 inter != NULL) { in __profile_remove_xrealm_mapping()
625 if (target != NULL) { in __profile_remove_xrealm_mapping()
627 target = NULL; in __profile_remove_xrealm_mapping()
629 if (inter != NULL) { in __profile_remove_xrealm_mapping()
631 inter = NULL; in __profile_remove_xrealm_mapping()
635 if (source != NULL) { in __profile_remove_xrealm_mapping()
637 source = NULL; in __profile_remove_xrealm_mapping()
639 if (dummy_val != NULL) { in __profile_remove_xrealm_mapping()
641 dummy_val = NULL; in __profile_remove_xrealm_mapping()
647 if (state != NULL) in __profile_remove_xrealm_mapping()
649 if (state2 != NULL) in __profile_remove_xrealm_mapping()
651 if (target != NULL) in __profile_remove_xrealm_mapping()
653 if (inter != NULL) in __profile_remove_xrealm_mapping()
655 if (source != NULL) in __profile_remove_xrealm_mapping()
657 if (dummy_val != NULL) in __profile_remove_xrealm_mapping()
677 char *drealm = NULL; in __profile_remove_realm()
679 if (profile == NULL || realm == NULL) in __profile_remove_realm()
687 hierarchy[2] = NULL; in __profile_remove_realm()
692 else if (drealm != NULL) { in __profile_remove_realm()
705 hierarchy[2] = NULL; in __profile_remove_realm()
707 code = profile_rename_section(profile, hierarchy, NULL); in __profile_remove_realm()
743 if (profile == NULL || source == NULL || target == NULL || in __profile_add_xrealm_mapping()
744 inter == NULL) in __profile_add_xrealm_mapping()
750 hierarchy[3] = NULL; in __profile_add_xrealm_mapping()
802 char *default_realm = NULL, **realms = NULL, *tr = NULL; in __profile_validate()
803 char **trealms = NULL, **domains = NULL, **ret_vals = NULL; in __profile_validate()
805 if (profile == NULL || val_err == NULL || val == NULL) in __profile_validate()
809 *val = NULL; in __profile_validate()
812 if (code == 0 && default_realm != NULL) { in __profile_validate()
819 if (*val == NULL) in __profile_validate()
824 } else if (code == 0 && default_realm == NULL) { in __profile_validate()
831 if (code == 0 && realms != NULL) { in __profile_validate()
839 if (*val == NULL) in __profile_validate()
850 if (code == 0 && domains != NULL) { in __profile_validate()
852 domains = NULL; in __profile_validate()
853 } else if (code == 0 && domains == NULL) { in __profile_validate()
856 if (*val == NULL) in __profile_validate()
864 if (code == 0 && ret_vals != NULL) { in __profile_validate()
866 ret_vals = NULL; in __profile_validate()
867 } else if (code == 0 && ret_vals == NULL) { in __profile_validate()
870 if (*val == NULL) in __profile_validate()
878 if (code == 0 && ret_vals != NULL) { in __profile_validate()
880 ret_vals = NULL; in __profile_validate()
881 } else if (code == 0 && ret_vals == NULL) { in __profile_validate()
884 if (*val == NULL) in __profile_validate()
894 if (*val == NULL) in __profile_validate()
898 } else if (code == 0 && realms == NULL) in __profile_validate()
903 if (realms != NULL) in __profile_validate()
905 if (ret_vals != NULL) in __profile_validate()
907 if (default_realm != NULL) in __profile_validate()
909 if (domains != NULL) in __profile_validate()
929 profile_filespec_t *filenames = NULL; in __profile_init()
935 if (profile == NULL) in __profile_init()
938 if (filename != NULL) { in __profile_init()
940 if (filenames == NULL) in __profile_init()
943 if (filenames[0] == NULL) { in __profile_init()
947 filenames[1] = NULL; in __profile_init()