Home
last modified time | relevance | path

Searched refs:env_paths (Results 1 - 7 of 7) sorted by relevance

/third_party/musl/libc-test/src/functionalext/unittest/
H A Dunit_test_ldso_namespace.c47 ns.env_paths = (char*)&tmp; in namespace_test_0020()
75 ns.env_paths = NULL; in namespace_test_0030()
225 * @tc.desc : ns_set_env_paths test arg ns.env_paths is NULL
231 ns.env_paths = NULL; in namespace_test_0140()
233 EXPECT_EQ(__FUNCTION__, strcmp(ns.env_paths, "abc"), 0); in namespace_test_0140()
238 * @tc.desc : ns_set_env_paths test arg ns.env_paths is equal to arg name
244 ns.env_paths = "abc"; in namespace_test_0150()
246 EXPECT_EQ(__FUNCTION__, strcmp(ns.env_paths, "abc"), 0); in namespace_test_0150()
251 * @tc.desc : ns_set_env_paths test arg name is NULL and ns.env_paths is NULL
257 ns.env_paths in namespace_test_0160()
[all...]
/third_party/musl/porting/linux/user/ldso/
H A Dnamespace.c152 if (ns->env_paths) { in ns_free()
153 __libc_free(ns->env_paths); in ns_free()
154 ns->env_paths = NULL; in ns_free()
257 void ns_set_env_paths(ns_t *ns, const char *env_paths) in ns_set_env_paths() argument
262 if (ns->env_paths) __libc_free(ns->env_paths); in ns_set_env_paths()
263 if (env_paths) { in ns_set_env_paths()
264 ns->env_paths = ld_strdup(env_paths); in ns_set_env_paths()
265 strtrim(ns->env_paths); in ns_set_env_paths()
[all...]
H A Dnamespace.h39 char *env_paths; /* value of LD_LIBRARY_PATH. splited by ':'. */ member
77 void ns_set_env_paths(ns_t *ns, const char *env_paths);
H A Ddynlink.c2046 if (namespace->env_paths) fd = path_open(name, namespace->env_paths, buf, sizeof buf); in load_library()
5234 if (namespace->env_paths) { in load_library_header()
5235 open_library_by_path(name, namespace->env_paths, task, &z_info); in load_library_header()
/third_party/musl/ldso/linux/
H A Dnamespace.c152 if (ns->env_paths) { in ns_free()
153 __libc_free(ns->env_paths); in ns_free()
154 ns->env_paths = NULL; in ns_free()
257 void ns_set_env_paths(ns_t *ns, const char *env_paths) in ns_set_env_paths() argument
262 if (ns->env_paths) __libc_free(ns->env_paths); in ns_set_env_paths()
263 if (env_paths) { in ns_set_env_paths()
264 ns->env_paths = ld_strdup(env_paths); in ns_set_env_paths()
265 strtrim(ns->env_paths); in ns_set_env_paths()
[all...]
H A Dnamespace.h39 char *env_paths; /* value of LD_LIBRARY_PATH. splited by ':'. */ member
77 void ns_set_env_paths(ns_t *ns, const char *env_paths);
H A Ddynlink.c2234 if (namespace->env_paths) fd = path_open(name, namespace->env_paths, buf, sizeof buf); in load_library()
5623 if (namespace->env_paths) { in load_library_header()
5624 open_library_by_path(name, namespace->env_paths, task, &z_info); in load_library_header()

Completed in 19 milliseconds