Home
last modified time | relevance | path

Searched full:read (Results 1 – 25 of 621) sorted by relevance

12345678910>>...25

/arkcompiler/runtime_core/libpandafile/
Dmodule_data_accessor-inl.h29 auto regular_import_num = panda_file::helpers::Read<panda_file::ID_SIZE>(&sp); in EnumerateModuleRecord()
31 … auto local_name_offset = static_cast<uint32_t>(panda_file::helpers::Read<sizeof(uint32_t)>(&sp)); in EnumerateModuleRecord()
32 … auto import_name_offset = static_cast<uint32_t>(panda_file::helpers::Read<sizeof(uint32_t)>(&sp)); in EnumerateModuleRecord()
33 … auto module_request_idx = static_cast<uint32_t>(panda_file::helpers::Read<sizeof(uint16_t)>(&sp)); in EnumerateModuleRecord()
37 auto namespace_import_num = panda_file::helpers::Read<panda_file::ID_SIZE>(&sp); in EnumerateModuleRecord()
39 … auto local_name_offset = static_cast<uint32_t>(panda_file::helpers::Read<sizeof(uint32_t)>(&sp)); in EnumerateModuleRecord()
40 … auto module_request_idx = static_cast<uint32_t>(panda_file::helpers::Read<sizeof(uint16_t)>(&sp)); in EnumerateModuleRecord()
44 auto local_export_num = panda_file::helpers::Read<panda_file::ID_SIZE>(&sp); in EnumerateModuleRecord()
46 … auto local_name_offset = static_cast<uint32_t>(panda_file::helpers::Read<sizeof(uint32_t)>(&sp)); in EnumerateModuleRecord()
47 … auto export_name_offset = static_cast<uint32_t>(panda_file::helpers::Read<sizeof(uint32_t)>(&sp)); in EnumerateModuleRecord()
[all …]
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()
48 auto literal_vals_num = helpers::Read<LEN_SIZE>(&sp); in EnumerateLiteralVals()
52 auto tag = static_cast<LiteralTag>(helpers::Read<TAG_SIZE>(&sp)); in EnumerateLiteralVals()
56 value = static_cast<uint32_t>(helpers::Read<sizeof(uint32_t)>(&sp)); in EnumerateLiteralVals()
60 value = bit_cast<double>(helpers::Read<sizeof(uint64_t)>(&sp)); in EnumerateLiteralVals()
64 value = static_cast<bool>(helpers::Read<sizeof(uint8_t)>(&sp)); in EnumerateLiteralVals()
68 value = static_cast<float>(helpers::Read<sizeof(uint32_t)>(&sp)); in EnumerateLiteralVals()
79 value = static_cast<uint32_t>(helpers::Read<sizeof(uint32_t)>(&sp)); in EnumerateLiteralVals()
83 value = static_cast<uint16_t>(helpers::Read<sizeof(uint16_t)>(&sp)); in EnumerateLiteralVals()
[all …]
Dproto_data_accessor-inl.h41 uint32_t v = helpers::Read<SHORTY_ELEM_SIZE>(&sp); in EnumerateTypes()
62 v = helpers::Read<SHORTY_ELEM_SIZE>(&sp); in EnumerateTypes()
78 auto v1 = helpers::Read<SHORTY_ELEM_SIZE>(&sp1); in IsEqual()
79 auto v2 = helpers::Read<SHORTY_ELEM_SIZE>(&sp2); in IsEqual()
95 v1 = helpers::Read<SHORTY_ELEM_SIZE>(&sp1); in IsEqual()
96 v2 = helpers::Read<SHORTY_ELEM_SIZE>(&sp2); in IsEqual()
102 auto id1 = panda_file_.ResolveClassIndex(proto_id_, helpers::Read<IDX_SIZE>(&sp1)); in IsEqual()
103 … auto id2 = other->panda_file_.ResolveClassIndex(other->proto_id_, helpers::Read<IDX_SIZE>(&sp2)); in IsEqual()
128 auto class_idx = helpers::Read<IDX_SIZE>(&sp); in GetReferenceType()
141 uint32_t v = helpers::Read<SHORTY_ELEM_SIZE>(&sp); in GetType()
Dfield_data_accessor.cpp25 auto class_idx = helpers::Read<IDX_SIZE>(&sp); in FieldDataAccessor()
26 auto type_idx = helpers::Read<IDX_SIZE>(&sp); in FieldDataAccessor()
31 name_off_ = helpers::Read<ID_SIZE>(&sp); in FieldDataAccessor()
63 value = static_cast<uint32_t>(helpers::Read<sizeof(uint32_t)>(&sp)); in GetValueInternal()
69 auto offset = static_cast<uint32_t>(helpers::Read<sizeof(uint32_t)>(&sp)); in GetValueInternal()
71 value = static_cast<uint64_t>(helpers::Read<sizeof(uint64_t)>(value_sp)); in GetValueInternal()
75 value = static_cast<uint32_t>(helpers::Read<sizeof(uint32_t)>(&sp)); in GetValueInternal()
Dannotation_data_accessor.cpp25 auto class_idx = helpers::Read<IDX_SIZE>(&sp); in AnnotationDataAccessor()
27 count_ = helpers::Read<COUNT_SIZE>(&sp); in AnnotationDataAccessor()
40 uint32_t name = helpers::Read<ID_SIZE>(&sp); in GetElement()
41 uint32_t value = helpers::Read<VALUE_SIZE>(&sp); in GetElement()
49 auto item = static_cast<char>(helpers::Read<TYPE_TAG_SIZE>(&sp)); in GetTag()
Dmethod_data_accessor.cpp25 class_idx_ = helpers::Read<IDX_SIZE>(&sp); in MethodDataAccessor()
26 proto_idx_ = helpers::Read<IDX_SIZE>(&sp); in MethodDataAccessor()
33 name_off_ = helpers::Read<ID_SIZE>(&sp); in MethodDataAccessor()
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/escompat/
DDataView.ets81 * Read bytes as they represent given type
82 * @param byteOffset zero index to read
83 * @returns read value (big endian)
98 * Read bytes as they represent given type
99 * @param byteOffset zero index to read
100 * @returns read value (big endian)
155 * Read bytes as they represent given type
156 * @param byteOffset zero index to read
157 * @returns read value (big endian)
172 * Read bytes as they represent given type
[all …]
/arkcompiler/runtime_core/static_core/libpandafile/
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()
45 auto literalValsNum = helpers::Read<LEN_SIZE>(&sp); in EnumerateLiteralVals()
48 auto tag = static_cast<LiteralTag>(helpers::Read<TAG_SIZE>(&sp)); in EnumerateLiteralVals()
51 value = static_cast<uint64_t>(helpers::Read<sizeof(uint64_t)>(&sp)); in EnumerateLiteralVals()
55 value = static_cast<uint32_t>(helpers::Read<sizeof(uint32_t)>(&sp)); in EnumerateLiteralVals()
59 value = bit_cast<double>(helpers::Read<sizeof(uint64_t)>(&sp)); in EnumerateLiteralVals()
63 value = static_cast<bool>(helpers::Read<sizeof(uint8_t)>(&sp)); in EnumerateLiteralVals()
67 value = bit_cast<float>(helpers::Read<sizeof(uint32_t)>(&sp)); in EnumerateLiteralVals()
71 value = static_cast<uint32_t>(helpers::Read<sizeof(uint32_t)>(&sp)); in EnumerateLiteralVals()
[all …]
Dproto_data_accessor-inl.h42 uint32_t v = helpers::Read<SHORTY_ELEM_SIZE>(&sp); in EnumerateTypes()
63 v = helpers::Read<SHORTY_ELEM_SIZE>(&sp); in EnumerateTypes()
80 auto v1 = helpers::Read<SHORTY_ELEM_SIZE>(&sp1); in IsEqual()
81 auto v2 = helpers::Read<SHORTY_ELEM_SIZE>(&sp2); in IsEqual()
97 v1 = helpers::Read<SHORTY_ELEM_SIZE>(&sp1); in IsEqual()
98 v2 = helpers::Read<SHORTY_ELEM_SIZE>(&sp2); in IsEqual()
104 auto id1 = pandaFile_.ResolveClassIndex(protoId_, helpers::Read<IDX_SIZE>(&sp1)); in IsEqual()
105 … auto id2 = other->pandaFile_.ResolveClassIndex(other->protoId_, helpers::Read<IDX_SIZE>(&sp2)); in IsEqual()
135 auto classIdx = helpers::Read<IDX_SIZE>(&sp); in GetReferenceType()
148 uint32_t v = helpers::Read<SHORTY_ELEM_SIZE>(&sp); in GetType()
Dfield_data_accessor.cpp28 auto classIdx = helpers::Read<IDX_SIZE>(&sp); in FieldDataAccessor()
29 auto typeIdx = helpers::Read<IDX_SIZE>(&sp); in FieldDataAccessor()
34 nameOff_ = helpers::Read<ID_SIZE>(&sp); in FieldDataAccessor()
60 value = static_cast<uint32_t>(helpers::Read<sizeof(uint32_t)>(&sp)); in GetValueInternal()
66 auto offset = static_cast<uint32_t>(helpers::Read<sizeof(uint32_t)>(&sp)); in GetValueInternal()
68 value = static_cast<uint64_t>(helpers::Read<sizeof(uint64_t)>(valueSp)); in GetValueInternal()
72 value = static_cast<uint32_t>(helpers::Read<sizeof(uint32_t)>(&sp)); in GetValueInternal()
Dannotation_data_accessor.cpp25 auto classIdx = helpers::Read<IDX_SIZE>(&sp); in AnnotationDataAccessor()
27 count_ = helpers::Read<COUNT_SIZE>(&sp); in AnnotationDataAccessor()
38 uint32_t name = helpers::Read<ID_SIZE>(&sp); in GetElement()
39 uint32_t value = helpers::Read<VALUE_SIZE>(&sp); in GetElement()
47 auto item = static_cast<char>(helpers::Read<TYPE_TAG_SIZE>(&sp)); in GetTag()
Dhelpers.h37 inline auto Read(Span<const uint8_t> *sp) in Read() function
53 inline auto Read<sizeof(uint16_t)>(Span<const uint8_t> *sp)
65 inline auto Read<sizeof(uint32_t)>(Span<const uint8_t> *sp)
81 inline auto Read(Span<const uint8_t> sp) in Read() function
83 return Read<WIDTH>(&sp); in Read()
151 T value = static_cast<T>(Read<sizeof(T)>(&sp)); in GetOptionalTaggedValue()
168 T value(Read<sizeof(T)>(&sp)); in EnumerateTaggedValues()
184 T value(Read<sizeof(T)>(&sp)); in EnumerateTaggedValuesWithEarlyStop()
/arkcompiler/ets_runtime/test/moduletest/functionapply/
Dexpect_output.txt25 TypeError: Cannot assign to read only property
26 TypeError: Cannot assign to read only property
27 TypeError: Cannot assign to read only property
28 TypeError: Cannot assign to read only property
29 TypeError: Cannot assign to read only property
32 TypeError: Cannot assign to read only property
/arkcompiler/ets_runtime/ecmascript/module/accessor/
Dmodule_data_accessor.cpp31 numModuleRequests_ = panda_file::helpers::Read<panda_file::ID_SIZE>(&moduleSp); in ModuleDataAccessor()
34 auto value = static_cast<uint32_t>(panda_file::helpers::Read<sizeof(uint32_t)>(&moduleSp)); in ModuleDataAccessor()
61 uint32_t regularImportNum = panda_file::helpers::Read<panda_file::ID_SIZE>(&sp); in EnumerateImportEntry()
74 uint32_t namespaceImportNum = panda_file::helpers::Read<panda_file::ID_SIZE>(&sp); in EnumerateImportEntry()
104 auto localNameOffset = static_cast<uint32_t>(panda_file::helpers::Read<sizeof(uint32_t)>(sp)); in ReadRegularImportEntry()
105 auto importNameOffset = static_cast<uint32_t>(panda_file::helpers::Read<sizeof(uint32_t)>(sp)); in ReadRegularImportEntry()
106 moduleRequestIdx = static_cast<uint32_t>(panda_file::helpers::Read<sizeof(uint16_t)>(sp)); in ReadRegularImportEntry()
118 auto localNameOffset = static_cast<uint32_t>(panda_file::helpers::Read<sizeof(uint32_t)>(sp)); in ReadNamespaceImportEntry()
119 moduleRequestIdx = static_cast<uint32_t>(panda_file::helpers::Read<sizeof(uint16_t)>(sp)); in ReadNamespaceImportEntry()
128 auto localExportNum = panda_file::helpers::Read<panda_file::ID_SIZE>(&sp); in EnumerateLocalExportEntry()
[all …]
/arkcompiler/ets_frontend/ets2panda/test/runtime/ets/
Denum-initialize-with-itself.ets18 Read = 1 << 1,
20 ReadWrite = Read | Write
25 Read = 1 << 1,
27 ReadWrite = Read
/arkcompiler/runtime_core/static_core/plugins/ets/templates/stdlib/
DDataView.ets.j298 * Read bytes as they represent given type
99 * @param byteOffset zero index to read
100 * @returns read value (big endian)
117 * Read bytes as they represent given type
118 * @param byteOffset zero index to read
119 * @returns read value (big endian)
137 * @param littleEndian read as little or big endian
150 * @param littleEndian read as little or big endian
161 * Read bytes as they represent given type
162 * @param byteOffset zero index to read
[all …]
/arkcompiler/runtime_core/static_core/libpandabase/tests/
Dalloc_tracker_test.cpp44 in.read(reinterpret_cast<char *>(&len), sizeof(len)); in SkipString()
59 out.read(reinterpret_cast<char *>(&hdr), sizeof(hdr)); in TEST()
75 out.read(reinterpret_cast<char *>(&hdr), sizeof(hdr)); in TEST()
84 out.read(reinterpret_cast<char *>(&info), sizeof(info)); in TEST()
105 out.read(reinterpret_cast<char *>(&hdr), sizeof(hdr)); in TEST()
115 out.read(reinterpret_cast<char *>(&alloc), sizeof(alloc)); in TEST()
116 out.read(reinterpret_cast<char *>(&free), sizeof(free)); in TEST()
155 out.read(reinterpret_cast<char *>(&hdr), sizeof(hdr)); in TEST()
172 out.read(reinterpret_cast<char *>(&hdr), sizeof(hdr)); in TEST()
/arkcompiler/runtime_core/libpandabase/tests/
Dalloc_tracker_test.cpp44 in.read(reinterpret_cast<char *>(&len), sizeof(len)); in SkipString()
59 out.read(reinterpret_cast<char *>(&hdr), sizeof(hdr)); in TEST()
74 out.read(reinterpret_cast<char *>(&hdr), sizeof(hdr)); in TEST()
83 out.read(reinterpret_cast<char *>(&info), sizeof(info)); in TEST()
102 out.read(reinterpret_cast<char *>(&hdr), sizeof(hdr)); in TEST()
112 out.read(reinterpret_cast<char *>(&alloc), sizeof(alloc)); in TEST()
113 out.read(reinterpret_cast<char *>(&free), sizeof(free)); in TEST()
151 out.read(reinterpret_cast<char *>(&hdr), sizeof(hdr)); in TEST()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/spec/11.Enumerations/
Denum_const_expr_02_02.ets24 READ = 1 << 0,
26 READ_WRITE = READ | WRITE
32 assertEQ( ConstExpr.READ.getValue(), 1)
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/10.interfaces/07.interface_inheritance/Interface_inheritance_class_implementation/multi_inheritance_interface_abstract_method/
Dmulti_inheritance_interface_abstract_method_15.ets21 read(file: null): null;
29 read(file: null): null {
40 const result = fm.read(null)
Dmulti_inheritance_interface_abstract_method_16.ets21 read(file: boolean): boolean;
29 read(file: boolean): boolean {
40 const result = fm.read(true)
/arkcompiler/ets_runtime/ecmascript/stackmap/llvm/
Dllvm_stackmap_parser.cpp184 llvmStackMap_.head = dataInfo_->Read<struct Header>(); in CalculateStackMap()
185 uint32_t numFunctions = dataInfo_->Read<uint32_t>(); in CalculateStackMap()
186 uint32_t numConstants = dataInfo_->Read<uint32_t>(); in CalculateStackMap()
187 uint32_t numRecords = dataInfo_->Read<uint32_t>(); in CalculateStackMap()
189 auto stkRecord = dataInfo_->Read<struct StkMapSizeRecordTy>(); in CalculateStackMap()
194 auto val = dataInfo_->Read<struct ConstantsTy>(); in CalculateStackMap()
199 auto head = dataInfo_->Read<struct StkMapRecordHeadTy>(); in CalculateStackMap()
202 auto location = dataInfo_->Read<struct LocationTy>(); in CalculateStackMap()
206 dataInfo_->Read<uint16_t>(); in CalculateStackMap()
208 uint32_t numLiveOuts = dataInfo_->Read<uint32_t>(); in CalculateStackMap()
[all …]
/arkcompiler/ets_frontend/ets2panda/test/ast/compiler/ets/extension_accessor_tests/
DextensionSetterOnly.ets27 /* @@@ label1 Error TypeError: Cannot read from this property because it is writeonly. */
28 /* @@@ label2 Error TypeError: Cannot read from this property because it is writeonly. */
29 /* @@@ label3 Error TypeError: Cannot read from this property because it is writeonly. */
/arkcompiler/runtime_core/static_core/runtime/jit/libprofile/
Dpgo_file_builder.cpp413 inputFile.read(dst, n); in ReadBytes()
433 if (!Read(inputFile, &sectionHeader)) { in ReadPandaFilesSection()
434 return UnexpectedS("Cannot read panda files section header"); in ReadPandaFilesSection()
440 if (!Read(inputFile, &fileInfoHeader)) { in ReadPandaFilesSection()
441 return UnexpectedS("Cannot read panda file info header"); in ReadPandaFilesSection()
445 if (!Read(inputFile, pandaFile.data(), fileInfoHeader.fileNameLen - 1) || in ReadPandaFilesSection()
448 return UnexpectedS("Cannot read panda file info name"); in ReadPandaFilesSection()
460 if (!Read(inputFile, &methodsSectionHeader, 1, &checkSum)) { in ReadMethodsSection()
461 return UnexpectedS("Couldn't read profile methods section header"); in ReadMethodsSection()
483 if (!Read(inputFile, &methodHeader, 1, &checkSum)) { in ReadMethodSubSection()
[all …]
/arkcompiler/runtime_core/static_core/runtime/arch/aarch64/
Dshorty.S22 ldrh \shorty_reg, [\shorty_ptr_reg], #2 // read new shorty value and advance shorty_ptr
28 ldrh \shorty_reg, [\shorty_ptr_reg], #2 // read new shorty value and advance shorty_ptr
38 ldrh \shorty_reg, [\shorty_ptr_reg], #2 // read new shorty value and advance shorty_ptr

12345678910>>...25