Home
last modified time | relevance | path

Searched refs:num_nops (Results 1 – 2 of 2) sorted by relevance

/art/dex2oat/linker/arm64/
Drelative_patcher_arm64_test.cc238 std::vector<uint8_t> GenNops(size_t num_nops) { in GenNops() argument
240 result.reserve(num_nops * 4u); in GenNops()
241 for (size_t i = 0; i != num_nops; ++i) { in GenNops()
247 std::vector<uint8_t> GenNopsAndBl(size_t num_nops, uint32_t bl) { in GenNopsAndBl() argument
249 result.reserve(num_nops * 4u + 4u); in GenNopsAndBl()
250 for (size_t i = 0; i != num_nops; ++i) { in GenNopsAndBl()
257 std::vector<uint8_t> GenNopsAndAdrpAndUse(size_t num_nops, in GenNopsAndAdrpAndUse() argument
262 result.reserve(num_nops * 4u + 8u); in GenNopsAndAdrpAndUse()
263 for (size_t i = 0; i != num_nops; ++i) { in GenNopsAndAdrpAndUse()
268 uint32_t adrp_offset = method_offset + num_nops * 4u; in GenNopsAndAdrpAndUse()
[all …]
/art/dex2oat/linker/arm/
Drelative_patcher_thumb2_test.cc101 std::vector<uint8_t> GenNops(size_t num_nops) { in GenNops() argument
103 result.reserve(num_nops * 2u); in GenNops()
104 for (size_t i = 0; i != num_nops; ++i) { in GenNops()
265 std::vector<uint8_t> GenNopsAndBl(size_t num_nops, uint32_t bl) { in GenNopsAndBl() argument
267 result.reserve(num_nops * 2u + 4u); in GenNopsAndBl()
268 for (size_t i = 0; i != num_nops; ++i) { in GenNopsAndBl()