Searched refs:ns (Results 1 - 11 of 11) sorted by relevance

/bionic/libc/dns/resolv/
H A Dres_stats.c31 // Divide ns by one million to get ms, multiply s by thousand to get ms (obvious)
172 for (int ns = 0; ns < nscount; ns++) {
173 bool usable = _res_stats_usable_server(params, &stats[ns]);
177 usable_servers[ns] = usable;
182 for (int ns = 0; ns < nscount; ns++) {
183 usable_servers[ns]
[all...]
H A Dres_send.c236 int ns; local
241 for (ns = 0; ns < statp->nscount; ns++) {
242 srv = (struct sockaddr_in *)(void *)get_nsaddr(statp, (size_t)ns);
254 for (ns = 0; ns < statp->nscount; ns++) {
255 srv6 = (struct sockaddr_in6 *)(void *)get_nsaddr(statp, (size_t)ns);
364 int gotsomewhere, terrno, try, v_circuit, resplen, ns, local
737 get_timeout(const res_state statp, const int ns) argument
754 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
1085 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 Dres_init.c630 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 Dres_cache.c2324 _resolv_cache_add_resolver_stats_sample( unsigned netid, int revision_id, int ns, argument
2333 _res_cache_add_stats_sample_locked(&info->nsstats[ns], sample, max_samples);
/bionic/linker/
H A Dlinker_main.h52 soinfo* soinfo_alloc(android_namespace_t* ns, const char* name,
56 bool find_libraries(android_namespace_t* ns,
H A Dlinker.cpp173 static bool maybe_accessible_via_namespace_links(android_namespace_t* ns, const char* name) { argument
175 for (auto& ns_link : ns->linked_namespaces()) {
186 static bool is_greylisted(android_namespace_t* ns, const char* name, const soinfo* needed_by) { argument
215 return !maybe_accessible_via_namespace_links(ns, name);
296 soinfo* soinfo_alloc(android_namespace_t* ns, const char* name, argument
303 TRACE("name %s: allocating soinfo for ns=%p", name, ns);
305 soinfo* si = new (g_soinfo_allocator.alloc()) soinfo(ns, name, file_stat,
311 ns->add_soinfo(si);
754 static const ElfW(Sym)* dlsym_handle_lookup(android_namespace_t* ns, argument
826 dlsym_linear_lookup(android_namespace_t* ns, const char* name, const version_info* vi, soinfo** found, soinfo* caller, void* handle) argument
1054 open_library(android_namespace_t* ns, ZipArchiveCache* zip_archive_cache, const char* name, soinfo *needed_by, off64_t* file_offset, std::string* realpath) argument
1136 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
1167 find_loaded_library_by_realpath(android_namespace_t* ns, const char* realpath, bool search_linked_namespaces, soinfo** candidate) argument
1188 load_library(android_namespace_t* ns, LoadTask* task, LoadTaskList* load_tasks, int rtld_flags, const std::string& realpath, bool search_linked_namespaces) argument
1322 load_library(android_namespace_t* ns, LoadTask* task, ZipArchiveCache* zip_archive_cache, LoadTaskList* load_tasks, int rtld_flags, bool search_linked_namespaces) argument
1364 find_loaded_library_by_soname(android_namespace_t* ns, const char* name, soinfo** candidate) argument
[all...]
H A Dlinker_soinfo.cpp49 soinfo::soinfo(android_namespace_t* ns, const char* realpath, argument
68 this->primary_namespace_ = ns;
471 secondary_namespaces_.for_each([&](android_namespace_t* ns) {
472 ns->remove_soinfo(this);
H A Dlinker_soinfo.h208 soinfo(android_namespace_t* ns, const char* name, const struct stat* file_stat,
/bionic/linker/tests/
H A Dlinker_config_test.cpp174 for (auto& ns : ns_configs) {
175 std::string ns_name = ns->name();
177 << "unexpected ns name: " << ns->name();
180 ns_system = ns.get();
182 ns_vndk = ns.get();
/bionic/tests/
H A Ddlext_test.cpp836 android_namespace_t* ns = local
844 ASSERT_DL_NOTNULL(ns);
846 ASSERT_TRUE(android_link_namespaces(ns, nullptr, g_core_shared_libs.c_str())) << dlerror();
855 extinfo.library_namespace = ns;
883 android_namespace_t* ns = local
891 ASSERT_DL_NOTNULL(ns);
893 ASSERT_TRUE(android_link_namespaces(ns, nullptr, g_core_shared_libs.c_str())) << dlerror();
903 extinfo.library_namespace = ns;
922 android_namespace_t* ns = local
930 ASSERT_TRUE(android_link_namespaces(ns, nullpt
1140 android_namespace_t* ns = local
1178 android_namespace_t* ns = local
1746 android_namespace_t* ns = local
1874 android_namespace_t* ns = local
[all...]
/bionic/libc/dns/include/
H A Dresolv_private.h208 _resolv_cache_add_resolver_stats_sample( unsigned netid, int revision_id, int ns,
259 #define RES_ROTATE 0x00004000 /* rotate ns list after each query */

Completed in 382 milliseconds