/bionic/libc/dns/resolv/ |
H A D | res_init.c | 630 int ns; local 637 for (ns = 0; ns < statp->_u._ext.nscount; ns++) { 638 if (statp->_u._ext.nssocks[ns] != -1) { 639 (void) close(statp->_u._ext.nssocks[ns]); 640 statp->_u._ext.nssocks[ns] = -1;
|
H A D | res_send.c | 235 int ns; local 240 for (ns = 0; ns < statp->nscount; ns++) { 241 srv = (struct sockaddr_in *)(void *)get_nsaddr(statp, (size_t)ns); 253 for (ns = 0; ns < statp->nscount; ns++) { 254 srv6 = (struct sockaddr_in6 *)(void *)get_nsaddr(statp, (size_t)ns); 363 int gotsomewhere, terrno, try, v_circuit, resplen, ns, local 732 get_timeout(const res_state statp, const int ns) argument 749 send_vc(res_state statp, const u_char *buf, int buflen, u_char *ans, int anssiz, int *terrno, int ns, time_t* at, int* rcode, int* delay) argument 1079 send_dg(res_state statp, const u_char *buf, int buflen, u_char *ans, int anssiz, int *terrno, int ns, int *v_circuit, int *gotsomewhere, time_t *at, int *rcode, int* delay) argument [all...] |
H A D | res_cache.c | 2273 _resolv_cache_add_resolver_stats_sample( unsigned netid, int revision_id, int ns, argument 2282 _res_cache_add_stats_sample_locked(&info->nsstats[ns], sample, max_samples);
|
/bionic/linker/ |
H A D | linker_soinfo.cpp | 47 soinfo::soinfo(android_namespace_t* ns, const char* realpath, argument 66 this->primary_namespace_ = ns; 469 secondary_namespaces_.for_each([&](android_namespace_t* ns) { 470 ns->remove_soinfo(this);
|
H A D | linker.cpp | 156 static bool maybe_accessible_via_namespace_links(android_namespace_t* ns, const char* name) { argument 158 for (auto& ns_link : ns->linked_namespaces()) { 169 static bool is_greylisted(android_namespace_t* ns, const char* name, const soinfo* needed_by) { argument 198 return !maybe_accessible_via_namespace_links(ns, name); 279 soinfo* soinfo_alloc(android_namespace_t* ns, const char* name, argument 287 TRACE("name %s: allocating soinfo for ns=%p", name, ns); 289 soinfo* si = new (g_soinfo_allocator.alloc()) soinfo(ns, name, file_stat, 295 ns->add_soinfo(si); 736 static const ElfW(Sym)* dlsym_handle_lookup(android_namespace_t* ns, argument 808 dlsym_linear_lookup(android_namespace_t* ns, const char* name, const version_info* vi, soinfo** found, soinfo* caller, void* handle) argument 1039 open_library(android_namespace_t* ns, ZipArchiveCache* zip_archive_cache, const char* name, soinfo *needed_by, off64_t* file_offset, std::string* realpath) argument 1117 find_loaded_library_by_inode(android_namespace_t* ns, const struct stat& file_stat, off64_t file_offset, bool search_linked_namespaces, soinfo** candidate) argument 1148 load_library(android_namespace_t* ns, LoadTask* task, LoadTaskList* load_tasks, int rtld_flags, const std::string& realpath, bool search_linked_namespaces) argument 1281 load_library(android_namespace_t* ns, LoadTask* task, ZipArchiveCache* zip_archive_cache, LoadTaskList* load_tasks, int rtld_flags, bool search_linked_namespaces) argument 1323 find_loaded_library_by_soname(android_namespace_t* ns, const char* name, soinfo** candidate) argument [all...] |
/bionic/tests/ |
H A D | dlext_test.cpp | 835 android_namespace_t* ns = local 843 ASSERT_DL_NOTNULL(ns); 845 ASSERT_TRUE(android_link_namespaces(ns, nullptr, g_core_shared_libs.c_str())) << dlerror(); 854 extinfo.library_namespace = ns; 882 android_namespace_t* ns = local 890 ASSERT_DL_NOTNULL(ns); 892 ASSERT_TRUE(android_link_namespaces(ns, nullptr, g_core_shared_libs.c_str())) << dlerror(); 902 extinfo.library_namespace = ns; 921 android_namespace_t* ns = local 929 ASSERT_TRUE(android_link_namespaces(ns, nullpt 1058 android_namespace_t* ns = local 1096 android_namespace_t* ns = local 1605 android_namespace_t* ns = local [all...] |