Home
last modified time | relevance | path

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

/art/compiler/linker/mips/
Drelative_patcher_mips32r6_test.cc79 constexpr uint32_t kStringIndex = 1u; in TestStringBssEntry() local
80 string_index_to_offset_map_.Put(kStringIndex, string_entry_offset); in TestStringBssEntry()
83 LinkerPatch::StringBssEntryPatch(kLiteralOffsetHigh, nullptr, kAnchorOffset, kStringIndex), in TestStringBssEntry()
84 LinkerPatch::StringBssEntryPatch(kLiteralOffsetLow1, nullptr, kAnchorOffset, kStringIndex), in TestStringBssEntry()
85 LinkerPatch::StringBssEntryPatch(kLiteralOffsetLow2, nullptr, kAnchorOffset, kStringIndex) in TestStringBssEntry()
91 constexpr uint32_t kStringIndex = 1u; in TestStringReference() local
92 string_index_to_offset_map_.Put(kStringIndex, string_offset); in TestStringReference()
94 LinkerPatch::RelativeStringPatch(kLiteralOffsetHigh, nullptr, kAnchorOffset, kStringIndex), in TestStringReference()
95 LinkerPatch::RelativeStringPatch(kLiteralOffsetLow1, nullptr, kAnchorOffset, kStringIndex), in TestStringReference()
96 LinkerPatch::RelativeStringPatch(kLiteralOffsetLow2, nullptr, kAnchorOffset, kStringIndex) in TestStringReference()
Drelative_patcher_mips_test.cc84 constexpr uint32_t kStringIndex = 1u; in TestStringBssEntry() local
85 string_index_to_offset_map_.Put(kStringIndex, string_entry_offset); in TestStringBssEntry()
88 LinkerPatch::StringBssEntryPatch(kLiteralOffsetHigh, nullptr, kAnchorOffset, kStringIndex), in TestStringBssEntry()
89 LinkerPatch::StringBssEntryPatch(kLiteralOffsetLow1, nullptr, kAnchorOffset, kStringIndex), in TestStringBssEntry()
90 LinkerPatch::StringBssEntryPatch(kLiteralOffsetLow2, nullptr, kAnchorOffset, kStringIndex) in TestStringBssEntry()
96 constexpr uint32_t kStringIndex = 1u; in TestStringReference() local
97 string_index_to_offset_map_.Put(kStringIndex, string_offset); in TestStringReference()
99 LinkerPatch::RelativeStringPatch(kLiteralOffsetHigh, nullptr, kAnchorOffset, kStringIndex), in TestStringReference()
100 LinkerPatch::RelativeStringPatch(kLiteralOffsetLow1, nullptr, kAnchorOffset, kStringIndex), in TestStringReference()
101 LinkerPatch::RelativeStringPatch(kLiteralOffsetLow2, nullptr, kAnchorOffset, kStringIndex) in TestStringReference()
/art/compiler/linker/mips64/
Drelative_patcher_mips64_test.cc81 constexpr uint32_t kStringIndex = 1u; in TestStringBssEntry() local
82 string_index_to_offset_map_.Put(kStringIndex, string_entry_offset); in TestStringBssEntry()
85 LinkerPatch::StringBssEntryPatch(kLiteralOffsetHigh, nullptr, kAnchorOffset, kStringIndex), in TestStringBssEntry()
86 LinkerPatch::StringBssEntryPatch(kLiteralOffsetLow1, nullptr, kAnchorOffset, kStringIndex), in TestStringBssEntry()
87 LinkerPatch::StringBssEntryPatch(kLiteralOffsetLow2, nullptr, kAnchorOffset, kStringIndex) in TestStringBssEntry()
/art/compiler/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/compiler/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/compiler/linker/arm64/
Drelative_patcher_arm64_test.cc255 constexpr uint32_t kStringIndex = 1u; in TestNopsAdrpLdr() local
256 string_index_to_offset_map_.Put(kStringIndex, string_entry_offset); in TestNopsAdrpLdr()
260 LinkerPatch::StringBssEntryPatch(num_nops * 4u , nullptr, num_nops * 4u, kStringIndex), in TestNopsAdrpLdr()
261 LinkerPatch::StringBssEntryPatch(num_nops * 4u + 4u, nullptr, num_nops * 4u, kStringIndex), in TestNopsAdrpLdr()
281 constexpr uint32_t kStringIndex = 1u; in TestNopsAdrpAdd() local
282 string_index_to_offset_map_.Put(kStringIndex, string_offset); in TestNopsAdrpAdd()
285 LinkerPatch::RelativeStringPatch(num_nops * 4u , nullptr, num_nops * 4u, kStringIndex), in TestNopsAdrpAdd()
286 LinkerPatch::RelativeStringPatch(num_nops * 4u + 4u, nullptr, num_nops * 4u, kStringIndex), in TestNopsAdrpAdd()
302 constexpr uint32_t kStringIndex = 1u; in PrepareNopsAdrpInsn2Ldr() local
303 string_index_to_offset_map_.Put(kStringIndex, string_entry_offset); in PrepareNopsAdrpInsn2Ldr()
[all …]
/art/compiler/linker/arm/
Drelative_patcher_thumb2_test.cc297 constexpr uint32_t kStringIndex = 1u; in TestStringBssEntry() local
298 string_index_to_offset_map_.Put(kStringIndex, string_entry_offset); in TestStringBssEntry()
301 LinkerPatch::StringBssEntryPatch(0u, nullptr, kPcInsnOffset, kStringIndex), in TestStringBssEntry()
302 LinkerPatch::StringBssEntryPatch(4u, nullptr, kPcInsnOffset, kStringIndex), in TestStringBssEntry()
308 constexpr uint32_t kStringIndex = 1u; in TestStringReference() local
309 string_index_to_offset_map_.Put(kStringIndex, string_offset); in TestStringReference()
311 LinkerPatch::RelativeStringPatch(0u, nullptr, kPcInsnOffset, kStringIndex), in TestStringReference()
312 LinkerPatch::RelativeStringPatch(4u, nullptr, kPcInsnOffset, kStringIndex), in TestStringReference()