Home
last modified time | relevance | path

Searched refs:ns (Results 1 – 19 of 19) sorted by relevance

/bionic/libc/dns/resolv/
Dres_send.c226 int ns; in res_ourserver_p() local
231 for (ns = 0; ns < statp->nscount; ns++) { in res_ourserver_p()
232 srv = (struct sockaddr_in *)(void *)get_nsaddr(statp, (size_t)ns); in res_ourserver_p()
244 for (ns = 0; ns < statp->nscount; ns++) { in res_ourserver_p()
245 srv6 = (struct sockaddr_in6 *)(void *)get_nsaddr(statp, (size_t)ns); in res_ourserver_p()
354 int gotsomewhere, terrno, try, v_circuit, resplen, ns, n; in res_nsend() local
401 for (ns = 0; ns < statp->nscount; ns++) { in res_nsend()
402 if (statp->nsaddr_list[ns].sin_family && in res_nsend()
403 !sock_eq((struct sockaddr *)(void *)&statp->nsaddr_list[ns], in res_nsend()
404 (struct sockaddr *)(void *)&EXT(statp).ext->nsaddrs[ns])) { in res_nsend()
[all …]
Dres_stats.c172 for (int ns = 0; ns < nscount; ns++) { in android_net_res_stats_get_usable_servers() local
173 bool usable = _res_stats_usable_server(params, &stats[ns]); in android_net_res_stats_get_usable_servers()
177 usable_servers[ns] = usable; in android_net_res_stats_get_usable_servers()
182 for (int ns = 0; ns < nscount; ns++) { in android_net_res_stats_get_usable_servers() local
183 usable_servers[ns] = true; in android_net_res_stats_get_usable_servers()
Dres_init.c630 int ns; in res_nclose() local
637 for (ns = 0; ns < statp->_u._ext.nscount; ns++) { in res_nclose()
638 if (statp->_u._ext.nssocks[ns] != -1) { in res_nclose()
639 (void) close(statp->_u._ext.nssocks[ns]); in res_nclose()
640 statp->_u._ext.nssocks[ns] = -1; in res_nclose()
Dres_cache.c2326 _resolv_cache_add_resolver_stats_sample( unsigned netid, int revision_id, int ns, in _resolv_cache_add_resolver_stats_sample() argument
2335 _res_cache_add_stats_sample_locked(&info->nsstats[ns], sample, max_samples); in _resolv_cache_add_resolver_stats_sample()
/bionic/benchmarks/
DREADME.md118 BM_stdlib_strtoll 27.7 ns 27.7 ns 25290525
119 BM_stdlib_strtoll 27.7 ns 27.7 ns 25290525
120 BM_stdlib_strtoll 27.7 ns 27.7 ns 25290525
121 BM_stdlib_strtoll 27.8 ns 27.7 ns 25290525
122 BM_stdlib_strtoll_mean 27.7 ns 27.7 ns 4
123 BM_stdlib_strtoll_median 27.7 ns 27.7 ns 4
124 BM_stdlib_strtoll_stddev 0.023 ns 0.023 ns 4
134 BM_stdlib_strtoll_mean 27.8 ns 27.7 ns 4
135 BM_stdlib_strtoll_median 27.7 ns 27.7 ns 4
136 BM_stdlib_strtoll_stddev 0.043 ns 0.043 ns 4
[all …]
/bionic/linker/
Dlinker.cpp212 static bool maybe_accessible_via_namespace_links(android_namespace_t* ns, const char* name) { in maybe_accessible_via_namespace_links() argument
214 for (auto& ns_link : ns->linked_namespaces()) { in maybe_accessible_via_namespace_links()
225 static bool is_exempt_lib(android_namespace_t* ns, const char* name, const soinfo* needed_by) { in is_exempt_lib() argument
252 return !maybe_accessible_via_namespace_links(ns, name); in is_exempt_lib()
312 soinfo* soinfo_alloc(android_namespace_t* ns, const char* name, in soinfo_alloc() argument
319 TRACE("name %s: allocating soinfo for ns=%p", name, ns); in soinfo_alloc()
321 soinfo* si = new (g_soinfo_allocator.alloc()) soinfo(ns, name, file_stat, in soinfo_alloc()
327 ns->add_soinfo(si); in soinfo_alloc()
734 static const ElfW(Sym)* dlsym_handle_lookup_impl(android_namespace_t* ns, in ElfW()
749 if (!ns->is_accessible(current_soinfo)) { in ElfW()
[all …]
Dlinker_config_test.cpp222 for (auto& ns : ns_configs) { in run_linker_config_smoke_test() local
223 std::string ns_name = ns->name(); in run_linker_config_smoke_test()
226 << "unexpected ns name: " << ns->name(); in run_linker_config_smoke_test()
229 ns_system = ns.get(); in run_linker_config_smoke_test()
231 ns_vndk = ns.get(); in run_linker_config_smoke_test()
233 ns_vndk_in_system = ns.get(); in run_linker_config_smoke_test()
Dlinker_main.h52 soinfo* soinfo_alloc(android_namespace_t* ns, const char* name,
56 bool find_libraries(android_namespace_t* ns,
Dld.config.format.md80 namespace.ns.links = default
81 namespace.ns.link.default.shared_libs = libc.so:libdl.so:libm.so:libstdc++.so
Dlinker_soinfo.cpp214 soinfo::soinfo(android_namespace_t* ns, const char* realpath, const struct stat* file_stat, in soinfo() argument
230 this->primary_namespace_ = ns; in soinfo()
594 secondary_namespaces_.for_each([&](android_namespace_t* ns) { in remove_all_links() argument
595 ns->remove_soinfo(this); in remove_all_links()
Dlinker_soinfo.h248 soinfo(android_namespace_t* ns, const char* name, const struct stat* file_stat,
/bionic/tests/
Ddlext_test.cpp932 android_namespace_t* ns = in TEST() local
940 ASSERT_DL_NOTNULL(ns); in TEST()
942 ASSERT_TRUE(android_link_namespaces(ns, nullptr, g_core_shared_libs.c_str())) << dlerror(); in TEST()
951 extinfo.library_namespace = ns; in TEST()
976 android_namespace_t* ns = in TEST() local
984 ASSERT_DL_NOTNULL(ns); in TEST()
986 ASSERT_TRUE(android_link_namespaces(ns, nullptr, g_core_shared_libs.c_str())) << dlerror(); in TEST()
996 extinfo.library_namespace = ns; in TEST()
1015 android_namespace_t* ns = in TEST() local
1023 ASSERT_TRUE(android_link_namespaces(ns, nullptr, g_core_shared_libs.c_str())) << dlerror(); in TEST()
[all …]
Dtime_test.cpp1116 ASSERT_GE(t1-t0, 5000000ns); in TEST()
1124 ASSERT_GE(t1-t0, 5000000ns); in TEST()
Dsignal_test.cpp787 ASSERT_GE(t1-t0, 1000000ns); in TEST()
/bionic/libc/kernel/uapi/linux/
Duvcvideo.h55 __u64 ns; member
/bionic/apex/
Dcom.android.runtime.pem24 TIKBIdV5zkr2rvjor/WvPnoWUOBCmxh8zaAZhReE3RitNjtEVz/ns/x8vyyMRdPA
/bionic/docs/
Dlibc_assembler.md86 …BM_string_memcmp/1/0/0 6 ns 6 ns 120776418 164.6…
87 …BM_string_memcmp/1/1/1 6 ns 6 ns 120856788 164.6…
/bionic/tests/libs/
DAndroid.bp385 // libtest_missing_symbol_root (private ns)
386 // +-> libbnstest_public (public ns)
387 // +-> libtest_missing_symbol_child_public (public ns)
388 // +-> libnstest_public (public ns)
528 // libnstest_ns_b_public2.so (ns:b)
529 // +-> libnstest_ns_a_public1.so (ns:a)
530 // +-> libnstest_ns_a_public2_internal.so (ns:a)
531 // +-> libnstest_ns_b_public3.so (ns:b)
/bionic/libc/dns/include/
Dresolv_private.h209 _resolv_cache_add_resolver_stats_sample( unsigned netid, int revision_id, int ns,