Home
last modified time | relevance | path

Searched refs:thunk (Results 1 – 6 of 6) sorted by relevance

/art/dex2oat/linker/
Drelative_patcher.cc147 bool RelativePatcher::WriteThunk(OutputStream* out, const ArrayRef<const uint8_t>& thunk) { in WriteThunk() argument
148 if (UNLIKELY(!out->WriteFully(thunk.data(), thunk.size()))) { in WriteThunk()
151 size_relative_call_thunks_ += thunk.size(); in WriteThunk()
155 bool RelativePatcher::WriteMiscThunk(OutputStream* out, const ArrayRef<const uint8_t>& thunk) { in WriteMiscThunk() argument
156 if (UNLIKELY(!out->WriteFully(thunk.data(), thunk.size()))) { in WriteMiscThunk()
159 size_misc_thunks_ += thunk.size(); in WriteMiscThunk()
Drelative_patcher.h156 bool WriteThunk(OutputStream* out, const ArrayRef<const uint8_t>& thunk);
157 bool WriteMiscThunk(OutputStream* out, const ArrayRef<const uint8_t>& thunk);
Dmulti_oat_relative_patcher_test.cc64 std::vector<uint8_t> thunk(next_write_call_thunk_, 'c'); in WriteThunks() local
65 bool success = WriteThunk(out, ArrayRef<const uint8_t>(thunk)); in WriteThunks()
71 std::vector<uint8_t> thunk(next_write_misc_thunk_, 'm'); in WriteThunks() local
72 bool success = WriteMiscThunk(out, ArrayRef<const uint8_t>(thunk)); in WriteThunks()
/art/tools/ahat/src/main/com/android/ahat/heapdump/
DAhatClassInstance.java317 AhatClassInstance thunk = vthunk.asAhatInstance().asClassInstance(); in asRegisteredNativeAllocation() local
318 if (thunk == null in asRegisteredNativeAllocation()
319 || !thunk.isInstanceOfClass("libcore.util.NativeAllocationRegistry$CleanerThunk")) { in asRegisteredNativeAllocation()
323 Value vregistry = thunk.getField("this$0"); in asRegisteredNativeAllocation()
/art/dex2oat/linker/arm/
Drelative_patcher_arm_base.cc306 ThunkData* thunk = unreserved_thunks_.front(); in ReserveSpaceInternal() local
307 if (thunk == method_call_thunk_) { in ReserveSpaceInternal()
315 thunk = unreserved_thunks_.front(); in ReserveSpaceInternal()
319 offset = thunk->ReserveOffset(thunk_offset); in ReserveSpaceInternal()
320 if (thunk == method_call_thunk_) { in ReserveSpaceInternal()
/art/runtime/gc/accounting/
Dspace_bitmap.h170 uintptr_t max, SweepCallback* thunk, void* arg);