| /arkcompiler/ets_frontend/ets2panda/linter/test/main/ |
| D | class_as_object.ets.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 | imported_use_as_object.ets.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 | class_as_object.ets.arkts2.json | 64 "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)", 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)", 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)", 194 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", 214 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", 294 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", [all …]
|
| D | sendable_class_initialization.ets | 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 | interface_literal_prop_name.ets.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…
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/xgc/ |
| D | mark_test_gc.js | 22 * Create weak reference objects 38 * Create weak reference objects 54 * Create weak reference objects 88 * Before XGC, cross-reference garbage objects cannot be recycled 96 throw new Error('JS GC cannot collect cross-reference table objects!'); 102 * Before XGC, cross-reference garbage objects cannot be recycled, 111 throw new Error('JS GC cannot collect cross-reference table objects!'); 120 * Before XGC, cross-reference garbage objects cannot be recycled, 121 * the normal objects that are referenced by cross-reference garbage objects cannot be recycled 129 …throw new Error('JS GC cannot collect the objects that are referenced by cross-referenced objects!… [all …]
|
| D | mark_test_sts.ets | 37 // Cancel the active objects reference cross-reference objects 120 * Create weak reference objects 132 * Create weak reference objects 146 * Create weak reference objects 171 throw new Error("STS GC cannot collect cross-reference table objects!"); 178 throw new Error("STS GC cannot collect cross-reference table objects!"); 188 …throw new Error('STS GC cannot collect the objects that are referenced by cross-referenced objects… 191 throw new Error("STS GC cannot collect cross-reference table objects!"); 202 … throw new Error("STS GC should collect cross-reference table objects that are dereferenced!"); 210 … throw new Error("STS GC should collect cross-reference table objects that are dereferenced!"); [all …]
|
| /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/ets_frontend/ets2panda/linter/test/interop/ |
| D | increases_decreases_js_obj.ets.arkts2.json | 44 …"rule": "Interop objects can't be incremented or decremented (arkts-interop-js2s-self-addtion-redu… 54 …"rule": "Properties of interop objects can't be accessed directly (arkts-interop-js2s-access-js-pr… 64 …"rule": "Interop objects can't be incremented or decremented (arkts-interop-js2s-self-addtion-redu… 74 …"rule": "Properties of interop objects can't be accessed directly (arkts-interop-js2s-access-js-pr… 84 …"rule": "Interop objects can't be incremented or decremented (arkts-interop-js2s-self-addtion-redu… 94 …"rule": "Properties of interop objects can't be accessed directly (arkts-interop-js2s-access-js-pr… 104 …"rule": "Interop objects can't be incremented or decremented (arkts-interop-js2s-self-addtion-redu… 114 …"rule": "Properties of interop objects can't be accessed directly (arkts-interop-js2s-access-js-pr… 124 …"rule": "Interop objects can't be incremented or decremented (arkts-interop-js2s-self-addtion-redu… 134 …"rule": "Properties of interop objects can't be accessed directly (arkts-interop-js2s-access-js-pr… [all …]
|
| D | interop_not_have_property_arkts2.ets.arkts2.json | 44 …"rule": "Properties of interop objects can't be accessed directly (arkts-interop-js2s-access-js-pr… 54 …"rule": "Properties of interop objects can't be accessed directly (arkts-interop-js2s-access-js-pr… 64 …"rule": "Properties of interop objects can't be accessed directly (arkts-interop-js2s-access-js-pr… 84 …"rule": "Properties of interop objects can't be accessed directly (arkts-interop-js2s-access-js-pr… 114 …"rule": "Properties of interop objects can't be accessed directly (arkts-interop-js2s-access-js-pr… 134 …"rule": "Properties of interop objects can't be accessed directly (arkts-interop-js2s-access-js-pr… 144 …"rule": "Direct usage of interop JS objects is not supported (arkts-interop-js2s-condition-judgmen… 164 …"rule": "ArkTS directly instantiated JS objects is not supported (arkts-interop-js2s-create-js-ins… 174 …"rule": "Properties of interop objects can't be accessed directly (arkts-interop-js2s-access-js-pr… 194 …"rule": "ArkTS directly instantiated JS objects is not supported (arkts-interop-js2s-create-js-ins… [all …]
|
| D | binary_operation_js_obj.ets.arkts2.json | 34 …"rule": "Properties of interop objects can't be accessed directly (arkts-interop-js2s-access-js-pr… 44 …"rule": "Properties of interop objects can't be accessed directly (arkts-interop-js2s-access-js-pr… 54 "rule": "Binary operations on js objects (arkts-interop-js2s-binary-op)", 64 "rule": "Binary operations on js objects (arkts-interop-js2s-binary-op)", 74 "rule": "Binary operations on js objects (arkts-interop-js2s-binary-op)", 84 "rule": "Binary operations on js objects (arkts-interop-js2s-binary-op)", 94 "rule": "Binary operations on js objects (arkts-interop-js2s-binary-op)", 104 "rule": "Binary operations on js objects (arkts-interop-js2s-binary-op)", 114 "rule": "Binary operations on js objects (arkts-interop-js2s-binary-op)", 124 "rule": "Binary operations on js objects (arkts-interop-js2s-binary-op)", [all …]
|
| D | interop_import_typeof_js.ets.arkts2.json | 54 …"rule": "The \"typeof\" expression can't be used with interop JS objects (arkts-interop-js2s-typeo… 74 …"rule": "The \"typeof\" expression can't be used with interop JS objects (arkts-interop-js2s-typeo… 84 …"rule": "The \"typeof\" expression can't be used with interop JS objects (arkts-interop-js2s-typeo… 104 …"rule": "The \"typeof\" expression can't be used with interop JS objects (arkts-interop-js2s-typeo… 124 …"rule": "The \"typeof\" expression can't be used with interop JS objects (arkts-interop-js2s-typeo… 134 …"rule": "The \"typeof\" expression can't be used with interop JS objects (arkts-interop-js2s-typeo… 144 …"rule": "Properties of interop objects can't be accessed directly (arkts-interop-js2s-access-js-pr… 154 …"rule": "The \"typeof\" expression can't be used with interop JS objects (arkts-interop-js2s-typeo… 164 …"rule": "Properties of interop objects can't be accessed directly (arkts-interop-js2s-access-js-pr… 174 …"rule": "ArkTS directly instantiated JS objects is not supported (arkts-interop-js2s-create-js-ins… [all …]
|
| D | no_js_instanceof.ets.arkts2.json | 34 …"rule": "Usage of \"instanceof\" operator is not allowed with interop objects (arkts-interop-js2s-… 44 …"rule": "Usage of \"instanceof\" operator is not allowed with interop objects (arkts-interop-js2s-… 54 …"rule": "Usage of \"instanceof\" operator is not allowed with interop objects (arkts-interop-js2s-… 84 …"rule": "Usage of \"instanceof\" operator is not allowed with interop objects (arkts-interop-js2s-… 94 …"rule": "Usage of \"instanceof\" operator is not allowed with interop objects (arkts-interop-js2s-… 104 …"rule": "Usage of \"instanceof\" operator is not allowed with interop objects (arkts-interop-js2s-… 114 …"rule": "Usage of \"instanceof\" operator is not allowed with interop objects (arkts-interop-js2s-… 124 …"rule": "Usage of \"instanceof\" operator is not allowed with interop objects (arkts-interop-js2s-… 134 …"rule": "Usage of \"instanceof\" operator is not allowed with interop objects (arkts-interop-js2s-… 164 …"rule": "Properties of interop objects can't be accessed directly (arkts-interop-js2s-access-js-pr… [all …]
|
| D | interop_import_js_index.ets.arkts2.json | 44 …"rule": "Properties of interop objects can't be accessed directly (arkts-interop-js2s-access-js-pr… 64 … "rule": "Interop objects can't be indexed directly (arkts-interop-js2s-access-js-index)", 84 … "rule": "Interop objects can't be indexed directly (arkts-interop-js2s-access-js-index)", 104 …"rule": "Properties of interop objects can't be accessed directly (arkts-interop-js2s-access-js-pr… 114 …"rule": "Properties of interop objects can't be accessed directly (arkts-interop-js2s-access-js-pr… 144 …"rule": "Properties of interop objects can't be accessed directly (arkts-interop-js2s-access-js-pr… 154 …"rule": "Direct usage of interop JS objects is not supported (arkts-interop-js2s-traverse-js-insta… 164 … "rule": "Interop objects can't be indexed directly (arkts-interop-js2s-access-js-index)", 174 …"rule": "Direct usage of interop JS objects is not supported (arkts-interop-js2s-traverse-js-insta… 184 … "rule": "Interop objects can't be indexed directly (arkts-interop-js2s-access-js-index)", [all …]
|
| D | no_await_js_promise.ets.arkts2.json | 20 …"rule": "\"Await\" operator can't be used with interop objects (arkts-interop-js2s-await-js-promis… 30 …"rule": "\"Await\" operator can't be used with interop objects (arkts-interop-js2s-await-js-promis… 40 …"rule": "\"Await\" operator can't be used with interop objects (arkts-interop-js2s-await-js-promis… 50 …"rule": "\"Await\" operator can't be used with interop objects (arkts-interop-js2s-await-js-promis… 60 …"rule": "\"Await\" operator can't be used with interop objects (arkts-interop-js2s-await-js-promis… 70 …"rule": "\"Await\" operator can't be used with interop objects (arkts-interop-js2s-await-js-promis… 100 …"rule": "\"Await\" operator can't be used with interop objects (arkts-interop-js2s-await-js-promis… 110 …"rule": "\"Await\" operator can't be used with interop objects (arkts-interop-js2s-await-js-promis… 130 …"rule": "\"Await\" operator can't be used with interop objects (arkts-interop-js2s-await-js-promis…
|
| D | interop_convert_import.ets.arkts2.json | 44 …"rule": "Casting interop JS objects to primitive types is not allowed (arkts-interop-js2s-convert-… 54 …"rule": "Properties of interop objects can't be accessed directly (arkts-interop-js2s-access-js-pr… 64 …"rule": "Casting interop JS objects to primitive types is not allowed (arkts-interop-js2s-convert-… 74 …"rule": "Properties of interop objects can't be accessed directly (arkts-interop-js2s-access-js-pr… 84 …"rule": "Casting interop JS objects to primitive types is not allowed (arkts-interop-js2s-convert-… 94 …"rule": "Properties of interop objects can't be accessed directly (arkts-interop-js2s-access-js-pr… 104 …"rule": "Casting interop JS objects to primitive types is not allowed (arkts-interop-js2s-convert-… 114 …"rule": "Properties of interop objects can't be accessed directly (arkts-interop-js2s-access-js-pr… 124 …"rule": "Casting interop JS objects to primitive types is not allowed (arkts-interop-js2s-convert-… 174 …"rule": "Casting interop JS objects to primitive types is not allowed (arkts-interop-js2s-convert-… [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/12.indexing_expression/01.array_indexing_expression/ |
| D | spec_ex2.ets | 28 const objects: RefType[] = [new RefType(), new RefType()] 29 const obj = objects[1] 31 assertTrue( objects[0].field == 666 ) 32 assertTrue( objects[1].field == 777 ) 33 // console.log(objects[0].filed) // prints 666 34 // console.log(objects[1].filed) // prints 777
|
| /arkcompiler/ets_frontend/ets2panda/linter/homecheck/src/checker/migration/ |
| D | InteropRuleInfo.ts | 29 description: "ArkTS 1.1 Object's built-in methods work on ArkTS 1.2 objects", 37 description: "ArkTS 1.1 Reflect's built-in methods work on ArkTS 1.2 objects", 45 description: "ArkTS 1.2 Object's built-in methods work on ArkTS 1.1 objects", 53 description: "ArkTS 1.2 Reflect's built-in methods work on ArkTS 1.1 objects", 61 description: "ArkTS 1.1 Object's built-in methods work on ArkTS 1.2 objects", 69 description: "ArkTS 1.1 Reflect's built-in methods work on ArkTS 1.2 objects", 77 description: "ArkTS 1.2 Object's built-in methods work on ArkTS 1.1 objects", 85 description: "ArkTS 1.2 Reflect's built-in methods work on ArkTS 1.1 objects", 91 description: "TypeScript Object's built-in methods work on ArkTS objects", 97 description: "TypeScript Reflect's built-in methods work on ArkTS objects", [all …]
|
| /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/test/ast/compiler/ets/FixedArray/ |
| D | unionCommonMember_neg.ets | 54 /* @@@ label1 Error TypeError: Member type must be the same for all union objects. */ 55 /* @@@ label2 Error TypeError: Member type must be the same for all union objects. */ 56 /* @@@ label3 Error TypeError: Member type must be the same for all union objects. */ 57 /* @@@ label4 Error TypeError: Member type must be the same for all union objects. */ 58 /* @@@ label5 Error TypeError: Member type must be the same for all union objects. */ 59 /* @@@ label6 Error TypeError: Member type must be the same for all union objects. */ 60 /* @@@ label7 Error TypeError: Member type must be the same for all union objects. */ 61 /* @@@ label8 Error TypeError: Member type must be the same for all union objects. */
|
| /arkcompiler/ets_frontend/ets2panda/test/ast/compiler/ets/ |
| D | unionCommonMember_neg.ets | 54 /* @@@ label1 Error TypeError: Member type must be the same for all union objects. */ 55 /* @@@ label2 Error TypeError: Member type must be the same for all union objects. */ 56 /* @@@ label3 Error TypeError: Member type must be the same for all union objects. */ 57 /* @@@ label4 Error TypeError: Member type must be the same for all union objects. */ 58 /* @@@ label5 Error TypeError: Member type must be the same for all union objects. */ 59 /* @@@ label6 Error TypeError: Member type must be the same for all union objects. */ 60 /* @@@ label7 Error TypeError: Member type must be the same for all union objects. */ 61 /* @@@ label8 Error TypeError: Member type must be the same for all union objects. */
|
| /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…
|
| /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");
|
| /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");
|