Lines Matching refs:u1
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()
190 auto ptr = data.ptr<const dex::u1>(offset); in WriteEncodedValue()
220 static void CopySection(const T& section, dex::u1* image, dex::u4 image_size) { in CopySection()
244 dex::u1* Writer::CreateImage(Allocator* allocator, size_t* new_image_size) { in CreateImage()
297 dex::u1* image = static_cast<dex::u1*>(allocator->Allocate(image_size)); in CreateImage()
651 data.Push<dex::u1>(ir_annotation->visibility); in WriteAnnotationItem()
763 const dex::u1* src = ir_debug_info->data.ptr<dex::u1>(); in WriteDebugInfo()
764 dex::u1 opcode = 0; in WriteDebugInfo()
766 data.Push<dex::u1>(opcode); in WriteDebugInfo()
816 data.Push<dex::u1>(dex::DBG_END_SEQUENCE); in WriteDebugInfo()
908 auto original_list = irCode->catch_handlers.ptr<dex::u1>(); in WriteTryBlocks()