Lines Matching refs:patch
189 LinkerPatch patch(literal_offset, Type::kMethod, target_dex_file); in MethodPatch()
190 patch.method_idx_ = target_method_idx; in MethodPatch()
191 return patch; in MethodPatch()
197 LinkerPatch patch(literal_offset, Type::kCall, target_dex_file); in CodePatch()
198 patch.method_idx_ = target_method_idx; in CodePatch()
199 return patch; in CodePatch()
205 LinkerPatch patch(literal_offset, Type::kCallRelative, target_dex_file); in RelativeCodePatch()
206 patch.method_idx_ = target_method_idx; in RelativeCodePatch()
207 return patch; in RelativeCodePatch()
213 LinkerPatch patch(literal_offset, Type::kType, target_dex_file); in TypePatch()
214 patch.type_idx_ = target_type_idx; in TypePatch()
215 return patch; in TypePatch()
221 LinkerPatch patch(literal_offset, Type::kString, target_dex_file); in StringPatch()
222 patch.string_idx_ = target_string_idx; in StringPatch()
223 return patch; in StringPatch()
230 LinkerPatch patch(literal_offset, Type::kStringRelative, target_dex_file); in RelativeStringPatch()
231 patch.string_idx_ = target_string_idx; in RelativeStringPatch()
232 patch.pc_insn_offset_ = pc_insn_offset; in RelativeStringPatch()
233 return patch; in RelativeStringPatch()
241 LinkerPatch patch(literal_offset, Type::kDexCacheArray, target_dex_file); in DexCacheArrayPatch()
242 patch.pc_insn_offset_ = pc_insn_offset; in DexCacheArrayPatch()
243 patch.element_offset_ = element_offset; in DexCacheArrayPatch()
244 return patch; in DexCacheArrayPatch()