Searched refs:string_offset (Results 1 – 6 of 6) sorted by relevance
/art/dex2oat/linker/riscv64/ |
D | relative_patcher_riscv64_test.cc | 117 void TestNopsAuipcAddi(size_t start_cnops, size_t mid_cnops, uint32_t string_offset) { in TestNopsAuipcAddi() argument 119 string_index_to_offset_map_.Put(kStringIndex, string_offset); in TestNopsAuipcAddi() 135 GenNopsAndAuipcAndUse(start_cnops, mid_cnops, method1_offset, string_offset, kAddi); in TestNopsAuipcAddi() 193 for (uint32_t string_offset : { 0x12345678u, -0x12345678u, 0x123457fcu, 0x12345800u}) { in TEST_F() 195 TestNopsAuipcAddi(start_cnops, mid_cnops, string_offset); in TEST_F()
|
/art/dex2oat/linker/arm64/ |
D | relative_patcher_arm64_test.cc | 328 void TestNopsAdrpAdd(size_t num_nops, uint32_t string_offset) { in TestNopsAdrpAdd() argument 330 string_index_to_offset_map_.Put(kStringIndex, string_offset); in TestNopsAdrpAdd() 342 auto expected_code = GenNopsAndAdrpAdd(num_nops, method1_offset, string_offset); in TestNopsAdrpAdd() 365 void PrepareNopsAdrpInsn2Add(size_t num_nops, uint32_t insn2, uint32_t string_offset) { in PrepareNopsAdrpInsn2Add() argument 367 string_index_to_offset_map_.Put(kStringIndex, string_offset); in PrepareNopsAdrpInsn2Add() 485 uint32_t string_offset) { in TestAdrpInsn2Add() argument 491 PrepareNopsAdrpInsn2Add(num_nops, insn2, string_offset); in TestAdrpInsn2Add() 493 TestNopsAdrpInsn2AndUseHasThunk(num_nops, insn2, string_offset, kAddXInsn); in TestAdrpInsn2Add() 495 TestNopsAdrpInsn2AndUse(num_nops, insn2, string_offset, kAddXInsn); in TestAdrpInsn2Add() 500 void TestAdrpLdurAdd(uint32_t adrp_offset, bool has_thunk, uint32_t string_offset) { in TestAdrpLdurAdd() argument [all …]
|
/art/tools/dexanalyze/ |
D | dexanalyze_strings.cc | 82 const size_t string_offset = chars_.size(); in AddString() local 88 string_offsets_.push_back(string_offset); in AddString() 154 const size_t string_offset = chars_.size(); in AddString() local 158 string_offsets_.push_back(string_offset); in AddString()
|
/art/runtime/verifier/ |
D | verifier_deps.cc | 497 uint32_t string_offset = reinterpret_cast<const uint32_t*>(offsets)[i + 1]; in DecodeStringVector() local 498 const char* string_start = reinterpret_cast<const char*>(start + string_offset); in DecodeStringVector() 500 reinterpret_cast<const char*>(memchr(string_start, 0, end - start - string_offset)); in DecodeStringVector()
|
/art/dex2oat/linker/arm/ |
D | relative_patcher_thumb2_test.cc | 289 void TestStringReference(uint32_t string_offset); 387 void Thumb2RelativePatcherTest::TestStringReference(uint32_t string_offset) { in TestStringReference() argument 389 string_index_to_offset_map_.Put(kStringIndex, string_offset); in TestStringReference() 394 CheckPcRelativePatch(ArrayRef<const LinkerPatch>(patches), string_offset); in TestStringReference()
|
/art/runtime/ |
D | runtime_image.cc | 1366 uint32_t string_offset = CopyObject(str); in CopyDexCache() local 1367 uint32_t address = image_begin_ + string_offset + sizeof(ImageHeader); in CopyDexCache() 1503 uint32_t string_offset = CopyObject(str); in TryInitializeClass() local 1506 uint32_t address = image_begin_ + string_offset + sizeof(ImageHeader); in TryInitializeClass()
|