Searched refs:u1 (Results 1 – 16 of 16) sorted by relevance
/tools/dexter/slicer/export/slicer/ |
D | dex_format.h | 30 typedef uint8_t u1; typedef 45 constexpr u1 kVisibilityBuild = 0x00; 46 constexpr u1 kVisibilityRuntime = 0x01; 47 constexpr u1 kVisibilitySystem = 0x02; 50 constexpr u1 kVisibilityEncoded = 0xff; 53 constexpr u1 kEncodedByte = 0x00; 54 constexpr u1 kEncodedShort = 0x02; 55 constexpr u1 kEncodedChar = 0x03; 56 constexpr u1 kEncodedInt = 0x04; 57 constexpr u1 kEncodedLong = 0x06; [all …]
|
D | dex_leb128.h | 28 inline u4 ReadULeb128(const u1** pptr) { in ReadULeb128() 29 const u1* ptr = *pptr; in ReadULeb128() 58 inline s4 ReadSLeb128(const u1** pptr) { in ReadSLeb128() 59 const u1* ptr = *pptr; in ReadSLeb128() 96 inline u1* WriteULeb128(u1* ptr, u4 data) { in WriteULeb128() 98 u1 out = data & 0x7f; in WriteULeb128() 112 inline u1* WriteSLeb128(u1* ptr, s4 value) { in WriteSLeb128() 114 u1 out = value & 0x7f; in WriteSLeb128()
|
D | reader.h | 39 Reader(const dex::u1* image, size_t size); 80 ir::FieldAnnotation* ParseFieldAnnotation(const dex::u1** pptr); 81 ir::MethodAnnotation* ParseMethodAnnotation(const dex::u1** pptr); 82 ir::ParamAnnotation* ParseParamAnnotation(const dex::u1** pptr); 83 ir::EncodedField* ParseEncodedField(const dex::u1** pptr, dex::u4* baseIndex); 84 ir::Annotation* ParseAnnotation(const dex::u1** pptr); 88 ir::EncodedValue* ParseEncodedValue(const dex::u1** pptr); 89 ir::EncodedArray* ParseEncodedArray(const dex::u1** pptr); 94 ir::EncodedMethod* ParseEncodedMethod(const dex::u1** pptr, dex::u4* baseIndex); 129 const dex::u1* GetStringData(dex::u4 index) const { in GetStringData() [all …]
|
D | buffer.h | 131 dex::u1 tmp[4]; in PushULeb128() 132 dex::u1* end = dex::WriteULeb128(tmp, value); in PushULeb128() 138 dex::u1 tmp[4]; in PushSLeb128() 139 dex::u1* end = dex::WriteSLeb128(tmp, value); in PushSLeb128() 155 const dex::u1* data() const { in data() 165 buff_ = static_cast<dex::u1*>(::realloc(buff_, capacity_)); in Expand() 172 dex::u1* buff_ = nullptr;
|
D | dex_bytecode.h | 43 enum Opcode : u1 { 50 enum InstructionFormat : u1 { 60 using OpcodeFlags = u1; 106 enum InstructionIndexType : u1 { 153 u1 data[]; 161 u1 flags; // Set of Flags.
|
D | dex_ir.h | 132 dex::u1 type; 167 const dex::u1* strData = data.ptr<dex::u1>(); in c_str() 277 dex::u1 visibility;
|
D | code_ir.h | 414 dex::u1 dbg_opcode = 0; 417 explicit DbgInfoAnnotation(dex::u1 dbg_opcode) : dbg_opcode(dbg_opcode) {} in DbgInfoAnnotation()
|
D | writer.h | 188 dex::u1* CreateImage(Allocator* allocator, size_t* new_image_size);
|
/tools/dexter/slicer/ |
D | debuginfo_encoder.cc | 38 dbginfo_.Push<dex::u1>(dex::DBG_ADVANCE_PC); in Visit() 63 dbginfo_.Push<dex::u1>(dex::DBG_ADVANCE_LINE); in Visit() 68 dex::u1 special_opcode = dex::DBG_FIRST_SPECIAL + adj_opcode; in Visit() 69 dbginfo_.Push<dex::u1>(special_opcode); in Visit() 78 dbginfo_.Push<dex::u1>(dex::DBG_START_LOCAL); in Visit() 89 dbginfo_.Push<dex::u1>(dex::DBG_START_LOCAL_EXTENDED); in Visit() 99 dbginfo_.Push<dex::u1>(dbg_annotation->dbg_opcode); in Visit() 105 dbginfo_.Push<dex::u1>(dbg_annotation->dbg_opcode); in Visit() 112 dbginfo_.Push<dex::u1>(dex::DBG_SET_FILE); in Visit() 142 dbginfo_.Push<dex::u1>(dex::DBG_END_SEQUENCE); in Encode()
|
D | reader.cc | 30 Reader::Reader(const dex::u1* image, size_t size) : image_(image), size_(size) { in Reader() 102 const dex::u1* strData = GetStringData(index); in GetStringMUTF8() 282 const dex::u1* class_data = dataPtr<dex::u1>(dex_class_def.class_data_off); in ParseClass() 338 const dex::u1* ptr = reinterpret_cast<const dex::u1*>(dex_annotations + 1); in ExtractAnnotations() 362 const dex::u1* ptr = dexAnnotationItem->annotation; in ExtractAnnotationItem() 409 ir::FieldAnnotation* Reader::ParseFieldAnnotation(const dex::u1** pptr) { in ParseFieldAnnotation() 423 ir::MethodAnnotation* Reader::ParseMethodAnnotation(const dex::u1** pptr) { in ParseMethodAnnotation() 438 ir::ParamAnnotation* Reader::ParseParamAnnotation(const dex::u1** pptr) { in ParseParamAnnotation() 453 ir::EncodedField* Reader::ParseEncodedField(const dex::u1** pptr, dex::u4* base_index) { in ParseEncodedField() 473 static T ParseIntValue(const dex::u1** pptr, size_t size) { in ParseIntValue() [all …]
|
D | writer.cc | 41 static void WriteEncodedValueHeader(dex::u1 type, int arg, Section& data) { in WriteEncodedValueHeader() 44 dex::u1 header = dex::u1(type | (arg << dex::kEncodedValueArgShift)); in WriteEncodedValueHeader() 45 data.Push<dex::u1>(header); in WriteEncodedValueHeader() 50 static void WriteIntValue(dex::u1 type, T value, Section& data) { in WriteIntValue() 51 dex::u1 buff[sizeof(T)] = {}; in WriteIntValue() 52 dex::u1* dst = buff; in WriteIntValue() 76 static void WriteFloatValue(dex::u1 type, T value, Section& data) { in WriteFloatValue() 77 dex::u1 buff[sizeof(T)] = {}; in WriteFloatValue() 78 auto src = reinterpret_cast<const dex::u1*>(&value); in WriteFloatValue() 104 dex::u1 type = ir_value->type; in WriteEncodedValue() [all …]
|
D | dex_format.cc | 36 const u1* start = reinterpret_cast<const u1*>(header); in ComputeChecksum()
|
D | code_ir.cc | 70 const dex::u1* ptr = in DisassembleTryBlocks() 71 ir_code->catch_handlers.ptr<dex::u1>() + tryBlock.handler_off; in DisassembleTryBlocks() 144 const dex::u1* ptr = ir_debug_info->data.ptr<dex::u1>(); in DisassembleDebugInfo() 145 dex::u1 opcode = 0; in DisassembleDebugInfo()
|
D | bytecode_encoder.cc | 606 SLICER_CHECK(reinterpret_cast<dex::u1*>(payload->targets + payload->size) <= in FixupPackedSwitch() 625 SLICER_CHECK(reinterpret_cast<dex::u1*>(targets + payload->size) <= in FixupSparseSwitch()
|
/tools/test/connectivity/acts/framework/acts/ |
D | logger.py | 131 for u1, u2 in zip(dt1, dt2): 132 if u1 < u2: 134 elif u1 > u2:
|
/tools/dexter/dexter/ |
D | dexter.cc | 278 dex::u1* new_image = nullptr; in CreateNewImage() 351 std::unique_ptr<dex::u1[]> in_buff(new dex::u1[in_size]); in ProcessDex()
|