Home
last modified time | relevance | path

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

/art/dex2oat/linker/x86_64/
Drelative_patcher_x86_64_test.cc134 constexpr uint32_t kStringIndex = 1u; in TEST_F() local
135 string_index_to_offset_map_.Put(kStringIndex, kStringEntryOffset); in TEST_F()
137 LinkerPatch::StringBssEntryPatch(kDexCacheLoadCode.size() - 4u, nullptr, 0u, kStringIndex), in TEST_F()
156 constexpr uint32_t kStringIndex = 1u; in TEST_F() local
158 string_index_to_offset_map_.Put(kStringIndex, kStringOffset); in TEST_F()
161 kStringReferenceCode.size() - 4u, nullptr, 0u, kStringIndex), in TEST_F()
/art/dex2oat/linker/x86/
Drelative_patcher_x86_test.cc114 constexpr uint32_t kStringIndex = 1u; in TEST_F() local
115 string_index_to_offset_map_.Put(kStringIndex, kStringEntryOffset); in TEST_F()
124 LinkerPatch::StringBssEntryPatch(code.size() - 4u, nullptr, anchor_offset, kStringIndex), in TEST_F()
145 constexpr uint32_t kStringIndex = 1u; in TEST_F() local
147 string_index_to_offset_map_.Put(kStringIndex, kStringOffset); in TEST_F()
156 LinkerPatch::RelativeStringPatch(code.size() - 4u, nullptr, anchor_offset, kStringIndex), in TEST_F()
/art/dex2oat/linker/riscv64/
Drelative_patcher_riscv64_test.cc118 constexpr uint32_t kStringIndex = 1u; in TestNopsAuipcAddi() local
119 string_index_to_offset_map_.Put(kStringIndex, string_offset); in TestNopsAuipcAddi()
125 LinkerPatch::RelativeStringPatch(auipc_offset, nullptr, auipc_offset, kStringIndex), in TestNopsAuipcAddi()
126 LinkerPatch::RelativeStringPatch(addi_offset, nullptr, auipc_offset, kStringIndex), in TestNopsAuipcAddi()
141 constexpr uint32_t kStringIndex = 1u; in TestNopsAuipcLwu() local
142 string_index_to_offset_map_.Put(kStringIndex, string_entry_offset); in TestNopsAuipcLwu()
149 LinkerPatch::StringBssEntryPatch(auipc_offset, nullptr, auipc_offset, kStringIndex), in TestNopsAuipcLwu()
150 LinkerPatch::StringBssEntryPatch(lwu_offset, nullptr, auipc_offset, kStringIndex), in TestNopsAuipcLwu()
/art/dex2oat/linker/arm64/
Drelative_patcher_arm64_test.cc303 constexpr uint32_t kStringIndex = 1u; in TestNopsAdrpLdr() local
304 string_index_to_offset_map_.Put(kStringIndex, string_entry_offset); in TestNopsAdrpLdr()
308 LinkerPatch::StringBssEntryPatch(num_nops * 4u , nullptr, num_nops * 4u, kStringIndex), in TestNopsAdrpLdr()
309 LinkerPatch::StringBssEntryPatch(num_nops * 4u + 4u, nullptr, num_nops * 4u, kStringIndex), in TestNopsAdrpLdr()
329 constexpr uint32_t kStringIndex = 1u; in TestNopsAdrpAdd() local
330 string_index_to_offset_map_.Put(kStringIndex, string_offset); in TestNopsAdrpAdd()
333 LinkerPatch::RelativeStringPatch(num_nops * 4u , nullptr, num_nops * 4u, kStringIndex), in TestNopsAdrpAdd()
334 LinkerPatch::RelativeStringPatch(num_nops * 4u + 4u, nullptr, num_nops * 4u, kStringIndex), in TestNopsAdrpAdd()
350 constexpr uint32_t kStringIndex = 1u; in PrepareNopsAdrpInsn2Ldr() local
351 string_index_to_offset_map_.Put(kStringIndex, string_entry_offset); in PrepareNopsAdrpInsn2Ldr()
[all …]
/art/dex2oat/linker/arm/
Drelative_patcher_thumb2_test.cc377 constexpr uint32_t kStringIndex = 1u; in TestStringBssEntry() local
378 string_index_to_offset_map_.Put(kStringIndex, string_entry_offset); in TestStringBssEntry()
381 LinkerPatch::StringBssEntryPatch(0u, nullptr, kPcInsnOffset, kStringIndex), in TestStringBssEntry()
382 LinkerPatch::StringBssEntryPatch(4u, nullptr, kPcInsnOffset, kStringIndex), in TestStringBssEntry()
388 constexpr uint32_t kStringIndex = 1u; in TestStringReference() local
389 string_index_to_offset_map_.Put(kStringIndex, string_offset); in TestStringReference()
391 LinkerPatch::RelativeStringPatch(0u, nullptr, kPcInsnOffset, kStringIndex), in TestStringReference()
392 LinkerPatch::RelativeStringPatch(4u, nullptr, kPcInsnOffset, kStringIndex), in TestStringReference()