Home
last modified time | relevance | path

Searched refs:UnsignedEncodingSize (Results 1 – 5 of 5) sorted by relevance

/arkcompiler/runtime_core/libpandafile/
Dfile_items.cpp214 return leb128::UnsignedEncodingSize((utf16_length_ << 1U) | is_ascii_) + n; in CalculateSize()
260 …size_t size = BaseClassItem::CalculateSize() + ID_SIZE + leb128::UnsignedEncodingSize(access_flags… in CalculateSizeWithoutFieldsAndMethods()
262 size += leb128::UnsignedEncodingSize(fields_.size()); in CalculateSizeWithoutFieldsAndMethods()
263 size += leb128::UnsignedEncodingSize(methods_.size()); in CalculateSizeWithoutFieldsAndMethods()
266 size += TAG_SIZE + leb128::UnsignedEncodingSize(ifaces_.size()) + IDX_SIZE * ifaces_.size(); in CalculateSizeWithoutFieldsAndMethods()
559 return IDX_SIZE + IDX_SIZE + ID_SIZE + leb128::UnsignedEncodingSize(access_flags_); in CalculateSize()
723 return leb128::UnsignedEncodingSize(type_off) + leb128::UnsignedEncodingSize(handler_pc_) + in CalculateSize()
724 leb128::UnsignedEncodingSize(code_size_); in CalculateSize()
763 return leb128::UnsignedEncodingSize(start_pc_) + leb128::UnsignedEncodingSize(length_) + in CalculateSizeWithoutCatchBlocks()
764 leb128::UnsignedEncodingSize(catch_blocks_.size()); in CalculateSizeWithoutCatchBlocks()
[all …]
Dfile_writer.h81 size_t n = leb128::UnsignedEncodingSize(v); in WriteUleb128()
Dfile_items.h1791 return sizeof(uint8_t) + leb128::UnsignedEncodingSize(entity_->GetOffset()); in CalculateSize()
/arkcompiler/runtime_core/libpandabase/tests/
Dleb128_test.cpp180 EXPECT_EQ(UnsignedEncodingSize(t.value), t.size) << ss.str(); in TEST()
/arkcompiler/runtime_core/libpandabase/utils/
Dleb128.h173 inline size_t UnsignedEncodingSize(T data) in UnsignedEncodingSize() function