/art/runtime/ |
D | mapping_table.h | 36 return DecodeUnsignedLeb128(&table); in TotalSize() 45 uint32_t total_size = DecodeUnsignedLeb128(&table); in DexToPcSize() 46 uint32_t pc_to_dex_size = DecodeUnsignedLeb128(&table); in DexToPcSize() 54 uint32_t total_size = DecodeUnsignedLeb128(&table); in FirstDexToPcPtr() 55 uint32_t pc_to_dex_size = DecodeUnsignedLeb128(&table); in FirstDexToPcPtr() 59 DecodeUnsignedLeb128(&table); // Move ptr past native PC delta. in FirstDexToPcPtr() 74 native_pc_offset_ = DecodeUnsignedLeb128(&encoded_table_ptr_); in DexToPcIterator() 91 native_pc_offset_ += DecodeUnsignedLeb128(&encoded_table_ptr_); 128 DecodeUnsignedLeb128(&table); // Total_size, unused. in PcToDexSize() 129 uint32_t pc_to_dex_size = DecodeUnsignedLeb128(&table); in PcToDexSize() [all …]
|
D | quicken_info.h | 48 num_elements_(!data.empty() ? DecodeUnsignedLeb128(&data_) : 0u) {} in QuickenInfoTable()
|
D | class_linker.cc | 4869 uint32_t handlers_size = DecodeUnsignedLeb128(&handlers_ptr); in ResolveMethodExceptionHandlerTypes()
|
/art/libdexfile/dex/ |
D | class_accessor-inl.h | 54 num_static_fields_(ptr_pos_ != nullptr ? DecodeUnsignedLeb128(&ptr_pos_) : 0u), in ClassAccessor() 55 num_instance_fields_(ptr_pos_ != nullptr ? DecodeUnsignedLeb128(&ptr_pos_) : 0u), in ClassAccessor() 56 num_direct_methods_(ptr_pos_ != nullptr ? DecodeUnsignedLeb128(&ptr_pos_) : 0u), in ClassAccessor() 57 num_virtual_methods_(ptr_pos_ != nullptr ? DecodeUnsignedLeb128(&ptr_pos_) : 0u) { in ClassAccessor() 67 index_ += DecodeUnsignedLeb128(&ptr_pos_); in Read() 68 access_flags_ = DecodeUnsignedLeb128(&ptr_pos_); in Read() 69 code_off_ = DecodeUnsignedLeb128(&ptr_pos_); in Read() 71 hiddenapi_flags_ = DecodeUnsignedLeb128(&hiddenapi_ptr_pos_); in Read() 82 index_ += DecodeUnsignedLeb128(&ptr_pos_); in Read() 83 access_flags_ = DecodeUnsignedLeb128(&ptr_pos_); in Read() [all …]
|
D | dex_file-inl.h | 44 return DecodeUnsignedLeb128(&ptr); in GetStringLength() 51 *utf16_length = DecodeUnsignedLeb128(&ptr); in GetStringDataAndUtf16Length() 214 DecodeUnsignedLeb128(&stream); // Line. in DecodeDebugLocalInfo() 215 uint32_t parameters_size = DecodeUnsignedLeb128(&stream); in DecodeDebugLocalInfo() 261 address += DecodeUnsignedLeb128(&stream); in DecodeDebugLocalInfo() 268 uint16_t reg = DecodeUnsignedLeb128(&stream); in DecodeDebugLocalInfo() 297 uint16_t reg = DecodeUnsignedLeb128(&stream); in DecodeDebugLocalInfo() 313 uint16_t reg = DecodeUnsignedLeb128(&stream); in DecodeDebugLocalInfo() 393 entry.address_ += DecodeUnsignedLeb128(&stream); in DecodeDebugPositionInfo() 399 DecodeUnsignedLeb128(&stream); // reg. in DecodeDebugPositionInfo() [all …]
|
D | dex_file_exception_helpers.cc | 88 handler_.type_idx_ = dex::TypeIndex(DecodeUnsignedLeb128(¤t_data_)); in Next() 89 handler_.address_ = DecodeUnsignedLeb128(¤t_data_); in Next() 96 handler_.address_ = DecodeUnsignedLeb128(¤t_data_); in Next()
|
D | code_item_accessors-inl.h | 156 const uint32_t handlers_size = DecodeUnsignedLeb128(&handler_data); in CodeItemDataEnd() 164 DecodeUnsignedLeb128(&handler_data); in CodeItemDataEnd()
|
D | compact_offset_table.cc | 57 current_offset += DecodeUnsignedLeb128(&block); in GetOffset()
|
D | type_lookup_table.cc | 172 DecodeUnsignedLeb128(&ptr); in GetStringData()
|
D | dex_file_verifier_test.cc | 286 return DecodeUnsignedLeb128(&method_flags_ptr); in GetMethodFlags() 307 DecodeUnsignedLeb128(&ptr); in RemoveCode() 311 DecodeUnsignedLeb128(&tmp); in RemoveCode() 874 return DecodeUnsignedLeb128(&field_flags_ptr); in GetFieldFlags()
|
D | dex_file.cc | 620 array_size_ = (ptr_ != nullptr) ? DecodeUnsignedLeb128(&ptr_) : 0; in EncodedArrayValueIterator()
|
D | dex_file_verifier.cc | 139 DecodeUnsignedLeb128(&ptr); // Ignore the result. in GetString() 3415 DecodeUnsignedLeb128(&str_data_ptr); in FindStringRangesForMethodNames()
|
/art/libartbase/base/ |
D | leb128_test.cc | 109 EXPECT_EQ(DecodeUnsignedLeb128(&data_ptr), uleb128_tests[i].decoded) << " i = " << i; in TEST() 128 EXPECT_EQ(DecodeUnsignedLeb128(&data_ptr), uleb128_tests[i].decoded) << " i = " << i; in TEST() 147 EXPECT_EQ(DecodeUnsignedLeb128(&encoded_data_ptr), uleb128_tests[i].decoded) << " i = " << i; in TEST() 170 EXPECT_EQ(DecodeUnsignedLeb128(&encoded_data_ptr), uleb128_tests[i].decoded) << " i = " << i; in TEST() 267 EXPECT_EQ(DecodeUnsignedLeb128(&new_end), new_value); in TEST() 294 EXPECT_EQ(DecodeUnsignedLeb128(&encoded_data_ptr), (i * 1024) + j); in TEST()
|
D | leb128.h | 33 static inline uint32_t DecodeUnsignedLeb128(const uint8_t** data) { in DecodeUnsignedLeb128() function 59 return DecodeUnsignedLeb128(&data); in DecodeUnsignedLeb128WithoutMovingCursor() 110 return DecodeUnsignedLeb128(data) - 1; in DecodeUnsignedLeb128P1() 275 uint32_t old_value = DecodeUnsignedLeb128(&old_end); in UpdateUnsignedLeb128()
|
/art/dexlayout/ |
D | dex_ir_builder.cc | 48 DecodeUnsignedLeb128(&stream); // line_start in GetDebugInfoStreamSize() 49 uint32_t parameters_size = DecodeUnsignedLeb128(&stream); in GetDebugInfoStreamSize() 60 DecodeUnsignedLeb128(&stream); // addr_diff in GetDebugInfoStreamSize() 66 DecodeUnsignedLeb128(&stream); // register_num in GetDebugInfoStreamSize() 71 DecodeUnsignedLeb128(&stream); // register_num in GetDebugInfoStreamSize() 78 DecodeUnsignedLeb128(&stream); // register_num in GetDebugInfoStreamSize() 607 uint32_t size = DecodeUnsignedLeb128(&static_data); in CreateEncodedArrayItem() 650 flags->emplace(&field, DecodeUnsignedLeb128(&ptr)); in AddHiddenapiClassDataFromMapListSection() 653 flags->emplace(&field, DecodeUnsignedLeb128(&ptr)); in AddHiddenapiClassDataFromMapListSection() 656 flags->emplace(&method, DecodeUnsignedLeb128(&ptr)); in AddHiddenapiClassDataFromMapListSection() [all …]
|
/art/tools/dexanalyze/ |
D | dexanalyze_experiments.cc | 99 DecodeUnsignedLeb128(&stream); // line_start in ProcessDexFiles() 100 uint32_t parameters_size = DecodeUnsignedLeb128(&stream); in ProcessDexFiles() 117 DecodeUnsignedLeb128(&stream); // addr_diff in ProcessDexFiles() 125 DecodeUnsignedLeb128(&stream); // register_num in ProcessDexFiles() 131 DecodeUnsignedLeb128(&stream); // register_num in ProcessDexFiles() 138 DecodeUnsignedLeb128(&stream); // register_num in ProcessDexFiles() 142 DecodeUnsignedLeb128(&stream); // register_num in ProcessDexFiles()
|
D | dexanalyze_strings.cc | 103 uint32_t suffix_len = DecodeUnsignedLeb128(&suffix_data); in GetString() 117 uint32_t suffix_len = DecodeUnsignedLeb128(&suffix_data); in Equal() 165 uint32_t len = DecodeUnsignedLeb128(&data); in GetString() 172 uint32_t str_len = DecodeUnsignedLeb128(&str_data); in Equal()
|
/art/runtime/dex/ |
D | dex_file_annotations.cc | 195 uint32_t type_index = DecodeUnsignedLeb128(&annotation); in SearchAnnotationSet() 229 uint32_t size = DecodeUnsignedLeb128(&annotation); in SkipAnnotationValue() 240 DecodeUnsignedLeb128(&annotation); // unused type_index in SkipAnnotationValue() 241 uint32_t size = DecodeUnsignedLeb128(&annotation); in SkipAnnotationValue() 243 DecodeUnsignedLeb128(&annotation); // unused element_name_index in SkipAnnotationValue() 269 DecodeUnsignedLeb128(&annotation); // unused type_index in SearchEncodedAnnotation() 270 uint32_t size = DecodeUnsignedLeb128(&annotation); in SearchEncodedAnnotation() 273 uint32_t element_name_index = DecodeUnsignedLeb128(&annotation); in SearchEncodedAnnotation() 355 uint32_t type_index = DecodeUnsignedLeb128(annotation); in ProcessEncodedAnnotation() 356 uint32_t size = DecodeUnsignedLeb128(annotation); in ProcessEncodedAnnotation() [all …]
|
/art/compiler/optimizing/ |
D | block_builder.cc | 90 uint32_t handlers_size = DecodeUnsignedLeb128(&handlers_ptr); in CreateBranchTargets() 313 uint32_t handlers_size = DecodeUnsignedLeb128(&handlers_ptr); in InsertTryBoundaryBlocks()
|
/art/dexdump/ |
D | dexdump.cc | 547 const u4 size = DecodeUnsignedLeb128(data); in dumpEncodedValue() 556 const u4 type_idx = DecodeUnsignedLeb128(data); in dumpEncodedValue() 559 const u4 size = DecodeUnsignedLeb128(data); in dumpEncodedValue() 561 const u4 name_idx = DecodeUnsignedLeb128(data); in dumpEncodedValue() 1560 const u4 sSize = sData != nullptr ? DecodeUnsignedLeb128(&sData) : 0; in dumpClass()
|
/art/dex2oat/driver/ |
D | compiler_driver.cc | 919 size_t num_encoded_catch_handlers = DecodeUnsignedLeb128(&encoded_catch_handler_list); in FindExceptionTypesToResolveForMethod() 929 dex::TypeIndex(DecodeUnsignedLeb128(&encoded_catch_handler_list)); in FindExceptionTypesToResolveForMethod() 936 DecodeUnsignedLeb128(&encoded_catch_handler_list); in FindExceptionTypesToResolveForMethod() 940 DecodeUnsignedLeb128(&encoded_catch_handler_list); in FindExceptionTypesToResolveForMethod()
|
/art/tools/veridex/ |
D | flow_analysis.cc | 80 uint32_t handlers_size = DecodeUnsignedLeb128(&handlers_ptr); in FindBranches()
|
/art/runtime/verifier/ |
D | method_verifier.cc | 1138 const uint32_t handlers_size = DecodeUnsignedLeb128(&handlers_ptr); in ScanTryCatchBlocks() 3739 uint32_t handlers_size = DecodeUnsignedLeb128(&handlers_ptr); in HandleMoveException()
|