Home
last modified time | relevance | path

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

12345678910>>...29

/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/06.method_declarations/inheriting_methods_with_override-equivalent_signatures/
Dinheritance_abstract_multiple_methods_with_same_signatures.sts17 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/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/plugins/ets/runtime/
Dets_itable_builder.cpp97 // add methods if it's not an interface (methods are located only for classes)
123 auto methods = entry.GetInterface()->GetVirtualMethods(); in Build() local
125 if (!methods.Empty()) { in Build()
126 methodsAlloc = classLinker->GetAllocator()->AllocArray<Method *>(methods.size()); in Build()
128 Span<Method *> methodsArray = {methodsAlloc, methods.size()}; in Build()
146 auto methods = entry.GetInterface()->GetVirtualMethods(); in Resolve() local
147 for (size_t j = 0; j < methods.size(); j++) { in Resolve()
148 auto res = FindMethodInVTable(klass, &methods[j], errorHandler_); in Resolve()
153 res = &methods[j]; in Resolve()
178 auto methods = entry.GetMethods(); in DumpITable() local
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/declgen_ets2ts/methods/
Dlib.expected23 class Methods {
32 (Methods as any) = (globalThis as any).Panda.getClass('LMethods;');
33 export {Methods};
34 exports.Methods = Methods;
/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…
Dpaoc.md23 - A boolean option that allows to continue the compilation if some of the methods are failed to com…
48 - Generate symbols for compiled methods (always true in debug builds).
53 The following options allow to specify methods to compile.
56 #### `--paoc-methods-from-file`
58 - Path to a file which contains full names of methods to compile.
70 …special compiler options (different from default and passed via command line) to specified methods:
/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/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()
115 bool VTableBuilderBase<VISIT_SUPERITABLE>::AddClassMethods(Span<Method> methods) in AddClassMethods() argument
119 for (auto &method : methods) { in AddClassMethods()
138 …// NOTE(vpukhov): avoid traversing the whole itable and handle conflicting super vtable methods in… in AddDefaultInterfaceMethods()
148 auto methods = iface->GetVirtualMethods(); in AddDefaultInterfaceMethods() local
149 for (auto &method : methods) { in AddDefaultInterfaceMethods()
191 bool VTableBuilderBase<VISIT_SUPERITABLE>::Build(Span<Method> methods, Class *baseClass, ITable ita… in Build() argument
195 BuildForInterface(methods); in Build()
200 if (!AddClassMethods(methods)) { in Build()
/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/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/tests/ets-templates/05.generics/02.generic_instantiations/02.type_arguments/type_arguments_of_parameterized_declarations/
Dclass_variance_neg2.sts21 …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…
Dclass_variance.sts21 …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…
Dinterface_variance.sts21 …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…
Dinterface_variance_2.sts21 …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/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/compiler/docs/
Dpaoc.md20 - A boolean option that allows to continue the compilation if some of the methods are failed to com…
53 - Generate symbols for compiled methods (always true in debug builds).
58 The following options allow to specify methods to compile.
61 #### `--paoc-methods-from-file`
63 - Path to a file which contains full names of methods to compile.
75 …special compiler options (different from default and passed via command line) to specified methods:
/arkcompiler/ets_frontend/ets2panda/linter/test/
Dassign_to_method.ts.json22 "rule": "Reassigning object methods is not supported (arkts-no-method-reassignment)"
29 "rule": "Reassigning object methods is not supported (arkts-no-method-reassignment)"
36 "rule": "Reassigning object methods is not supported (arkts-no-method-reassignment)"
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/01.class_declaration/04.class_implementation_clause/
Dabstract_method_inheritance.sts17 desc: Abstract class inherited abstract methods from superinterface.
18methods of each direct superinterface must be implemented either by a declaration in this class or…
Dabstract_method_inheritance_by_non_abstract_class.sts17 desc: Non-abstract class inherited abstract methods from superinterface.
18methods of each direct superinterface must be implemented either by a declaration in this class or…
Dabstract_method_multiple_inheritance.sts17 desc: Abstract class inherited abstract methods from superinterface.
18methods of each direct superinterface must be implemented either by a declaration in this class or…
Dabstract_method_override.sts17 desc: Class overrides abstract methods from superinterface.
18methods of each direct superinterface must be implemented either by a declaration in this class or…
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/07.function_and_method_overloading/02.class_method_overloading/
Dcm_over2.sts19 If the signatures of two methods with the same name are not override-equivalent,
20 then the return types of those methods, or the throws or rethrows clauses
21 of those methods can have any kind of relationship.
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/07.function_and_method_overloading/03.constructor_overloading/
Dco2_over.sts19 If the signatures of two methods with the same name are not
21 methods, or the throws or rethrows clauses of those methods can have
/arkcompiler/runtime_core/static_core/plugins/ets/doc/spec/
D10_interfaces.rst24 - Includes properties and methods as its members;
26 - Usually declares one or more methods;
28 methods, and so implement the interface.
51 instance of the class implements all methods specified by the interface(s).
72 However, it is not enough for the class to implement all methods of the
252 - all these methods refer to the same implementation, and this default
292 properties (see :ref:`Interface Properties`) and methods (see
356 methods of an interface type must not be the same (see
460 The methods declared within interface bodies are implicitly ``public``.
483 |LANG| allows specifying several interface methods with a single name.
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/doc/tutorial/
Dclasses.rst18 A class declaration introduces a new type and defines its fields, methods,
248 Methods chapter
252 A class can define instance methods, static methods, or both.
260 Instance Methods
263 The example below illustrates how the instance methods work.
290 ``static`` Methods
297 All instances can access the ``static`` methods.
355 A subclass inherits fields and methods, but not constructors,
356 from the superclass. It can add its own fields and methods, and override
357 methods defined by the superclass. It is illustrated in the example below:
[all …]

12345678910>>...29