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

/bionic/libc/dns/resolv/
H A Dres_stats.c30 // Divide ns by one million to get ms, multiply s by thousand to get ms (obvious)
170 for (int ns = 0; ns < nscount; ns++) {
171 bool usable = _res_stats_usable_server(params, &stats[ns]);
175 usable_servers[ns] = usable;
180 for (int ns = 0; ns < nscount; ns++) {
181 usable_servers[ns]
[all...]
H A Dres_send.c235 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 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.c2273 _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 Dlinker_main.h48 soinfo* soinfo_alloc(android_namespace_t* ns, const char* name,
52 bool find_libraries(android_namespace_t* ns,
H A Dlinker.cpp156 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...]
H A Dlinker_soinfo.cpp47 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 Dlinker_soinfo.h190 soinfo(android_namespace_t* ns, const char* name, const struct stat* file_stat,
/bionic/linker/tests/
H A Dlinker_config_test.cpp157 for (auto& ns : ns_configs) {
158 std::string ns_name = ns->name();
160 << "unexpected ns name: " << ns->name();
163 ns_system = ns.get();
/bionic/tests/
H A Ddlext_test.cpp835 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...]
/bionic/libc/dns/include/
H A Dresolv_private.h219 _resolv_cache_add_resolver_stats_sample( unsigned netid, int revision_id, int ns,
270 #define RES_ROTATE 0x00004000 /* rotate ns list after each query */

Completed in 5883 milliseconds