Home
last modified time | relevance | path

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

/art/runtime/
Ddex_file_verifier.cc528 uint32_t value_arg = header_byte >> DexFile::kDexAnnotationValueArgShift; in CheckEncodedValue() local
532 if (UNLIKELY(value_arg != 0)) { in CheckEncodedValue()
533 ErrorStringPrintf("Bad encoded_value byte size %x", value_arg); in CheckEncodedValue()
540 if (UNLIKELY(value_arg > 1)) { in CheckEncodedValue()
541 ErrorStringPrintf("Bad encoded_value char/short size %x", value_arg); in CheckEncodedValue()
544 ptr_ += value_arg + 1; in CheckEncodedValue()
548 if (UNLIKELY(value_arg > 3)) { in CheckEncodedValue()
549 ErrorStringPrintf("Bad encoded_value int/float size %x", value_arg); in CheckEncodedValue()
552 ptr_ += value_arg + 1; in CheckEncodedValue()
556 ptr_ += value_arg + 1; in CheckEncodedValue()
[all …]
Ddex_file.cc1147 byte value_arg = value_type >> kEncodedValueArgShift; in Next() local
1148 size_t width = value_arg + 1; // assume and correct later in Next()
1152 jval_.i = (value_arg != 0) ? 1 : 0; in Next()
1156 jval_.i = ReadSignedInt(ptr_, value_arg); in Next()
1160 jval_.i = ReadSignedInt(ptr_, value_arg); in Next()
1164 jval_.i = ReadUnsignedInt(ptr_, value_arg, false); in Next()
1168 jval_.i = ReadSignedInt(ptr_, value_arg); in Next()
1171 jval_.j = ReadSignedLong(ptr_, value_arg); in Next()
1174 jval_.i = ReadUnsignedInt(ptr_, value_arg, true); in Next()
1177 jval_.j = ReadUnsignedLong(ptr_, value_arg, true); in Next()
[all …]