| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/06.method_declarations/inheriting_methods_with_override-equivalent_signatures/ |
| D | inheritance_abstract_multiple_methods_with_same_signatures.sts | 17 desc: Inherit multiple methods with override-equivalent signatures, but method in superclass is abs… 18 …methods. Otherwise, the set of override-equivalent methods consists of at least one abstract metho…
|
| /arkcompiler/runtime_core/static_core/irtoc/lang/ |
| D | validation.rb | 45 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/ |
| D | ets_itable_builder.cpp | 97 // 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/ |
| D | lib.expected | 23 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/ |
| D | inlining.md | 10 - 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…
|
| D | paoc.md | 23 - 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/ |
| D | getmethod_test.cpp | 71 // 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/ |
| D | vtable_builder_base-inl.h | 68 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/ |
| D | absint_checks.md | 3 ### 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/ |
| D | absint_checks.md | 3 ### 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/ |
| D | class_variance_neg2.sts | 21 …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…
|
| D | class_variance.sts | 21 …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…
|
| D | interface_variance.sts | 21 …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…
|
| D | interface_variance_2.sts | 21 …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/ |
| D | README.md | 16 #### 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/ |
| D | paoc.md | 20 - 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/ |
| D | assign_to_method.ts.json | 22 "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/ |
| D | abstract_method_inheritance.sts | 17 desc: Abstract class inherited abstract methods from superinterface. 18 …methods of each direct superinterface must be implemented either by a declaration in this class or…
|
| D | abstract_method_inheritance_by_non_abstract_class.sts | 17 desc: Non-abstract class inherited abstract methods from superinterface. 18 …methods of each direct superinterface must be implemented either by a declaration in this class or…
|
| D | abstract_method_multiple_inheritance.sts | 17 desc: Abstract class inherited abstract methods from superinterface. 18 …methods of each direct superinterface must be implemented either by a declaration in this class or…
|
| D | abstract_method_override.sts | 17 desc: Class overrides abstract methods from superinterface. 18 …methods 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/ |
| D | cm_over2.sts | 19 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/ |
| D | co2_over.sts | 19 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/ |
| D | 10_interfaces.rst | 24 - 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/ |
| D | classes.rst | 18 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 …]
|