Home
last modified time | relevance | path

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

12345

/ark/runtime_core/runtime/include/
Dvtable_builder-inl.h41 void VTableBuilderImpl<SearchBySignature, OverridePred>::BuildForInterface(Span<Method> methods) in BuildForInterface() argument
43 for (const auto &method : methods) { in BuildForInterface()
87 void VTableBuilderImpl<SearchBySignature, OverridePred>::AddClassMethods(Span<Method> methods) in AddClassMethods() argument
89 for (auto &method : methods) { in AddClassMethods()
113 auto methods = iface->GetVirtualMethods(); in AddDefaultInterfaceMethods() local
114 for (auto &method : methods) { in AddDefaultInterfaceMethods()
140 void VTableBuilderImpl<SearchBySignature, OverridePred>::Build(Span<Method> methods, Class *base_cl… in Build() argument
144 return BuildForInterface(methods); in Build()
148 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:
172 // Type test methods
268 // Verification methods
Ditable.h41 void SetMethods(Span<Method *> methods) in SetMethods() argument
43 methods_ = methods; in SetMethods()
Dvtable_builder.h265 … virtual void Build(Span<Method> methods, Class *base_class, ITable itable, bool is_interface) = 0;
285 void Build(Span<Method> methods, Class *base_class, ITable itable, bool is_interface) override;
307 void BuildForInterface(Span<Method> methods);
313 void AddClassMethods(Span<Method> methods);
Dclass-inl.h180 auto methods = GetMethods<filter>(); in FindDirectMethod() local
181 auto it = std::find_if(methods.begin(), methods.end(), pred); in FindDirectMethod()
182 if (it != methods.end()) { in FindDirectMethod()
211 static_assert(filter != FindFilter::COPIED, "interfaces don't have copied methods"); in FindInterfaceMethod()
/ark/runtime_core/verification/debug/
DREADME.md16 #### Allowlist 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…
/ark/runtime_core/verification/job_queue/
Djob.h51 methods.emplace(offset, std::cref(ch_method)); in AddMethod()
66 return methods.count(offset) != 0; in IsMethodPresentForOffset()
81 return methods.at(offset); in GetMethod()
132 for (const auto &item : methods) { in ForAllCachedMethods()
159 PandaUnorderedMap<uint32_t, std::reference_wrapper<const CachedMethod>> methods; variable
/ark/runtime_core/docs/bc_verification/
Dabsint_checks.md3 ### Physical compatibility of arguments to instructions and actual parameters to methods
21 The checks eliminate calls of methods with incorrect this, wrong access to arrays, etc.
35 ### Check of return values from methods
/ark/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()
Dclass_linker.cpp79 Span<Method> methods = class_ptr->GetMethods(); in FreeClassData() local
80 size_t n = methods.Size() + class_ptr->GetNumCopiedMethods(); in FreeClassData()
83 for (auto &method : methods) { in FreeClassData()
88 allocator_->Free(methods.begin()); in FreeClassData()
323 ClassLinker::ClassInfo ClassLinker::GetClassInfo(Span<Method> methods, Span<Field> fields, Class *b… in GetClassInfo() argument
333 vtable_builder->Build(methods, base, itable_builder->GetITable(), is_interface); in GetClassInfo()
390 Span<Method> methods {allocator_->AllocArray<Method>(n), n}; in LoadMethods() local
400 data_accessor->EnumerateMethods([klass, &smethod_idx, &vmethod_idx, &methods, ctx, ext, in LoadMethods()
402 …Method *method = method_data_accessor.IsStatic() ? &methods[smethod_idx++] : &methods[vmethod_idx+… in LoadMethods()
410 InitializeMemory(&methods[idx], copied_methods[i]); in LoadMethods()
[all …]
Dthread_pool_queue.h31 // All methods (except for Finalize) require an acquired lock from a thread pool.
Dobject_accessor-impl.cpp18 // This file is included by interpreter to inline methods that defined in it.
/ark/runtime_core/assembler/
Dassembly-emitter.h37 std::unordered_map<uint32_t, std::string> methods; member
157 const std::unordered_map<std::string, panda_file::BaseMethodItem *> &methods);
193 const std::unordered_map<std::string, panda_file::BaseMethodItem *> &methods);
201 const std::unordered_map<std::string, panda_file::BaseMethodItem *> &methods);
207 const std::unordered_map<std::string, panda_file::BaseMethodItem *> &methods);
213 const std::unordered_map<std::string, panda_file::BaseMethodItem *> &methods);
219 const std::unordered_map<std::string, panda_file::BaseMethodItem *> &methods);
224 const std::unordered_map<std::string, panda_file::BaseMethodItem *> &methods);
231 … const std::unordered_map<std::string, panda_file::BaseMethodItem *> &methods);
Dassembly-emitter.cpp186 const std::unordered_map<std::string, panda_file::BaseMethodItem *> &methods) in CreateLiteralItem() argument
234 auto method_item = static_cast<panda::panda_file::MethodItem *>(Find(methods, name)); in CreateLiteralItem()
426 const std::unordered_map<std::string, BaseMethodItem *> &methods) in CreateScalarMethodValueItem() argument
429 auto it = methods.find(name); in CreateScalarMethodValueItem()
430 if (it == methods.cend()) { in CreateScalarMethodValueItem()
468 const std::unordered_map<std::string, BaseMethodItem *> &methods) in CreateScalarAnnotationValueItem() argument
471 … *annotation_item = CreateAnnotationItem(container, annotation, program, classes, fields, methods); in CreateScalarAnnotationValueItem()
489 … const std::unordered_map<std::string, BaseMethodItem *> &methods) in CreateScalarValueItem() argument
520 return CreateScalarMethodValueItem(container, value, out, methods); in CreateScalarValueItem()
526 … return CreateScalarAnnotationValueItem(container, value, out, program, classes, fields, methods); in CreateScalarValueItem()
[all …]
/ark/ts2abc/ts2panda/src/base/
DtypeSystem.ts154 methods: Map<string, number> = new Map<string, number>(); property in ClassType
256 // Then, get the typeIndex and fill in the methods array
262 this.methods.set(funcType.getFunctionName(), typeIndex!);
301 // record unstatic fields and methods
305 // record static methods and fields;
326 let transferredTarget: Map<string, number> = isStatic ? this.staticMethods : this.methods;
616 methods: Array<number> = new Array<number>(); property in InterfaceType
683 // Then, get the typeIndex and fill in the methods array
685 this.methods.push(typeIndex!);
718 // record fields and methods
[all …]
/ark/runtime_core/assembler/templates/
Dins_emit.h.erb21 const std::unordered_map<std::string, panda_file::BaseMethodItem *> &methods,
87 % ops << 'methods.find(ids[0])->second->GetIndex(method)'
110 if ((ids.size() == 0) || (methods.find(ids[0]) == methods.cend())) {
/ark/runtime_core/verification/
Dverification_options.cpp63 … Mode.VerifyAllRuntimeLibraryMethods = check_option(options, "verify-all-runtime-library-methods"); in Initialize()
67 …Mode.DoNotAssumeLibraryMethodsVerified = check_option(options, "do-not-assume-library-methods-veri… in Initialize()
/ark/js_runtime/ecmascript/tooling/backend/
Djs_pt_extractor.h68 auto methods = GetMethodIdList(); in MatchWithLocation() local
69 for (const auto &method : methods) { in MatchWithLocation()
/ark/ts2abc/test_ecma_bcopt/
Dtest_bytecode_optimizer_for_js.txt23 # METHODS
/ark/runtime_core/docs/
Dfile_format.md12 Many mobile applications use a lot of types, methods and fields. Their number is so large that they
19 for addressing fields, methods, classes, etc.
24 However, to achive more compactness, 16-bit indexes are used to refer classes, methods and fields in
36 All classes, fields and methods are separated into 2 groups: foreign and local.
37 Foreign classes, fields and methods are declared in other files, with references from the
38 current binary file. Local classes, fields and methods are declared in the current file.
181 | `ACC_SUPER` | `0x0020` | Treat superclass methods specially when invoked by the `invokespeci…
207 …he source language can be specified for classes, methods and functions. The default language for m…
356 … combination of [Method access flags](#method-access-flags). For foreign methods, only `ACC_STATIC…
413 | `num_methods` | `uleb128` | The number of methods the class has.
[all …]
/ark/runtime_core/libpandafile/tests/
Ddebug_info_extractor_test.cpp252 std::vector<panda_file::File::EntityId> methods = extractor.GetMethodIdList(); in GetBreakpointAddressWrapper() local
253 for (const auto &method : methods) { in GetBreakpointAddressWrapper()
387 auto methods = extractor.GetMethodIdList(); in TEST_F() local
390 for (auto const &method_id : methods) { in TEST_F()
/ark/runtime_core/libpandafile/external/
Dfile_ext.cpp51 // Enmuate all methods and put them to local cache. in QueryMethodSymByOffset()
80 // Enmuate all methods and put them to local cache. in QueryAllMethodSyms()
/ark/runtime_core/libpandabase/utils/
Dasan_interface.h46 // during accessing class fields from the class methods during MT ASAN runs.
/ark/runtime_core/pandastdlib/
Dpandastdlib.pa511 # Math methods
557 # IO methods
573 # System methods
585 # Object methods
601 # Convert methods
615 # Ecmascript.Intrinsics methods
/ark/runtime_core/runtime/bridge/arch/x86/
Dinterpreter_to_compiled_code_bridge_x86.S78 // parameter 'this' of instance methods is not encoded in the shorty
181 // parameter 'this' of instance methods is not encoded in the shorty
362 // parameter 'this' of instance methods is not encoded in the shorty

12345