Home
last modified time | relevance | path

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

/art/runtime/
Ddex_file_verifier.cc408 uint32_t value_arg = header_byte >> DexFile::kDexAnnotationValueArgShift; in CheckEncodedValue() local
412 if (value_arg != 0) { in CheckEncodedValue()
413 LOG(ERROR) << StringPrintf("Bad encoded_value byte size %x", value_arg); in CheckEncodedValue()
420 if (value_arg > 1) { in CheckEncodedValue()
421 LOG(ERROR) << StringPrintf("Bad encoded_value char/short size %x", value_arg); in CheckEncodedValue()
424 ptr_ += value_arg + 1; in CheckEncodedValue()
428 if (value_arg > 3) { in CheckEncodedValue()
429 LOG(ERROR) << StringPrintf("Bad encoded_value int/float size %x", value_arg); in CheckEncodedValue()
432 ptr_ += value_arg + 1; in CheckEncodedValue()
436 ptr_ += value_arg + 1; in CheckEncodedValue()
[all …]
Ddex_file.cc965 byte value_arg = value_type >> kEncodedValueArgShift; in Next() local
966 size_t width = value_arg + 1; // assume and correct later in Next()
970 jval_.i = (value_arg != 0) ? 1 : 0; in Next()
974 jval_.i = ReadSignedInt(ptr_, value_arg); in Next()
978 jval_.i = ReadSignedInt(ptr_, value_arg); in Next()
982 jval_.i = ReadUnsignedInt(ptr_, value_arg, false); in Next()
986 jval_.i = ReadSignedInt(ptr_, value_arg); in Next()
989 jval_.j = ReadSignedLong(ptr_, value_arg); in Next()
992 jval_.i = ReadUnsignedInt(ptr_, value_arg, true); in Next()
995 jval_.j = ReadUnsignedLong(ptr_, value_arg, true); in Next()
[all …]