Home
last modified time | relevance | path

Searched refs:ExecRegion (Results 1 – 12 of 12) sorted by relevance

/frameworks/libs/binary_translation/base/include/berberis/base/
Dexec_region.h37 class ExecRegion {
39 ExecRegion() = default;
40 explicit ExecRegion(uint8_t* exec, uint8_t* write, size_t size) in ExecRegion() function
43 ExecRegion(const ExecRegion& other) = delete;
44 ExecRegion& operator=(const ExecRegion& other) = delete;
46 ExecRegion(ExecRegion&& other) noexcept { in ExecRegion() function
55 ExecRegion& operator=(ExecRegion&& other) noexcept {
Dexec_region_elf_backed.h34 static ExecRegion Create(size_t size);
Dexec_region_anonymous.h32 static ExecRegion Create(size_t size);
/frameworks/libs/binary_translation/base/
Dexec_region_test.cc28 TEST(ExecRegion, Move) { in TEST() argument
29 ExecRegion exec = ExecRegionAnonymousFactory::Create(1); in TEST()
33 ExecRegion other_exec = std::move(exec); in TEST()
44 TEST(ExecRegion, SelfMove) { in TEST() argument
45 ExecRegion exec = ExecRegionAnonymousFactory::Create(1); in TEST()
Dexec_region.cc25 void ExecRegion::Write(const uint8_t* dst, const void* src, size_t size) { in Write()
33 void ExecRegion::Detach() { in Detach()
40 void ExecRegion::Free() { in Free()
Dexec_region_anonymous.cc26 ExecRegion ExecRegionAnonymousFactory::Create(size_t size) { in Create()
32 ExecRegion result{ in Create()
Dexec_region_elf_backed.cc40 ExecRegion ExecRegionElfBackedFactory::Create(size_t size) { in Create()
63 ExecRegion result{ in Create()
Dexec_region_anonymous_test.cc30 ExecRegion exec = ExecRegionAnonymousFactory::Create(sizeof(buf)); in TEST()
Dexec_region_elf_backed_test.cc30 ExecRegion exec = ExecRegionElfBackedFactory::Create(sizeof(buf)); in TEST()
/frameworks/libs/binary_translation/runtime_primitives/
Dcode_pool_test.cc34 static ExecRegion Create(size_t size) { return impl_->CreateImpl(size); } in Create()
36 MOCK_METHOD(ExecRegion, CreateImpl, (size_t));
73 return ExecRegion{first_exec_region_memory_exec, in TEST()
78 return ExecRegion{second_exec_region_memory_exec, in TEST()
/frameworks/libs/binary_translation/test_utils/include/berberis/test_utils/
Dscoped_exec_region.h54 ExecRegion exec_;
/frameworks/libs/binary_translation/runtime_primitives/include/berberis/runtime_primitives/
Dcode_pool.h85 ExecRegion exec_;