Home
last modified time | relevance | path

Searched refs:ID_SIZE (Results 1 - 25 of 31) sorted by relevance

12

/arkcompiler/runtime_core/static_core/libpandafile/
H A Dannotation_data_accessor.cpp28 size_ = ID_SIZE + COUNT_SIZE + count_ * (ID_SIZE + VALUE_SIZE) + count_ * TYPE_TAG_SIZE; in AnnotationDataAccessor()
31 elementsTags_ = sp.SubSpan(count_ * (ID_SIZE + VALUE_SIZE)); in AnnotationDataAccessor()
37 auto sp = elementsSp_.SubSpan(i * (ID_SIZE + VALUE_SIZE)); in GetElement()
38 uint32_t name = helpers::Read<ID_SIZE>(&sp); in GetElement()
H A Dfile_items.cpp217 size_t size = BaseClassItem::CalculateSize() + ID_SIZE + leb128::UnsignedEncodingSize(accessFlags_); in CalculateSizeWithoutFieldsAndMethods()
230 size += (TAG_SIZE + ID_SIZE) * runtimeAnnotations_.size(); in CalculateSizeWithoutFieldsAndMethods()
231 size += (TAG_SIZE + ID_SIZE) * annotations_.size(); in CalculateSizeWithoutFieldsAndMethods()
232 size += (TAG_SIZE + ID_SIZE) * runtimeTypeAnnotations_.size(); in CalculateSizeWithoutFieldsAndMethods()
233 size += (TAG_SIZE + ID_SIZE) * typeAnnotations_.size(); in CalculateSizeWithoutFieldsAndMethods()
236 size += TAG_SIZE + ID_SIZE; in CalculateSizeWithoutFieldsAndMethods()
421 size += paramAnnotations.size() * ID_SIZE; in CalculateSize()
514 return IDX_SIZE + IDX_SIZE + ID_SIZE + leb128::UnsignedEncodingSize(accessFlags_); in CalculateSize()
553 size += TAG_SIZE + ID_SIZE; in CalculateSize()
560 size += (TAG_SIZE + ID_SIZE) * runtimeAnnotations in CalculateSize()
[all...]
H A Dparam_annotations_data_accessor.h41 return sizeof(uint32_t) + count_ * ID_SIZE; in GetSize()
49 File::EntityId id(helpers::Read<ID_SIZE>(&sp)); in EnumerateAnnotations()
80 sp = sp.SubSpan(count * ID_SIZE); in EnumerateAnnotationArrays()
98 sp = sp.SubSpan(count * ID_SIZE); in GetAnnotationArray()
H A Dliteral_data_accessor.h94 auto lSp = literalDataSp_.SubSpan(index * ID_SIZE); in GetLiteralArrayId()
104 auto arrayOffset = helpers::Read<sizeof(uint32_t)>(literalDataSp_.SubSpan(index * ID_SIZE));
H A Dliteral_data_accessor-inl.h29 static_cast<uint32_t>(helpers::Read<sizeof(uint32_t)>(literalDataSp_.SubSpan(index * ID_SIZE))))); in GetLiteralValsNum()
30 auto num = helpers::Read<ID_SIZE>(&sp); in GetLiteralValsNum()
H A Dmethod_data_accessor.cpp32 nameOff_ = helpers::Read<ID_SIZE>(&sp); in MethodDataAccessor()
H A Dclass_data_accessor.cpp34 superClassOff_ = helpers::Read<ID_SIZE>(&sp); in ClassDataAccessor()
H A Dfield_data_accessor.cpp34 nameOff_ = helpers::Read<ID_SIZE>(&sp); in FieldDataAccessor()
H A Dfile_item_container.cpp443 uint32_t curOffset = classIdxOffset + (numClasses + numLiteralarrays) * ID_SIZE; in ComputeLayout()
604 uint32_t literalarrayIdxOffset = sizeof(File::Header) + classMap_.size() * ID_SIZE; in WriteHeaderIndexInfo()
613 size_t indexSectionOff = literalarrayIdxOffset + literalarrayMap_.size() * ID_SIZE; in WriteHeaderIndexInfo()
734 stat["class_idx_item"] = classMap_.size() * ID_SIZE; in GetStat()
735 stat["line_number_program_idx_item"] = lineNumberProgramIndexItem_.GetNumItems() * ID_SIZE; in GetStat()
736 stat["literalarray_idx"] = literalarrayMap_.size() * ID_SIZE; in GetStat()
H A Dfile_item_container.h278 return index_.size() * ID_SIZE;
357 return ID_SIZE;
410 return ID_SIZE;
/arkcompiler/runtime_core/libpandafile/
H A Dannotation_data_accessor.cpp28 size_ = ID_SIZE + COUNT_SIZE + count_ * (ID_SIZE + VALUE_SIZE) + count_ * TYPE_TAG_SIZE; in AnnotationDataAccessor()
31 size_t size = count_ * (ID_SIZE + VALUE_SIZE); in AnnotationDataAccessor()
39 auto sp = elements_sp_.SubSpan(i * (ID_SIZE + VALUE_SIZE)); in GetElement()
40 uint32_t name = helpers::Read<ID_SIZE>(&sp); in GetElement()
H A Dmodule_data_accessor-inl.h29 auto regular_import_num = panda_file::helpers::Read<panda_file::ID_SIZE>(&sp); in EnumerateModuleRecord()
37 auto namespace_import_num = panda_file::helpers::Read<panda_file::ID_SIZE>(&sp); in EnumerateModuleRecord()
44 auto local_export_num = panda_file::helpers::Read<panda_file::ID_SIZE>(&sp); in EnumerateModuleRecord()
51 auto indirect_export_num = panda_file::helpers::Read<panda_file::ID_SIZE>(&sp); in EnumerateModuleRecord()
59 auto starExportNum = panda_file::helpers::Read<panda_file::ID_SIZE>(&sp); in EnumerateModuleRecord()
H A Dfile_items.cpp260 size_t size = BaseClassItem::CalculateSize() + ID_SIZE + leb128::UnsignedEncodingSize(access_flags_); in CalculateSizeWithoutFieldsAndMethods()
273 size += (TAG_SIZE + ID_SIZE) * runtime_annotations_.size(); in CalculateSizeWithoutFieldsAndMethods()
274 size += (TAG_SIZE + ID_SIZE) * annotations_.size(); in CalculateSizeWithoutFieldsAndMethods()
275 size += (TAG_SIZE + ID_SIZE) * runtime_type_annotations_.size(); in CalculateSizeWithoutFieldsAndMethods()
276 size += (TAG_SIZE + ID_SIZE) * type_annotations_.size(); in CalculateSizeWithoutFieldsAndMethods()
279 size += TAG_SIZE + ID_SIZE; in CalculateSizeWithoutFieldsAndMethods()
464 size += param_annotations.size() * ID_SIZE; in CalculateSize()
565 return IDX_SIZE + IDX_SIZE + ID_SIZE + leb128::UnsignedEncodingSize(access_flags_); in CalculateSize()
616 size += TAG_SIZE + ID_SIZE; in CalculateSize()
623 size += (TAG_SIZE + ID_SIZE) * runtime_annotations in CalculateSize()
[all...]
H A Dparam_annotations_data_accessor.h41 return sizeof(uint32_t) + count_ * ID_SIZE; in GetSize()
49 File::EntityId id(helpers::Read<ID_SIZE>(&sp)); in EnumerateAnnotations()
80 sp = sp.SubSpan(count * ID_SIZE); in EnumerateAnnotationArrays()
98 sp = sp.SubSpan(count * ID_SIZE); in GetAnnotationArray()
H A Dmodule_data_accessor.cpp26 auto module_sp = sp.SubSpan(panda_file::ID_SIZE); // skip literalnum in ModuleDataAccessor()
28 num_module_requests_ = panda_file::helpers::Read<panda_file::ID_SIZE>(&module_sp); in ModuleDataAccessor()
H A Dliteral_data_accessor-inl.h29 return helpers::Read<ID_SIZE>(&sp); in GetLiteralValsNum()
35 static_cast<uint32_t>(helpers::Read<sizeof(uint32_t)>(literal_data_sp_.SubSpan(index * ID_SIZE))))); in GetLiteralValsNum()
H A Dliteral_data_accessor.h104 auto l_sp = literal_data_sp_.SubSpan(index * ID_SIZE); in GetLiteralArrayId()
114 auto array_offset = helpers::Read<sizeof(uint32_t)>(literal_data_sp_.SubSpan(index * ID_SIZE));
H A Dindex_accessor.h30 auto sp = pf.GetSpanFromId(method_id).SubSpan(IDX_SIZE * (SKIP_NUM - 1) + ID_SIZE); in IndexAccessor()
H A Dmethod_data_accessor.cpp33 name_off_ = helpers::Read<ID_SIZE>(&sp); in MethodDataAccessor()
H A Dfile_item_container.cpp452 cur_offset = class_idx_offset + (num_classes + num_literalarrays) * ID_SIZE; in ComputeLayout()
454 cur_offset = class_idx_offset + (num_classes * ID_SIZE); in ComputeLayout()
619 size_t index_section_off = sizeof(File::Header) + class_map_.size() * ID_SIZE; in WriteHeaderIndexInfo()
623 literalarray_idx_offset = sizeof(File::Header) + class_map_.size() * ID_SIZE; in WriteHeaderIndexInfo()
624 index_section_off = literalarray_idx_offset + num_literalarrays * ID_SIZE; in WriteHeaderIndexInfo()
778 stat["class_idx_item"] = class_map_.size() * ID_SIZE; in GetStat()
779 stat["line_number_program_idx_item"] = line_number_program_index_item_.GetNumItems() * ID_SIZE in GetStat()
783 stat["literalarray_idx"] = literalarray_map_.size() * ID_SIZE; in GetStat()
H A Dclass_data_accessor.cpp35 super_class_off_ = helpers::Read<ID_SIZE>(&sp); in ClassDataAccessor()
H A Dfile_item_container.h314 return index_.size() * ID_SIZE;
389 return ID_SIZE;
442 return ID_SIZE;
H A Dfield_data_accessor.cpp33 name_off_ = helpers::Read<ID_SIZE>(&sp); in FieldDataAccessor()
H A Dfield_data_accessor-inl.h40 return File::EntityId(helpers::Read<panda_file::ID_SIZE>(&sp)); in GetNameId()
/arkcompiler/ets_runtime/ecmascript/jspandafile/accessor/
H A Dmodule_data_accessor.cpp28 auto moduleSp = sp.SubSpan(panda_file::ID_SIZE); // skip literalnum in ModuleDataAccessor()
30 numModuleRequests_ = panda_file::helpers::Read<panda_file::ID_SIZE>(&moduleSp); in ModuleDataAccessor()
62 auto regularImportNum = panda_file::helpers::Read<panda_file::ID_SIZE>(&sp); in EnumerateImportEntry()
76 auto namespaceImportNum = panda_file::helpers::Read<panda_file::ID_SIZE>(&sp); in EnumerateImportEntry()
144 auto localExportNum = panda_file::helpers::Read<panda_file::ID_SIZE>(&sp); in EnumerateLocalExportEntry()
183 auto indirectExportNum = panda_file::helpers::Read<panda_file::ID_SIZE>(&sp); in EnumerateIndirectExportEntry()
221 auto starExportNum = panda_file::helpers::Read<panda_file::ID_SIZE>(&sp); in EnumerateStarExportEntry()

Completed in 15 milliseconds

12