Home
last modified time | relevance | path

Searched refs:DecodeUnsignedLeb128 (Results 1 – 18 of 18) 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 …]
Dmethod_info.h37 num_method_indices_ = DecodeUnsignedLeb128(&ptr); in MethodInfo()
Dquicken_info.h48 num_elements_(!data.empty() ? DecodeUnsignedLeb128(&data_) : 0u) {} in QuickenInfoTable()
Delf_file.cc1400 to_patch += DecodeUnsignedLeb128(&patches); in ApplyOatPatches()
/art/libdexfile/dex/
Ddex_file_exception_helpers.cc87 handler_.type_idx_ = dex::TypeIndex(DecodeUnsignedLeb128(&current_data_)); in Next()
88 handler_.address_ = DecodeUnsignedLeb128(&current_data_); in Next()
95 handler_.address_ = DecodeUnsignedLeb128(&current_data_); in Next()
Ddex_file-inl.h32 return DecodeUnsignedLeb128(&ptr); in GetStringLength()
39 *utf16_length = DecodeUnsignedLeb128(&ptr); in GetStringDataAndUtf16Length()
255 DecodeUnsignedLeb128(&stream); // Line. in DecodeDebugLocalInfo()
256 uint32_t parameters_size = DecodeUnsignedLeb128(&stream); in DecodeDebugLocalInfo()
302 address += DecodeUnsignedLeb128(&stream); in DecodeDebugLocalInfo()
309 uint16_t reg = DecodeUnsignedLeb128(&stream); in DecodeDebugLocalInfo()
338 uint16_t reg = DecodeUnsignedLeb128(&stream); in DecodeDebugLocalInfo()
354 uint16_t reg = DecodeUnsignedLeb128(&stream); in DecodeDebugLocalInfo()
429 entry.line_ = DecodeUnsignedLeb128(&stream); in DecodeDebugPositionInfo()
430 uint32_t parameters_size = DecodeUnsignedLeb128(&stream); in DecodeDebugPositionInfo()
[all …]
Ddex_file.cc700 header_.static_fields_size_ = DecodeUnsignedLeb128(&ptr_pos_); in ReadClassDataHeader()
701 header_.instance_fields_size_ = DecodeUnsignedLeb128(&ptr_pos_); in ReadClassDataHeader()
702 header_.direct_methods_size_ = DecodeUnsignedLeb128(&ptr_pos_); in ReadClassDataHeader()
703 header_.virtual_methods_size_ = DecodeUnsignedLeb128(&ptr_pos_); in ReadClassDataHeader()
707 field_.field_idx_delta_ = DecodeUnsignedLeb128(&ptr_pos_); in ReadClassDataField()
708 field_.access_flags_ = DecodeUnsignedLeb128(&ptr_pos_); in ReadClassDataField()
714 method_.method_idx_delta_ = DecodeUnsignedLeb128(&ptr_pos_); in ReadClassDataMethod()
715 method_.access_flags_ = DecodeUnsignedLeb128(&ptr_pos_); in ReadClassDataMethod()
716 method_.code_off_ = DecodeUnsignedLeb128(&ptr_pos_); in ReadClassDataMethod()
729 array_size_ = (ptr_ != nullptr) ? DecodeUnsignedLeb128(&ptr_) : 0; in EncodedArrayValueIterator()
Dcode_item_accessors-inl.h146 const uint32_t handlers_size = DecodeUnsignedLeb128(&handler_data); in CodeItemDataEnd()
154 DecodeUnsignedLeb128(&handler_data); in CodeItemDataEnd()
Dcompact_offset_table.cc57 current_offset += DecodeUnsignedLeb128(&block); in GetOffset()
/art/dexlayout/
Ddex_ir.cc47 DecodeUnsignedLeb128(&stream); // line_start in GetDebugInfoStreamSize()
48 uint32_t parameters_size = DecodeUnsignedLeb128(&stream); in GetDebugInfoStreamSize()
59 DecodeUnsignedLeb128(&stream); // addr_diff in GetDebugInfoStreamSize()
65 DecodeUnsignedLeb128(&stream); // register_num in GetDebugInfoStreamSize()
70 DecodeUnsignedLeb128(&stream); // register_num in GetDebugInfoStreamSize()
77 DecodeUnsignedLeb128(&stream); // register_num in GetDebugInfoStreamSize()
284 const uint32_t size = DecodeUnsignedLeb128(data); in ReadEncodedValue()
298 const uint32_t type_idx = DecodeUnsignedLeb128(data); in ReadEncodedValue()
299 const uint32_t size = DecodeUnsignedLeb128(data); in ReadEncodedValue()
302 const uint32_t name_index = DecodeUnsignedLeb128(data); in ReadEncodedValue()
[all …]
/art/libartbase/base/
Dleb128_test.cc110 EXPECT_EQ(DecodeUnsignedLeb128(&data_ptr), uleb128_tests[i].decoded) << " i = " << i; in TEST()
129 EXPECT_EQ(DecodeUnsignedLeb128(&data_ptr), uleb128_tests[i].decoded) << " i = " << i; in TEST()
148 EXPECT_EQ(DecodeUnsignedLeb128(&encoded_data_ptr), uleb128_tests[i].decoded) << " i = " << i; in TEST()
171 EXPECT_EQ(DecodeUnsignedLeb128(&encoded_data_ptr), uleb128_tests[i].decoded) << " i = " << i; in TEST()
268 EXPECT_EQ(DecodeUnsignedLeb128(&new_end), new_value); in TEST()
295 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/runtime/dex/
Ddex_file_annotations.cc175 uint32_t type_index = DecodeUnsignedLeb128(&annotation); in SearchAnnotationSet()
209 uint32_t size = DecodeUnsignedLeb128(&annotation); in SkipAnnotationValue()
220 DecodeUnsignedLeb128(&annotation); // unused type_index in SkipAnnotationValue()
221 uint32_t size = DecodeUnsignedLeb128(&annotation); in SkipAnnotationValue()
223 DecodeUnsignedLeb128(&annotation); // unused element_name_index in SkipAnnotationValue()
249 DecodeUnsignedLeb128(&annotation); // unused type_index in SearchEncodedAnnotation()
250 uint32_t size = DecodeUnsignedLeb128(&annotation); in SearchEncodedAnnotation()
253 uint32_t element_name_index = DecodeUnsignedLeb128(&annotation); in SearchEncodedAnnotation()
338 uint32_t type_index = DecodeUnsignedLeb128(annotation); in ProcessEncodedAnnotation()
339 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/compiler/debug/
Delf_debug_info_writer.h57 DecodeUnsignedLeb128(&stream); // line. in GetParamNames()
58 uint32_t parameters_size = DecodeUnsignedLeb128(&stream); in GetParamNames()
/art/tools/veridex/
Dflow_analysis.cc69 uint32_t handlers_size = DecodeUnsignedLeb128(&handlers_ptr); in FindBranches()
/art/compiler/driver/
Dcompiler_driver.cc1041 size_t num_encoded_catch_handlers = DecodeUnsignedLeb128(&encoded_catch_handler_list); in FindExceptionTypesToResolveForMethod()
1051 dex::TypeIndex(DecodeUnsignedLeb128(&encoded_catch_handler_list)); in FindExceptionTypesToResolveForMethod()
1058 DecodeUnsignedLeb128(&encoded_catch_handler_list); in FindExceptionTypesToResolveForMethod()
1062 DecodeUnsignedLeb128(&encoded_catch_handler_list); in FindExceptionTypesToResolveForMethod()
/art/runtime/verifier/
Dverifier_deps.cc554 return DecodeUnsignedLeb128(in); in DecodeUint32WithOverflowCheck()