HomeSort by relevance Sort by last modified time
    Searched refs:patch_offset (Results 1 - 23 of 23) sorted by null

  /art/compiler/linker/x86/
relative_patcher_x86.h 31 uint32_t patch_offset,
35 uint32_t patch_offset) OVERRIDE;
relative_patcher_x86_base.cc 46 uint32_t patch_offset,
50 uint32_t displacement = target_offset - patch_offset;
relative_patcher_x86.cc 27 uint32_t patch_offset,
52 uint32_t anchor_offset = patch_offset - literal_offset + anchor_literal_offset;
62 uint32_t patch_offset ATTRIBUTE_UNUSED) {
relative_patcher_x86_base.h 34 uint32_t patch_offset,
  /art/compiler/linker/x86_64/
relative_patcher_x86_64.h 31 uint32_t patch_offset,
35 uint32_t patch_offset) OVERRIDE;
relative_patcher_x86_64.cc 27 uint32_t patch_offset,
31 uint32_t displacement = target_offset - patch_offset;
40 uint32_t patch_offset ATTRIBUTE_UNUSED) {
  /bootable/recovery/applypatch/
bspatch.cpp 69 size_t patch_offset, SinkFn sink, SHA_CTX* ctx) {
76 CHECK_LE(patch_offset, patch.data.size());
79 reinterpret_cast<const uint8_t*>(&patch.data[patch_offset]),
80 patch.data.size() - patch_offset, sha_sink);
86 SHA1(reinterpret_cast<const uint8_t*>(patch.data.data() + patch_offset),
87 patch.data.size() - patch_offset, digest);
89 LOG(ERROR) << "Patch may be corrupted, offset: " << patch_offset << ", SHA1: " << patch_sha1;
imgpatch.cpp 53 const Value& patch, size_t patch_offset,
113 ApplyBSDiffPatch(src_data, src_len, patch, patch_offset, compression_sink, nullptr);
177 size_t patch_offset = static_cast<size_t>(Read8(normal_header + 16)); local
183 if (ApplyBSDiffPatch(old_data + src_start, src_len, patch, patch_offset, sink, ctx) != 0) {
220 size_t patch_offset = static_cast<size_t>(Read8(deflate_header + 16)); local
279 patch_offset, deflate_header, sink, ctx)) {
  /art/dex2oat/linker/
multi_oat_relative_patcher.h 97 uint32_t patch_offset,
99 patch_offset += adjustment_;
101 relative_patcher_->PatchCall(code, literal_offset, patch_offset, target_offset);
107 uint32_t patch_offset,
109 patch_offset += adjustment_;
111 relative_patcher_->PatchPcRelativeReference(code, patch, patch_offset, target_offset);
116 uint32_t patch_offset) {
117 patch_offset += adjustment_;
118 relative_patcher_->PatchBakerReadBarrierBranch(code, patch, patch_offset);
multi_oat_relative_patcher_test.cc 81 uint32_t patch_offset,
84 last_patch_offset_ = patch_offset;
90 uint32_t patch_offset,
93 last_patch_offset_ = patch_offset;
99 uint32_t patch_offset ATTRIBUTE_UNUSED) {
  /art/compiler/linker/mips/
relative_patcher_mips.h 38 uint32_t patch_offset,
42 uint32_t patch_offset,
46 uint32_t patch_offset) OVERRIDE;
relative_patcher_mips.cc 43 uint32_t patch_offset ATTRIBUTE_UNUSED,
50 uint32_t patch_offset,
74 uint32_t anchor_offset = patch_offset - literal_offset + anchor_literal_offset;
91 uint32_t patch_offset ATTRIBUTE_UNUSED) {
  /art/compiler/linker/mips64/
relative_patcher_mips64.h 36 uint32_t patch_offset,
40 uint32_t patch_offset,
44 uint32_t patch_offset) OVERRIDE;
relative_patcher_mips64.cc 43 uint32_t patch_offset ATTRIBUTE_UNUSED,
50 uint32_t patch_offset,
68 uint32_t anchor_offset = patch_offset - literal_offset + anchor_literal_offset;
89 uint32_t patch_offset ATTRIBUTE_UNUSED) {
  /art/compiler/linker/
relative_patcher.h 108 uint32_t patch_offset,
114 uint32_t patch_offset,
120 uint32_t patch_offset) = 0;
relative_patcher.cc 67 uint32_t patch_offset ATTRIBUTE_UNUSED,
74 uint32_t patch_offset ATTRIBUTE_UNUSED,
81 uint32_t patch_offset ATTRIBUTE_UNUSED) {
  /art/compiler/linker/arm/
relative_patcher_arm_base.cc 334 uint32_t ArmBaseRelativePatcher::CalculateMethodCallDisplacement(uint32_t patch_offset,
338 uint32_t displacement = target_offset - patch_offset;
345 method_call_thunk_->GetPendingOffset() > patch_offset);
347 method_call_thunk_->GetPendingOffset() - patch_offset <= max_positive_displacement) {
348 displacement = method_call_thunk_->GetPendingOffset() - patch_offset;
352 DCHECK_LT(method_call_thunk_->LastWrittenOffset(), patch_offset);
353 displacement = method_call_thunk_->LastWrittenOffset() - patch_offset;
360 uint32_t ArmBaseRelativePatcher::GetThunkTargetOffset(const ThunkKey& key, uint32_t patch_offset) {
366 DCHECK_LT(offset, patch_offset);
367 if (patch_offset - offset <= MaxNegativeDisplacement(key))
393 uint32_t patch_offset = code_offset + patch.LiteralOffset(); local
468 uint32_t patch_offset = unprocessed_method_call_patches_.front().GetPatchOffset(); local
    [all...]
relative_patcher_arm_base.h 92 uint32_t GetThunkTargetOffset(const ThunkKey& key, uint32_t patch_offset);
94 uint32_t CalculateMethodCallDisplacement(uint32_t patch_offset,
110 uint32_t CalculateMaxNextOffset(uint32_t patch_offset, const ThunkKey& key);
123 UnprocessedMethodCallPatch(uint32_t patch_offset, MethodReference target_method)
124 : patch_offset_(patch_offset), target_method_(target_method) { }
relative_patcher_thumb2.h 75 uint32_t patch_offset,
79 uint32_t patch_offset,
83 uint32_t patch_offset) OVERRIDE;
relative_patcher_thumb2.cc 57 uint32_t patch_offset,
61 DCHECK_EQ(patch_offset & 1u, 0u);
63 uint32_t displacement = CalculateMethodCallDisplacement(patch_offset, target_offset & ~1u);
85 uint32_t patch_offset,
89 uint32_t pc_base = patch_offset + (pc_literal_offset - literal_offset) + 4u /* PC adjustment */;
105 uint32_t patch_offset) {
106 DCHECK_ALIGNED(patch_offset, 2u);
169 uint32_t target_offset = GetThunkTargetOffset(key, patch_offset);
171 uint32_t disp = target_offset - (patch_offset + kPcDisplacement);
  /art/compiler/linker/arm64/
relative_patcher_arm64.h 67 uint32_t patch_offset,
71 uint32_t patch_offset,
75 uint32_t patch_offset) OVERRIDE;
112 uint32_t patch_offset);
120 // Map original patch_offset to thunk offset.
relative_patcher_arm64.cc 137 uint32_t patch_offset = quick_code_offset + patch.LiteralOffset(); local
138 if (NeedsErratum843419Thunk(code, patch.LiteralOffset(), patch_offset)) {
139 adrp_thunk_locations_.emplace_back(patch_offset, thunk_offset);
191 uint32_t patch_offset, uint32_t
195 DCHECK_EQ(patch_offset & 3u, 0u);
197 uint32_t displacement = CalculateMethodCallDisplacement(patch_offset, target_offset & ~1u);
211 uint32_t patch_offset,
213 DCHECK_EQ(patch_offset & 3u, 0u);
218 uint32_t disp = target_offset - ((patch_offset - literal_offset + pc_insn_offset) & ~0xfffu);
226 adrp_thunk_locations_[processed_adrp_thunks_].first == patch_offset) {
    [all...]
  /bootable/recovery/applypatch/include/applypatch/
applypatch.h 65 // Applies the bsdiff-patch given in 'patch' (from offset 'patch_offset' to the end) to the source
69 size_t patch_offset, SinkFn sink, SHA_CTX* ctx);

Completed in 538 milliseconds