Searched refs:value_arg (Results 1 – 6 of 6) sorted by relevance
/art/libdexfile/dex/ |
D | dex_file.cc | 632 uint8_t value_arg = value_type >> kEncodedValueArgShift; in Next() local 633 size_t width = value_arg + 1; // assume and correct later in Next() 637 jval_.i = (value_arg != 0) ? 1 : 0; in Next() 641 jval_.i = DexFile::ReadSignedInt(ptr_, value_arg); in Next() 645 jval_.i = DexFile::ReadSignedInt(ptr_, value_arg); in Next() 649 jval_.i = DexFile::ReadUnsignedInt(ptr_, value_arg, false); in Next() 653 jval_.i = DexFile::ReadSignedInt(ptr_, value_arg); in Next() 656 jval_.j = DexFile::ReadSignedLong(ptr_, value_arg); in Next() 659 jval_.i = DexFile::ReadUnsignedInt(ptr_, value_arg, true); in Next() 662 jval_.j = DexFile::ReadUnsignedLong(ptr_, value_arg, true); in Next() [all …]
|
D | dex_file_verifier.cc | 953 uint32_t value_arg = header_byte >> DexFile::kDexAnnotationValueArgShift; in CheckEncodedValue() local 957 if (UNLIKELY(value_arg != 0)) { in CheckEncodedValue() 958 ErrorStringPrintf("Bad encoded_value byte size %x", value_arg); in CheckEncodedValue() 965 if (UNLIKELY(value_arg > 1)) { in CheckEncodedValue() 966 ErrorStringPrintf("Bad encoded_value char/short size %x", value_arg); in CheckEncodedValue() 969 ptr_ += value_arg + 1; in CheckEncodedValue() 973 if (UNLIKELY(value_arg > 3)) { in CheckEncodedValue() 974 ErrorStringPrintf("Bad encoded_value int/float size %x", value_arg); in CheckEncodedValue() 977 ptr_ += value_arg + 1; in CheckEncodedValue() 981 ptr_ += value_arg + 1; in CheckEncodedValue() [all …]
|
/art/runtime/dex/ |
D | dex_file_annotations.cc | 210 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/runtime/mirror/ |
D | string.cc | 142 const uint8_t* value_arg = h_arg->GetValueCompressed(); in DoConcat() local 144 new_value[i + length_this] = value_arg[i]; in DoConcat()
|
/art/dexlayout/ |
D | dex_writer.h | 228 void WriteEncodedValueHeader(Stream* stream, int8_t value_type, size_t value_arg);
|
D | dex_writer.cc | 186 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()
|