Searched refs:GenNopsAndBl (Results 1 – 2 of 2) sorted by relevance
/art/dex2oat/linker/arm/ |
D | relative_patcher_thumb2_test.cc | 265 std::vector<uint8_t> GenNopsAndBl(size_t num_nops, uint32_t bl) { in GenNopsAndBl() function in art::linker::Thumb2RelativePatcherTest 443 auto method2_expected_code = GenNopsAndBl(0u, kBlMinus256 | ((diff_before >> 1) & 0xffu)); in TEST_F() 458 auto expected_code = GenNopsAndBl(0u, kBlMinus256 | ((diff >> 1) & 0xffu)); in TEST_F() 464 auto last_method_raw_code = GenNopsAndBl(3u, kBlPlus0); in TEST_F() 492 auto expected_code = GenNopsAndBl(3u, kBlPlus0 | ((diff >> 1) & 0xffu)); in TEST_F() 499 auto method1_raw_code = GenNopsAndBl(3u, kBlPlus0); in TEST_F() 517 auto expected_code = GenNopsAndBl(3u, kBlPlusMax); in TEST_F() 522 auto last_method_raw_code = GenNopsAndBl(2u, kBlPlus0); in TEST_F() 541 auto expected_code = GenNopsAndBl(2u, kBlMinusMax); in TEST_F() 547 auto method1_raw_code = GenNopsAndBl(2u, kBlPlus0); in TEST_F() [all …]
|
/art/dex2oat/linker/arm64/ |
D | relative_patcher_arm64_test.cc | 247 std::vector<uint8_t> GenNopsAndBl(size_t num_nops, uint32_t bl) { in GenNopsAndBl() function in art::linker::Arm64RelativePatcherTest 611 auto method2_expected_code = GenNopsAndBl(0u, kBlPlus0 | ((diff_before >> 2) & 0x03ffffffu)); in TEST_F() 626 auto expected_code = GenNopsAndBl(0u, kBlPlus0 | ((diff >> 2) & 0x03ffffffu)); in TEST_F() 632 auto last_method_raw_code = GenNopsAndBl(1u, kBlPlus0); in TEST_F() 659 auto expected_code = GenNopsAndBl(1u, kBlPlus0 | (diff >> 2)); in TEST_F() 666 auto method1_raw_code = GenNopsAndBl(1u, kBlPlus0); in TEST_F() 688 auto expected_code = GenNopsAndBl(1u, kBlPlusMax); in TEST_F() 693 auto last_method_raw_code = GenNopsAndBl(0u, kBlPlus0); in TEST_F() 712 auto expected_code = GenNopsAndBl(0u, kBlMinusMax); in TEST_F() 718 auto method1_raw_code = GenNopsAndBl(0u, kBlPlus0); in TEST_F() [all …]
|