Home
last modified time | relevance | path

Searched refs:DecodeUnsignedLeb128 (Results 1 – 23 of 23) sorted by relevance

/art/runtime/
Dmapping_table.h36 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 …]
Dquicken_info.h48 num_elements_(!data.empty() ? DecodeUnsignedLeb128(&data_) : 0u) {} in QuickenInfoTable()
Dclass_linker.cc4869 uint32_t handlers_size = DecodeUnsignedLeb128(&handlers_ptr); in ResolveMethodExceptionHandlerTypes()
/art/libdexfile/dex/
Dclass_accessor-inl.h54 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 …]
Ddex_file-inl.h44 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 …]
Ddex_file_exception_helpers.cc88 handler_.type_idx_ = dex::TypeIndex(DecodeUnsignedLeb128(&current_data_)); in Next()
89 handler_.address_ = DecodeUnsignedLeb128(&current_data_); in Next()
96 handler_.address_ = DecodeUnsignedLeb128(&current_data_); in Next()
Dcode_item_accessors-inl.h156 const uint32_t handlers_size = DecodeUnsignedLeb128(&handler_data); in CodeItemDataEnd()
164 DecodeUnsignedLeb128(&handler_data); in CodeItemDataEnd()
Dcompact_offset_table.cc57 current_offset += DecodeUnsignedLeb128(&block); in GetOffset()
Dtype_lookup_table.cc172 DecodeUnsignedLeb128(&ptr); in GetStringData()
Ddex_file_verifier_test.cc286 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()
Ddex_file.cc620 array_size_ = (ptr_ != nullptr) ? DecodeUnsignedLeb128(&ptr_) : 0; in EncodedArrayValueIterator()
Ddex_file_verifier.cc139 DecodeUnsignedLeb128(&ptr); // Ignore the result. in GetString()
3415 DecodeUnsignedLeb128(&str_data_ptr); in FindStringRangesForMethodNames()
/art/libartbase/base/
Dleb128_test.cc109 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()
Dleb128.h33 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/
Ddex_ir_builder.cc48 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/
Ddexanalyze_experiments.cc99 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()
Ddexanalyze_strings.cc103 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/
Ddex_file_annotations.cc195 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/
Dblock_builder.cc90 uint32_t handlers_size = DecodeUnsignedLeb128(&handlers_ptr); in CreateBranchTargets()
313 uint32_t handlers_size = DecodeUnsignedLeb128(&handlers_ptr); in InsertTryBoundaryBlocks()
/art/dexdump/
Ddexdump.cc547 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/
Dcompiler_driver.cc919 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/
Dflow_analysis.cc80 uint32_t handlers_size = DecodeUnsignedLeb128(&handlers_ptr); in FindBranches()
/art/runtime/verifier/
Dmethod_verifier.cc1138 const uint32_t handlers_size = DecodeUnsignedLeb128(&handlers_ptr); in ScanTryCatchBlocks()
3739 uint32_t handlers_size = DecodeUnsignedLeb128(&handlers_ptr); in HandleMoveException()