Lines Matching refs:literal_offset
29 uint32_t literal_offset = patch.LiteralOffset(); in PatchDexCacheReference() local
43 DCHECK_LE(literal_offset, code->size()); in PatchDexCacheReference()
44 DCHECK_EQ((*code)[literal_offset + 0u], static_cast<uint8_t>(kDummy32BitOffset >> 0)); in PatchDexCacheReference()
45 DCHECK_EQ((*code)[literal_offset + 1u], static_cast<uint8_t>(kDummy32BitOffset >> 8)); in PatchDexCacheReference()
46 DCHECK_EQ((*code)[literal_offset + 2u], static_cast<uint8_t>(kDummy32BitOffset >> 16)); in PatchDexCacheReference()
47 DCHECK_EQ((*code)[literal_offset + 3u], static_cast<uint8_t>(kDummy32BitOffset >> 24)); in PatchDexCacheReference()
50 uint32_t anchor_offset = patch_offset - literal_offset + anchor_literal_offset; in PatchDexCacheReference()
52 (*code)[literal_offset + 0u] = static_cast<uint8_t>(diff >> 0); in PatchDexCacheReference()
53 (*code)[literal_offset + 1u] = static_cast<uint8_t>(diff >> 8); in PatchDexCacheReference()
54 (*code)[literal_offset + 2u] = static_cast<uint8_t>(diff >> 16); in PatchDexCacheReference()
55 (*code)[literal_offset + 3u] = static_cast<uint8_t>(diff >> 24); in PatchDexCacheReference()