Home
last modified time | relevance | path

Searched full:record (Results 1 – 25 of 1457) sorted by relevance

12345678910>>...59

/arkcompiler/ets_frontend/merge_abc/src/
DassemblyRecordProto.cpp19 void Record::Serialize(const panda::pandasm::Record &record, protoPanda::Record &protoRecord) in Serialize() argument
21 protoRecord.set_name(record.name); in Serialize()
22 protoRecord.set_conflict(record.conflict); in Serialize()
23 protoRecord.set_language(static_cast<uint32_t>(record.language)); in Serialize()
25 RecordMetadata::Serialize(*record.metadata, *proto_record_meta); in Serialize()
27 for (const auto &field : record.field_list) { in Serialize()
32 protoRecord.set_paramsnum(record.params_num); in Serialize()
33 protoRecord.set_bodypresence(record.body_presence); in Serialize()
34 protoRecord.set_sourcefile(record.source_file); in Serialize()
36 const auto &location = record.file_location; in Serialize()
[all …]
DassemblyRecordProto.h26 class Record {
28 static void Serialize(const panda::pandasm::Record &record, protoPanda::Record &protoRecord);
29 static void Deserialize(const protoPanda::Record &protoRecord, panda::pandasm::Record &record,
/arkcompiler/runtime_core/static_core/plugins/ets/assembler/extension/
Dmetadata.yaml25 type: record
28 - record
31 type: record
34 - record
40 - record
46 - record
53 - record
59 - record
69 - record
72 type: record
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/test/
Drecord_type.sts23 let persons : Record<string, Person> = {
31 let persons2 : Record<string, OptionalPerson> = {
40 let persons3 : Record<string, Person | undefined> = {
49 type R1 = Record<number, string>; // ok
50 type R2 = Record<1 | 2, string>; // ok
51 type R3 = Record<"salary" | "bonus", number>; // ok
54 let x: Record<Keys, number> = {
65 // Initializing Record<K, T>
66 let m1: Record<string, number | undefined> = { // OK
78 let persons : Record<string, OptionalPerson> = { // OK
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/integrational/
Dmock_stdlib.pa16 .record std.core.String
17 .record std.core.StringBuilder
18 .record std.core.Object
19 .record std.core.__internal_undefined
20 .record std.core.StackOverflowError
21 .record std.core.DoubleToStringCacheElement
22 .record std.core.FloatToStringCacheElement
23 .record std.core.LongToStringCacheElement
24 .record std.core.FinalizableWeakRef
26 .record std.core.OutOfMemoryError {
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/
Dinterop_stacks.h31 startAddr_ = reinterpret_cast<Record *>(pool); in InteropCallStack()
32 endAddr_ = reinterpret_cast<Record *>(ToUintPtr(pool) + POOL_SIZE); in InteropCallStack()
41 struct Record { struct
42Record(void *etsCurFrame, char const *codeDescr) : etsFrame(etsCurFrame), descr(codeDescr) {} in Record() function
49 Record *AllocRecord(Args &&...args) in AllocRecord()
51 return new (Alloc()) Record(args...); in AllocRecord()
59 (curAddr_--)->~Record(); in PopRecord()
65 Record *Current() in Current()
71 Span<Record> GetRecords() in GetRecords()
73 return {startAddr_, (ToUintPtr(curAddr_) - ToUintPtr(startAddr_)) / sizeof(Record)}; in GetRecords()
[all …]
/arkcompiler/ets_runtime/ecmascript/module/
Djs_module_entry.h20 #include "ecmascript/record.h"
23 class ImportEntry final : public Record {
27 static constexpr size_t IMPORT_ENTRY_OFFSET = Record::SIZE;
36 class LocalExportEntry : public Record {
41 static constexpr size_t LOCAL_EXPORT_ENTRY_OFFSET = Record::SIZE;
51 class IndirectExportEntry : public Record {
55 static constexpr size_t INDIRECT_EXPORT_ENTRY_OFFSET = Record::SIZE;
64 class StarExportEntry : public Record {
68 static constexpr size_t STAR_EXPORT_ENTRY_OFFSET = Record::SIZE;
/arkcompiler/runtime_core/static_core/disassembler/tests/
Dmetadata_test.cpp40 .record B <external> in TEST()
42 .record A { in TEST()
77 EXPECT_TRUE(prog.find(".record A {\n}") != std::string::npos); in TEST()
78 EXPECT_TRUE(prog.find(".record B <external>") != std::string::npos); in TEST()
95 .record B <external> { in TEST()
116 EXPECT_TRUE(prog.find(".record B <external> {") != std::string::npos); in TEST()
132 .record A <access.record=public> { in GetTestSource1()
136 .record B <access.record=protected> { } in GetTestSource1()
138 .record C <access.record=private> { in GetTestSource1()
147 .record A <access.record=protected> { in GetTestSource2()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/05.object_literal/03.object_literal_of_record_type/
Dre.params.yaml17 let a: Record<number, string> = {}
18 let b: Record<number, string> = {}
19 assert a instanceof Record
20 assert b instanceof record
24 let a: Record<number, string> = {
38 let a: Record<-10 | 2 | number, string> = {
52 let a: Record<"a" | "b" | "c", Record<number, boolean>> = {
70 let a: Record<Keys, Values> = {
81 type R = Record<string, string>
95 type R = Record<number, func | boolean>
Dre_n.params.yaml17 let a: Record< 1|2|3|4|5, number> = {
27 let a: Record< 1|2|3|4|5, number> = {
35 let a: Record<number, number> = {
41 let a: Record<number | boolean, number> = {
47 let a: Record<number, number> = {
53 let a: Record<number, number> = {
60 let a: Record<number, number> = {
67 let a: Record<-10 | 2 | number, string> = {
/arkcompiler/runtime_core/static_core/static_linker/tests/data/single/
Dexceptions.pa14 .record IO <external>
15 .record panda.String <external>
19 .record E {}
21 .record E1 <> {}
23 .record E2 <> {}
27 .record T {}
33 .record T1 {}
40 .record T2 {}
47 .record T3 {}
/arkcompiler/runtime_core/static_core/plugins/ets/tests/runtime/types/
Dets_class_test.cpp35 .record Test {} in InSamePackagePrologue()
119 .record A {} in TEST_F()
120 .record B <ets.extends = A> {} in TEST_F()
121 .record C <ets.extends = B> {} in TEST_F()
138 .record ITest <ets.abstract, ets.interface>{} in TEST_F()
154 .record A { in TEST_F()
169 .record B {} in TEST_F()
184 .record TestObject {} in TEST_F()
185 .record A { in TEST_F()
201 .record B { in TEST_F()
[all …]
/arkcompiler/runtime_core/docs/
Dassembly_format.md110 ### Record metadata annotations
114 A definition of a record is assumed.
121 A declaration of a record is assumed.
125 | `external` | Marks an externally defined record. Does not require value. |
155 | `java.access` | Used to specify access level of record, field or function. Possible values: `priv…
156 …ava.extends` | Used to specify inheritance between records. Value is the name of the base record. |
157 …nterface inheritance between records. Value is the name of the interface record. Allowed multiple …
158 | `java.interface` | Used to specify that the record represents Java interface. |
159 | `java.enum` | Used to specify that the record and its fields represent Java enum. |
160 | `java.annotation` | Used to specify that the record represents Java annotation. |
[all …]
/arkcompiler/runtime_core/static_core/libllvmbackend/object_code/
Dcode_info_producer.cpp138 unsigned CodeInfoProducer::CollectRoots(const LLVMStackMap::RecordAccessor &record, uint64_t stackS… in CollectRoots() argument
143 auto deoptCount = record.getLocation(LOCATION_DEOPT_COUNT).getSmallConstant(); in CollectRoots()
144 …for (uint64_t i = LOCATION_DEOPT_COUNT + deoptCount + 1; i < record.getNumLocations(); i += LOCATI… in CollectRoots()
145 const auto &loc = record.getLocation(i); in CollectRoots()
173 …::BuildSingleRegMap(compiler::CodeInfoBuilder *builder, const LLVMStackMap::RecordAccessor &record, in BuildSingleRegMap() argument
176 int32_t vregsTotal = record.getLocation(methodIdIndex + INLINE_VREG_COUNT).getSmallConstant(); in BuildSingleRegMap()
180 …int32_t vregIndex = record.getLocation(methodIdIndex + INLINE_VREGS + i + VREG_IDX).getSmallConsta… in BuildSingleRegMap()
190 …auto typeVal = record.getLocation(methodIdIndex + INLINE_VREGS + idx + VREG_TYPE).getSmallConstant… in BuildSingleRegMap()
192 const auto &loc = record.getLocation(methodIdIndex + INLINE_VREGS + idx + VREG_VALUE); in BuildSingleRegMap()
227 …oducer::BuildRegMap(compiler::CodeInfoBuilder *builder, const LLVMStackMap::RecordAccessor &record, in BuildRegMap() argument
[all …]
Dcode_info_producer.h54 using Record = LLVMStackMap::RecordAccessor; variable
72 …static void DumpStackMapRecord(const Record &record, std::ostream &stream, const std::string &pref…
79 unsigned CollectRoots(const Record &record, uint64_t stackSize, ArenaBitVector *stack) const;
81 …void BuildSingleRegMap(CodeInfoBuilder *builder, const Record &record, int32_t methodIdIndex, int3…
83 void BuildRegMap(CodeInfoBuilder *builder, const Record &record, uint64_t stackSize) const;
/arkcompiler/runtime_core/tests/cts-generator/cts-template/
Dldarr.obj.yaml20 .record panda.ArrayIndexOutOfBoundsException <external>
21 .record R {}
24 .record panda.ArrayIndexOutOfBoundsException <external>
25 .record panda.String <external>
26 .record R {}
29 .record panda.NullPointerException <external>
32 .record panda.NullPointerException <external>
110 .record R {}
160 .record R {}
209 .record R {}
[all …]
Dstarr.obj.yaml20 .record panda.ArrayIndexOutOfBoundsException <external>
21 .record R {}
27 .record panda.ArrayIndexOutOfBoundsException <external>
28 .record panda.String <external>
29 .record R {}
35 .record panda.NullPointerException <external>
38 .record panda.NullPointerException <external>
41 .record panda.ArrayStoreException <external>
44 .record panda.ArrayStoreException <external>
82 .record A {}
[all …]
Dlda.obj.yaml49 .record Object {
53 .record Object {
58 .record Object {
63 .record Object {
68 .record Object {
73 .record Object {
79 .record Object {
85 .record Object {
91 .record Object {
116 .record Object {}
[all …]
Dmov.obj.yaml50 .record Object {
54 .record Object {
59 .record Object {
64 .record Object {
69 .record Object {
74 .record Object {
81 .record Object {
87 .record Object {
93 .record Object {
118 .record Object {}
[all …]
/arkcompiler/runtime_core/static_core/tests/cts-generator/cts-template/
Dstarr.obj.yaml17 .record panda.ArrayIndexOutOfBoundsException <external>
18 .record R {}
24 .record panda.NullPointerException <external>
27 .record panda.ArrayStoreException <external>
62 .record A {}
121 .record A {}
144 .record A {}
253 .record panda.Object <external>
254 .record panda.String <external>
255 .record panda.Class <external>
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/
Dpgo_bc_info.cpp20 void PGOBCInfo::Info::Record(const InfoDetail &detail) in Record() function in panda::ecmascript::kungfu::PGOBCInfo::Info
56 void PGOBCInfo::Record(const InfoDetail &detail, Type type) in Record() function in panda::ecmascript::kungfu::PGOBCInfo
60 info.Record(detail); in Record()
63 void PGOBCInfo::Record(const BytecodeInstruction &bcIns, int32_t bcIndex, in Record() function in panda::ecmascript::kungfu::PGOBCInfo
71Record(InfoDetail {recordName, methodOffset, bcIndex, bcOffset, cpIndex}, Type::OBJ_LITERAL); in Record()
74Record(InfoDetail {recordName, methodOffset, bcIndex, bcOffset, cpIndex}, Type::ARRAY_LITERAL); in Record()
76 Record(InfoDetail {recordName, methodOffset, bcIndex, bcOffset, 0}, Type::EMPTY_ARRAY); in Record()
78 Record(InfoDetail {recordName, methodOffset, bcIndex, bcOffset, 0}, Type::CALL_TARGET); in Record()
80 Record(InfoDetail {recordName, methodOffset, bcIndex, bcOffset, 0}, Type::CLASS); in Record()
82 Record(InfoDetail {recordName, methodOffset, bcIndex, bcOffset, 0}, Type::FUNCTION); in Record()
/arkcompiler/runtime_core/static_core/runtime/tests/
Dexception_test.cpp101 .record panda.AbstractMethodError <external>
103 .record panda.Exception <external>
105 .record R {}
113 .record ProvokeAbstractMethodException {
185 .record panda.AbstractMethodError <external>
187 .record panda.Exception <external>
189 .record R {}
197 .record ProvokeAbstractMethodException {
270 .record panda.AbstractMethodError <external>
272 .record panda.Exception <external>
[all …]
/arkcompiler/runtime_core/disassembler/tests/expected/
Dmodule-import-file.pa16 .record _ESConcurrentModuleRequestsAnnotation {
19 .record _ESSlotNumberAnnotation {
22 .record _ESTypeAnnotation <external>
24 .record module-import-file {
30 .record module-indirect-export {
36 .record module-local-export {
42 .record module-start-export {
Dmodule-start-export.pa16 .record _ESConcurrentModuleRequestsAnnotation {
19 .record _ESSlotNumberAnnotation {
22 .record _ESTypeAnnotation <external>
24 .record module-import-file {
30 .record module-indirect-export {
36 .record module-local-export {
42 .record module-start-export {
Dmodule-indirect-export.pa16 .record _ESConcurrentModuleRequestsAnnotation {
19 .record _ESSlotNumberAnnotation {
22 .record _ESTypeAnnotation <external>
24 .record module-import-file {
30 .record module-indirect-export {
36 .record module-local-export {
42 .record module-start-export {

12345678910>>...59