Searched refs:DecodeUnsignedLeb128 (Results 1 – 18 of 18) sorted by relevance
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 …]
37 num_method_indices_ = DecodeUnsignedLeb128(&ptr); in MethodInfo()
48 num_elements_(!data.empty() ? DecodeUnsignedLeb128(&data_) : 0u) {} in QuickenInfoTable()
1400 to_patch += DecodeUnsignedLeb128(&patches); in ApplyOatPatches()
87 handler_.type_idx_ = dex::TypeIndex(DecodeUnsignedLeb128(¤t_data_)); in Next()88 handler_.address_ = DecodeUnsignedLeb128(¤t_data_); in Next()95 handler_.address_ = DecodeUnsignedLeb128(¤t_data_); in Next()
32 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 …]
700 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()
146 const uint32_t handlers_size = DecodeUnsignedLeb128(&handler_data); in CodeItemDataEnd()154 DecodeUnsignedLeb128(&handler_data); in CodeItemDataEnd()
57 current_offset += DecodeUnsignedLeb128(&block); in GetOffset()
47 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 …]
110 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()
33 static inline uint32_t DecodeUnsignedLeb128(const uint8_t** data) { in DecodeUnsignedLeb128() function59 return DecodeUnsignedLeb128(&data); in DecodeUnsignedLeb128WithoutMovingCursor()110 return DecodeUnsignedLeb128(data) - 1; in DecodeUnsignedLeb128P1()275 uint32_t old_value = DecodeUnsignedLeb128(&old_end); in UpdateUnsignedLeb128()
175 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 …]
90 uint32_t handlers_size = DecodeUnsignedLeb128(&handlers_ptr); in CreateBranchTargets()313 uint32_t handlers_size = DecodeUnsignedLeb128(&handlers_ptr); in InsertTryBoundaryBlocks()
57 DecodeUnsignedLeb128(&stream); // line. in GetParamNames()58 uint32_t parameters_size = DecodeUnsignedLeb128(&stream); in GetParamNames()
69 uint32_t handlers_size = DecodeUnsignedLeb128(&handlers_ptr); in FindBranches()
1041 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()
554 return DecodeUnsignedLeb128(in); in DecodeUint32WithOverflowCheck()