Home
last modified time | relevance | path

Searched refs:AddrAs (Results 1 – 5 of 5) sorted by relevance

/frameworks/libs/binary_translation/assembler/include/berberis/assembler/
Dmachine_code.h63 T* AddrAs(uint32_t offset) { in AddrAs() function
68 [[nodiscard]] const T* AddrAs(uint32_t offset) const { in AddrAs() function
74 memcpy(AddrAs<T>(Grow(sizeof(T))), &v, sizeof(T)); in Add()
79 memcpy(AddrAs<T>(Grow(sizeof(T) * count)), v, sizeof(T) * count); in AddSequence()
94 exec->Write(code, AddrAs<uint8_t>(0), code_.size()); in Install()
100 memcpy(code, AddrAs<uint8_t>(0), code_.size()); in InstallUnsafe()
Dcommon.h113 T* AddrAs(uint32_t offset) { in AddrAs() function
114 return code_->AddrAs<T>(offset); in AddrAs()
Dcommon_x86.h775 *AddrAs<int32_t>(pc) += offset; in ResolveJumps()
/frameworks/libs/binary_translation/assembler/
Dmachine_code.cc62 *AddrAs<int32_t>(rel.dst) = disp; in PerformRelocations()
Dassembler_test.cc59 if (memcmp(code_template_begin, code.AddrAs<uint8_t>(0), code.install_size()) != 0) { in CompareCode()
117 if (memcmp(code_template, code.AddrAs<uint8_t>(0), code.install_size()) != 0) { in AssemblerTest()
421 if (memcmp(code_template, code.AddrAs<uint8_t>(0), code.install_size()) != 0) { in AssemblerTest()