Home
last modified time | relevance | path

Searched refs:map (Results 1 – 25 of 46) sorted by relevance

12

/bionic/linker/
Dlinker_gdb_support.cpp46 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 …]
Dlinker_gdb_support.h36 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);
DAndroid.bp256 version_script: "linker.arm.map",
259 version_script: "linker.generic.map",
262 version_script: "linker.generic.map",
265 version_script: "linker.generic.map",
268 version_script: "linker.generic.map",
/bionic/tests/
Dsys_mman_test.cpp31 void* map = mmap(nullptr, 4096, PROT_READ | PROT_WRITE, MAP_ANON | MAP_PRIVATE, -1, 0); in TEST() local
32 ASSERT_NE(MAP_FAILED, map); in TEST()
33 ASSERT_EQ(0, munmap(map, 4096)); in TEST()
37 void* map = mmap64(nullptr, 4096, PROT_READ | PROT_WRITE, MAP_ANON | MAP_PRIVATE, -1, 0); in TEST() local
38 ASSERT_NE(MAP_FAILED, map); in TEST()
39 ASSERT_EQ(0, munmap(map, 4096)); in TEST()
45 void* map = mmap(nullptr, 100, PROT_READ, MAP_SHARED, tf.fd, 1); in TEST() local
46 ASSERT_EQ(MAP_FAILED, map); in TEST()
52 void* map = mmap64(nullptr, 100, PROT_READ, MAP_SHARED, tf.fd, 1); in TEST() local
53 ASSERT_EQ(MAP_FAILED, map); in TEST()
[all …]
Dlink_test.cpp210 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()
Dleak_test.cpp98 for (const map_record& map : maps_) { in GetMappingSize() local
99 result += map.addr_end - map.addr_start; in GetMappingSize()
/bionic/libdl/
DAndroid.bp87 version_script: ":libdl.arm.map",
92 version_script: ":libdl.arm64.map",
95 version_script: ":libdl.riscv64.map",
103 version_script: ":libdl.x86.map",
107 version_script: ":libdl.x86_64.map",
140 symbol_file: "libdl.map.txt",
147 symbol_file: "libdl.map.txt",
197 version_script: "libdl_android.map.txt",
224 symbol_file: "libdl_android.map.txt",
236 symbol_file: "libdl.map.txt",
[all …]
/bionic/benchmarks/
Dmalloc_map_benchmark.cpp77 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()
Dbionic_benchmarks.cpp80 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()
400 std::map<std::string, args_vector_t>& args_shorthand) { in RegisterCliBenchmarks()
423 std::map<std::string, args_vector_t>& args_shorthand) { in RegisterXmlBenchmarks()
519 std::map<std::string, args_vector_t> GetShorthand() { in GetShorthand()
531 std::map<std::string, args_vector_t> args_shorthand{ in GetShorthand()
589 std::map<std::string, args_vector_t>& args_shorthand) { in RegisterAllBenchmarks()
600 std::map<std::string, args_vector_t> args_shorthand = GetShorthand(); in main()
/bionic/libc/bionic/
Dandroid_set_abort_message.cpp88 void* map = mmap(nullptr, size, PROT_READ | PROT_WRITE, MAP_ANON | MAP_PRIVATE, -1, 0); in android_set_abort_message() local
89 if (map == MAP_FAILED) { in android_set_abort_message()
95 prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, map, size, "abort message"); in android_set_abort_message()
97 magic_abort_msg_t* new_magic_abort_message = reinterpret_cast<magic_abort_msg_t*>(map); in android_set_abort_message()
Dandroid_crash_detail.cpp78 void* map = mmap(nullptr, size, PROT_READ | PROT_WRITE, MAP_ANON | MAP_PRIVATE, -1, 0); in android_crash_detail_register() local
79 if (map == MAP_FAILED) { in android_crash_detail_register()
83 prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, map, size, "crash details"); in android_crash_detail_register()
84 page = reinterpret_cast<struct crash_detail_page_t*>(map); in android_crash_detail_register()
/bionic/libfdtrack/
Dfdtrack_test.cpp45 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()
DAndroid.bp37 version_script: "libfdtrack.map.txt",
/bionic/tools/versioner/src/
DSymbolDatabase.h35 using NdkSymbolDatabase = std::map<std::string, std::map<CompilationType, NdkSymbolType>>;
DSymbolDatabase.cpp67 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()
DDeclarationDatabase.h131 std::map<CompilationType, DeclarationAvailability> availability;
168 std::map<Location, Declaration> declarations;
202 std::map<std::string, Symbol> symbols;
DSymbolFileParser.h26 using SymbolMap = std::map<std::string, NdkSymbolType>;
DArch.h91 ArchMapIterator(const ArchMap<T>& map, Arch arch) : map_(map), arch_(arch) { in ArchMapIterator() argument
Dversioner.cpp196 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/libm/
DAndroid.bp287 version_script: ":libm.arm.map",
323 version_script: ":libm.arm64.map",
353 version_script: ":libm.riscv64.map",
376 version_script: ":libm.x86.map",
395 version_script: ":libm.x86_64.map",
445 symbol_file: "libm.map.txt",
453 symbol_file: "libm.map.txt",
468 symbol_file: "libm.map.txt",
473 name: "libm.arm.map",
474 out: ["libm.arm.map.txt"],
[all …]
/bionic/libc/malloc_debug/
Dbacktrace.cpp61 auto map = g_map_data.find(ip); in find_current_map() local
62 if (map != nullptr) { in find_current_map()
63 g_current_code_map = *map; in find_current_map()
DAndroid.bp88 version_script: "exported32.map",
91 version_script: "exported64.map",
/bionic/libc/malloc_hooks/
DAndroid.bp27 version_script: "exported32.map",
30 version_script: "exported64.map",
/bionic/libc/
DAndroid.bp1598 version_script: ":libc.arm.map",
1618 version_script: ":libc.arm64.map",
1627 version_script: ":libc.riscv64.map",
1640 version_script: ":libc.x86.map",
1655 version_script: ":libc.x86_64.map",
1685 symbol_file: "libc.map.txt",
1694 symbol_file: "libc.map.txt",
1720 symbol_file: "libc.map.txt",
1729 name: "libc.arm.map",
1730 out: ["libc.arm.map.txt"],
[all …]
/bionic/libc/kernel/uapi/asm-x86/asm/
De820.h30 struct e820entry map[E820_X_MAX]; member

12