Home
last modified time | relevance | path

Searched refs:mappings (Results 1 – 17 of 17) sorted by relevance

/system/extras/librank/
Dlibrank.c44 struct mapping_info **mappings; member
114 library->mappings = malloc(INIT_MAPPINGS * sizeof(struct mapping_info *)); in get_library()
115 if (!library->mappings) { in get_library()
132 if (library->mappings[i]->proc == proc) in get_mapping()
133 return library->mappings[i]; in get_mapping()
137 library->mappings = realloc(library->mappings, in get_mapping()
139 if (!library->mappings) { in get_mapping()
154 library->mappings[library->mappings_count++] = mapping; in get_mapping()
400 qsort(li->mappings, li->mappings_count, sizeof(li->mappings[0]), compfn); in main()
403 mi = li->mappings[j]; in main()
/system/netd/tests/dns_responder/
Ddns_responder_client.cpp33 std::vector<Mapping>* mappings) { in SetupMappings() argument
34 mappings->resize(num_hosts * domains.size()); in SetupMappings()
35 auto mappings_it = mappings->begin(); in SetupMappings()
65 void DnsResponderClient::SetupDNSServers(unsigned num_servers, const std::vector<Mapping>& mappings, in SetupDNSServers() argument
77 for (const auto& mapping : mappings) { in SetupDNSServers()
Ddns_responder_client.h27 std::vector<Mapping>* mappings);
54 static void SetupDNSServers(unsigned num_servers, const std::vector<Mapping>& mappings,
/system/core/libmemunreachable/
DMemUnreachable.cpp57 const allocator::vector<Mapping>& mappings,
65 bool ClassifyMappings(const allocator::vector<Mapping>& mappings,
87 const allocator::vector<Mapping>& mappings, in CollectAllocations() argument
90 allocator::vector<Mapping> heap_mappings{mappings}; in CollectAllocations()
91 allocator::vector<Mapping> anon_mappings{mappings}; in CollectAllocations()
92 allocator::vector<Mapping> globals_mappings{mappings}; in CollectAllocations()
93 allocator::vector<Mapping> stack_mappings{mappings}; in CollectAllocations()
94 if (!ClassifyMappings(mappings, heap_mappings, anon_mappings, globals_mappings, stack_mappings)) { in CollectAllocations()
215 bool MemUnreachable::ClassifyMappings(const allocator::vector<Mapping>& mappings, in ClassifyMappings() argument
227 for (auto it = mappings.begin(); it != mappings.end(); it++) { in ClassifyMappings()
[all …]
DProcessMappings.cpp32 bool ProcessMappings(pid_t pid, allocator::vector<Mapping>& mappings) { in ProcessMappings() argument
64 mappings.emplace_back(mapping); in ProcessMappings()
DProcessMappings.h36 bool ProcessMappings(pid_t pid, allocator::vector<Mapping>& mappings);
DREADME.md46 …locations is produced by examining the memory mappings and calling `malloc_iterate()` on any heap
/system/netd/tests/benchmarks/
Ddns_benchmark.cpp86 std::vector<DnsResponderClient::Mapping> mappings; member in DnsFixture
96 dns.SetupMappings(num_hosts, domains, &mappings); in SetUp()
98 dns.SetupDNSServers(MAXNS, mappings, &mDns, &servers); in SetUp()
113 return mappings; in getMappings()
/system/netd/tests/
Dnetd_test.cpp232 std::vector<DnsResponderClient::Mapping> mappings; in RunGetAddrInfoStressTest_Binder() local
233 ASSERT_NO_FATAL_FAILURE(SetupMappings(num_hosts, domains, &mappings)); in RunGetAddrInfoStressTest_Binder()
234 ASSERT_NO_FATAL_FAILURE(SetupDNSServers(MAXNS, mappings, &dns, &servers)); in RunGetAddrInfoStressTest_Binder()
241 thread = std::thread([this, &mappings, num_queries]() { in RunGetAddrInfoStressTest_Binder()
243 uint32_t ofs = arc4random_uniform(mappings.size()); in RunGetAddrInfoStressTest_Binder()
244 auto& mapping = mappings[ofs]; in RunGetAddrInfoStressTest_Binder()
330 std::vector<Mapping> mappings; in TEST_F() local
331 ASSERT_NO_FATAL_FAILURE(SetupMappings(1, domains, &mappings)); in TEST_F()
332 ASSERT_NO_FATAL_FAILURE(SetupDNSServers(4, mappings, &dns, &servers)); in TEST_F()
333 ASSERT_EQ(1U, mappings.size()); in TEST_F()
[all …]
/system/sepolicy/prebuilts/api/26.0/public/
Ddomain.te427 # New service_types are defined in {,hw,vnd}service.te and new mappings
/system/sepolicy/prebuilts/api/27.0/public/
Ddomain.te430 # New service_types are defined in {,hw,vnd}service.te and new mappings
/system/sepolicy/prebuilts/api/28.0/public/
Ddomain.te515 # New service_types are defined in {,hw,vnd}service.te and new mappings
/system/sepolicy/public/
Ddomain.te515 # New service_types are defined in {,hw,vnd}service.te and new mappings
/system/media/audio_utils/
DDoxyfile.orig225 # This tag can be used to specify a number of word-keyword mappings (TCL only).
DDoxyfile225 # This tag can be used to specify a number of word-keyword mappings (TCL only).
/system/chre/pal/doc/
DDoxyfile233 # This tag can be used to specify a number of word-keyword mappings (TCL only).
/system/chre/chre_api/doc/
DDoxyfile233 # This tag can be used to specify a number of word-keyword mappings (TCL only).