Home
last modified time | relevance | path

Searched refs:encoded_value (Results 1 – 4 of 4) sorted by relevance

/art/dexlayout/
Ddex_writer.cc117 void DexWriter::WriteEncodedValue(Stream* stream, dex_ir::EncodedValue* encoded_value) { in WriteEncodedValue() argument
121 int8_t type = encoded_value->Type(); in WriteEncodedValue()
124 length = EncodeIntValue(encoded_value->GetByte(), buffer); in WriteEncodedValue()
127 length = EncodeIntValue(encoded_value->GetShort(), buffer); in WriteEncodedValue()
130 length = EncodeUIntValue(encoded_value->GetChar(), buffer); in WriteEncodedValue()
133 length = EncodeIntValue(encoded_value->GetInt(), buffer); in WriteEncodedValue()
136 length = EncodeLongValue(encoded_value->GetLong(), buffer); in WriteEncodedValue()
139 length = EncodeFloatValue(encoded_value->GetFloat(), buffer); in WriteEncodedValue()
143 length = EncodeDoubleValue(encoded_value->GetDouble(), buffer); in WriteEncodedValue()
147 length = EncodeUIntValue(encoded_value->GetProtoId()->GetIndex(), buffer); in WriteEncodedValue()
[all …]
Ddex_writer.h227 void WriteEncodedValue(Stream* stream, dex_ir::EncodedValue* encoded_value);
Ddex_ir_builder.cc680 std::unique_ptr<EncodedValue> encoded_value( in CreateAnnotationItem() local
687 encoded_value->ReleaseEncodedAnnotation()); in CreateAnnotationItem()
1098 const uint8_t encoded_value = *(*data)++; in ReadEncodedValue() local
1099 const uint8_t type = encoded_value & 0x1f; in ReadEncodedValue()
1101 ReadEncodedValue(dex_file, data, type, encoded_value >> 5, item); in ReadEncodedValue()
/art/runtime/interpreter/
Dinterpreter_common.cc638 const JValue* encoded_value, in GetArgumentForBootstrapMethod() argument
646 decoded_value->SetI(encoded_value->GetI()); in GetArgumentForBootstrapMethod()
650 decoded_value->SetJ(encoded_value->GetJ()); in GetArgumentForBootstrapMethod()
656 dex::ProtoIndex proto_idx(encoded_value->GetC()); in GetArgumentForBootstrapMethod()
668 uint32_t index = static_cast<uint32_t>(encoded_value->GetI()); in GetArgumentForBootstrapMethod()
679 dex::StringIndex index(static_cast<uint32_t>(encoded_value->GetI())); in GetArgumentForBootstrapMethod()
690 dex::TypeIndex index(static_cast<uint32_t>(encoded_value->GetI())); in GetArgumentForBootstrapMethod()
723 const JValue encoded_value = ConvertScalarBootstrapArgument(it->GetJavaValue()); in PackArgumentForBootstrapMethod() local
725 if (!GetArgumentForBootstrapMethod(self, referrer, type, &encoded_value, &decoded_value)) { in PackArgumentForBootstrapMethod()
780 const JValue encoded_value = \ in PackCollectorArrayForBootstrapMethod()
[all …]