Lines Matching refs:current_method_thunks_
96 current_method_thunks_.reserve(16u * kAdrpThunkSize); in Arm64RelativePatcher()
166 if (!current_method_thunks_.empty()) { in WriteThunks()
169 CHECK_ALIGNED(current_method_thunks_.size(), kAdrpThunkSize); in WriteThunks()
170 size_t num_thunks = current_method_thunks_.size() / kAdrpThunkSize; in WriteThunks()
181 if (!WriteMiscThunk(out, ArrayRef<const uint8_t>(current_method_thunks_))) { in WriteThunks()
184 offset = aligned_offset + current_method_thunks_.size(); in WriteThunks()
185 current_method_thunks_.clear(); in WriteThunks()
237 size_t thunks_code_offset = current_method_thunks_.size(); in PatchPcRelativeReference()
238 current_method_thunks_.resize(thunks_code_offset + kAdrpThunkSize); in PatchPcRelativeReference()
239 SetInsn(¤t_method_thunks_, thunks_code_offset, adrp); in PatchPcRelativeReference()
240 SetInsn(¤t_method_thunks_, thunks_code_offset + 4u, b_back); in PatchPcRelativeReference()
280 CHECK_ALIGNED(current_method_thunks_.size(), kAdrpThunkSize); in PatchPcRelativeReference()
281 size_t num_thunks = current_method_thunks_.size() / kAdrpThunkSize; in PatchPcRelativeReference()
288 adrp = GetInsn(¤t_method_thunks_, idx * kAdrpThunkSize); in PatchPcRelativeReference()