Home
last modified time | relevance | path

Searched refs:uintptr_t (Results 1 – 25 of 43) sorted by relevance

12

/ndk/sources/cxx-stl/gabi++/src/
Ddwarf_helper.cc56 uintptr_t readULEB128(const uint8_t** data) { in readULEB128()
57 uintptr_t result = 0; in readULEB128()
58 uintptr_t shift = 0; in readULEB128()
63 result |= static_cast<uintptr_t>(byte & 0x7F) << shift; in readULEB128()
71 uintptr_t result = 0; in readSLEB128()
72 uintptr_t shift = 0; in readSLEB128()
77 result |= static_cast<uintptr_t>(byte & 0x7F) << shift; in readSLEB128()
82 result |= static_cast<uintptr_t>(~0) << shift; in readSLEB128()
133 static inline uintptr_t readAbsPtr(const uint8_t* data) { in readAbsPtr()
134 if (sizeof(uintptr_t) == 4) { in readAbsPtr()
[all …]
Ddwarf_helper.h74 uintptr_t landingPad; // null -> nothing found, else something found
82 uintptr_t readULEB128(const uint8_t** data) _GABIXX_HIDDEN;
84 uintptr_t readEncodedPointer(const uint8_t** data,
Dhelper_func_internal.cc96 uintptr_t ip = _Unwind_GetIP(context) - 1; in scanEHTable()
97 uintptr_t funcStart = _Unwind_GetRegionStart(context); in scanEHTable()
98 uintptr_t ipOffset = ip - funcStart; in scanEHTable()
107 uintptr_t classInfoOffset = readULEB128(&lsda); in scanEHTable()
119 uintptr_t start = readEncodedPointer(&callSitePtr, callSiteEncoding); in scanEHTable()
120 uintptr_t length = readEncodedPointer(&callSitePtr, callSiteEncoding); in scanEHTable()
121 uintptr_t landingPad = readEncodedPointer(&callSitePtr, callSiteEncoding); in scanEHTable()
122 uintptr_t actionEntry = readULEB128(&callSitePtr); in scanEHTable()
130 landingPad = (uintptr_t)lpStart + landingPad; in scanEHTable()
351 _Unwind_SetGR(context, 0, reinterpret_cast<uintptr_t>(unwind_exception)); in setRegisters()
[all …]
/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/include/
Dunwind.h122 uintptr_t private_1; // non-zero means forced unwind
123 uintptr_t private_2; // holds sp that phase1 found for phase2 to use
217 static inline uintptr_t _Unwind_GetGR(struct _Unwind_Context* context, in _Unwind_GetGR()
219 uintptr_t value = 0; in _Unwind_GetGR()
225 uintptr_t new_value) { in _Unwind_SetGR()
230 static inline uintptr_t _Unwind_GetIP(struct _Unwind_Context* context) { in _Unwind_GetIP()
232 return (_Unwind_GetGR(context, 15) & (~(uintptr_t)0x1)); in _Unwind_GetIP()
236 uintptr_t new_value) { in _Unwind_SetIP()
237 uintptr_t thumb_bit = _Unwind_GetGR(context, 15) & ((uintptr_t)0x1); in _Unwind_SetIP()
241 extern uintptr_t _Unwind_GetGR(struct _Unwind_Context *context, int index);
[all …]
/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/src/
Dcxa_personality.cpp173 uintptr_t
176 uintptr_t result = 0; in readULEB128()
177 uintptr_t shift = 0; in readULEB128()
183 result |= static_cast<uintptr_t>(byte & 0x7F) << shift; in readULEB128()
199 uintptr_t result = 0; in readSLEB128()
200 uintptr_t shift = 0; in readSLEB128()
206 result |= static_cast<uintptr_t>(byte & 0x7F) << shift; in readSLEB128()
211 result |= static_cast<uintptr_t>(~0) << shift; in readSLEB128()
222 uintptr_t
225 uintptr_t result = 0; in readEncodedPointer()
[all …]
/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/src/Unwind/
DUnwind-sjlj.c42 uintptr_t resumeLocation;
45 uintptr_t resumeParameters[4];
49 uintptr_t lsda; // arm offset=28
103 exception_object->private_2 = (uintptr_t) c; in unwind_phase1()
148 if ((uintptr_t) c == exception_object->private_2) in unwind_phase2()
162 if ((uintptr_t) c == exception_object->private_2) { in unwind_phase2()
349 _LIBUNWIND_EXPORT uintptr_t
359 _LIBUNWIND_EXPORT uintptr_t _Unwind_GetGR(struct _Unwind_Context *context, in _Unwind_GetGR()
370 uintptr_t new_value) { in _Unwind_SetGR()
379 _LIBUNWIND_EXPORT uintptr_t _Unwind_GetIP(struct _Unwind_Context *context) { in _Unwind_GetIP()
[all …]
DAddressSpace.hpp41 bool checkKeyMgrRegisteredFDEs(uintptr_t targetAddr, void *&fde);
80 uintptr_t dso_base;
81 uintptr_t dwarf_section;
82 uintptr_t dwarf_section_length;
85 uintptr_t dso_base;
86 uintptr_t dwarf_index_section;
87 uintptr_t dwarf_index_section_length;
90 uintptr_t dso_base;
91 uintptr_t compact_unwind_section;
92 uintptr_t compact_unwind_section_length;
[all …]
DUnwindLevel1-gcc-ext.c62 _LIBUNWIND_EXPORT uintptr_t
72 _LIBUNWIND_EXPORT uintptr_t
160 bases->tbase = (uintptr_t)info.extra; in _Unwind_Find_FDE()
162 bases->func = (uintptr_t)info.start_ip; in _Unwind_Find_FDE()
170 _LIBUNWIND_EXPORT uintptr_t _Unwind_GetCFA(struct _Unwind_Context *context) { in _Unwind_GetCFA()
176 return (uintptr_t)result; in _Unwind_GetCFA()
183 _LIBUNWIND_EXPORT uintptr_t _Unwind_GetIPInfo(struct _Unwind_Context *context, in _Unwind_GetIPInfo()
198 _unw_add_dynamic_fde((unw_word_t)(uintptr_t) fde); in __register_frame()
208 _unw_remove_dynamic_fde((unw_word_t)(uintptr_t) fde); in __deregister_frame()
DUnwindLevel1.c94 exception_object->private_2 = (uintptr_t)sp; in unwind_phase1()
395 exception_object->private_1 = (uintptr_t) stop; in _Unwind_ForcedUnwind()
396 exception_object->private_2 = (uintptr_t) stop_parameter; in _Unwind_ForcedUnwind()
404 _LIBUNWIND_EXPORT uintptr_t
408 uintptr_t result = 0; in _Unwind_GetLanguageSpecificData()
410 result = (uintptr_t)frameInfo.lsda; in _Unwind_GetLanguageSpecificData()
424 _LIBUNWIND_EXPORT uintptr_t _Unwind_GetGR(struct _Unwind_Context *context, in _Unwind_GetGR()
432 return (uintptr_t)result; in _Unwind_GetGR()
439 uintptr_t new_value) { in _Unwind_SetGR()
450 _LIBUNWIND_EXPORT uintptr_t _Unwind_GetIP(struct _Unwind_Context *context) { in _Unwind_GetIP()
[all …]
DUnwind-EHABI.cpp107 uintptr_t scopeStart = ucbp->pr_cache.fnstart + offset; in ProcessDescriptors()
108 uintptr_t scopeEnd = scopeStart + length; in ProcessDescriptors()
109 uintptr_t pc = _Unwind_GetIP(context); in ProcessDescriptors()
707 _LIBUNWIND_EXPORT uintptr_t
711 uintptr_t result = 0; in _Unwind_GetLanguageSpecificData()
713 result = (uintptr_t)frameInfo.lsda; in _Unwind_GetLanguageSpecificData()
928 _LIBUNWIND_EXPORT uintptr_t
932 uintptr_t result = 0; in _Unwind_GetRegionStart()
934 result = (uintptr_t)frameInfo.start_ip; in _Unwind_GetRegionStart()
DUnwind_AppleExtras.cpp149 bool checkKeyMgrRegisteredFDEs(uintptr_t pc, void *&fde) { in checkKeyMgrRegisteredFDEs()
162 (uintptr_t)ob->fde, &fdeInfo, &cieInfo); in checkKeyMgrRegisteredFDEs()
/ndk/sources/android/crazy_linker/src/
Dcrazy_linker_proc_maps.h59 uintptr_t* load_address,
75 uintptr_t* load_address,
76 uintptr_t* load_offset);
Dcrazy_linker_proc_maps_unittest.cpp52 uintptr_t load_address; in TEST()
63 uintptr_t load_address; in TEST()
72 uintptr_t address; in TEST()
102 uintptr_t address; in TEST()
103 uintptr_t offset; in TEST()
112 uintptr_t address, offset; in TEST()
Dcrazy_linker_proc_maps.cpp215 uintptr_t* load_address, in FindElfBinaryForAddress()
221 uintptr_t addr = reinterpret_cast<uintptr_t>(address); in FindElfBinaryForAddress()
248 uintptr_t addr = reinterpret_cast<uintptr_t>(address); in FindProtectionFlagsForAddress()
260 uintptr_t* load_address, in FindLoadAddressForFile()
261 uintptr_t* load_offset) { in FindLoadAddressForFile()
Dcrazy_linker_rdebug.h128 uintptr_t l_addr;
130 uintptr_t l_ld;
147 uintptr_t r_ldbase;
Dcrazy_linker_elf_view.h81 uintptr_t GetOffset() const { return dyn_->d_un.d_ptr; } in GetOffset()
83 uintptr_t GetAddress(size_t load_bias) const { in GetAddress()
Dcrazy_linker_shared_library.cpp75 uintptr_t func_address = reinterpret_cast<uintptr_t>(func); in CallFunction()
78 if (func_address != 0 && func_address != uintptr_t(-1)) in CallFunction()
218 uintptr_t dyn_addr = dyn.GetAddress(load_bias()); in Load()
223 reinterpret_cast<uintptr_t>(Globals::GetRDebug()->GetAddress()); in Load()
Dcrazy_linker_library_list.h69 uintptr_t load_address,
Dcrazy_linker_elf_loader.h44 uintptr_t wanted_address,
Dcrazy_linker_rdebug.cpp164 static const uintptr_t kPageSize = 4096;
165 uintptr_t page_address_;
170 page_address_ = reinterpret_cast<uintptr_t>(address) & ~(kPageSize - 1); in MapReadWrite()
/ndk/sources/android/support/src/musl-multibyte/
Dmbsrtowcs.c28 if (*s-1u < 0x7f && (uintptr_t)s%4 == 0) { in mbsrtowcs()
59 if (*s-1u < 0x7f && (uintptr_t)s%4 == 0) { in mbsrtowcs()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
Dcstdint136 uintptr_t
184 using::uintptr_t;
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/depr/depr.c.headers/
Dstdint_h.pass.cpp154 static_assert(sizeof(uintptr_t) >= sizeof(void*), in main()
156 static_assert(std::is_unsigned<uintptr_t>::value, in main()
213 assert(UINTPTR_MAX == std::numeric_limits<uintptr_t>::max()); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/language.support/cstdint/cstdint.syn/
Dcstdint.pass.cpp154 static_assert(sizeof(std::uintptr_t) >= sizeof(void*), in main()
156 static_assert(std::is_unsigned<std::uintptr_t>::value, in main()
213 assert(UINTPTR_MAX == std::numeric_limits<std::uintptr_t>::max()); in main()
/ndk/sources/cxx-stl/gabi++/include/
Dunwind-itanium.h94 void _Unwind_SetIP(struct _Unwind_Context*, uintptr_t new_value);

12