Home
last modified time | relevance | path

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

123456789

/arkcompiler/runtime_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/runtime/tests/
Dgetmethod_test.cpp68 // define some methods unsorted in TEST_F()
92 // check if methods sorted by id and name in TEST_F()
93 auto methods = klass->GetMethods(); in TEST_F() local
94 ASSERT_EQ(methods.size(), methods_num); in TEST_F()
97 ASSERT_TRUE(methods[i].GetFileId().GetOffset() < methods[j].GetFileId().GetOffset()); in TEST_F()
98 ASSERT_TRUE(methods[i].GetName() < methods[j].GetName()); in TEST_F()
/arkcompiler/runtime_core/runtime/include/
Dvtable_builder-inl.h40 void VTableBuilderImpl<SearchBySignature, OverridePred>::BuildForInterface(Span<Method> methods) in BuildForInterface() argument
42 for (const auto &method : methods) { in BuildForInterface()
86 void VTableBuilderImpl<SearchBySignature, OverridePred>::AddClassMethods(Span<Method> methods) in AddClassMethods() argument
88 for (auto &method : methods) { in AddClassMethods()
112 auto methods = iface->GetVirtualMethods(); in AddDefaultInterfaceMethods() local
113 for (auto &method : methods) { in AddDefaultInterfaceMethods()
169 void VTableBuilderImpl<SearchBySignature, OverridePred>::Build(Span<Method> methods, Class *base_cl… in Build() argument
173 return BuildForInterface(methods); in Build()
177 AddClassMethods(methods); in Build()
Dobject_header.h15 // All common ObjectHeader methods can be found here:
19 // Methods, specific for Class word:
25 // Methods, specific for Mark word:
180 // Type test methods
289 // Verification methods
Ditable.h40 void SetMethods(Span<Method *> methods) in SetMethods() argument
42 methods_ = methods; in SetMethods()
Dvtable_builder.h269 … virtual void Build(Span<Method> methods, Class *base_class, ITable itable, bool is_interface) = 0;
289 void Build(Span<Method> methods, Class *base_class, ITable itable, bool is_interface) override;
311 void BuildForInterface(Span<Method> methods);
317 void AddClassMethods(Span<Method> methods);
/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/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/runtime_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/bytecode_optimizer/
Doptions.yaml43 description: A regular expression that specifies methods to optimize
45 - name: skip-methods-with-eh
48 description: Disable optimizer for methods with exceptions handlers
/arkcompiler/runtime_core/runtime/
Dimtable_builder.cpp30 auto methods = entry.GetMethods(); in Build() local
31 ifm_num += methods.Size(); in Build()
35 // (1) as interface methods number when it's smaller than fixed IMTABLE_SIZE in Build()
53 auto methods = entry.GetMethods(); in Build() local
54 ifm_num += methods.Size(); in Build()
Dcha.cpp88 // implementation property of the non-abstract method to the all overriden abstract methods. in UpdateMethod()
92 void ClassHierarchyAnalysis::InvalidateMethods(const PandaSet<Method *> &methods) in InvalidateMethods() argument
98 for (auto method : methods) { in InvalidateMethods()
141 // There is no sense to store dependencies for abstract methods. in AddDependency()
Dclass_linker.cpp81 Span<Method> methods = class_ptr->GetMethods(); in FreeClassData() local
82 size_t n = methods.Size() + class_ptr->GetNumCopiedMethods(); in FreeClassData()
85 for (auto &method : methods) { in FreeClassData()
90 allocator_->Free(methods.begin()); in FreeClassData()
333 ClassLinker::ClassInfo ClassLinker::GetClassInfo(Span<Method> methods, Span<Field> fields, Class *b… in GetClassInfo() argument
343 vtable_builder->Build(methods, base, itable_builder->GetITable(), is_interface); in GetClassInfo()
420 Span<Method> methods {allocator_->AllocArray<Method>(n), n}; in LoadMethods() local
438 … data_accessor->EnumerateMethods([klass, &smethod_idx, &vmethod_idx, &methods, aot_class, ctx, ext, in LoadMethods()
440 …Method *method = method_data_accessor.IsStatic() ? &methods[smethod_idx++] : &methods[vmethod_idx+… in LoadMethods()
455 InitializeMemory(&methods[idx], copied_methods[i].method_); in LoadMethods()
[all …]
/arkcompiler/runtime_core/plugins/ecmascript/tests/assembler/
Demitter_test_ecmascript.cpp97 auto methods = extractor.GetMethodIdList(); in TEST() local
98 ASSERT_EQ(methods.size(), 1); in TEST()
99 auto lineTable = extractor.GetLineNumberTable(methods[0]); in TEST()
100 auto columnTable = extractor.GetColumnNumberTable(methods[0]); in TEST()
/arkcompiler/runtime_core/compiler/tools/aotdump/
Daotdump.yaml30 description: Print methods code in binary format
35 description: A regular expression that specifies methods to dump
/arkcompiler/runtime_core/compiler/tools/paoc/
Dpaoc.yaml85 - name: paoc-methods-from-file
88 description: Path to a file which contains methods to compile
93 description: Generate symbols for compiled methods (always true in debug builds)
/arkcompiler/runtime_core/tests/fuzztest/methoddataaccessor_fuzzer/
Dmethoddataaccessor_fuzzer.cpp31 const auto &methods = panda_file.GetMethodIndex(&header); in MethodDataAccessorFuzzTest() local
32 for (const auto &id : methods) { in MethodDataAccessorFuzzTest()
/arkcompiler/runtime_core/docs/
Ddeoptimization.md33 … we restore all interpreter frames for all inlined methods and calculate the number of inlined met…
97 If deoptimization occurred in the inlined method, we call interpreter for all inlined methods from …
98 …g interpreter Frame is used for limitation number of calls to the interpreter for inlined methods.
/arkcompiler/runtime_core/tests/fuzztest/codedataaccessor_fuzzer/
Dcodedataaccessor_fuzzer.cpp33 const auto &methods = panda_file.GetMethodIndex(&header); in CodeDataAccessorFuzzTest() local
34 for (const auto &id : methods) { in CodeDataAccessorFuzzTest()
/arkcompiler/runtime_core/tests/fuzztest/debuginfodataaccessor_fuzzer/
Ddebuginfodataaccessor_fuzzer.cpp32 const auto &methods = panda_file.GetMethodIndex(&header); in DebugInfoDataAccessorFuzzTest() local
33 for (const auto &id : methods) { in DebugInfoDataAccessorFuzzTest()
/arkcompiler/runtime_core/compiler/optimizer/
Dpass_manager_statistics.h96 // Count of inlined methods
98 // Number of pbc instructions in main and all successfully inlined methods.
/arkcompiler/runtime_core/tests/checked/
Daot.pa15 #! CHECKER All methods found
23 #! CHECKER Various methods compiled
/arkcompiler/runtime_core/assembler/templates/
Dins_emit.h.erb21 const std::unordered_map<std::string, panda_file::BaseMethodItem *> &methods,
74 % ops << "methods.find(ids[#{num_id}])->second->GetIndex(method)"
107 if ((ids.size() == 0) || (methods.find(ids[<%= num_id %>]) == methods.cend())) {
/arkcompiler/ets_frontend/ts2panda/src/base/
DtypeSystem.ts282methods: Map<string, {typeIndex: number, isDeclare: boolean}> = new Map<string, {typeIndex: number… property in ClassType
407 …let foundSameNameFuncRet = isStatic ? this.staticMethods.get(funcName) : this.methods.get(funcName…
418 // Then, get the typeIndex and fill in the methods array
423 …this.methods.set(funcType.getFunctionName(), {typeIndex: type!, isDeclare: member.body == undefine…
468 // record unstatic fields and methods
472 // record static methods and fields;
493 …ap<string, {typeIndex: number, isDeclare: boolean}> = isStatic ? this.staticMethods : this.methods;
825 methods: Array<number> = new Array<number>(); property in InterfaceType
895 // Then, get the typeIndex and fill in the methods array
897 this.methods.push(typeIndex!);
[all …]
/arkcompiler/ets_frontend/es2panda/test/parser/ts/
Dtest-class-definiton17-expected.txt1 SyntaxError: Abstract methods can only appear within an abstract class. [test-class-definiton17.ts:…

123456789