Home
last modified time | relevance | path

Searched refs:value_arg (Results 1 – 5 of 5) sorted by relevance

/art/libdexfile/dex/
Ddex_file.cc614 uint8_t value_arg = value_type >> kEncodedValueArgShift; in Next() local
615 size_t width = value_arg + 1; // assume and correct later in Next()
619 jval_.i = (value_arg != 0) ? 1 : 0; in Next()
623 jval_.i = DexFile::ReadSignedInt(ptr_, value_arg); in Next()
627 jval_.i = DexFile::ReadSignedInt(ptr_, value_arg); in Next()
631 jval_.i = DexFile::ReadUnsignedInt(ptr_, value_arg, false); in Next()
635 jval_.i = DexFile::ReadSignedInt(ptr_, value_arg); in Next()
638 jval_.j = DexFile::ReadSignedLong(ptr_, value_arg); in Next()
641 jval_.i = DexFile::ReadUnsignedInt(ptr_, value_arg, true); in Next()
644 jval_.j = DexFile::ReadUnsignedLong(ptr_, value_arg, true); in Next()
[all …]
Ddex_file_verifier.cc957 uint32_t value_arg = header_byte >> DexFile::kDexAnnotationValueArgShift; in CheckEncodedValue() local
961 if (UNLIKELY(value_arg != 0)) { in CheckEncodedValue()
962 ErrorStringPrintf("Bad encoded_value byte size %x", value_arg); in CheckEncodedValue()
969 if (UNLIKELY(value_arg > 1)) { in CheckEncodedValue()
970 ErrorStringPrintf("Bad encoded_value char/short size %x", value_arg); in CheckEncodedValue()
973 ptr_ += value_arg + 1; in CheckEncodedValue()
977 if (UNLIKELY(value_arg > 3)) { in CheckEncodedValue()
978 ErrorStringPrintf("Bad encoded_value int/float size %x", value_arg); in CheckEncodedValue()
981 ptr_ += value_arg + 1; in CheckEncodedValue()
985 ptr_ += value_arg + 1; in CheckEncodedValue()
[all …]
/art/runtime/dex/
Ddex_file_annotations.cc210 uint8_t value_arg = header_byte >> DexFile::kDexAnnotationValueArgShift; in SkipAnnotationValue() local
211 int32_t width = value_arg + 1; in SkipAnnotationValue()
429 uint8_t value_arg = header_byte >> DexFile::kDexAnnotationValueArgShift; in ProcessAnnotationValue() local
430 int32_t width = value_arg + 1; in ProcessAnnotationValue()
436 static_cast<int8_t>(DexFile::ReadSignedInt(annotation, value_arg))); in ProcessAnnotationValue()
441 static_cast<int16_t>(DexFile::ReadSignedInt(annotation, value_arg))); in ProcessAnnotationValue()
446 static_cast<uint16_t>(DexFile::ReadUnsignedInt(annotation, value_arg, false))); in ProcessAnnotationValue()
450 annotation_value->value_.SetI(DexFile::ReadSignedInt(annotation, value_arg)); in ProcessAnnotationValue()
454 annotation_value->value_.SetJ(DexFile::ReadSignedLong(annotation, value_arg)); in ProcessAnnotationValue()
458 annotation_value->value_.SetI(DexFile::ReadUnsignedInt(annotation, value_arg, true)); in ProcessAnnotationValue()
[all …]
/art/dexlayout/
Ddex_writer.h228 void WriteEncodedValueHeader(Stream* stream, int8_t value_type, size_t value_arg);
Ddex_writer.cc186 void DexWriter::WriteEncodedValueHeader(Stream* stream, int8_t value_type, size_t value_arg) { in WriteEncodedValueHeader() argument
187 uint8_t buffer[1] = { static_cast<uint8_t>((value_arg << 5) | value_type) }; in WriteEncodedValueHeader()