Home
last modified time | relevance | path

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

12345678910>>...62

/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/abc2program/
Dabc_class_processor.cpp37 pandasm::Record record("", keyData_.GetFileLanguage()); in FillRecord() local
38 record.name = keyData_.GetFullRecordNameById(entityId_); in FillRecord()
39 FillRecordMetaData(record); in FillRecord()
41 FillRecordData(record); in FillRecord()
43 std::string name = record.name; in FillRecord()
45 program_->recordTable.emplace(name, std::move(record)); in FillRecord()
48 void AbcClassProcessor::FillRecordData(pandasm::Record &record) in FillRecordData() argument
51 FillFields(record); in FillRecordData()
53 FillRecordSourceFile(record); in FillRecordData()
56 void AbcClassProcessor::FillRecordMetaData(pandasm::Record &record) in FillRecordMetaData() argument
[all …]
Dabc_class_processor.h32 void FillRecordData(pandasm::Record &record);
33 void FillRecordSourceFile(pandasm::Record &record);
34 void FillRecordMetaData(pandasm::Record &record);
35 void FillFields(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/main/
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/ets-templates/07.expressions/05.object_literal/03.object_literal_of_record_type/
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<string, number> = {
42 let a: Record<string, number> = {
49 let a: Record<string, number> = {
55 let a: Record<number, number> = {
61 let a: Record<number | boolean, number> = {
67 let a: Record<Error, string> = {} // CTE, wrong key type, Error is not allowed
70 let a: Record<number, number> = {
76 let a: Record<number, string> = {
[all …]
Dre.params.yaml18 let a: Record<number, string> = {}
19 let b: Record<number, string> = {}
20 assert(a instanceof Record)
21 assert(b instanceof Record)
26 let a: Record<number, string> = {
46 let a: Record<number, string> = {
62 let a: Record<string, number> = {
81 let a: Record<"Zero" | "One" | "Two", number> = {
92 let a: Record<string | "Zero" | "One" | "Two", number> = {
107 // string literals to Record
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/05.generics/03.utility_types/04.record_utility_type/
Drec.params.yaml18 type R1 = Record<string, Error>
31 type R1<T> = Record<T, Error>
45 let r: Record<string, number>[] = new Record<string, number>[3]
55 let r = new Array<Record<string, number>>()
66 let r: [Record<number, string>, Record<string, (p: number) => string>] = [
79 // fields of Record type
81 f1: Record<String, Boolean> = {}
82 f2: Record<Number, Boolean> = {}
95 // generic argument of record type
103 let r: Record<"a"|"b"|"c", number> = {
[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.Class
20 .record std.core.__internal_undefined
21 .record std.core.StackOverflowError
22 .record std.core.DoubleToStringCacheElement
23 .record std.core.FloatToStringCacheElement
24 .record std.core.LongToStringCacheElement
26 .record std.core.FinalizableWeakRef {
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/interfaces/interface_method_returns_value/arkts_interface/interface_method_return_value/
Dtest.sts46 mappedProperty: Record<number, string>
50 getRecord(): Record<number, Record<number, string>>
65 function helperMakeNestedRecord(): Record<number, Record<number, string>> {
66 const childRef: Record<number, string> = { 0: "child_0", 1: "child_1", 100: "child_100"}
67 const parentRef: Record<number, Record<number, string>> = { 0: childRef }
79 mappedProperty: Record<number, string> = { 1: 'one', 2: 'two', 3: 'three'}
97 getRecord(): Record<number, Record<number, string>> {
98 const childRef: Record<number, string> = { 1: "child_1", 2: "child_2", 100: "child_100"}
99 const parentRef: Record<number, Record<number, string>> = { 0: childRef }
158 public mappedProperty: Record<number, string> = { 1: 'one', 2: 'two', 3: 'three'}
[all …]
/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() argument
49 Record *AllocRecord(Args &&...args) in AllocRecord()
51 return new (Alloc()) Record(args...); in AllocRecord()
60 (curAddr_--)->~Record(); in PopRecord()
66 Record *Current() in Current()
72 Span<Record> GetRecords() in GetRecords()
74 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;
37 class LocalExportEntry : public Record {
42 static constexpr size_t LOCAL_EXPORT_ENTRY_OFFSET = Record::SIZE;
52 class IndirectExportEntry : public Record {
56 static constexpr size_t INDIRECT_EXPORT_ENTRY_OFFSET = Record::SIZE;
66 class StarExportEntry : public Record {
70 static constexpr size_t STAR_EXPORT_ENTRY_OFFSET = Record::SIZE;
/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/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/disassembler/tests/
Ddisassembler_user_annotations_test.cpp139 auto record = disasm->GetSerializedRecord(record_name); in ValidateRecord() local
140 ASSERT_NE(record, std::nullopt); in ValidateRecord()
141 std::string record_str = record.value(); in ValidateRecord()
172 .record declaration-3d-array-boolean.Anno1 {
178 .record declaration-3d-array-boolean.Anno2 {
184 .record declaration-3d-array-boolean.Anno3 {
201 .record declaration-3d-array-enum-number.Anno1 {
207 .record declaration-3d-array-enum-number.Anno2 {
213 .record declaration-3d-array-enum-number.Anno3 {
230 .record declaration-3d-array-enum-string.Anno1 {
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/runtime/types/
Dets_class_file_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 …]
/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/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 …]

12345678910>>...62