/frameworks/base/core/jni/ |
D | BindTest.cpp | 37 static uintptr_t * 38 getString(Class *clazz, MethodBlock *mb, uintptr_t *ostack) in getString() 44 static uintptr_t * 45 getNullString(Class *clazz, MethodBlock *mb, uintptr_t *ostack) in getNullString() 51 static uintptr_t * 52 getBooleanTrue(Class *clazz, MethodBlock *mb, uintptr_t *ostack) in getBooleanTrue() 58 static uintptr_t * 59 getBooleanFalse(Class *clazz, MethodBlock *mb, uintptr_t *ostack) in getBooleanFalse() 65 static uintptr_t * 66 nonvoidThrowsException (Class *clazz, MethodBlock *mb, uintptr_t *ostack) in nonvoidThrowsException() [all …]
|
/frameworks/libs/binary_translation/runtime_primitives/ |
D | recovery_code.cc | 33 ForeverMap<uintptr_t, uintptr_t> g_recovery_map; 36 uintptr_t FindExtraRecoveryCodeUnsafe(uintptr_t fault_addr) { in FindExtraRecoveryCodeUnsafe() 48 std::initializer_list<std::pair<uintptr_t, uintptr_t>> fault_recovery_pairs) { in InitExtraRecoveryCodeUnsafe() argument 56 uintptr_t FindRecoveryCode(uintptr_t fault_addr, ThreadState* state) { in FindRecoveryCode() 57 uintptr_t recovery_addr; in FindRecoveryCode()
|
D | table_of_tables_test.cc | 27 berberis::TableOfTables<berberis::GuestAddr, uintptr_t> tot(42); in TEST() 36 berberis::TableOfTables<berberis::GuestAddr, uintptr_t> tot(42); in TEST() 48 berberis::TableOfTables<berberis::GuestAddr, uintptr_t> tot(42); in TEST() 55 [](berberis::TableOfTables<berberis::GuestAddr, uintptr_t>* tot, uint32_t base) { in TEST() 91 berberis::TableOfTables<berberis::GuestAddr, uintptr_t> tot(42); in TEST()
|
/frameworks/libs/binary_translation/base/include/berberis/base/ |
D | forever_alloc.h | 51 uintptr_t AllocatePage() { in AllocatePage() 53 uintptr_t page = reinterpret_cast<uintptr_t>(ptr); in AllocatePage() 56 uintptr_t curr = 0; in AllocatePage() 64 uintptr_t AllocateImpl(size_t size, size_t align) { in AllocateImpl() 65 uintptr_t curr = curr_.load(std::memory_order_acquire); in AllocateImpl() 71 uintptr_t res = AlignUp(curr, align); in AllocateImpl() 72 uintptr_t next = res + size; in AllocateImpl() 73 uintptr_t end = AlignDownPageSize(curr) + kPageSize; in AllocateImpl()
|
D | pointer_and_counter.h | 55 uintptr_t ptr = reinterpret_cast<uintptr_t>(p); in PackUnsafe() 65 uintptr_t ptr = static_cast<uintptr_t>((v & kRealPointerMask) << kAlignBits); in UnpackPointer()
|
/frameworks/rs/ |
D | rsHidlAdaptation.cpp | 198 RsContext ret = (RsContext)(uintptr_t)context.get(); in ContextCreate() 217 uint64_t _allocation = (uint64_t)(uintptr_t)allocation; in AllocationGetType() 223 void RsHidlAdaptation::TypeGetNativeData(RsContext context, RsType type, uintptr_t *typedata, uint3… in TypeGetNativeData() 225 uint64_t _type = (uint64_t)(uintptr_t)type; in TypeGetNativeData() 230 typedata[i] = (uintptr_t)retTypeData[i]; in TypeGetNativeData() 238 uint64_t _element = (uint64_t)(uintptr_t)element; in ElementGetNativeData() 248 void RsHidlAdaptation::ElementGetSubElements(RsContext context, RsElement element, uintptr_t *ids, … in ElementGetSubElements() 250 uint64_t _element = (uint64_t)(uintptr_t)element; in ElementGetSubElements() 251 uint64_t _ids = (uint64_t)(uintptr_t)ids; in ElementGetSubElements() 252 uint64_t _names = (uint64_t)(uintptr_t)names; in ElementGetSubElements() [all …]
|
D | rsProgramFragment.cpp | 27 const uintptr_t * params, size_t paramLength) in ProgramFragment() 71 … ALOGE("No texture bound for shader id %" PRIuPTR ", texture unit %u", (uintptr_t)this, ct); in setup() 114 uintptr_t tmp[2]; in init() 116 tmp[1] = (uintptr_t)inputType.get(); in init() 138 const uintptr_t * params, size_t paramLength) { in rsi_ProgramFragmentCreate()
|
/frameworks/base/libs/androidfw/ |
D | TypeWrappers.cpp | 26 const uintptr_t containerEnd = reinterpret_cast<uintptr_t>(data) + dtohl(data->header.size); in TypeVariant() 28 reinterpret_cast<uintptr_t>(data) + dtohs(data->header.headerSize)); in TypeVariant() 29 if (reinterpret_cast<uintptr_t>(entryIndices) + (sizeof(uint32_t) * entryCount) in TypeVariant() 58 const uintptr_t containerEnd = reinterpret_cast<uintptr_t>(type) in operator *() 61 reinterpret_cast<uintptr_t>(type) + dtohs(type->header.headerSize)); in operator *() 64 if (reinterpret_cast<uintptr_t>(entryIndices) + (indexSize * entryCount) > containerEnd) { in operator *() 95 reinterpret_cast<uintptr_t>(type) + dtohl(type->entriesStart) + entryOffset); in operator *() 96 if (reinterpret_cast<uintptr_t>(entry) > containerEnd - sizeof(*entry)) { in operator *() 99 } else if (reinterpret_cast<uintptr_t>(entry) + entry->size() > containerEnd) { in operator *()
|
/frameworks/libs/binary_translation/base/ |
D | forever_alloc_test.cc | 29 void CheckOneAllocation(uintptr_t p, size_t size, size_t align) { in CheckOneAllocation() 40 uintptr_t prev = 0; in CheckBasicAllocations() 44 uintptr_t curr = reinterpret_cast<uintptr_t>(alloc.Allocate(size, align)); in CheckBasicAllocations() 55 uintptr_t curr = reinterpret_cast<uintptr_t>(alloc.Allocate(size, align)); in CheckBasicAllocations() 77 uintptr_t curr = reinterpret_cast<uintptr_t>(g_alloc.Allocate(size, align)); in CheckStressAllocations()
|
D | config_globals_custom.cc | 73 uintptr_t ParseAddr(const char* addr_cstr) { in ParseAddr() 79 uintptr_t addr = static_cast<uintptr_t>(strtoull(addr_cstr, &end_ptr, 16)); in ParseAddr() 108 uintptr_t GetEntryPointOverride() { in GetEntryPointOverride() 110 static uintptr_t entry_point = ParseAddr(var.get()); in GetEntryPointOverride()
|
D | memfd_backed_mmap_test.cc | 35 uintptr_t default_value = 42; in TEST() 37 uintptr_t* ptr = reinterpret_cast<uintptr_t*>( in TEST()
|
D | memfd_backed_mmap.cc | 30 int CreateAndFillMemfd(const char* name, size_t memfd_file_size, uintptr_t value) { in CreateAndFillMemfd() 38 uintptr_t* memfd_file_content = static_cast<uintptr_t*>(MmapOrDie(memfd_file_size)); in CreateAndFillMemfd()
|
/frameworks/libs/binary_translation/intrinsics/riscv64_to_x86_64/include/berberis/intrinsics/ |
D | vector_intrinsics.h | 34 return *bit_cast<const std::tuple<SIMD128Register>*>(static_cast<uintptr_t>( in VectorBroadcast() 40 bit_cast<const uint8_t*>(static_cast<uintptr_t>(constants_pool::kBitMaskTable)) + in MakeBitmaskFromVl() 49 static_cast<uintptr_t>(constants_pool::kBitMaskTo8bitMask))[mask & 0xff]; in BitMaskToSimdMask() 51 static_cast<uintptr_t>(constants_pool::kBitMaskTo8bitMask))[(mask >> 8) & 0xff]; in BitMaskToSimdMask() 58 static_cast<uintptr_t>(constants_pool::kBitMaskTo8bitMask))[mask & 0xff]; in BitMaskToSimdMask() 63 static_cast<uintptr_t>(constants_pool::kBitMaskTo16bitMask))[mask & 0xf]; in BitMaskToSimdMask() 68 static_cast<uintptr_t>(constants_pool::kBitMaskTo32bitMask))[mask & 0x3]; in BitMaskToSimdMask() 90 static_cast<uintptr_t>(constants_pool::kVectorConst<kElement>)) & in VectorMaskedElementTo() 106 const __m128i kPMovmskXToPMovmskb = *bit_cast<const __m128i*>(static_cast<uintptr_t>( in SimdMaskToBitMask() 126 bit_cast<const SIMD128Register*>(static_cast<uintptr_t>(kVid)); in Vidv()
|
/frameworks/libs/binary_translation/runtime_primitives/include/berberis/runtime_primitives/ |
D | recovery_code.h | 30 std::initializer_list<std::pair<uintptr_t, uintptr_t>> fault_recovery_pairs); 32 uintptr_t FindRecoveryCode(uintptr_t fault_addr, ThreadState* state);
|
D | host_stack.h | 35 uintptr_t stack_top = reinterpret_cast<uintptr_t>(stack->data()) + stack->size() - 1; in GetStackTop()
|
/frameworks/av/services/mediaresourcemanager/ |
D | ResourceObserverService.cpp | 59 std::map<uintptr_t, std::shared_ptr<ResourceObserverService::DeathRecipient> > 80 uintptr_t id = reinterpret_cast<uintptr_t>(cookie); in BinderDiedCallback() 180 if (mObserverInfoMap.find((uintptr_t)binder.get()) != mObserverInfoMap.end()) { in registerObserver() 189 mObserverInfoMap.emplace((uintptr_t)binder.get(), in registerObserver() 199 mObservableToSubscribersMap[key].emplace((uintptr_t)binder.get(), in_observer); in registerObserver() 205 uintptr_t cookie = (uintptr_t)binder.get(); in registerObserver() 239 auto it = mObserverInfoMap.find((uintptr_t)binder.get()); in unregisterObserver() 251 mObservableToSubscribersMap[key].erase((uintptr_t)binder.get()); in unregisterObserver() 265 uintptr_t cookie = (uintptr_t)binder.get(); in unregisterObserver() 284 std::map<uintptr_t, CalleeInfo> calleeList; in notifyObservers()
|
/frameworks/libs/binary_translation/tests/ndk_program_tests/arm/ |
D | arm_test.cc | 29 uintptr_t read_exidx_func(int32_t* entry) { in read_exidx_func() 35 return reinterpret_cast<uintptr_t>(entry) + offset; in read_exidx_func() 42 dl_unwind_find_exidx(reinterpret_cast<uintptr_t>(read_exidx_func), &count)); in TEST() 46 uintptr_t func = reinterpret_cast<uintptr_t>(arm_tests); in TEST() 51 uintptr_t exidx_func = read_exidx_func(&entries[2 * i]); in TEST()
|
/frameworks/native/libs/vr/libpdx/ |
D | thread_local_buffer_tests.cpp | 19 static std::uintptr_t GetSlotAddress() { in GetSlotAddress() 20 return reinterpret_cast<std::uintptr_t>(&MessageBuffer<Slot>::buffer_); in GetSlotAddress() 26 static std::uintptr_t GetSlotValue() { in GetSlotValue() 27 return reinterpret_cast<std::uintptr_t>(MessageBuffer<Slot>::buffer_); in GetSlotValue() 80 std::uintptr_t id2 = 0U; in TEST()
|
/frameworks/libs/binary_translation/assembler/ |
D | machine_code.cc | 66 uintptr_t start = reinterpret_cast<uintptr_t>(code); in PerformRelocations() 67 uintptr_t fault_addr = start + rel.pc; in PerformRelocations() 68 uintptr_t recovery_addr = start + rel.data; in PerformRelocations()
|
/frameworks/base/libs/usb/tests/AccessoryChat/accessorychat/ |
D | accessorychat.c | 35 int endpoint = (int)(uintptr_t)arg; in read_thread() 55 int endpoint = (int)(uintptr_t)arg; in write_thread() 139 pthread_create(&th, NULL, read_thread, (void *)(uintptr_t)ep1->bEndpointAddress); in usb_device_added() 140 pthread_create(&th, NULL, write_thread, (void *)(uintptr_t)ep2->bEndpointAddress); in usb_device_added() 142 pthread_create(&th, NULL, read_thread, (void *)(uintptr_t)ep2->bEndpointAddress); in usb_device_added() 143 pthread_create(&th, NULL, write_thread, (void *)(uintptr_t)ep1->bEndpointAddress); in usb_device_added()
|
/frameworks/libs/binary_translation/interpreter/riscv64/ |
D | faulty_memory_accesses_x86_64.cc | 114 std::pair<uintptr_t, uintptr_t> MakePairAdapter(FaultyAccessPointer fault_addr, in MakePairAdapter() 116 return {reinterpret_cast<uintptr_t>(fault_addr), reinterpret_cast<uintptr_t>(recovery_addr)}; in MakePairAdapter()
|
/frameworks/libs/binary_translation/tests/ndk_program_tests/ |
D | proc_self_maps_test.cc | 33 uintptr_t addr = reinterpret_cast<uintptr_t>(ptr); in IsExecutable() 42 uintptr_t start; in IsExecutable() 43 uintptr_t end; in IsExecutable()
|
/frameworks/av/media/libmediaplayerservice/ |
D | DeathNotifier.cpp | 28 static uintptr_t sCookieKeyCounter = 0; 29 static std::map<uintptr_t, wp<DeathNotifier::DeathRecipient>> sCookies; 55 if (auto it = sCookies.find(reinterpret_cast<uintptr_t>(cookie)); it != sCookies.end()) { in OnBinderDied() 79 uintptr_t mCookieKey;
|
/frameworks/libs/binary_translation/guest_loader/include/berberis/guest_loader/ |
D | guest_loader.h | 70 using dl_unwind_find_exidx_fn_t = uintptr_t (*)(uintptr_t pc, int* pcount); 110 uintptr_t DlUnwindFindExidx(uintptr_t pc, int* pcount);
|
/frameworks/base/libs/hwui/jni/ |
D | ColorFilter.cpp | 36 return static_cast<jlong>(reinterpret_cast<uintptr_t>(&SafeUnref)); in GetNativeFinalizer() 43 return static_cast<jlong>(reinterpret_cast<uintptr_t>(blendModeFilter)); in CreateBlendModeFilter() 49 return static_cast<jlong>(reinterpret_cast<uintptr_t>(lightingFilter)); in CreateLightingFilter() 82 return static_cast<jlong>(reinterpret_cast<uintptr_t>(colorMatrixColorFilter)); in CreateColorMatrixFilter()
|