Searched refs:map (Results 1 - 25 of 27) sorted by relevance

12

/bionic/linker/
H A Dlinker_gdb_support.cpp46 void insert_link_map_into_debug_map(link_map* map) { argument
52 r_debug_tail->l_next = map;
53 map->l_prev = r_debug_tail;
54 map->l_next = nullptr;
56 _r_debug.r_map = map;
57 map->l_prev = nullptr;
58 map->l_next = nullptr;
60 r_debug_tail = map;
63 void remove_link_map_from_debug_map(link_map* map) { argument
64 if (r_debug_tail == map) {
76 notify_gdb_of_load(link_map* map) argument
88 notify_gdb_of_unload(link_map* map) argument
[all...]
H A 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);
H A Dlinker_main.cpp171 * Set the dynamic field in the link map otherwise gdb will complain with
279 /* bootstrap the link map, the main exe always needs to be first */
281 link_map* map = &(si->link_map_head); local
286 map->l_addr = 0;
287 map->l_name = const_cast<char*>(executable_path);
288 insert_link_map_into_debug_map(map);
389 * For so lib, the map->l_addr will be updated in notify_gdb_of_load.
393 map->l_addr = si->load_bias;
H A Dlinker_phdr.cpp115 can only memory-map at page boundaries, this means that the bias is
655 DL_ERR("couldn't map \"%s\" segment %zd: %s", name_.c_str(), i, strerror(errno));
671 // map for all extra pages.
857 void* map = mmap(reinterpret_cast<void*>(seg_page_start), size, PROT_READ,
859 if (map == MAP_FAILED) {
871 * same address. We have to compare the data before we map over it, since some
942 void* map = mmap(mem_base + match_offset, mismatch_offset - match_offset,
944 if (map == MAP_FAILED) {
H A Dlinker.cpp246 link_map* map = &(info->link_map_head); local
248 map->l_addr = info->load_bias;
250 map->l_name = const_cast<char*>(info->get_realpath());
251 map->l_ld = info->dynamic;
253 CHECK(map->l_name != nullptr);
254 CHECK(map->l_name[0] != '\0');
256 notify_gdb_of_load(map);
/bionic/tests/
H A Dsys_mman_test.cpp27 void* map = mmap(NULL, 4096, PROT_READ | PROT_WRITE, MAP_ANON | MAP_PRIVATE, -1, 0); local
28 ASSERT_NE(MAP_FAILED, map);
29 ASSERT_EQ(0, munmap(map, 4096));
33 void* map = mmap64(NULL, 4096, PROT_READ | PROT_WRITE, MAP_ANON | MAP_PRIVATE, -1, 0); local
34 ASSERT_NE(MAP_FAILED, map);
35 ASSERT_EQ(0, munmap(map, 4096));
41 void* map = mmap(NULL, 100, PROT_READ, MAP_SHARED, tf.fd, 1); local
42 ASSERT_EQ(MAP_FAILED, map);
48 void* map = mmap64(NULL, 100, PROT_READ, MAP_SHARED, tf.fd, 1); local
49 ASSERT_EQ(MAP_FAILED, map);
62 void* map = mmap(NULL, sizeof(STRING_MSG), PROT_READ, MAP_SHARED, tf.fd, 0); local
77 void* map = mmap(NULL, sizeof(STRING_MSG), PROT_WRITE, MAP_SHARED, tf.fd, 0); local
113 void* map = mmap(NULL, pagesize, PROT_READ, MAP_SHARED, tf.fd, pagesize); local
149 void* map = mmap(NULL, pagesize, PROT_WRITE, MAP_SHARED, tf.fd, pagesize); local
184 void* map = mmap(NULL, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, tempfile.fd, 0); local
202 void* map = mmap(NULL, pagesize, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); local
231 void* map = mmap(nullptr, PAGE_SIZE, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); local
[all...]
H A Dleak_test.cpp45 for (const map_record& map : maps) {
46 result += map.addr_end - map.addr_start;
94 FAIL() << "increase in process map size: " << previous_size_ << " -> " << current_size;
H A Difaddrs_test.cpp31 #include <map>
139 std::map<std::string, std::set<in_addr_t>> inet_addrs;
140 std::map<std::string, std::set<in_addr_t>> broad_addrs;
/bionic/libc/bionic/
H A Dandroid_set_abort_message.cpp60 void* map = mmap(nullptr, size, PROT_READ | PROT_WRITE, MAP_ANON | MAP_PRIVATE, -1, 0); local
61 if (map == MAP_FAILED) {
65 abort_msg_t* new_abort_message = reinterpret_cast<abort_msg_t*>(map);
/bionic/tools/versioner/src/
H A DSymbolDatabase.h19 #include <map>
34 using NdkSymbolDatabase = std::map<std::string, std::map<CompilationType, NdkSymbolType>>;
H A Dversioner.h19 #include <map>
H A DSymbolDatabase.cpp96 static std::map<std::string, NdkSymbolType> parsePlatform(const CompilationType& type,
98 std::map<std::string, NdkSymbolType> result;
99 std::map<std::string, bool /*required*/> wanted_files = {
147 std::map<std::string, std::map<CompilationType, NdkSymbolType>> result;
149 std::map<std::string, NdkSymbolType> symbols = parsePlatform(type, platform_dir);
H A DDeclarationDatabase.h21 #include <map>
131 std::map<CompilationType, DeclarationAvailability> availability;
165 std::map<Location, Declaration> declarations;
199 std::map<std::string, Symbol> symbols;
H A DArch.h90 ArchMapIterator(const ArchMap<T>& map, Arch arch) : map_(map), arch_(arch) { argument
H A Dversioner.cpp33 #include <map>
171 std::map<CompilationType, HeaderDatabase> header_databases;
315 std::map<Arch, std::set<CompilationType>> arch_types;
321 std::map<std::string, std::set<CompilationType>> missing_availability;
322 std::map<std::string, std::set<CompilationType>> extra_availability;
H A DDeclarationDatabase.cpp22 #include <map>
157 std::map<std::string, std::vector<int*>> prefix_map = {
H A DPreprocessor.cpp136 using GuardMap = std::map<Location, DeclarationAvailability>;
147 std::map<Arch, std::string> individual_archs = {
/bionic/tests/libs/
H A DAndroid.build.versioned_lib.mk36 -Wl,--version-script,$(LOCAL_PATH)/versioned_uselib.map
70 -Wl,--version-script,$(LOCAL_PATH)/versioned_lib_v1.map \
83 -Wl,--version-script,$(LOCAL_PATH)/versioned_lib_v2.map \
98 -Wl,--version-script,$(LOCAL_PATH)/versioned_lib_v3.map
117 -Wl,--version-script,$(LOCAL_PATH)/versioned_lib_other.map
/bionic/libc/kernel/uapi/asm-x86/asm/
H A De820.h47 struct e820entry map[E820_X_MAX]; member in struct:e820map
/bionic/libc/versioner-dependencies/common/kernel_uapi/asm-x86/asm/
H A De820.h47 struct e820entry map[E820_X_MAX]; member in struct:e820map
/bionic/libc/versioner-dependencies/x86/kernel_uapi_asm-x86/asm/
H A De820.h47 struct e820entry map[E820_X_MAX]; member in struct:e820map
/bionic/libc/versioner-dependencies/x86_64/kernel_uapi_asm-x86/asm/
H A De820.h47 struct e820entry map[E820_X_MAX]; member in struct:e820map
/bionic/libc/tools/
H A Dcheck-symbols-glibc.py70 glibc = set(map(MangleGlibcNameToBionic, glibc))
/bionic/libc/dns/nameser/
H A Dns_name.c803 ns_name_map(ns_nname_ct nname, size_t namelen, ns_namemap_t map, int mapsize) { argument
833 l = ns_name_map(nname + n, namelen - n, map, mapsize);
843 /* We're on our way back up-stack, store current map data. */
844 map[l].base = nname;
845 map[l].len = n;
/bionic/libc/dns/net/
H A Dgethnamaddr.c1476 const char *map; local
1497 map = "hosts.byaddr";
1500 map = "ipnodes.byaddr";
1504 r = yp_match(__ypdomain, map, name,
1527 const char *map; local
1542 map = "hosts.byname";
1545 map = "ipnodes.byname";
1549 r = yp_match(__ypdomain, map, name,

Completed in 2037 milliseconds

12