Lines Matching refs:dex
34 namespace dex {
49 class TrackingAllocator : public ::dex::Writer::Allocator {
95 ir::Proto* Encode(DexBuilder* dex) const;
333 MethodBuilder(DexBuilder* dex, ir::Class* class_def, ir::MethodDecl* decl);
369 void EncodeReturn(const Instruction& instruction, ::dex::Opcode opcode);
372 void EncodeInvoke(const Instruction& instruction, ::dex::Opcode opcode);
373 void EncodeBranch(::dex::Opcode op, const Instruction& instruction);
382 inline uint8_t ToBits(::dex::Opcode opcode) { in ToBits()
383 static_assert(sizeof(uint8_t) == sizeof(::dex::Opcode)); in ToBits()
387 inline void Encode10x(::dex::Opcode opcode) { in Encode10x()
389 static_assert(sizeof(uint8_t) == sizeof(::dex::Opcode)); in Encode10x()
393 inline void Encode11x(::dex::Opcode opcode, uint8_t a) { in Encode11x()
398 inline void Encode11n(::dex::Opcode opcode, uint8_t a, int8_t b) { in Encode11n()
409 inline void Encode21c(::dex::Opcode opcode, uint8_t a, uint16_t b) { in Encode21c()
415 inline void Encode22c(::dex::Opcode opcode, uint8_t a, uint8_t b, uint16_t c) { in Encode22c()
423 inline void Encode32x(::dex::Opcode opcode, uint16_t a, uint16_t b) { in Encode32x()
429 inline void Encode35c(::dex::Opcode opcode, size_t a, uint16_t b, uint8_t c, uint8_t d, in Encode35c()
444 inline void Encode3rc(::dex::Opcode opcode, size_t a, uint16_t b, uint16_t c) { in Encode3rc()
474 ::dex::u2 LabelValue(const Value& label, size_t instruction_offset, size_t field_offset);
484 std::vector<::dex::u2> buffer_;