Lines Matching refs:LinkerPatch

34 class LinkerPatch {
59 static LinkerPatch IntrinsicReferencePatch(size_t literal_offset, in IntrinsicReferencePatch()
62 LinkerPatch patch(literal_offset, Type::kIntrinsicReference, /* target_dex_file= */ nullptr); in IntrinsicReferencePatch()
68 static LinkerPatch DataBimgRelRoPatch(size_t literal_offset, in DataBimgRelRoPatch()
71 LinkerPatch patch(literal_offset, Type::kDataBimgRelRo, /* target_dex_file= */ nullptr); in DataBimgRelRoPatch()
77 static LinkerPatch RelativeMethodPatch(size_t literal_offset, in RelativeMethodPatch()
81 LinkerPatch patch(literal_offset, Type::kMethodRelative, target_dex_file); in RelativeMethodPatch()
87 static LinkerPatch MethodBssEntryPatch(size_t literal_offset, in MethodBssEntryPatch()
91 LinkerPatch patch(literal_offset, Type::kMethodBssEntry, target_dex_file); in MethodBssEntryPatch()
97 static LinkerPatch RelativeCodePatch(size_t literal_offset, in RelativeCodePatch()
100 LinkerPatch patch(literal_offset, Type::kCallRelative, target_dex_file); in RelativeCodePatch()
105 static LinkerPatch RelativeTypePatch(size_t literal_offset, in RelativeTypePatch()
109 LinkerPatch patch(literal_offset, Type::kTypeRelative, target_dex_file); in RelativeTypePatch()
115 static LinkerPatch TypeBssEntryPatch(size_t literal_offset, in TypeBssEntryPatch()
119 LinkerPatch patch(literal_offset, Type::kTypeBssEntry, target_dex_file); in TypeBssEntryPatch()
125 static LinkerPatch RelativeStringPatch(size_t literal_offset, in RelativeStringPatch()
129 LinkerPatch patch(literal_offset, Type::kStringRelative, target_dex_file); in RelativeStringPatch()
135 static LinkerPatch StringBssEntryPatch(size_t literal_offset, in StringBssEntryPatch()
139 LinkerPatch patch(literal_offset, Type::kStringBssEntry, target_dex_file); in StringBssEntryPatch()
145 static LinkerPatch CallEntrypointPatch(size_t literal_offset, in CallEntrypointPatch()
147 LinkerPatch patch(literal_offset, in CallEntrypointPatch()
154 static LinkerPatch BakerReadBarrierBranchPatch(size_t literal_offset,
157 LinkerPatch patch(literal_offset,
165 LinkerPatch(const LinkerPatch& other) = default;
166 LinkerPatch& operator=(const LinkerPatch& other) = default;
245 LinkerPatch(size_t literal_offset, Type patch_type, const DexFile* target_dex_file) in LinkerPatch() function
287 friend bool operator==(const LinkerPatch& lhs, const LinkerPatch& rhs);
288 friend bool operator<(const LinkerPatch& lhs, const LinkerPatch& rhs);
290 std::ostream& operator<<(std::ostream& os, LinkerPatch::Type type);
292 inline bool operator==(const LinkerPatch& lhs, const LinkerPatch& rhs) {
300 inline bool operator<(const LinkerPatch& lhs, const LinkerPatch& rhs) {