Home
last modified time | relevance | path

Searched refs:addr (Results 1 – 25 of 49) sorted by relevance

12

/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/src/Unwind/
DAddressSpace.hpp33 extern "C" int my_dladdr(const void* addr, Dl_info *info);
114 uint8_t get8(pint_t addr) { in get8() argument
116 memcpy(&val, (void *)addr, sizeof(val)); in get8()
119 uint16_t get16(pint_t addr) { in get16() argument
121 memcpy(&val, (void *)addr, sizeof(val)); in get16()
124 uint32_t get32(pint_t addr) { in get32() argument
126 memcpy(&val, (void *)addr, sizeof(val)); in get32()
129 uint64_t get64(pint_t addr) { in get64() argument
131 memcpy(&val, (void *)addr, sizeof(val)); in get64()
134 double getDouble(pint_t addr) { in getDouble() argument
[all …]
DUnwindCursor.hpp180 UnwindSectionHeader(A &addressSpace, typename A::pint_t addr) in UnwindSectionHeader() argument
181 : _addressSpace(addressSpace), _addr(addr) {} in UnwindSectionHeader()
220 UnwindSectionIndexArray(A &addressSpace, typename A::pint_t addr) in UnwindSectionIndexArray() argument
221 : _addressSpace(addressSpace), _addr(addr) {} in UnwindSectionIndexArray()
246 UnwindSectionRegularPageHeader(A &addressSpace, typename A::pint_t addr) in UnwindSectionRegularPageHeader() argument
247 : _addressSpace(addressSpace), _addr(addr) {} in UnwindSectionRegularPageHeader()
271 UnwindSectionRegularArray(A &addressSpace, typename A::pint_t addr) in UnwindSectionRegularArray() argument
272 : _addressSpace(addressSpace), _addr(addr) {} in UnwindSectionRegularArray()
292 UnwindSectionCompressedPageHeader(A &addressSpace, typename A::pint_t addr) in UnwindSectionCompressedPageHeader() argument
293 : _addressSpace(addressSpace), _addr(addr) {} in UnwindSectionCompressedPageHeader()
[all …]
/ndk/tests/abcc/jni/mman-win32/
Dmman.h44 void* mmap(void *addr, size_t len, int prot, int flags, int fildes, off_t off);
45 int munmap(void *addr, size_t len);
46 int mprotect(void *addr, size_t len, int prot);
47 int msync(void *addr, size_t len, int flags);
48 int mlock(const void *addr, size_t len);
49 int munlock(const void *addr, size_t len);
Dmman.c59 void* mmap(void *addr, size_t len, int prot, int flags, int fildes, off_t off) in mmap() argument
130 int munmap(void *addr, size_t len) in munmap() argument
132 if (UnmapViewOfFile(addr)) in munmap()
140 int mprotect(void *addr, size_t len, int prot) in mprotect() argument
145 if (VirtualProtect(addr, len, newProtect, &oldProtect)) in mprotect()
153 int msync(void *addr, size_t len, int flags) in msync() argument
155 if (FlushViewOfFile(addr, len)) in msync()
163 int mlock(const void *addr, size_t len) in mlock() argument
165 if (VirtualLock((LPVOID)addr, len)) in mlock()
173 int munlock(const void *addr, size_t len) in munlock() argument
[all …]
/ndk/sources/android/crazy_linker/src/
Dcrazy_linker_elf_relro.cpp27 bool SwapPagesFromFd(void* addr, in SwapPagesFromFd() argument
33 if (::munmap(addr, size) < 0) { in SwapPagesFromFd()
36 addr, in SwapPagesFromFd()
37 (char*)addr + size, in SwapPagesFromFd()
43 void* new_map = ::mmap(addr, in SwapPagesFromFd()
50 char* p = reinterpret_cast<char*>(addr); in SwapPagesFromFd()
61 __clear_cache(addr, (char*)addr + size); in SwapPagesFromFd()
Dcrazy_linker_proc_maps.cpp221 uintptr_t addr = reinterpret_cast<uintptr_t>(address); in FindElfBinaryForAddress() local
224 if (entry.vma_start <= addr && addr < entry.vma_end) { in FindElfBinaryForAddress()
248 uintptr_t addr = reinterpret_cast<uintptr_t>(address); in FindProtectionFlagsForAddress() local
251 if (entry.vma_start <= addr && addr < entry.vma_end) { in FindProtectionFlagsForAddress()
Dcrazy_linker_shared_library.h78 size_t addr = reinterpret_cast<size_t>(address); in ContainsAddress() local
79 return load_address() <= addr && addr <= load_address() + load_size(); in ContainsAddress()
Dcrazy_linker_wrappers.cpp149 void* addr = lib_list->FindSymbolFrom(symbol_name, wrap_lib); in WrapDlsym() local
150 if (addr) in WrapDlsym()
151 return addr; in WrapDlsym()
Dcrazy_linker_elf_loader.cpp194 uint8_t* addr = reinterpret_cast<uint8_t*>(min_vaddr); in ReserveAddressSpace() local
199 addr = static_cast<uint8_t*>(wanted_load_address_); in ReserveAddressSpace()
203 LOG("%s: address=%p size=%p\n", __FUNCTION__, addr, load_size_); in ReserveAddressSpace()
204 void* start = mmap(addr, load_size_, PROT_NONE, mmap_flags, -1, 0); in ReserveAddressSpace()
Dcrazy_linker_library_list.cpp102 void* addr = lib->LookupSymbol(symbol_name); in FindSymbolFrom() local
103 if (addr) in FindSymbolFrom()
104 return addr; in FindSymbolFrom()
/ndk/sources/host-tools/make-3.81/
Dremote-cstms.c130 return !CUSTOMS_FAIL (&permit.addr); in start_remote_job_p()
190 sin.sin_addr = permit.addr; in start_remote_job()
196 host = gethostbyaddr((char *)&permit.addr, sizeof(permit.addr), AF_INET); in start_remote_job()
203 host ? host->h_name : inet_ntoa (permit.addr), in start_remote_job()
212 host ? host->h_name : inet_ntoa (permit.addr), in start_remote_job()
219 host ? host->h_name : inet_ntoa (permit.addr), in start_remote_job()
Dalloca.c119 static char *addr = NULL; /* Address of first `dummy', once known. */ in find_stack_direction() local
122 if (addr == NULL) in find_stack_direction()
124 addr = ADDRESS_FUNCTION (dummy); in find_stack_direction()
131 if (ADDRESS_FUNCTION (dummy) > addr) in find_stack_direction()
Dvmsify.c39 #define INIT_DSC_S(dsc, addr, len) do { \ argument
43 (dsc).dsc$a_pointer = (addr); \
/ndk/sources/android/support/src/
Dlibdl_support.c40 typedef int (*dladdr_func_t)(const void *addr, Dl_info *info);
45 int my_dladdr(const void *addr, Dl_info *info) in my_dladdr() argument
62 return p_dladdr? p_dladdr(addr, info) : 0; in my_dladdr()
/ndk/tests/device/test-stlport_shared-exception/jni/
Dnew1_3.cpp64 A* addr(){return this;} in addr() function
89 func(new B(A(10).addr())); in test1()
114 func(new B(A(10).addr())); in test2()
139 func(new B(A(10).addr())); in test3()
Dunroll1.cpp159 static void construct(double* addr) in construct()
161 new (addr) double(); in construct()
164 static void construct(double* addr, const double& model) in construct()
166 new (addr) double(model); in construct()
169 static void destruct(double *addr) {} in destruct()
/ndk/tests/device/test-stlport_static-exception/jni/
Dnew1_3.cpp64 A* addr(){return this;} in addr() function
89 func(new B(A(10).addr())); in test1()
114 func(new B(A(10).addr())); in test2()
139 func(new B(A(10).addr())); in test3()
Dunroll1.cpp159 static void construct(double* addr) in construct()
161 new (addr) double(); in construct()
164 static void construct(double* addr, const double& model) in construct()
166 new (addr) double(model); in construct()
169 static void destruct(double *addr) {} in destruct()
/ndk/sources/android/support/tests/
Dlibdl_unittest.cc8 extern "C" int my_dladdr(const void* addr, Dl_info *info);
11 extern "C" int my_dladdr(const void* addr, void **info);
/ndk/sources/host-tools/sed-4.2.1/sed/
Dcompile.c935 static bool compile_address P_((struct addr *addr, int ch));
937 compile_address(addr, ch) in compile_address() argument
938 struct addr *addr; in compile_address()
941 addr->addr_type = ADDR_IS_NULL;
942 addr->addr_step = 0;
943 addr->addr_number = ~(countT)0; /* extremely unlikely to ever match */
944 addr->addr_regex = NULL;
950 addr->addr_type = ADDR_IS_REGEX;
986 addr->addr_regex = compile_regex (b, flags, 0);
994 addr->addr_number = in_integer(ch);
[all …]
Dsed.h106 struct addr { struct
147 struct addr *a1; /* save space: usually is NULL */
148 struct addr *a2;
Dexecute.c945 static bool match_an_address_p P_((struct addr *, struct input *));
947 match_an_address_p(addr, input) in match_an_address_p() argument
948 struct addr *addr; in match_an_address_p()
951 switch (addr->addr_type)
957 return match_regex(addr->addr_regex, line.active, line.length, 0, NULL, 0);
960 return (input->line_number >= addr->addr_number
961 && ((input->line_number - addr->addr_number) % addr->addr_step) == 0);
968 return (addr->addr_number <= input->line_number);
/ndk/sources/host-tools/sed-4.2.1/lib/
Dalloca.c101 static char *addr = NULL; /* Address of first `dummy', once known. */ in find_stack_direction() local
104 if (addr == NULL) in find_stack_direction()
106 addr = ADDRESS_FUNCTION (dummy); in find_stack_direction()
113 if (ADDRESS_FUNCTION (dummy) > addr) in find_stack_direction()
/ndk/sources/host-tools/ndk-stack/binutils/
Daddr2line.c50 static char **addr; /* Hex addresses to process. */ variable
219 pc = bfd_scan_vma (*addr++, NULL, 16); in translate_addresses()
487 addr = argv + optind; in addr2line_main()
/ndk/docs/text/
DNDK-STACK.text22 I/DEBUG ( 31): signal 11 (SIGSEGV), fault addr 0d9f00d8
41 signal 11 (SIGSEGV), fault addr 0d9f00d8

12