Home
last modified time | relevance | path

Searched refs:default_ns_config (Results 1 – 2 of 2) sorted by relevance

/bionic/linker/
Dlinker_config_test.cpp155 const NamespaceConfig* default_ns_config = config->default_namespace_config(); in run_linker_config_smoke_test() local
156 ASSERT_TRUE(default_ns_config != nullptr); in run_linker_config_smoke_test()
158 ASSERT_TRUE(default_ns_config->isolated()); in run_linker_config_smoke_test()
159 ASSERT_FALSE(default_ns_config->visible()); in run_linker_config_smoke_test()
160 ASSERT_EQ(kExpectedDefaultSearchPath, default_ns_config->search_paths()); in run_linker_config_smoke_test()
161 ASSERT_EQ(kExpectedDefaultPermittedPath, default_ns_config->permitted_paths()); in run_linker_config_smoke_test()
163 const auto& default_ns_links = default_ns_config->links(); in run_linker_config_smoke_test()
Dlinker.cpp4159 const NamespaceConfig* default_ns_config = config->default_namespace_config(); in init_default_namespaces() local
4161 g_default_namespace.set_isolated(default_ns_config->isolated()); in init_default_namespaces()
4162 g_default_namespace.set_default_library_paths(default_ns_config->search_paths()); in init_default_namespaces()
4163 g_default_namespace.set_permitted_paths(default_ns_config->permitted_paths()); in init_default_namespaces()
4165 namespaces[default_ns_config->name()] = &g_default_namespace; in init_default_namespaces()
4166 if (default_ns_config->visible()) { in init_default_namespaces()
4167 g_exported_namespaces[default_ns_config->name()] = &g_default_namespace; in init_default_namespaces()