Home
last modified time | relevance | path

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

/art/runtime/
Ddex_file_verifier.cc605 uint32_t value_arg = header_byte >> DexFile::kDexAnnotationValueArgShift; in CheckEncodedValue() local
609 if (UNLIKELY(value_arg != 0)) { in CheckEncodedValue()
610 ErrorStringPrintf("Bad encoded_value byte size %x", value_arg); in CheckEncodedValue()
617 if (UNLIKELY(value_arg > 1)) { in CheckEncodedValue()
618 ErrorStringPrintf("Bad encoded_value char/short size %x", value_arg); in CheckEncodedValue()
621 ptr_ += value_arg + 1; in CheckEncodedValue()
625 if (UNLIKELY(value_arg > 3)) { in CheckEncodedValue()
626 ErrorStringPrintf("Bad encoded_value int/float size %x", value_arg); in CheckEncodedValue()
629 ptr_ += value_arg + 1; in CheckEncodedValue()
633 ptr_ += value_arg + 1; in CheckEncodedValue()
[all …]
Ddex_file.cc1846 uint8_t value_arg = header_byte >> kDexAnnotationValueArgShift; in ProcessAnnotationValue() local
1847 int32_t width = value_arg + 1; in ProcessAnnotationValue()
1852 annotation_value->value_.SetB(static_cast<int8_t>(ReadSignedInt(annotation, value_arg))); in ProcessAnnotationValue()
1856 annotation_value->value_.SetS(static_cast<int16_t>(ReadSignedInt(annotation, value_arg))); in ProcessAnnotationValue()
1860 annotation_value->value_.SetC(static_cast<uint16_t>(ReadUnsignedInt(annotation, value_arg, in ProcessAnnotationValue()
1865 annotation_value->value_.SetI(ReadSignedInt(annotation, value_arg)); in ProcessAnnotationValue()
1869 annotation_value->value_.SetJ(ReadSignedLong(annotation, value_arg)); in ProcessAnnotationValue()
1873 annotation_value->value_.SetI(ReadUnsignedInt(annotation, value_arg, true)); in ProcessAnnotationValue()
1877 annotation_value->value_.SetJ(ReadUnsignedLong(annotation, value_arg, true)); in ProcessAnnotationValue()
1881 annotation_value->value_.SetZ(value_arg != 0); in ProcessAnnotationValue()
[all …]