Lines Matching refs:NULL
73 return NULL; in env_match()
81 if (name == NULL) { in __is_valid_environment_variable()
139 NULL in __is_unsafe_environment_variable()
141 for (size_t i = 0; UNSAFE_VARIABLE_NAMES[i] != NULL; ++i) { in __is_unsafe_environment_variable()
142 if (env_match(name, UNSAFE_VARIABLE_NAMES[i]) != NULL) { in __is_unsafe_environment_variable()
152 for (; src[0] != NULL; ++src) { in __sanitize_environment_variables()
163 dst[0] = NULL; in __sanitize_environment_variables()
175 if (name == NULL || name[0] == '\0') { in linker_env_get()
176 return NULL; in linker_env_get()
179 for (char** p = _envp; p[0] != NULL; ++p) { in linker_env_get()
181 if (val != NULL) { in linker_env_get()
183 return NULL; // Return NULL for empty strings. in linker_env_get()
188 return NULL; in linker_env_get()