| /ark/runtime_core/runtime/include/ |
| D | vtable_builder-inl.h | 41 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()
|
| D | object_header.h | 15 // 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
|
| D | itable.h | 41 void SetMethods(Span<Method *> methods) in SetMethods() argument 43 methods_ = methods; in SetMethods()
|
| D | vtable_builder.h | 265 … 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);
|
| D | class-inl.h | 180 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/ |
| D | README.md | 16 #### 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/ |
| D | job.h | 51 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/ |
| D | absint_checks.md | 3 ### 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/ |
| D | imtable_builder.cpp | 30 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()
|
| D | class_linker.cpp | 79 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 …]
|
| D | thread_pool_queue.h | 31 // All methods (except for Finalize) require an acquired lock from a thread pool.
|
| D | object_accessor-impl.cpp | 18 // This file is included by interpreter to inline methods that defined in it.
|
| /ark/runtime_core/assembler/ |
| D | assembly-emitter.h | 37 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);
|
| D | assembly-emitter.cpp | 186 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/ |
| D | typeSystem.ts | 154 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/ |
| D | ins_emit.h.erb | 21 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/ |
| D | verification_options.cpp | 63 … 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/ |
| D | js_pt_extractor.h | 68 auto methods = GetMethodIdList(); in MatchWithLocation() local 69 for (const auto &method : methods) { in MatchWithLocation()
|
| /ark/ts2abc/test_ecma_bcopt/ |
| D | test_bytecode_optimizer_for_js.txt | 23 # METHODS
|
| /ark/runtime_core/docs/ |
| D | file_format.md | 12 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/ |
| D | debug_info_extractor_test.cpp | 252 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/ |
| D | file_ext.cpp | 51 // 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/ |
| D | asan_interface.h | 46 // during accessing class fields from the class methods during MT ASAN runs.
|
| /ark/runtime_core/pandastdlib/ |
| D | pandastdlib.pa | 511 # 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/ |
| D | interpreter_to_compiled_code_bridge_x86.S | 78 // 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
|