Home
last modified time | relevance | path

Searched full:methods (Results 1 – 25 of 1180) sorted by relevance

12345678910>>...48

/arkcompiler/ets_frontend/ets2panda/linter/test/sdkwhite/
Dsdk_optional_methods.ets.arkts2.json24 "rule": "API no longer supports optional methods (sdk-optional-methods)",
34 "rule": "API no longer supports optional methods (sdk-optional-methods)",
44 "rule": "Optional methods are not supported (arkts-optional-methods)",
54 "rule": "Optional methods are not supported (arkts-optional-methods)",
64 "rule": "API no longer supports optional methods (sdk-optional-methods)",
74 "rule": "API no longer supports optional methods (sdk-optional-methods)",
84 "rule": "Optional methods are not supported (arkts-optional-methods)",
94 "rule": "API no longer supports optional methods (sdk-optional-methods)",
/arkcompiler/ets_frontend/ets2panda/test/ast/parser/ets/
Ddeclare_class_bad_5.ets53 /* @@? 17:3 Error SyntaxError: Methods or fields should not be decorated with private in ambient cl…
54 /* @@? 18:3 Error SyntaxError: Methods or fields should not be decorated with internal in ambient c…
55 /* @@? 19:3 Error SyntaxError: Methods or fields should not be decorated with private in ambient cl…
56 /* @@? 20:3 Error SyntaxError: Methods or fields should not be decorated with internal in ambient c…
57 /* @@? 21:3 Error SyntaxError: Methods or fields should not be decorated with private in ambient cl…
58 /* @@? 22:3 Error SyntaxError: Methods or fields should not be decorated with internal in ambient c…
59 /* @@? 23:3 Error SyntaxError: Methods or fields should not be decorated with private in ambient cl…
60 /* @@? 24:3 Error SyntaxError: Methods or fields should not be decorated with internal in ambient c…
61 /* @@? 38:3 Error SyntaxError: Methods or fields should not be decorated with private in ambient cl…
62 /* @@? 42:3 Error SyntaxError: Methods or fields should not be decorated with internal in ambient c…
[all …]
/arkcompiler/ets_runtime/test/moduletest/getiterator/
Dexpect_output.txt14 Testing methods affected by map Symbol.iterator:
17 Testing methods affected by set Symbol.iterator:
22 Testing methods affected by array Symbol.iterator:
25 Testing methods affected by map Symbol.iterator (inherited way):
30 Testing methods affected by custom Set Symbol.iterator (inherited way):
35 Testing methods affected by custom Array Symbol.iterator (inherited way):
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ani/tests/bind_ops/
Dclass_bind_native_methods_test.cpp58 std::array methods = { in TEST_F() local
62 ASSERT_EQ(env_->Class_BindNativeMethods(cls, methods.data(), methods.size()), ANI_OK); in TEST_F()
73 std::array methods = { in TEST_F() local
77 ASSERT_EQ(env_->Class_BindNativeMethods(cls, methods.data(), methods.size()), ANI_OK); in TEST_F()
78 … ASSERT_EQ(env_->Class_BindNativeMethods(cls, methods.data(), methods.size()), ANI_ALREADY_BINDED); in TEST_F()
89 std::array methods = { in TEST_F() local
95 ASSERT_EQ(env_->Class_BindNativeMethods(cls, methods.data(), nrMethods), ANI_NOT_FOUND); in TEST_F()
96 …ASSERT_EQ(env_->c_api->Class_BindNativeMethods(nullptr, cls, methods.data(), nrMethods), ANI_INVAL… in TEST_F()
97 ASSERT_EQ(env_->Class_BindNativeMethods(nullptr, methods.data(), nrMethods), ANI_INVALID_ARGS); in TEST_F()
116 std::array methods = { in TEST_F() local
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/homecheck/src/checker/migration/
DInteropRuleInfo.ts29 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/plugins/ets/compiler/docs/
Dnative_call_opt_doc.md5methods as fast as possible. But calling conventions of Managed and Native methods are not the sam…
9 Reduce overhead of Managed-to-Native calling convention transformations in calling Native methods f…
10 1. @ani.unsafe.Direct: no objects allowed (in params (so, no virtual methods) / ret value), no coro…
35 For @ani.unsafe.Direct (1) methods we replace CallStatic of Native method with following IR:
42 For @ani.unsafe.Quick and default (2) and (3) methods we replace CallStatic of Native method with f…
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/16.async_functions_and_methods/02.async_methods/
Dameth_n.params.yaml17 // Async methods can be neither abstract nor native.
23 // Async methods can be neither abstract nor native.
29 // Async methods can be neither abstract nor native.
35 // Async methods can be neither abstract nor native.
73 // Returning values of types Promise<T> and T from async methods is allowed.
81 // Returning values of types Promise<T> and T from async methods is allowed.
89 // Returning values of types Promise<T> and T from async methods is allowed.
97 // Returning values of types Promise<T> and T from async methods is allowed.
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/06.method_declarations/06.overriding_methods/inheriting_methods_with_override-equivalent_signatures/
Dinheritance_abstract_multiple_methods_with_same_signatures.ets17 desc: Inherit multiple methods with override-equivalent signatures, but method in superclass is abs…
18methods. Otherwise, the set of override-equivalent methods consists of at least one abstract metho…
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/03.types/19.union_types/02.access_to_common_union_members/
Dcm_meth1.params.yaml16 # Common methods
18 // classes, methods of any type
42 // classes, methods of number type
60 // classes, methods of bigint type
78 // classes, methods of Integral type
96 // classes, methods of Error type
114 // classes, methods of union literal type
132 // classes, methods of union type
150 // classes, methods of array type
168 // classes, methods of tuple type
[all …]
Dcm_meth2.params.yaml16 # Common methods in superclasses
18 // classes, methods of any type
38 // classes, methods of number type
62 // classes, methods of bigint type
82 // classes, methods of Integral type
114 // classes, methods of Error type
130 // classes, methods of union literal type
160 // classes, methods of union type
188 // classes, methods of array type
209 // classes, methods of tuple type
[all …]
Dcm_meth3.params.yaml16 # Common methods in interfaces
18 // interfaces, methods of any type
42 // interfaces, methods of number type
66 // interfaces, methods of bigint type
90 // interfaces, methods of Integral type
113 // interfaces, methods of Error type
137 // interfaces, methods of union literal type
161 // interfaces, methods of union type
185 // interfaces, methods of array type
209 // interfaces, methods of tuple type
[all …]
/arkcompiler/ets_frontend/ets2panda/bindings/src/generated/
DEs2pandaNativeModule.ts27 throw new Error('This methods was not overloaded by native module initialization');
38 throw new Error('This methods was not overloaded by native module initialization');
41 throw new Error('This methods was not overloaded by native module initialization');
44 throw new Error('This methods was not overloaded by native module initialization');
47 throw new Error('This methods was not overloaded by native module initialization');
/arkcompiler/ets_frontend/ets2panda/linter/src/lib/utils/consts/
DLimitedStdAPI.ts34 // methods
47 // methods
78 // methods
97 // methods
112 // methods
120 // methods
127 // methods
/arkcompiler/runtime_core/static_core/irtoc/lang/
Dvalidation.rb45 methods = []
51 methods << CompiledMethod.new
65 methods[-1][data[0]] = data[1]
68 Hash[methods.map { |m| [m.name.split('::')[1].to_sym, m] } ]
75 methods = parse_methods(dump_file)
78 method = methods[method_name.to_sym]
/arkcompiler/runtime_core/static_core/compiler/docs/
Dinlining.md10 - CallStatic - call static methods
11 - CallVirtual - call virtual methods
67 Since Panda VM allows instantiating a classes with abstract methods, we can't rely on the fact that…
74 CHA has dependency map, where key is a devirtualized method and value is a list of methods that emp…
76 dependency map and reset compilation code in the dependent methods.
78 But dependent methods (methods that inline devirtualized method) may already being executed and res…
80 dependent methods. Then we set special `ShouldDeoptimize` flag in the frame of these dependent meth…
/arkcompiler/runtime_core/static_core/runtime/tests/
Dgetmethod_test.cpp71 // define some methods unsorted in TEST_F()
97 // check if methods sorted by id and name in TEST_F()
98 auto methods = klass->GetMethods(); in TEST_F() local
99 ASSERT_EQ(methods.size(), methodsNum); in TEST_F()
102 ASSERT_TRUE(methods[i].GetFileId().GetOffset() < methods[j].GetFileId().GetOffset()); in TEST_F()
103 ASSERT_TRUE(methods[i].GetName() < methods[j].GetName()); in TEST_F()
/arkcompiler/runtime_core/docs/bc_verification/
Dabsint_checks.md3 ### Physical compatibility of arguments to instructions and actual parameters to methods
19 Checks of compatibility of objects in arguments to instructions and actual parameters to methods.
21 These checks eliminate calls of methods with incorrect `this`, wrong access to arrays, etc.
35 ### Check of return values from methods
/arkcompiler/ets_frontend/ets2panda/linter/test/main/
Doptional_methods.ets.arkts2.json24 "rule": "Optional methods are not supported (arkts-optional-methods)",
44 "rule": "Optional methods are not supported (arkts-optional-methods)",
/arkcompiler/runtime_core/static_core/docs/bc_verification/
Dabsint_checks.md3 ### Physical compatibility of arguments to instructions and actual parameters to methods
19 Checks of compatibility of objects in arguments to instructions and actual parameters to methods.
21 These checks eliminate calls of methods with incorrect `this`, wrong access to arrays, etc.
35 ### Check of return values from methods
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/
Dets_itable_builder.cpp99 // add methods if it's not an interface (methods are located only for classes)
125 auto methods = entry.GetInterface()->GetVirtualMethods(); in Build() local
127 if (!methods.Empty()) { in Build()
128 methodsAlloc = classLinker->GetAllocator()->AllocArray<Method *>(methods.size()); in Build()
130 Span<Method *> methodsArray = {methodsAlloc, methods.size()}; in Build()
148 auto methods = entry.GetInterface()->GetVirtualMethods(); in Resolve() local
149 for (size_t j = 0; j < methods.size(); j++) { in Resolve()
150 auto res = FindMethodInVTable(klass, &methods[j], errorHandler_); in Resolve()
155 res = &methods[j]; in Resolve()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/10.interfaces/07.interface_inheritance/multi_layer_interface/multi_layer_interface_inheritance_override/
Dmulti_layer_interface_inheritance_override_ext.params.yaml16 … method. In multi-layer inheritance, the sub-interface overrides all the methods of the upper-laye…
40 …An upper-layer interface has multiple methods. In multi-layer inheritance, the sub-interface overr…
76 … method. In multi-layer inheritance, the sub-interface overrides all the methods of the upper-laye…
100 … method. In multi-layer inheritance, the sub-interface overrides all the methods of the upper-laye…
124 … method. In multi-layer inheritance, the sub-interface overrides all the methods of the upper-laye…
148 … method. In multi-layer inheritance, the sub-interface overrides all the methods of the upper-laye…
172 … method. In multi-layer inheritance, the sub-interface overrides all the methods of the upper-laye…
196 … method. In multi-layer inheritance, the sub-interface overrides all the methods of the upper-laye…
220 … method. In multi-layer inheritance, the sub-interface overrides all the methods of the upper-laye…
249 … method. In multi-layer inheritance, the sub-interface overrides all the methods of the upper-laye…
[all …]
/arkcompiler/runtime_core/static_core/verification/config/
DREADME.md16 #### Whitelist for methods
18 List with methods full names, which will be considered as verified.
22 List of methods, calls to which always be considered as correct (signature checks is turned off for…
/arkcompiler/runtime_core/static_core/runtime/include/
Dvtable_builder_base-inl.h68 void VTableBuilderBase<VISIT_SUPERITABLE>::BuildForInterface(Span<Method> methods) in BuildForInterface() argument
70 for (const auto &method : methods) { in BuildForInterface()
118 bool VTableBuilderBase<VISIT_SUPERITABLE>::AddClassMethods(Span<Method> methods) in AddClassMethods() argument
123 for (auto &method : methods) { in AddClassMethods()
143 …// NOTE(vpukhov): avoid traversing the whole itable and handle conflicting super vtable methods in… in AddDefaultInterfaceMethods()
153 auto methods = iface->GetVirtualMethods(); in AddDefaultInterfaceMethods() local
154 for (auto &method : methods) { in AddDefaultInterfaceMethods()
196 bool VTableBuilderBase<VISIT_SUPERITABLE>::Build(Span<Method> methods, Class *baseClass, ITable ita… in Build() argument
200 BuildForInterface(methods); in Build()
205 if (!AddClassMethods(methods)) { in Build()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/05.generics/02.generic_instantiations/01.type_arguments/type_arguments_of_parameterized_declarations/
Dclass_variance_neg2.ets21 …It restricts available methods so it is only allowed to access methods that do not use T or do use…
24 …It restricts available methods so it is only allowed to access methods that do not use T or do use…
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ani/tests/native_library/
Dctor_test.cpp40 std::array methods = { in ANI_Constructor() local
44 if (ANI_OK != env->Class_BindNativeMethods(cls, methods.data(), methods.size())) { in ANI_Constructor()
45 std::cerr << "Cannot bind native methods to '" << className << "'" << std::endl; in ANI_Constructor()

12345678910>>...48