| /arkcompiler/ets_frontend/ets2panda/linter/test/main/ |
| D | class_as_object.ts.arkts2.json | 24 "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 …]
|
| D | imported_use_as_object.ts.json | 24 "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 …]
|
| D | sendable_class_initialization.sts | 25 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
|
| D | class_as_object.ts.json | 22 "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 …]
|
| D | interface_literal_prop_name.ts.json | 24 …"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…
|
| D | sendable_class_initialization.ts.json | 34 …"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…
|
| D | constructor_types.ts.json | 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)", 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/ |
| D | stack_walker-inl.h | 25 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/ |
| D | objects.cpp | 40 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/ |
| D | spec_ex2.sts | 28 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/ |
| D | mem_stats.h | 62 /// 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/ |
| D | test6.ts.json | 44 …"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…
|
| D | test7.ts.json | 54 …"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/ |
| D | g1gc-gc-activity.puactivity | 30 :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");
|
| D | generational-minor-gc-activity.puactivity | 18 :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/ |
| D | g1gc-gc-activity.plantuml | 30 :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");
|
| D | generational-minor-gc-activity.plantuml | 18 :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/ |
| D | rule149.ts.json | 22 "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/ |
| D | gen-gc.h | 54 // 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/ |
| D | escape_analysis.md | 12 …s algorithm described by Stadler et al in [Stadler 2014]. In addition to objects that never escape… 26 …objects 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/ |
| D | global_object_storage.cpp | 106 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/ |
| D | regexp_opcode.cpp | 22 …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/ |
| D | test_gc_ark_pause.py | 31 '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/ |
| D | regexp_opcode.cpp | 23 …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/ |
| D | recipe52.md | 7 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
|