Home
last modified time | relevance | path

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

12345678910>>...19

/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()
78 value = static_cast<uint32_t>(helpers::Read<sizeof(uint32_t)>(&sp)); in EnumerateLiteralVals()
82 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.cpp27 auto class_idx = helpers::Read<IDX_SIZE>(&sp); in FieldDataAccessor()
28 auto type_idx = helpers::Read<IDX_SIZE>(&sp); in FieldDataAccessor()
33 name_off_ = helpers::Read<ID_SIZE>(&sp); in FieldDataAccessor()
65 value = static_cast<uint32_t>(helpers::Read<sizeof(uint32_t)>(&sp)); in GetValueInternal()
71 auto offset = static_cast<uint32_t>(helpers::Read<sizeof(uint32_t)>(&sp)); in GetValueInternal()
73 value = static_cast<uint64_t>(helpers::Read<sizeof(uint64_t)>(value_sp)); in GetValueInternal()
77 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.sts81 * 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)
149 * Read bytes as they represent given type
150 * @param byteOffset zero index to read
151 * @returns read value (big endian)
166 * 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()
44 auto literalValsNum = helpers::Read<LEN_SIZE>(&sp); in EnumerateLiteralVals()
47 auto tag = static_cast<LiteralTag>(helpers::Read<TAG_SIZE>(&sp)); in EnumerateLiteralVals()
50 value = static_cast<uint64_t>(helpers::Read<sizeof(uint64_t)>(&sp)); in EnumerateLiteralVals()
54 value = static_cast<uint32_t>(helpers::Read<sizeof(uint32_t)>(&sp)); in EnumerateLiteralVals()
58 value = bit_cast<double>(helpers::Read<sizeof(uint64_t)>(&sp)); in EnumerateLiteralVals()
62 value = static_cast<bool>(helpers::Read<sizeof(uint8_t)>(&sp)); in EnumerateLiteralVals()
66 value = bit_cast<float>(helpers::Read<sizeof(uint32_t)>(&sp)); in EnumerateLiteralVals()
70 value = static_cast<uint32_t>(helpers::Read<sizeof(uint32_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 = pandaFile_.ResolveClassIndex(protoId_, helpers::Read<IDX_SIZE>(&sp1)); in IsEqual()
103 … auto id2 = other->pandaFile_.ResolveClassIndex(other->protoId_, helpers::Read<IDX_SIZE>(&sp2)); in IsEqual()
133 auto classIdx = helpers::Read<IDX_SIZE>(&sp); in GetReferenceType()
146 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()
61 value = static_cast<uint32_t>(helpers::Read<sizeof(uint32_t)>(&sp)); in GetValueInternal()
67 auto offset = static_cast<uint32_t>(helpers::Read<sizeof(uint32_t)>(&sp)); in GetValueInternal()
69 value = static_cast<uint64_t>(helpers::Read<sizeof(uint64_t)>(valueSp)); in GetValueInternal()
73 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.h36 inline auto Read(Span<const uint8_t> *sp) in Read() function
52 inline auto Read<sizeof(uint16_t)>(Span<const uint8_t> *sp)
64 inline auto Read<sizeof(uint32_t)>(Span<const uint8_t> *sp)
80 inline auto Read(Span<const uint8_t> sp) in Read() function
82 return Read<WIDTH>(&sp); in Read()
147 T value = static_cast<T>(Read<sizeof(T)>(&sp)); in GetOptionalTaggedValue()
164 T value(Read<sizeof(T)>(&sp)); in EnumerateTaggedValues()
180 T value(Read<sizeof(T)>(&sp)); in EnumerateTaggedValuesWithEarlyStop()
Dmethod_data_accessor.cpp26 classIdx_ = helpers::Read<IDX_SIZE>(&sp); in MethodDataAccessor()
27 protoIdx_ = helpers::Read<IDX_SIZE>(&sp); in MethodDataAccessor()
32 nameOff_ = helpers::Read<ID_SIZE>(&sp); in MethodDataAccessor()
/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/test/sharedtest/sharedarray/
Dexpect_output.txt170 Index access read out of range success.
176 String Index access read out of range success.
180 [IC] Index access read in range success. array: 3
185 [IC] String Index access read in range success. array: 3
192 Update function [at] failed. err: TypeError: Cannot assign to read only property
197 Update function [at] failed. err: TypeError: Cannot assign to read only property
202 Update function [at] failed. err: TypeError: Cannot assign to read only property
207 Update function [at] failed. err: TypeError: Cannot assign to read only property
213 Update function [at] failed. err: TypeError: Cannot assign to read only property
240 Start Test array read out of range
[all …]
/arkcompiler/ets_runtime/ecmascript/jspandafile/accessor/
Dmodule_data_accessor.cpp30 numModuleRequests_ = panda_file::helpers::Read<panda_file::ID_SIZE>(&moduleSp); in ModuleDataAccessor()
33 auto value = static_cast<uint32_t>(panda_file::helpers::Read<sizeof(uint32_t)>(&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()
109 auto localNameOffset = static_cast<uint32_t>(panda_file::helpers::Read<sizeof(uint32_t)>(sp)); in ReadRegularImportEntry()
110 auto importNameOffset = static_cast<uint32_t>(panda_file::helpers::Read<sizeof(uint32_t)>(sp)); in ReadRegularImportEntry()
111 auto moduleRequestIdx = static_cast<uint32_t>(panda_file::helpers::Read<sizeof(uint16_t)>(sp)); in ReadRegularImportEntry()
130 auto localNameOffset = static_cast<uint32_t>(panda_file::helpers::Read<sizeof(uint32_t)>(sp)); in ReadNamespaceImportEntry()
131 auto moduleRequestIdx = static_cast<uint32_t>(panda_file::helpers::Read<sizeof(uint16_t)>(sp)); in ReadNamespaceImportEntry()
144 auto localExportNum = panda_file::helpers::Read<panda_file::ID_SIZE>(&sp); in EnumerateLocalExportEntry()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/templates/stdlib/
DDataView.sts.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/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/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()
/arkcompiler/ets_runtime/ecmascript/stackmap/llvm/
Dllvm_stackmap_parser.cpp184 llvmStackMap_.head = dataInfo_->Read<struct Header>(); in CalculateStackMap()
186 numFunctions = dataInfo_->Read<uint32_t>(); in CalculateStackMap()
187 numConstants = dataInfo_->Read<uint32_t>(); in CalculateStackMap()
188 numRecords = dataInfo_->Read<uint32_t>(); in CalculateStackMap()
190 auto stkRecord = dataInfo_->Read<struct StkMapSizeRecordTy>(); in CalculateStackMap()
195 auto val = dataInfo_->Read<struct ConstantsTy>(); in CalculateStackMap()
200 auto head = dataInfo_->Read<struct StkMapRecordHeadTy>(); in CalculateStackMap()
203 auto location = dataInfo_->Read<struct LocationTy>(); in CalculateStackMap()
207 dataInfo_->Read<uint16_t>(); in CalculateStackMap()
209 uint32_t numLiveOuts = dataInfo_->Read<uint32_t>(); in CalculateStackMap()
[all …]
/arkcompiler/runtime_core/static_core/runtime/arch/arm/
Dshorty.S22 ldrh \shorty_reg, [\shorty_ptr_reg], #2 // read new shorty value and advance shorty_ptr
28 ldrheq \shorty_reg, [\shorty_ptr_reg], #2 // read new shorty value and advance shorty_ptr
37 ldrheq \shorty_reg, [\shorty_ptr_reg], #2 // read new shorty value and advance shorty_ptr
/arkcompiler/runtime_core/static_core/runtime/arch/x86/
Dshorty.S20 movzwl (\shorty_ptr_reg), \shorty_reg // read new shorty value and advance shorty_ptr
27 movzwl (\shorty_ptr_reg), \shorty_reg // read new shorty value and advance shorty_ptr
39 movzwl (\shorty_ptr_reg), \shorty_reg // read new shorty value and advance shorty_ptr
/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
/arkcompiler/runtime_core/static_core/runtime/arch/amd64/
Dshorty.S20 movzwl (\shorty_ptr_reg), \shorty_reg // read new shorty value and advance shorty_ptr
27 movzwl (\shorty_ptr_reg), \shorty_reg // read new shorty value and advance shorty_ptr
39 movzwl (\shorty_ptr_reg), \shorty_reg // read new shorty value and advance shorty_ptr
/arkcompiler/ets_frontend/ets2panda/test/runtime/ets/
DEnum6.sts17 READ = 1,
38 assert (enum_val & Access.READ) == 0
40 assert (enum_val | Access.READ) == 3

12345678910>>...19