Searched refs:AddrAs (Results 1 – 5 of 5) sorted by relevance
/frameworks/libs/binary_translation/assembler/include/berberis/assembler/ |
D | machine_code.h | 63 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()
|
D | common.h | 113 T* AddrAs(uint32_t offset) { in AddrAs() function 114 return code_->AddrAs<T>(offset); in AddrAs()
|
D | common_x86.h | 775 *AddrAs<int32_t>(pc) += offset; in ResolveJumps()
|
/frameworks/libs/binary_translation/assembler/ |
D | machine_code.cc | 62 *AddrAs<int32_t>(rel.dst) = disp; in PerformRelocations()
|
D | assembler_test.cc | 59 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()
|