Home
last modified time | relevance | path

Searched refs:kStringIndex (Results 1 – 6 of 6) sorted by relevance

/art/compiler/linker/mips/
Drelative_patcher_mips32r6_test.cc83 constexpr uint32_t kStringIndex = 1u; in TestStringReference() local
84 string_index_to_offset_map_.Put(kStringIndex, string_offset); in TestStringReference()
86 LinkerPatch::RelativeStringPatch(kLiteralOffset, nullptr, kAnchorOffset, kStringIndex) in TestStringReference()
Drelative_patcher_mips_test.cc93 constexpr uint32_t kStringIndex = 1u; in TestStringReference() local
94 string_index_to_offset_map_.Put(kStringIndex, string_offset); in TestStringReference()
96 LinkerPatch::RelativeStringPatch(kLiteralOffset, nullptr, kAnchorOffset, kStringIndex) in TestStringReference()
/art/compiler/linker/x86/
Drelative_patcher_x86_test.cc143 constexpr uint32_t kStringIndex = 1u; in TEST_F() local
145 string_index_to_offset_map_.Put(kStringIndex, kStringOffset); in TEST_F()
154 LinkerPatch::RelativeStringPatch(code.size() - 4u, nullptr, anchor_offset, kStringIndex), in TEST_F()
/art/compiler/linker/x86_64/
Drelative_patcher_x86_64_test.cc154 constexpr uint32_t kStringIndex = 1u; in TEST_F() local
156 string_index_to_offset_map_.Put(kStringIndex, kStringOffset); in TEST_F()
159 kStringReferenceCode.size() - 4u, nullptr, 0u, kStringIndex), in TEST_F()
/art/compiler/linker/arm/
Drelative_patcher_thumb2_test.cc176 constexpr uint32_t kStringIndex = 1u; in TestStringReference() local
177 string_index_to_offset_map_.Put(kStringIndex, string_offset); in TestStringReference()
179 LinkerPatch::RelativeStringPatch(0u, nullptr, kPcInsnOffset, kStringIndex), in TestStringReference()
180 LinkerPatch::RelativeStringPatch(4u, nullptr, kPcInsnOffset, kStringIndex), in TestStringReference()
/art/compiler/linker/arm64/
Drelative_patcher_arm64_test.cc272 constexpr uint32_t kStringIndex = 1u; in TestNopsAdrpAdd() local
273 string_index_to_offset_map_.Put(kStringIndex, string_offset); in TestNopsAdrpAdd()
276 LinkerPatch::RelativeStringPatch(num_nops * 4u , nullptr, num_nops * 4u, kStringIndex), in TestNopsAdrpAdd()
277 LinkerPatch::RelativeStringPatch(num_nops * 4u + 4u, nullptr, num_nops * 4u, kStringIndex), in TestNopsAdrpAdd()
307 constexpr uint32_t kStringIndex = 1u; in PrepareNopsAdrpInsn2Add() local
308 string_index_to_offset_map_.Put(kStringIndex, string_offset); in PrepareNopsAdrpInsn2Add()
312 LinkerPatch::RelativeStringPatch(num_nops * 4u , nullptr, num_nops * 4u, kStringIndex), in PrepareNopsAdrpInsn2Add()
313 LinkerPatch::RelativeStringPatch(num_nops * 4u + 8u, nullptr, num_nops * 4u, kStringIndex), in PrepareNopsAdrpInsn2Add()