Lines Matching defs:CodeItem
87 struct CodeItem : public dex::CodeItem { struct
93 CodeItem() = default; argument
95 static constexpr size_t kRegistersSizeShift = 12;
96 static constexpr size_t kInsSizeShift = 8;
97 static constexpr size_t kOutsSizeShift = 4;
98 static constexpr size_t kTriesSizeSizeShift = 0;
99 static constexpr uint16_t kFlagPreHeaderRegisterSize = 0x1 << 0;
100 static constexpr uint16_t kFlagPreHeaderInsSize = 0x1 << 1;
101 static constexpr uint16_t kFlagPreHeaderOutsSize = 0x1 << 2;
102 static constexpr uint16_t kFlagPreHeaderTriesSize = 0x1 << 3;
103 static constexpr uint16_t kFlagPreHeaderInsnsSize = 0x1 << 4;
104 static constexpr size_t kInsnsSizeShift = 5;
105 static constexpr size_t kInsnsSizeBits = sizeof(uint16_t) * kBitsPerByte - kInsnsSizeShift;
108 static constexpr uint16_t kFlagPreHeaderCombined =
118 uint16_t* Create(uint16_t registers_size, in Create()
164 ALWAYS_INLINE bool HasPreHeader(uint16_t flag) const { in HasPreHeader()
169 ALWAYS_INLINE static bool HasAnyPreHeader(uint16_t insns_count_and_flags) { in HasAnyPreHeader()
173 ALWAYS_INLINE uint16_t* GetPreHeader() { in GetPreHeader()
177 ALWAYS_INLINE const uint16_t* GetPreHeader() const { in GetPreHeader()
184 ALWAYS_INLINE void DecodeFields(uint32_t* insns_count, in DecodeFields()
240 friend class CodeItemDataAccessor; argument
241 friend class CodeItemDebugInfoAccessor; argument
242 friend class CodeItemInstructionAccessor; argument
245 DISALLOW_COPY_AND_ASSIGN(CodeItem); argument