Home
last modified time | relevance | path

Searched refs:mappings (Results 1 – 9 of 9) 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()
401 qsort(li->mappings, li->mappings_count, sizeof(li->mappings[0]), compfn); in main()
404 mi = li->mappings[j]; in main()
/system/core/libmemunreachable/
DMemUnreachable.cpp53 const allocator::vector<Mapping>& mappings);
59 bool ClassifyMappings(const allocator::vector<Mapping>& mappings,
80 const allocator::vector<Mapping>& mappings) { in CollectAllocations() argument
82 allocator::vector<Mapping> heap_mappings{mappings}; in CollectAllocations()
83 allocator::vector<Mapping> anon_mappings{mappings}; in CollectAllocations()
84 allocator::vector<Mapping> globals_mappings{mappings}; in CollectAllocations()
85 allocator::vector<Mapping> stack_mappings{mappings}; in CollectAllocations()
86 if (!ClassifyMappings(mappings, heap_mappings, anon_mappings, in CollectAllocations()
209 bool MemUnreachable::ClassifyMappings(const allocator::vector<Mapping>& mappings, in ClassifyMappings() argument
222 for (auto it = mappings.begin(); it != mappings.end(); it++) { in ClassifyMappings()
[all …]
DProcessMappings.cpp30 bool ProcessMappings(pid_t pid, allocator::vector<Mapping>& mappings) { in ProcessMappings() argument
62 mappings.emplace_back(mapping); in ProcessMappings()
DProcessMappings.h34 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/
Dnetd_test.cpp209 std::vector<Mapping>* mappings) const { in SetupMappings()
210 mappings->resize(num_hosts * domains.size()); in SetupMappings()
211 auto mappings_it = mappings->begin(); in SetupMappings()
214 ASSERT_TRUE(mappings_it != mappings->end()); in SetupMappings()
225 void SetupDNSServers(unsigned num_servers, const std::vector<Mapping>& mappings, in SetupDNSServers() argument
239 for (const auto& mapping : mappings) { in SetupDNSServers()
371 std::vector<Mapping> mappings; in RunGetAddrInfoStressTest_Binder() local
372 ASSERT_NO_FATAL_FAILURE(SetupMappings(num_hosts, domains, &mappings)); in RunGetAddrInfoStressTest_Binder()
373 ASSERT_NO_FATAL_FAILURE(SetupDNSServers(MAXNS, mappings, &dns, &servers)); in RunGetAddrInfoStressTest_Binder()
380 thread = std::thread([this, &servers, &dns, &mappings, num_queries]() { in RunGetAddrInfoStressTest_Binder()
[all …]
/system/sepolicy/
Ddomain.te337 # New service_types are defined in 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).