Home
last modified time | relevance | path

Searched full:objects (Results 1 – 25 of 619) sorted by relevance

12345678910>>...25

/arkcompiler/ets_frontend/ets2panda/linter/test/main/
Dclass_as_object.ts.arkts2.json24 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
34 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
44 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
54 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
74 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
94 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
114 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
134 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
154 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
174 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
[all …]
Dimported_use_as_object.ts.json24 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
34 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
44 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
54 "rule": "Namespaces cannot be used as objects (arkts-no-ns-as-obj)",
64 "rule": "Namespaces cannot be used as objects (arkts-no-ns-as-obj)",
74 "rule": "Namespaces cannot be used as objects (arkts-no-ns-as-obj)",
84 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
94 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
104 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
114 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
[all …]
Dsendable_class_initialization.sts25 prop3: SendableClass9 = {a: 1}; // ERROR, the initialization for "Sendable" objects is limited
26 prop4: SendableClass9 = [1, 2]; // ERROR, the initialization for "Sendable" objects is limited
27 …prop5: SendableClass9 | T | BigInt = {a: 1}; // ERROR, the initialization for "Sendable" objects i…
28 …prop6: SendableClass9 | T | BigInt = [1, 2]; // ERROR, the initialization for "Sendable" objects
33 let v2: SendableClass9 = {a: 1}; // ERROR, the initialization for "Sendable" objects is limited
34 let v3: SendableClass9 = [1, 2]; // ERROR, the initialization for "Sendable" objects is limited
35 …nonSendableClass9 | BigInt = [1, 2]; // ERROR, the initialization for "Sendable" objects is limited
36 …| nonSendableClass9 | null = [1, 2]; // ERROR, the initialization for "Sendable" objects is limited
Dclass_as_object.ts.json22 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
32 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
42 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
52 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
72 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
82 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
102 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
112 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
132 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
142 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
[all …]
Dinterface_literal_prop_name.ts.json24 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers…
34 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers…
44 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers…
54 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers…
64 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers…
74 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers…
Dsendable_class_initialization.ts.json34 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal…
44 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal…
64 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal…
84 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal…
104 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal…
114 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal…
124 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal…
134 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal…
Dconstructor_types.ts.json44 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
54 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
84 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
94 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
154 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
164 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
/arkcompiler/runtime_core/static_core/runtime/include/
Dstack_walker-inl.h25 template <bool OBJECTS, bool WITH_REG_INFO, class VRegRef, typename Func>
29 if (OBJECTS && !vreg.HasObject()) { in InvokeCallback()
67 template <bool OBJECTS, bool WITH_REG_INFO, typename Func>
80 if (!InvokeCallback<OBJECTS, WITH_REG_INFO>(func, regInfo, resReg)) { in IterateRegsForCFrameStatic()
87 if (OBJECTS) { in IterateRegsForCFrameStatic()
93 … return !resReg.HasObject() || InvokeCallback<OBJECTS, WITH_REG_INFO>(func, regInfo, resReg); in IterateRegsForCFrameStatic()
101 template <bool OBJECTS, bool WITH_REG_INFO, typename Func>
113 if (!InvokeCallback<OBJECTS, WITH_REG_INFO>(func, regInfo, resReg)) { in IterateRegsForCFrameDynamic()
120 if (OBJECTS) { in IterateRegsForCFrameDynamic()
125 … return !resReg.HasObject() || InvokeCallback<OBJECTS, WITH_REG_INFO>(func, regInfo, resReg); in IterateRegsForCFrameDynamic()
[all …]
/arkcompiler/runtime_core/libabckit/tests/ut/isa/isa_static/objects/
Dobjects.cpp40 helpers::ModuleByNameContext ctxFinder = {nullptr, "objects"}; in TransformIrCreateNewObject()
67 auto method1 = helpers::FindMethodByName(graph->file, "_ctor_:objects.C;void;"); in GetInitObjectInst()
72 auto method1 = helpers::FindMethodByName(graph->file, "_ctor_:objects.C;i32;void;"); in GetInitObjectInst()
77 auto method1 = helpers::FindMethodByName(graph->file, "_ctor_:objects.C;i32;i32;void;"); in GetInitObjectInst()
82 … auto method1 = helpers::FindMethodByName(graph->file, "_ctor_:objects.C;i32;i32;i32;void;"); in GetInitObjectInst()
87 … auto method1 = helpers::FindMethodByName(graph->file, "_ctor_:objects.C;i32;i32;i32;i32;void;"); in GetInitObjectInst()
93 …auto method1 = helpers::FindMethodByName(graph->file, "_ctor_:objects.C;i32;i32;i32;i32;i32;void;"… in GetInitObjectInst()
106 helpers::ModuleByNameContext ctxFinder = {nullptr, "objects"}; in TransformIrCreateInitObject()
130 …helpers::ExecuteStaticAbc(ABCKIT_ABC_DIR "ut/isa/isa_static/objects/objects.abc", "objects/ETSGLOB… in InitObjectTest()
139 ABCKIT_ABC_DIR "ut/isa/isa_static/objects/objects.abc", in InitObjectTest()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/12.indexing_expression/01.array_indexing_expression/
Dspec_ex2.sts28 const objects: RefType[] = [new RefType(), new RefType()]
29 const object = objects[1]
31 assert objects[0].field == 666
32 assert objects[1].field == 777
33 // console.log(objects[0].filed) // prints 666
34 // console.log(objects[1].filed) // prints 777
/arkcompiler/runtime_core/static_core/runtime/mem/
Dmem_stats.h62 /// Number of allocated objects for all time
65 /// Number of freed objects for all time
68 /// Number of allocated large and regular (size <= FREELIST_MAX_ALLOC_SIZE) objects for all time
71 /// Number of freed large and regular (size <= FREELIST_MAX_ALLOC_SIZE) objects for all time
74 /// Number of allocated humongous (size > FREELIST_MAX_ALLOC_SIZE) objects for all time
77 /// Number of freed humongous (size > FREELIST_MAX_ALLOC_SIZE) objects for all time
80 /// Number of alive objects now
83 /// Number of alive large and regular (size <= FREELIST_MAX_ALLOC_SIZE) objects now
86 /// Number of alive humongous (size > FREELIST_MAX_ALLOC_SIZE) objects now
/arkcompiler/ets_frontend/ets2panda/linter/test/ts_import_ets/ts/
Dtest6.ts.json44 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal…
54 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal…
64 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal…
74 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal…
84 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal…
94 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal…
104 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal…
114 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal…
124 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal…
Dtest7.ts.json54 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal…
74 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal…
94 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal…
114 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal…
134 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal…
154 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal…
174 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal…
194 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal…
214 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal…
/arkcompiler/runtime_core/docs/diagrams/
Dg1gc-gc-activity.puactivity30 :Mark objects by traversing object stack obtained from the roots;
31 :Compact: copy marked/alive objects to the old regions(create new if required)
32 Note: only if occupied by alive objects space in region < some threshold;
33 :Update references to the moved objects;
34 :Update RemSets(remove freed regions from RemSets, mark cards with moved objects as "dirty");
Dgenerational-minor-gc-activity.puactivity18 :Mark objects in young space;
19 :Copy marked/alive objects from young space to the tenured space;
20 :Update references to the moved objects;
/arkcompiler/runtime_core/static_core/docs/diagrams/
Dg1gc-gc-activity.plantuml30 :Mark objects by traversing object stack obtained from the roots;
31 :Compact: copy marked/alive objects to the old regions(create new if required)
32 Note: only if occupied by alive objects space in region < some threshold;
33 :Update references to the moved objects;
34 :Update RemSets(remove freed regions from RemSets, mark cards with moved objects as "dirty");
Dgenerational-minor-gc-activity.plantuml18 :Mark objects in young space;
19 :Copy marked/alive objects from young space to the tenured space;
20 :Update references to the moved objects;
/arkcompiler/ets_frontend/ets2panda/linter/test/rules/
Drule149.ts.json22 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
32 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
42 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
52 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
72 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
82 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
102 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
112 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
132 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
242 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
[all …]
/arkcompiler/runtime_core/static_core/runtime/mem/gc/gen-gc/
Dgen-gc.h54 // Gen GC can not pin objects in young space, so Gen GC does not support pinning in IsPinningSupported()
94 * Marks objects in young generation
118 * Concurrently marking all objects
124 * ReMarks objects after Concurrent marking
131 * Mark objects for the whole heap on pause
136 /// Collect dead objects in young generation and move survivors
155 /// Update all refs to moved objects
158 /// Sweep dead objects in tenured space
162 /// Sweep dead objects in young space
/arkcompiler/runtime_core/static_core/compiler/docs/
Descape_analysis.md12 …s algorithm described by Stadler et al in [Stadler 2014]. In addition to objects that never escape…
26objects that are alive at the beginning of the current block and are alive at the end of all the p…
31 * set of objects whose allocation could be either eliminated, or at least moved to some other place;
37 Scalar replacement uses the state described above to remove virtual objects allocations and insert …
40 * Materialize virtual objects where needed;
122 updated all save states by removing virtual objects and inserting new materialized objects;
127 …2014] the current escape analysis pass merges object states only for the objects that are known to…
/arkcompiler/runtime_core/static_core/runtime/mem/refstorage/
Dglobal_object_storage.cpp106 auto objects = PandaVector<ObjectHeader *>(allocator_->Adapter()); in GetAllObjects() local
109 objects.insert(objects.end(), globalObjects.begin(), globalObjects.end()); in GetAllObjects()
112 objects.insert(objects.end(), weakObjects.begin(), weakObjects.end()); in GetAllObjects()
115 objects.insert(objects.end(), fixedObjects.begin(), fixedObjects.end()); in GetAllObjects()
117 return objects; in GetAllObjects()
/arkcompiler/runtime_core/static_core/runtime/regexp/ecmascript/
Dregexp_opcode.cpp22 …pCode g_gSaveStartOpcode = SaveStartOpCode(); // NOLINT(fuchsia-statically-constructed-objects)
23 …ode g_gSaveEndOpcode = SaveEndOpCode(); // NOLINT(fuchsia-statically-constructed-objects)
24 … g_gCharOpcode = CharOpCode(); // NOLINT(fuchsia-statically-constructed-objects)
25 … g_gGotoOpcode = GotoOpCode(); // NOLINT(fuchsia-statically-constructed-objects)
26 …pCode g_gSplitNextOpcode = SplitNextOpCode(); // NOLINT(fuchsia-statically-constructed-objects)
27 …OpCode g_gSplitFirstOpcode = SplitFirstOpCode(); // NOLINT(fuchsia-statically-constructed-objects)
28 …e g_gMatchOpcode = MatchOpCode(); // NOLINT(fuchsia-statically-constructed-objects)
29 … g_gLoopOpcode = LoopOpCode(); // NOLINT(fuchsia-statically-constructed-objects)
30 …OpCode g_gLoopGreedyOpcode = LoopGreedyOpCode(); // NOLINT(fuchsia-statically-constructed-objects)
31 …Code g_gPushCharOpcode = PushCharOpCode(); // NOLINT(fuchsia-statically-constructed-objects)
[all …]
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/tests/
Dtest_gc_ark_pause.py31 'G1 GC freed 4234(4MB), 0(0B) LOS objects, 82% free, 46MB/256MB, ' \
41 self.assertEqual(4234, pev.freed_object_count, 'freed objects count is correct')
42 self.assertEqual(4 * 1024 * 1024, pev.freed_object_mem, 'freed objects memory is correct')
43 self.assertEqual(0, pev.freed_large_object_count, 'freed large objects count is correct')
44 self.assertEqual(0, pev.freed_large_object_mem, 'freed large objects memory is correct')
/arkcompiler/ets_runtime/ecmascript/regexp/
Dregexp_opcode.cpp23 …e g_saveStartOpcode = SaveStartOpCode(); // NOLINTNEXTLINE(fuchsia-statically-constructed-objects)
24 …g_saveEndOpcode = SaveEndOpCode(); // NOLINTNEXTLINE(fuchsia-statically-constructed-objects)
25 …harOpcode = CharOpCode(); // NOLINTNEXTLINE(fuchsia-statically-constructed-objects)
26 …otoOpcode = GotoOpCode(); // NOLINTNEXTLINE(fuchsia-statically-constructed-objects)
27 …e g_splitNextOpcode = SplitNextOpCode(); // NOLINTNEXTLINE(fuchsia-statically-constructed-objects)
29 …FirstOpCode(); // NOLINTNEXTLINE(fuchsia-statically-constructed-objects)
30 …tchOpCode g_matchOpcode = MatchOpCode(); // NOLINTNEXTLINE(fuchsia-statically-constructed-objects)
31 …opOpCode g_loopOpcode = LoopOpCode(); // NOLINTNEXTLINE(fuchsia-statically-constructed-objects)
33 …); // NOLINTNEXTLINE(fuchsia-statically-constructed-objects)
34 … g_pushCharOpcode = PushCharOpCode(); // NOLINTNEXTLINE(fuchsia-statically-constructed-objects)
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/docs/rules/
Drecipe52.md7 ArkTS does not support re-assigning a method for objects. In the statically
8 types languages, the layout of objects is fixed and all instances of the same
11 If you need to add specific behavior for certain objects, you can create

12345678910>>...25