Home
last modified time | relevance | path

Searched refs:install_size (Results 1 – 9 of 9) sorted by relevance

/frameworks/libs/binary_translation/lite_translator/riscv64_to_x86_64/
Dlite_translator_tests.cc50 int size1 = machine_code.install_size(); in TEST()
52 int size2 = machine_code.install_size(); in TEST()
56 int size3 = machine_code.install_size(); in TEST()
60 int size4 = machine_code.install_size(); in TEST()
70 int size1 = machine_code.install_size(); in TEST()
72 int size2 = machine_code.install_size(); in TEST()
76 int size3 = machine_code.install_size(); in TEST()
80 int size4 = machine_code.install_size(); in TEST()
89 size_t store_insn_base = machine_code.install_size(); in TEST()
91 size_t store_insn_size = machine_code.install_size() - store_insn_base; in TEST()
[all …]
/frameworks/libs/binary_translation/assembler/
Dmachine_code_test.cc37 ASSERT_GT(sizeof(out), mc.install_size()); in TEST()
63 ASSERT_GT(sizeof(out), mc.install_size()); in TEST()
92 ASSERT_GT(sizeof(out), mc.install_size()); in TEST()
Dassembler_test.cc52 if ((code_template_end - code_template_begin) != static_cast<intptr_t>(code.install_size())) { in CompareCode()
55 code.install_size()); in CompareCode()
59 if (memcmp(code_template_begin, code.AddrAs<uint8_t>(0), code.install_size()) != 0) { in CompareCode()
112 if (sizeof(code_template) != code.install_size()) { in AssemblerTest()
113 ALOGE("Code size mismatch: %zu != %u", sizeof(code_template), code.install_size()); in AssemblerTest()
117 if (memcmp(code_template, code.AddrAs<uint8_t>(0), code.install_size()) != 0) { in AssemblerTest()
416 if (sizeof(code_template) != code.install_size()) { in AssemblerTest()
417 ALOGE("Code size mismatch: %zu != %u", sizeof(code_template), code.install_size()); in AssemblerTest()
421 if (memcmp(code_template, code.AddrAs<uint8_t>(0), code.install_size()) != 0) { in AssemblerTest()
/frameworks/libs/binary_translation/runtime_primitives/
Dhost_function_wrapper_impl.cc53 pc, entry, is_host_func, {GetDefaultCodePoolInstance()->Add(&mc), mc.install_size()}); in MakeTrampolineCallable()
/frameworks/libs/binary_translation/test_utils/include/berberis/test_utils/
Dscoped_exec_region.h41 exec_ = ExecRegionAnonymousFactory::Create(code->install_size()); in Init()
/frameworks/libs/binary_translation/runtime_primitives/include/berberis/runtime_primitives/
Dcode_pool.h51 uint32_t size = code->install_size(); in Add()
/frameworks/libs/binary_translation/runtime/
Dtranslator_riscv64.cc119 ProfilerLogGeneratedCode(host_code, machine_code->install_size(), pc, size, prefix); in InstallTranslated()
120 return {host_code, machine_code->install_size()}; in InstallTranslated()
/frameworks/libs/binary_translation/assembler/include/berberis/assembler/
Dmachine_code.h58 [[nodiscard]] uint32_t install_size() const { return code_.size(); } in install_size() function
/frameworks/libs/binary_translation/code_gen_lib/
Dcode_gen_lib_riscv64_test.cc111 {generated_code_exec.get(), generated_code.install_size()}); in TEST()