Home
last modified time | relevance | path

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

/arkcompiler/runtime_core/compiler/tests/
Dencoders_test.cpp199 static constexpr size_t code_offset = 16; in TEST_F() local
200 … static constexpr size_t buf_size = (MAX_INT21_VALUE - vixl::aarch64::kPageSize) * 2 + code_offset; in TEST_F()
217 TestOffset(buf_size, MAX_INT21_VALUE + vixl::aarch64::kPageSize + code_offset + 8); in TEST_F()
219 TestOffset(buf_size, MAX_INT21_VALUE + vixl::aarch64::kPageSize + code_offset - 8); in TEST_F()
Dcode_info_test.cpp51 size_t code_offset = CodeInfo::GetCodeOffset(RUNTIME_ARCH) + DUMMY_CODE_SIZE; in EmitCode() local
52 data.resize(code_offset); in EmitCode()
56 prefix->code_info_offset = code_offset; in EmitCode()
57 prefix->code_info_size = data.size() - code_offset; in EmitCode()