Home
last modified time | relevance | path

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

/art/compiler/linker/
Drelative_patcher.cc136 bool RelativePatcher::WriteThunk(OutputStream* out, const ArrayRef<const uint8_t>& thunk) { in WriteThunk() argument
137 if (UNLIKELY(!out->WriteFully(thunk.data(), thunk.size()))) { in WriteThunk()
140 size_relative_call_thunks_ += thunk.size(); in WriteThunk()
144 bool RelativePatcher::WriteMiscThunk(OutputStream* out, const ArrayRef<const uint8_t>& thunk) { in WriteMiscThunk() argument
145 if (UNLIKELY(!out->WriteFully(thunk.data(), thunk.size()))) { in WriteMiscThunk()
148 size_misc_thunks_ += thunk.size(); in WriteMiscThunk()
Drelative_patcher.h125 bool WriteThunk(OutputStream* out, const ArrayRef<const uint8_t>& thunk);
126 bool WriteMiscThunk(OutputStream* out, const ArrayRef<const uint8_t>& thunk);
Dmulti_oat_relative_patcher_test.cc65 std::vector<uint8_t> thunk(next_write_call_thunk_, 'c'); in WriteThunks() local
66 bool success = WriteThunk(out, ArrayRef<const uint8_t>(thunk)); in WriteThunks()
72 std::vector<uint8_t> thunk(next_write_misc_thunk_, 'm'); in WriteThunks() local
73 bool success = WriteMiscThunk(out, ArrayRef<const uint8_t>(thunk)); in WriteThunks()
/art/compiler/linker/arm/
Drelative_patcher_arm_base.cc234 ThunkData* thunk = unreserved_thunks_.front(); in ReserveSpaceInternal() local
235 if (thunk == method_call_thunk_) { in ReserveSpaceInternal()
243 thunk = unreserved_thunks_.front(); in ReserveSpaceInternal()
247 offset = thunk->ReserveOffset(thunk_offset); in ReserveSpaceInternal()
248 if (thunk == method_call_thunk_) { in ReserveSpaceInternal()
/art/runtime/gc/accounting/
Dspace_bitmap.h147 uintptr_t max, SweepCallback* thunk, void* arg);