Searched refs:code_ (Results 1 – 6 of 6) sorted by relevance
/frameworks/libs/binary_translation/assembler/include/berberis/assembler/ |
D | common.h | 35 explicit AssemblerBase(MachineCode* code) : jumps_(code->arena()), code_(code) {} in AssemblerBase() 62 uint32_t pc() const { return code_->code_offset(); } in pc() 90 void Emit8(uint8_t v) { code_->AddU8(v); } in Emit8() 92 void Emit16(int16_t v) { code_->Add<int16_t>(v); } in Emit16() 94 void Emit32(int32_t v) { code_->Add<int32_t>(v); } in Emit32() 96 void Emit64(int64_t v) { code_->Add<int64_t>(v); } in Emit64() 100 code_->AddSequence(v, sizeof(T) * count); in EmitSequence() 105 Label* MakeLabel() { return NewInArena<Label>(code_->arena()); } in MakeLabel() 114 return code_->AddrAs<T>(offset); in AddrAs() 118 code_->AddRelocation(dst, type, pc, data); in AddRelocation() [all …]
|
D | machine_code.h | 50 MachineCode() : code_(&arena_), relocations_(&arena_) { in MachineCode() 52 code_.reserve(1024); in MachineCode() 58 [[nodiscard]] uint32_t install_size() const { return code_.size(); } in install_size() 60 [[nodiscard]] uint32_t code_offset() const { return code_.size(); } in code_offset() 82 void AddU8(uint8_t v) { code_.push_back(v); } in AddU8() 94 exec->Write(code, AddrAs<uint8_t>(0), code_.size()); in Install() 100 memcpy(code, AddrAs<uint8_t>(0), code_.size()); in InstallUnsafe() 123 ArenaVector<uint8_t> code_; variable
|
/frameworks/libs/binary_translation/assembler/ |
D | machine_code.cc | 27 CHECK_LT(offset, code_.size()); in AddrOf() 28 return &code_[offset]; in AddrOf() 32 CHECK_LT(offset, code_.size()); in AddrOf() 33 return &code_[offset]; in AddrOf() 37 size_t old_size = code_.size(); in Grow() 38 code_.resize(old_size + count); in Grow() 47 for (uint8_t insn : code_) { in AsString()
|
/frameworks/libs/binary_translation/tools/nogrod/ |
D | dwarf_abbrev.h | 202 [[nodiscard]] uint64_t code() const { return code_; } in code() 209 uint64_t code_;
|
D | dwarf_abbrev.cc | 1028 DwarfAbbrev::DwarfAbbrev() : code_(0), tag_(0), has_children_(false) {} in DwarfAbbrev() 1031 : code_(code), tag_(tag), has_children_(has_children) {} in DwarfAbbrev()
|
/frameworks/libs/binary_translation/decoder/include/berberis/decoder/riscv64/ |
D | decoder.h | 1038 code_ = *code; in Decode() 1044 memcpy(&code_, code, sizeof(code_)); in Decode() 1573 uint32_t shifted_val = code_ << (32 - start - size); in GetBits() 2334 uint32_t code_; variable
|