/bionic/tests/ |
D | sys_mman_test.cpp | 27 void* map = mmap(nullptr, 4096, PROT_READ | PROT_WRITE, MAP_ANON | MAP_PRIVATE, -1, 0); in TEST() local 28 ASSERT_NE(MAP_FAILED, map); in TEST() 29 ASSERT_EQ(0, munmap(map, 4096)); in TEST() 33 void* map = mmap64(nullptr, 4096, PROT_READ | PROT_WRITE, MAP_ANON | MAP_PRIVATE, -1, 0); in TEST() local 34 ASSERT_NE(MAP_FAILED, map); in TEST() 35 ASSERT_EQ(0, munmap(map, 4096)); in TEST() 41 void* map = mmap(nullptr, 100, PROT_READ, MAP_SHARED, tf.fd, 1); in TEST() local 42 ASSERT_EQ(MAP_FAILED, map); in TEST() 48 void* map = mmap64(nullptr, 100, PROT_READ, MAP_SHARED, tf.fd, 1); in TEST() local 49 ASSERT_EQ(MAP_FAILED, map); in TEST() [all …]
|
D | link_test.cpp | 210 for (link_map* map = dbg->r_map; map != nullptr; map = map->l_next) { in TEST() local 211 ASSERT_NE(0u, map->l_addr); in TEST() 212 ASSERT_NE(nullptr, map->l_ld); in TEST() 213 ASSERT_NE(nullptr, map->l_name); in TEST() 215 auto it = f.dl_iter_mods.find(map->l_addr); in TEST() 218 ASSERT_EQ(info.name, map->l_name); in TEST() 219 ASSERT_EQ(info.dynamic, map->l_ld); in TEST()
|
D | leak_test.cpp | 97 for (const map_record& map : maps_) { in GetMappingSize() local 98 result += map.addr_end - map.addr_start; in GetMappingSize()
|
/bionic/linker/ |
D | linker_gdb_support.cpp | 46 void insert_link_map_into_debug_map(link_map* map) { in insert_link_map_into_debug_map() argument 52 r_debug_tail->l_next = map; in insert_link_map_into_debug_map() 53 map->l_prev = r_debug_tail; in insert_link_map_into_debug_map() 54 map->l_next = nullptr; in insert_link_map_into_debug_map() 56 _r_debug.r_map = map; in insert_link_map_into_debug_map() 57 map->l_prev = nullptr; in insert_link_map_into_debug_map() 58 map->l_next = nullptr; in insert_link_map_into_debug_map() 60 r_debug_tail = map; in insert_link_map_into_debug_map() 63 void remove_link_map_from_debug_map(link_map* map) { in remove_link_map_from_debug_map() argument 64 if (r_debug_tail == map) { in remove_link_map_from_debug_map() [all …]
|
D | linker_gdb_support.h | 36 void insert_link_map_into_debug_map(link_map* map); 37 void remove_link_map_from_debug_map(link_map* map); 38 void notify_gdb_of_load(link_map* map); 39 void notify_gdb_of_unload(link_map* map);
|
D | Android.bp | 213 arm: { version_script: "linker.arm.map" }, 214 arm64: { version_script: "linker.generic.map" }, 215 x86: { version_script: "linker.generic.map" }, 216 x86_64: { version_script: "linker.generic.map" },
|
D | linker_main.cpp | 185 auto& map = info.link_map_head; in init_link_map_head() local 186 map.l_addr = info.load_bias; in init_link_map_head() 187 map.l_name = const_cast<char*>(info.get_realpath()); in init_link_map_head() 188 phdr_table_get_dynamic_section(info.phdr, info.phnum, info.load_bias, &map.l_ld, nullptr); in init_link_map_head()
|
/bionic/libdl/ |
D | Android.bp | 66 version_script: ":libdl.arm.map", 71 version_script: ":libdl.arm64.map", 79 version_script: ":libdl.x86.map", 83 version_script: ":libdl.x86_64.map", 116 symbol_file: "libdl.map.txt", 168 version_script: "libdl_android.map.txt", 195 symbol_file: "libdl_android.map.txt", 208 symbol_file: "libdl.map.txt", 215 symbol_file: "libdl.map.txt", 219 name: "libdl.arm.map", [all …]
|
/bionic/benchmarks/ |
D | malloc_map_benchmark.cpp | 77 MapType map; in MapBenchmark() local 79 map[i][0] = 0; in MapBenchmark() 98 MapBenchmark<std::map<uint64_t, char[8]>>(state, 1000000); in BM_std_map_8() 103 MapBenchmark<std::map<uint64_t, char[16]>>(state, 1000000); in BM_std_map_16() 108 MapBenchmark<std::map<uint64_t, char[32]>>(state, 1000000); in BM_std_map_32() 113 MapBenchmark<std::map<uint64_t, char[64]>>(state, 1000000); in BM_std_map_64() 118 MapBenchmark<std::map<uint64_t, char[96]>>(state, 1000000); in BM_std_map_96() 123 MapBenchmark<std::map<uint64_t, char[128]>>(state, 500000); in BM_std_map_128() 128 MapBenchmark<std::map<uint64_t, char[256]>>(state, 500000); in BM_std_map_256() 133 MapBenchmark<std::map<uint64_t, char[512]>>(state, 500000); in BM_std_map_512()
|
D | bionic_benchmarks.cpp | 80 static std::map<std::string, const std::vector<int> &> kSizes{ 86 std::map<std::string, std::pair<benchmark_func_t, std::string>> g_str_to_func; 316 std::map<std::string, args_vector_t>& args_shorthand) { in ResolveArgs() 380 std::map<std::string, args_vector_t>& args_shorthand) { in RegisterCliBenchmarks() 403 std::map<std::string, args_vector_t>& args_shorthand) { in RegisterXmlBenchmarks() 499 std::map<std::string, args_vector_t> GetShorthand() { in GetShorthand() 504 std::map<std::string, args_vector_t> args_shorthand { in GetShorthand() 559 std::map<std::string, args_vector_t>& args_shorthand) { in RegisterAllBenchmarks() 570 std::map<std::string, args_vector_t> args_shorthand = GetShorthand(); in main()
|
/bionic/libc/bionic/ |
D | android_set_abort_message.cpp | 81 void* map = mmap(nullptr, size, PROT_READ | PROT_WRITE, MAP_ANON | MAP_PRIVATE, -1, 0); in android_set_abort_message() local 82 if (map == MAP_FAILED) { in android_set_abort_message() 88 prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, map, size, "abort message"); in android_set_abort_message() 90 magic_abort_msg_t* new_magic_abort_message = reinterpret_cast<magic_abort_msg_t*>(map); in android_set_abort_message()
|
/bionic/libfdtrack/ |
D | fdtrack_test.cpp | 45 std::map<int, std::vector<FdtrackFrame>> RunFdtrack(std::function<void()> f) { in RunFdtrack() 61 std::map<int, std::vector<FdtrackFrame>> result; in RunFdtrack() 65 auto& map = *static_cast<decltype(result)*>(arg); in RunFdtrack() local 67 map[fd].push_back(FdtrackFrame{ in RunFdtrack()
|
D | Android.bp | 14 version_script: "libfdtrack.map.txt",
|
/bionic/tools/versioner/src/ |
D | SymbolDatabase.cpp | 67 static std::map<std::string, NdkSymbolType> parsePlatform(const CompilationType& type, in parsePlatform() 74 std::map<std::string, NdkSymbolType> result; in parsePlatform() 109 std::map<std::string, NdkSymbolType> symbols = parsePlatform(type, platform_dir); in parsePlatforms()
|
D | SymbolDatabase.h | 35 using NdkSymbolDatabase = std::map<std::string, std::map<CompilationType, NdkSymbolType>>;
|
D | DeclarationDatabase.h | 131 std::map<CompilationType, DeclarationAvailability> availability; 168 std::map<Location, Declaration> declarations; 202 std::map<std::string, Symbol> symbols;
|
D | Arch.h | 90 ArchMapIterator(const ArchMap<T>& map, Arch arch) : map_(map), arch_(arch) { in ArchMapIterator() argument
|
D | SymbolFileParser.h | 26 using SymbolMap = std::map<std::string, NdkSymbolType>;
|
D | versioner.cpp | 196 std::map<CompilationType, HeaderDatabase> header_databases; in compileHeaders() 357 std::map<Arch, std::set<CompilationType>> arch_types; in checkVersions() 363 std::map<std::string, std::set<CompilationType>> missing_availability; in checkVersions() 364 std::map<std::string, std::set<CompilationType>> extra_availability; in checkVersions()
|
/bionic/libc/malloc_hooks/ |
D | Android.bp | 17 version_script: "exported32.map", 20 version_script: "exported64.map",
|
/bionic/libm/ |
D | Android.bp | 289 version_script: ":libm.arm.map", 322 version_script: ":libm.arm64.map", 391 version_script: ":libm.x86.map", 456 version_script: ":libm.x86_64.map", 501 symbol_file: "libm.map.txt", 517 symbol_file: "libm.map.txt", 524 symbol_file: "libm.map.txt", 528 name: "libm.arm.map", 529 out: ["libm.arm.map"], 530 srcs: ["libm.map.txt"], [all …]
|
/bionic/libc/ |
D | Android.bp | 1641 version_script: ":libc.arm.map", 1660 version_script: ":libc.arm64.map", 1677 version_script: ":libc.x86.map", 1690 version_script: ":libc.x86_64.map", 1705 symbol_file: "libc.map.txt", 1724 name: "libc.arm.map", 1725 out: ["libc.arm.map"], 1726 srcs: ["libc.map.txt"], 1732 name: "libc.arm64.map", 1733 out: ["libc.arm64.map"], [all …]
|
/bionic/libc/malloc_debug/ |
D | Android.bp | 80 version_script: "exported32.map", 83 version_script: "exported64.map",
|
/bionic/libc/kernel/uapi/asm-x86/asm/ |
D | e820.h | 42 struct e820entry map[E820_X_MAX]; member
|
/bionic/libc/dns/nameser/ |
D | ns_name.c | 803 ns_name_map(ns_nname_ct nname, size_t namelen, ns_namemap_t map, int mapsize) { in ns_name_map() argument 833 l = ns_name_map(nname + n, namelen - n, map, mapsize); in ns_name_map() 844 map[l].base = nname; in ns_name_map() 845 map[l].len = n; in ns_name_map()
|