Home
last modified time | relevance | path

Searched +full:non +full:- +full:static (Results 1 – 25 of 491) sorted by relevance

12345678910>>...20

/arkcompiler/ets_runtime/test/sharedtest/sendable/
Dsendable.ts7 * http://www.apache.org/licenses/LICENSE-2.0
45 print('sendable inherit from non-sendable failed. err: ' + err + ', code: ' + err.code);
66 // 2. non-sendable can not inherit from sendable
76 print('non-sendable inherit from non-sendable succeed.');
78 print('non-sendable inherit from non-sendable failed. err: ' + err + ', code: ' + err.code);
91 print('non-sendable inherit from sendable succeed.');
93 print('non-sendable inherit from sendable failed. err: ' + err + ', code: ' + err.code);
96 // 3. non-sendable can not implement sendable
129 print('sendable contain non-sendable succeed.');
131 print('sendable contain non-sendable failed. err: ' + err + ', code: ' + err.code);
[all …]
Dexpect_output.txt6 # http://www.apache.org/licenses/LICENSE-2.0
15 sendable inherit from non-sendable failed. err: TypeError: Class not derived from a sendable object…
17 non-sendable inherit from non-sendable succeed.
18 non-sendable inherit from sendable failed. err: TypeError: The subclass of sendable class must be a…
20 sendable contain non-sendable failed. err: TypeError: Cannot set sendable property with mismatched …
21 sendable contain static non-sendable failed. err: TypeError: Cannot set sendable property with mism…
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/06.method_declarations/01.static_methods/
Dnon_static_method_declaration.sts1 /*---
2 Copyright (c) 2021-2024 Huawei Device Co., Ltd.
7 http://www.apache.org/licenses/LICENSE-2.0
14 ---*/
16 /*---
17 desc: Non-static method declaraion.
18 assert: A method that is not declared static called an instance method, and sometimes called a non-…
19 tags: [compile-only]
20 ---*/
27 static foo(): void {
/arkcompiler/runtime_core/tests/verifier-tests/
Daccess_field_nomodifier_core.pa1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
14 # access to non-public field of a foreign class:
15 # - it must fail in Java if the class is nor inherited by current class, nor stays in the same pack…
16 # - in non-Java language context it is OK
21 # public static int test() {
29 # static int value;
42 i32 value <static>
46 pckg.Test2 obj <static>
52 ldstatic pckg.Test2.value # access to non-public field of a foreign class
/arkcompiler/runtime_core/static_core/tests/verifier-tests/
Daccess_field_nomodifier_core.pa1 # Copyright (c) 2021-2024 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
14 # access to non-public field of a foreign class:
15 # - it must fail in Java if the class is nor inherited by current class, nor stays in the same pack…
16 # - in non-Java language context it is OK
21 # public static int test() {
29 # static int value;
42 i32 value <static>
46 pckg.Test2 obj <static>
52 ldstatic pckg.Test2.value # access to non-public field of a foreign class
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/05.field_declarations/03.field_initialization/
Dnon_static_field_initialization_reference.sts1 /*---
2 Copyright (c) 2021-2024 Huawei Device Co., Ltd.
7 http://www.apache.org/licenses/LICENSE-2.0
14 ---*/
16 /*---
17 desc: Static field 'f' have reference in static variable.
18non-static field f declared in class or interface C, it is a compile-time error if. The reference …
19 tags: [compile-only, negative]
20 ---*/
Dnon_static_field_self_initialization_reference.sts1 /*---
2 Copyright (c) 2021-2024 Huawei Device Co., Ltd.
7 http://www.apache.org/licenses/LICENSE-2.0
14 ---*/
16 /*---
17 desc: Non-static field 'f' have reference in static.
18 assert: For a reference to a non-static field f declared in class or interface C, it is a compile-t…
19 tags: [compile-only, negative]
20 ---*/
Dnon_static_field_initialization.sts1 /*---
2 Copyright (c) 2021-2024 Huawei Device Co., Ltd.
7 http://www.apache.org/licenses/LICENSE-2.0
14 ---*/
16 /*---
17 desc: Non-static field initialization.
18 assert: If there is an initializer in a non-static field declaration, then the initializer has the …
19 ---*/
Dfield_initialization_with_super.sts1 /*---
2 Copyright (c) 2021-2024 Huawei Device Co., Ltd.
7 http://www.apache.org/licenses/LICENSE-2.0
14 ---*/
16 /*---
17 desc: Non-static field initialization with keyword 'super'.
18 assert: It there is an initializer in a non-static field declaration, then the following rules appl…
19 ---*/
Dfield_initialization_with_this.sts1 /*---
2 Copyright (c) 2021-2024 Huawei Device Co., Ltd.
7 http://www.apache.org/licenses/LICENSE-2.0
14 ---*/
16 /*---
17 desc: Non-static field initialization with keyword 'this'.
18 assert: It there is an initializer in a non-static field declaration, then the following rules appl…
19 ---*/
/arkcompiler/runtime_core/static_core/plugins/ets/doc/spec/
D9_classes.rst2 Copyright (c) 2021-2024 Huawei Device Co., Ltd.
6 http://www.apache.org/licenses/LICENSE-2.0
24 Classes can be *top-level* and local (see :ref:`Local Classes and Interfaces`).
36 - Fields,
37 - Methods, and
38 - Accessors.
61 - ``Public``,
62 - ``Protected``,
63 - ``Internal``, or
64 - ``Private``.
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/01.class_declaration/class_modifiers_inner_classes_and_static_classes/
Dstatic_inner_class_with_non_static_member.sts2 * Copyright (c) 2021-2024 Huawei Device Co., Ltd.
7 * http://www.apache.org/licenses/LICENSE-2.0
16 /*---
17 desc: Declaring static inner class with non-static member.
18 assert: A compile-time error occurs if a non-static member of an enclosing class is used within a s…
19 tags: [compile-only, negative]
20 ---*/
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/01.class_declaration/01.abstract_classes/
Dabstract_subclass_1.sts1 /*---
7 http://www.apache.org/licenses/LICENSE-2.0
14 ---*/
16 /*---
17 desc: >-
18 Subclasses of an abstract class can be non-abstract or in turn abstract.
19 A non-abstract subclass of an abstract superclass can be instantiated.
21 for non-static fields of that class are executed.
22 ---*/
/arkcompiler/ets_runtime/ecmascript/
Djs_date_time_format.h2 * Copyright (c) 2021-2024 Huawei Device Co., Ltd.
7 * http://www.apache.org/licenses/LICENSE-2.0
71 std::string property; // NOLINT(misc-non-private-member-variables-in-classes)
72 std::vector<IcuPatternEntry> pairs; // NOLINT(misc-non-private-member-variables-in-classes)
73 …ap<const std::string, const std::string> map; // NOLINT(misc-non-private-member-variables-in-class…
74 std::vector<std::string> allowedValues; // NOLINT(misc-non-private-member-variables-in-classes)
77 // NOLINT(performance-noexcept-move-constructor, hicpp-noexcept-move)
84 … IcuPatternDesc("hour", {{data1, "2-digit"}, {data2, "numeric"}}, {"2-digit", "numeric"}))) {} in Pattern()
101 static constexpr size_t LOCALE_OFFSET = JSObject::SIZE;
114 static constexpr size_t HONOR_CYCLE_BITS = 3;
[all …]
/arkcompiler/runtime_core/static_core/libpandabase/os/
Dstacktrace.cpp2 * Copyright (c) 2021-2024 Huawei Device Co., Ltd.
7 * http://www.apache.org/licenses/LICENSE-2.0
34 // NOLINTNEXTLINE(modernize-pass-by-value)
42 uintptr_t startAddr; // NOLINT(misc-non-private-member-variables-in-classes)
43 uintptr_t endAddr; // NOLINT(misc-non-private-member-variables-in-classes)
44 uintptr_t offset; // NOLINT(misc-non-private-member-variables-in-classes)
45 std::string filename; // NOLINT(misc-non-private-member-variables-in-classes)
46 DebugInfoStatus status {NOT_READ}; // NOLINT(misc-non-private-member-variables-in-classes)
47 DebugInfo debugInfo; // NOLINT(misc-non-private-member-variables-in-classes)
55 // NOLINTNEXTLINE(modernize-pass-by-value)
[all …]
/arkcompiler/runtime_core/static_core/runtime/tests/tooling/
Dtest_extractor.h2 * Copyright (c) 2021-2024 Huawei Device Co., Ltd.
7 * http://www.apache.org/licenses/LICENSE-2.0
26 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
28 PandaString path; // NOLINT(misc-non-private-member-variables-in-classes)
29 size_t line; // NOLINT(misc-non-private-member-variables-in-classes)
59static std::optional<size_t> GetLineNumberByTableOffset(const panda_file::LineNumberTable &table, …
60static std::optional<uint32_t> GetOffsetByTableLineNumber(const panda_file::LineNumberTable &table…
66 // NOLINTNEXTLINE(misc-non-private-member-variables-in-classes)
/arkcompiler/runtime_core/static_core/tests/checked/
Dforce_unresolved_option.pa1 # Copyright (c) 2021-2024 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
17 i32 field0 <static>
18 i32 field1 <static>
26 .function void R.bar() <static> {
33 #! CHECKER Option compiler-force-unresolved is off
34 #! RUN_PAOC options: "--compiler-inlining=false --compiler-non-optimizing=true"
55 #! CHECKER Option compiler-force-unresolved is on
56 #! RUN_PAOC options: "--compiler-force-unresolved=true --compiler-inlining=false --compiler-non-o…
80 .function i32 main() <static> {
/arkcompiler/ets_frontend/ets2panda/test/test-lists/ets-runtime/
Dets-runtime-ignored.txt30 trailing-lambda-with-capture.sts
32 # ignored until union types are properly implemented and non nullish base type of array types can b…
35 # ignored until verifier can't handle if a field name can be static and non-static at the same time
36 class-fields-same-name.sts
39 struct-identifier.sts
40 struct-init.sts
41 struct-init2.sts
57 increment-on-nullish-type.sts
76 annotation_tests/Muti-AnnotationsDefineAndUseForClass.sts
/arkcompiler/runtime_core/libpandabase/os/
Dstacktrace.cpp2 * Copyright (c) 2021-2022 Huawei Device Co., Ltd.
7 * http://www.apache.org/licenses/LICENSE-2.0
34 // NOLINTNEXTLINE(modernize-pass-by-value)
42 uintptr_t start_addr; // NOLINT(misc-non-private-member-variables-in-classes)
43 uintptr_t end_addr; // NOLINT(misc-non-private-member-variables-in-classes)
44 uintptr_t offset; // NOLINT(misc-non-private-member-variables-in-classes)
45 std::string filename; // NOLINT(misc-non-private-member-variables-in-classes)
46 DebugInfoStatus status {NOT_READ}; // NOLINT(misc-non-private-member-variables-in-classes)
47 DebugInfo debug_info; // NOLINT(misc-non-private-member-variables-in-classes)
55 // NOLINTNEXTLINE(modernize-pass-by-value)
[all …]
/arkcompiler/runtime_core/static_core/runtime/mem/gc/
Dgc_trigger.h2 * Copyright (c) 2021-2024 Huawei Device Co., Ltd.
7 * http://www.apache.org/licenses/LICENSE-2.0
41 NO_GC_FOR_START_UP, // A non-production strategy, TRIGGER GC after the app starts up
44 …DEBUG_NEVER, // Trigger for testing which never triggers (young-gc can still trigger)…
45 ON_NTH_ALLOC, // Triggers GC on n-th allocation
152 static constexpr uint8_t DEFAULT_PERCENTAGE_THRESHOLD = 20;
156 static constexpr size_t MIN_HEAP_SIZE_FOR_TRIGGER = 512;
157 static constexpr size_t DEFAULT_MIN_TARGET_FOOTPRINT = 256;
158 static constexpr size_t DEFAULT_MIN_EXTRA_HEAP_SIZE = 32; // For heap-trigger-test
159 static constexpr size_t DEFAULT_MAX_EXTRA_HEAP_SIZE = 512_KB; // For heap-trigger-test
[all …]
/arkcompiler/runtime_core/static_core/compiler/tools/paoc/
Dpaoc.h2 * Copyright (c) 2021-2024 Huawei Device Co., Ltd.
7 * http://www.apache.org/licenses/LICENSE-2.0
56 … Method *method {nullptr}; // NOLINT(misc-non-private-member-variables-in-classes)
57 … ark::ArenaAllocator allocator; // NOLINT(misc-non-private-member-variables-in-classes)
58 … ark::ArenaAllocator graphLocalAllocator; // NOLINT(misc-non-private-member-variables-in-classes)
59 … ark::compiler::Graph *graph {nullptr}; // NOLINT(misc-non-private-member-variables-in-classes)
60 … size_t index; // NOLINT(misc-non-private-member-variables-in-classes)
61 … std::ofstream *stats {nullptr}; // NOLINT(misc-non-private-member-variables-in-classes)
62 … bool compilationStatus {true}; // NOLINT(misc-non-private-member-variables-in-classes)
92 static std::string GetFileLocation(const panda_file::File &pfileRef, std::string location);
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/08.class_initializer/
Dclass_initializer_with_throws.sts1 /*---
2 Copyright (c) 2021-2024 Huawei Device Co., Ltd.
7 http://www.apache.org/licenses/LICENSE-2.0
14 ---*/
16 /*---
18 …annot throw any exception and panic, as it effectively is a non-throwing function, see “Non-throwi…
19 tags: [compile-only, negative]
20 ---*/
25 static throws {
/arkcompiler/runtime_core/static_core/runtime/coroutines/
Dcoroutine.h2 * Copyright (c) 2023-2024 Huawei Device Co., Ltd.
7 * http://www.apache.org/licenses/LICENSE-2.0
44 * +---------+ +----------+
45 * | CREATED | -------------------------------> | | <-------------+
46 * +---------+ | RUNNABLE | |
47 * +--- | | <--+ |
48 * | +----------+ | |
50 * | +----------+ | +----------+
51 * +--> | | ---+ | |
52 * +------------+ +-------------+ | RUNNING | | BLOCKED |
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/05.field_declarations/02.readonly_constant_fields/
Dreadonly_static_field_declaration.sts2 * Copyright (c) 2021-2024 Huawei Device Co., Ltd.
7 * http://www.apache.org/licenses/LICENSE-2.0
16 /*---
17 desc: Readonly static field declaration.
18 assert: Both class and instance variables (static and non-static fields) may be declared readonly.
19 tags: [compile-only]
20 ---*/
23 public static readonly x: int;
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/15.exceptions/05.exceptions_and_errors_inside_field_initializers/
Dfld_obj.params.yaml6 # http://www.apache.org/licenses/LICENSE-2.0
14 ---
17 - decl: |-
25 static fld: Object|null|undefined = foo(4.0) // CTE expected
27 use: |-
29 tags: 'compile-only, negative'
32 - decl: |-
40 static fld: Object|null|undefined = foo(4.0)
42 use: |-
46 - decl: |-
[all …]

12345678910>>...20