Lines Matching refs:NULL

102 	psattrp->psa_ports = NULL;  in __posix_spawnattr_init()
134 psattrp->psa_mac_extensions = NULL; in __posix_spawnattr_init()
137 psattrp->psa_coalition_info = NULL; in __posix_spawnattr_init()
139 psattrp->psa_persona_info = NULL; in __posix_spawnattr_init()
141 psattrp->psa_posix_cred_info = NULL; in __posix_spawnattr_init()
168 psattrp->psa_subsystem_root_path = NULL; in __posix_spawnattr_init()
193 psattrp->psa_conclave_id = NULL; in __posix_spawnattr_init()
227 if ((*psattrp = (_posix_spawnattr_t)malloc(sizeof(struct _posix_spawnattr))) == NULL) { in posix_spawnattr_init()
270 if (attr == NULL || *attr == NULL) { in posix_spawnattr_destroy()
284 *attr = NULL; in posix_spawnattr_destroy()
311 if (attr == NULL || *attr == NULL) { in posix_spawnattr_setflags()
350 if (attr == NULL || *attr == NULL) { in posix_spawnattr_getflags()
387 if (attr == NULL || *attr == NULL) { in posix_spawnattr_getsigdefault()
423 if (attr == NULL || *attr == NULL) { in posix_spawnattr_getpgroup()
460 if (attr == NULL || *attr == NULL) { in posix_spawnattr_getsigmask()
498 if (attr == NULL || *attr == NULL || pref == NULL) { in posix_spawnattr_getbinpref_np()
544 if (attr == NULL || *attr == NULL || pref == NULL || subpref == NULL) { in posix_spawnattr_getarchpref_np()
587 if (attr == NULL || *attr == NULL) { in posix_spawnattr_getpcontrol_np()
623 if (attr == NULL || *attr == NULL) { in posix_spawnattr_getprocesstype_np()
653 if (attr == NULL || *attr == NULL) { in posix_spawnattr_setsigdefault()
683 if (attr == NULL || *attr == NULL) { in posix_spawnattr_setpgroup()
715 if (attr == NULL || *attr == NULL) { in posix_spawnattr_setsigmask()
753 if (attr == NULL || *attr == NULL || pref == NULL) { in posix_spawnattr_setbinpref_np()
807 if (attr == NULL || *attr == NULL || pref == NULL || subpref == NULL) { in posix_spawnattr_setarchpref_np()
850 if (attr == NULL || *attr == NULL) { in posix_spawnattr_setpcontrol_np()
881 if (attr == NULL || *attr == NULL) { in posix_spawnattr_setprocesstype_np()
911 if (attr == NULL || *attr == NULL) { in posix_spawnattr_setdataless_iopolicy_np()
931 if (attr == NULL || *attr == NULL) { in posix_spawnattr_set_use_sec_transition_shims_np()
954 if (attr == NULL || *attr == NULL) { in posix_spawn_createportactions_np()
960 if (acts == NULL) { in posix_spawn_createportactions_np()
981 if (attr == NULL || *attr == NULL) { in posix_spawn_growportactions_np()
987 if (acts == NULL) { in posix_spawn_growportactions_np()
1002 if (acts == NULL) { in posix_spawn_growportactions_np()
1021 if (attr == NULL || *attr == NULL) { in posix_spawn_destroyportactions_np()
1027 if (acts == NULL) { in posix_spawn_destroyportactions_np()
1045 if (attr == NULL || *attr == NULL) { in posix_spawn_destroycoalition_info_np()
1051 if (coal_info == NULL) { in posix_spawn_destroycoalition_info_np()
1055 psattr->psa_coalition_info = NULL; in posix_spawn_destroycoalition_info_np()
1070 if (attr == NULL || *attr == NULL) { in posix_spawn_destroypersona_info_np()
1076 if (persona == NULL) { in posix_spawn_destroypersona_info_np()
1080 psattr->psa_persona_info = NULL; in posix_spawn_destroypersona_info_np()
1095 if (attr == NULL || *attr == NULL) { in posix_spawn_destroyposix_cred_info_np()
1101 if (pspci == NULL) { in posix_spawn_destroyposix_cred_info_np()
1105 psattr->psa_posix_cred_info = NULL; in posix_spawn_destroyposix_cred_info_np()
1118 char * buf = NULL; in posix_spawnattr_set_subsystem_root_path_np()
1122 if (attr == NULL || *attr == NULL) { in posix_spawnattr_set_subsystem_root_path_np()
1131 if (buf == NULL) { in posix_spawnattr_set_subsystem_root_path_np()
1161 if (attr == NULL || *attr == NULL) { in posix_spawn_destroysubsystem_root_path_np()
1168 if (subsystem_root_path == NULL) { in posix_spawn_destroysubsystem_root_path_np()
1172 psattr->psa_subsystem_root_path = NULL; in posix_spawn_destroysubsystem_root_path_np()
1187 if (attr == NULL || *attr == NULL) { in posix_spawn_destroyconclave_id_np()
1194 if (conclave_id == NULL) { in posix_spawn_destroyconclave_id_np()
1198 psattr->psa_conclave_id = NULL; in posix_spawn_destroyconclave_id_np()
1214 if (attr == NULL || *attr == NULL) { in posix_spawnattr_set_platform_np()
1234 if (attr == NULL || *attr == NULL) { in posix_spawnattr_disable_ptr_auth_a_keys_np()
1254 if (attr == NULL || *attr == NULL) { in posix_spawnattr_set_alt_rosetta_np()
1274 if (attr == NULL || *attr == NULL) { in posix_spawnattr_set_crash_behavior_np()
1297 if (attr == NULL || *attr == NULL) { in posix_spawnattr_set_crash_behavior_deadline_np()
1328 if (attr == NULL || *attr == NULL) { in posix_spawnattr_set_crash_count_np()
1349 if (attr == NULL || *attr == NULL || act == NULL) { in posix_spawn_appendportaction_np()
1357 if (acts == NULL) { in posix_spawn_appendportaction_np()
1501 …psactsp = (_posix_spawn_file_actions_t)malloc(PSF_ACTIONS_SIZE(PSF_ACTIONS_INIT_COUNT))) == NULL) { in posix_spawn_file_actions_init()
1537 if (file_actions == NULL || *file_actions == NULL) { in posix_spawn_file_actions_destroy()
1543 *file_actions = NULL; in posix_spawn_file_actions_destroy()
1586 if ((new_psacts = (_posix_spawn_file_actions_t)realloc((*psactsp), newsize)) == NULL) { in _posix_spawn_file_actions_grow()
1629 if (file_actions == NULL || *file_actions == NULL) { in posix_spawn_file_actions_addopen()
1689 if (file_actions == NULL || *file_actions == NULL) { in posix_spawn_file_actions_addclose()
1748 if (file_actions == NULL || *file_actions == NULL) { in posix_spawn_file_actions_adddup2()
1810 if (file_actions == NULL || *file_actions == NULL) { in posix_spawn_file_actions_add_fileportdup2_np()
1881 if (file_actions == NULL || *file_actions == NULL) { in posix_spawn_file_actions_addinherit_np()
1938 if (file_actions == NULL || *file_actions == NULL) { in posix_spawn_file_actions_addchdir_np()
1993 if (file_actions == NULL || *file_actions == NULL) { in posix_spawn_file_actions_addfchdir_np()
2034 if (attr == NULL || *attr == NULL) { in posix_spawnattr_setcpumonitor()
2052 if (attr == NULL || *attr == NULL) { in posix_spawnattr_getcpumonitor()
2123 if (attr == NULL || *attr == NULL) { in posix_spawnattr_setjetsam_ext()
2144 if (attr == NULL || *attr == NULL) { in posix_spawnattr_set_threadlimit_ext()
2243 if (psmx == NULL) { in posix_spawnattr_macpolicyinfo_lookup()
2244 return NULL; in posix_spawnattr_macpolicyinfo_lookup()
2253 return NULL; in posix_spawnattr_macpolicyinfo_lookup()
2263 if (attr == NULL || *attr == NULL || policyname == NULL || datap == NULL) { in posix_spawnattr_getmacpolicyinfo_np()
2269 if (extension == NULL) { in posix_spawnattr_getmacpolicyinfo_np()
2273 if (datalenp != NULL) { in posix_spawnattr_getmacpolicyinfo_np()
2287 if (attr == NULL || *attr == NULL || policyname == NULL) { in posix_spawnattr_setmacpolicyinfo_np()
2294 if (extension != NULL) { in posix_spawnattr_setmacpolicyinfo_np()
2298 } else if (psmx == NULL) { in posix_spawnattr_setmacpolicyinfo_np()
2300 if (psmx == NULL) { in posix_spawnattr_setmacpolicyinfo_np()
2315 if (psmx == NULL) { in posix_spawnattr_setmacpolicyinfo_np()
2338 if (attr == NULL || *attr == NULL) { in posix_spawn_destroymacpolicy_info_np()
2344 if (psmx == NULL) { in posix_spawn_destroymacpolicy_info_np()
2348 psattr->psa_mac_extensions = NULL; in posix_spawn_destroymacpolicy_info_np()
2360 if (attr == NULL || *attr == NULL) { in posix_spawnattr_setcoalition_np()
2391 if (attr == NULL || *attr == NULL) { in posix_spawnattr_set_qos_clamp_np()
2410 if (attr == NULL || *attr == NULL) { in posix_spawnattr_get_qos_clamp_np()
2425 if (attr == NULL || *attr == NULL) { in posix_spawnattr_set_darwin_role_np()
2440 if (attr == NULL || *attr == NULL) { in posix_spawnattr_get_darwin_role_np()
2457 if (attr == NULL || *attr == NULL) { in posix_spawnattr_set_persona_np()
2494 if (attr == NULL || *attr == NULL) { in posix_spawnattr_set_persona_uid_np()
2517 if (attr == NULL || *attr == NULL) { in posix_spawnattr_set_persona_gid_np()
2540 if (attr == NULL || *attr == NULL) { in posix_spawnattr_set_persona_groups_np()
2544 if (gidarray == NULL) { in posix_spawnattr_set_persona_groups_np()
2575 if (attr == NULL || *attr == NULL) { in posix_spawnattr_set_max_addr_np()
2590 if (attr == NULL || *attr == NULL) { in posix_spawnattr_setnosmt_np()
2605 if (attr == NULL || *attr == NULL) { in posix_spawnattr_set_csm_np()
2631 if (pspci == NULL) { in _posix_spawnattr_get_posix_creds_info()
2633 if (pspci != NULL) { in _posix_spawnattr_get_posix_creds_info()
2652 if (attr == NULL || *attr == NULL) { in posix_spawnattr_set_uid_np()
2657 if (pspci == NULL) { in posix_spawnattr_set_uid_np()
2673 if (attr == NULL || *attr == NULL) { in posix_spawnattr_set_gid_np()
2678 if (pspci == NULL) { in posix_spawnattr_set_gid_np()
2695 if (attr == NULL || *attr == NULL) { in posix_spawnattr_set_groups_np()
2699 if (gidarray == NULL) { in posix_spawnattr_set_groups_np()
2708 if (pspci == NULL) { in posix_spawnattr_set_groups_np()
2729 if (attr == NULL || *attr == NULL) { in posix_spawnattr_set_login_np()
2738 if (pspci == NULL) { in posix_spawnattr_set_login_np()
2754 if (attr == NULL || *attr == NULL) { in posix_spawnattr_set_conclave_id_np()
2763 if (psattr->psa_conclave_id == NULL) { in posix_spawnattr_set_conclave_id_np()
2765 if (buf == NULL) { in posix_spawnattr_set_conclave_id_np()
2780 if (attr == NULL || *attr == NULL) { in posix_spawnattr_set_portlimits_ext()
2798 if (attr == NULL || *attr == NULL) { in posix_spawnattr_set_filedesclimit_ext()
2816 if (attr == NULL || *attr == NULL) { in posix_spawnattr_set_kqworklooplimit_ext()
2863 if (attr == NULL || *attr == NULL) { in posix_spawnattr_set_jetsam_ttr_np()
2907 if (attr == NULL || *attr == NULL) { in posix_spawnattr_set_launch_type_np()
2955 struct _posix_spawn_args_desc *adp = NULL; in posix_spawn()
2969 …(file_actions != NULL && (*file_actions != NULL) && (*(_posix_spawn_file_actions_t *)file_actions)… in posix_spawn()
2972 if (attrp != NULL && *attrp != NULL) { in posix_spawn()
2977 if (psattr->psa_ports != NULL) { in posix_spawn()
2987 if (psattr->psa_mac_extensions != NULL) { in posix_spawn()
2997 if (psattr->psa_coalition_info != NULL) { in posix_spawn()
3001 if (psattr->psa_persona_info != NULL) { in posix_spawn()
3005 if (psattr->psa_posix_cred_info != NULL) { in posix_spawn()
3009 if (psattr->psa_subsystem_root_path != NULL) { in posix_spawn()
3013 if (psattr->psa_conclave_id != NULL) { in posix_spawn()
3018 if (file_actions != NULL && *file_actions != NULL) { in posix_spawn()