Lines Matching refs:literal_offset
42 uint32_t literal_offset ATTRIBUTE_UNUSED, in PatchCall()
53 uint32_t literal_offset = patch.LiteralOffset(); in PatchPcRelativeReference() local
54 bool high_patch = ((*code)[literal_offset + 0] == 0x34) && ((*code)[literal_offset + 1] == 0x12); in PatchPcRelativeReference()
60 DCHECK_EQ(((*code)[literal_offset + 2] & 0x1F), 0x1E); in PatchPcRelativeReference()
61 DCHECK_EQ(((*code)[literal_offset + 3] & 0xFC), 0xEC); in PatchPcRelativeReference()
64 DCHECK_EQ(((*code)[literal_offset + 2] & 0xE0), 0x00); in PatchPcRelativeReference()
65 DCHECK_EQ((*code)[literal_offset + 3], 0x3C); in PatchPcRelativeReference()
69 CHECK_EQ((*code)[literal_offset + 0], 0x78); in PatchPcRelativeReference()
70 CHECK_EQ((*code)[literal_offset + 1], 0x56); in PatchPcRelativeReference()
74 uint32_t anchor_offset = patch_offset - literal_offset + anchor_literal_offset; in PatchPcRelativeReference()
80 (*code)[literal_offset + 0] = static_cast<uint8_t>(diff >> 16); in PatchPcRelativeReference()
81 (*code)[literal_offset + 1] = static_cast<uint8_t>(diff >> 24); in PatchPcRelativeReference()
84 (*code)[literal_offset + 0] = static_cast<uint8_t>(diff >> 0); in PatchPcRelativeReference()
85 (*code)[literal_offset + 1] = static_cast<uint8_t>(diff >> 8); in PatchPcRelativeReference()