Home
last modified time | relevance | path

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

/bionic/tests/
Dsys_mman_test.cpp26 void* map = mmap(NULL, 4096, PROT_READ | PROT_WRITE, MAP_ANON | MAP_PRIVATE, -1, 0); in TEST() local
27 ASSERT_NE(MAP_FAILED, map); in TEST()
28 ASSERT_EQ(0, munmap(map, 4096)); in TEST()
32 void* map = mmap64(NULL, 4096, PROT_READ | PROT_WRITE, MAP_ANON | MAP_PRIVATE, -1, 0); in TEST() local
33 ASSERT_NE(MAP_FAILED, map); in TEST()
34 ASSERT_EQ(0, munmap(map, 4096)); in TEST()
40 void* map = mmap(NULL, 100, PROT_READ, MAP_SHARED, tf.fd, 1); in TEST() local
41 ASSERT_EQ(MAP_FAILED, map); in TEST()
47 void* map = mmap64(NULL, 100, PROT_READ, MAP_SHARED, tf.fd, 1); in TEST() local
48 ASSERT_EQ(MAP_FAILED, map); in TEST()
[all …]
/bionic/libc/bionic/
Ddlmalloc.c51 void* map = mmap(NULL, length, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); in named_anonymous_mmap() local
52 if (map == MAP_FAILED) { in named_anonymous_mmap()
53 return map; in named_anonymous_mmap()
55 prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, map, length, "libc_malloc"); in named_anonymous_mmap()
56 return map; in named_anonymous_mmap()
Dlibc_logging.cpp667 void* map = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_ANON | MAP_PRIVATE, -1, 0); in android_set_abort_message() local
668 if (map == MAP_FAILED) { in android_set_abort_message()
677 abort_msg_t* new_abort_message = reinterpret_cast<abort_msg_t*>(map); in android_set_abort_message()
/bionic/tests/libs/
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/
De820.h45 struct e820entry map[E820_X_MAX]; member
/bionic/libdl/
DAndroid.mk18 LOCAL_LDFLAGS := -Wl,--exclude-libs=libgcc.a -Wl,--version-script=$(LOCAL_PATH)/libdl.map
/bionic/linker/
Dlinker.cpp142 link_map* map = &(info->link_map_head); in insert_soinfo_into_debug_map() local
143 map->l_addr = info->load_bias; in insert_soinfo_into_debug_map()
145 map->l_name = const_cast<char*>(info->get_realpath()); in insert_soinfo_into_debug_map()
146 map->l_ld = info->dynamic; in insert_soinfo_into_debug_map()
153 r_debug_tail->l_next = map; in insert_soinfo_into_debug_map()
154 map->l_prev = r_debug_tail; in insert_soinfo_into_debug_map()
155 map->l_next = 0; in insert_soinfo_into_debug_map()
157 _r_debug.r_map = map; in insert_soinfo_into_debug_map()
158 map->l_prev = 0; in insert_soinfo_into_debug_map()
159 map->l_next = 0; in insert_soinfo_into_debug_map()
[all …]
Dlinker_phdr.cpp601 void* map = mmap(reinterpret_cast<void*>(seg_page_start), size, PROT_READ, in phdr_table_serialize_gnu_relro() local
603 if (map == MAP_FAILED) { in phdr_table_serialize_gnu_relro()
686 void* map = mmap(mem_base + match_offset, mismatch_offset - match_offset, in phdr_table_map_gnu_relro() local
688 if (map == MAP_FAILED) { in phdr_table_map_gnu_relro()
/bionic/libc/tools/
Dcheck-symbols-glibc.py70 glibc = set(map(MangleGlibcNameToBionic, glibc))
/bionic/libc/dns/nameser/
Dns_name.c803 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()
/bionic/libc/dns/net/
Dgethnamaddr.c1477 const char *map; in _yp_gethtbyaddr() local
1498 map = "hosts.byaddr"; in _yp_gethtbyaddr()
1501 map = "ipnodes.byaddr"; in _yp_gethtbyaddr()
1505 r = yp_match(__ypdomain, map, name, in _yp_gethtbyaddr()
1528 const char *map; in _yp_gethtbyname() local
1543 map = "hosts.byname"; in _yp_gethtbyname()
1546 map = "ipnodes.byname"; in _yp_gethtbyname()
1550 r = yp_match(__ypdomain, map, name, in _yp_gethtbyname()
/bionic/libm/
DAndroid.mk516 LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/libm.map
522 LOCAL_LDFLAGS := -Wl,--version-script,$(LOCAL_PATH)/libm.map