Searched refs:ReadVarWidth (Results 1 – 1 of 1) sorted by relevance
/art/dexlayout/ |
D | dex_ir_builder.cc | 34 static uint64_t ReadVarWidth(const uint8_t** data, uint8_t length, bool sign_extend) { in ReadVarWidth() function 1121 item->SetByte(static_cast<int8_t>(ReadVarWidth(data, length, false))); in ReadEncodedValue() 1124 item->SetShort(static_cast<int16_t>(ReadVarWidth(data, length, true))); in ReadEncodedValue() 1127 item->SetChar(static_cast<uint16_t>(ReadVarWidth(data, length, false))); in ReadEncodedValue() 1130 item->SetInt(static_cast<int32_t>(ReadVarWidth(data, length, true))); in ReadEncodedValue() 1133 item->SetLong(static_cast<int64_t>(ReadVarWidth(data, length, true))); in ReadEncodedValue() 1141 conv.data = static_cast<uint32_t>(ReadVarWidth(data, length, false)) << (3 - length) * 8; in ReadEncodedValue() 1151 conv.data = ReadVarWidth(data, length, false) << (7 - length) * 8; in ReadEncodedValue() 1156 const uint32_t proto_index = static_cast<uint32_t>(ReadVarWidth(data, length, false)); in ReadEncodedValue() 1161 const uint32_t method_handle_index = static_cast<uint32_t>(ReadVarWidth(data, length, false)); in ReadEncodedValue() [all …]
|