Home
last modified time | relevance | path

Searched full:method (Results 1 – 25 of 2807) sorted by relevance

12345678910>>...113

/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_es_checked/
Dstring.yaml46 - method: anchor
49 - method: big
50 - method: blink
51 - method: bold
52 - method: charAt
55 - method: charCodeAt
58 - method: codePointAt
61 - method: concat
64 - method: endsWith
68 - method: fixed
[all …]
Dmath.yaml19 - method: Math.abs
22 - method: Math.acos
25 - method: Math.acosh
28 - method: Math.asin
31 - method: Math.asinh
34 - method: Math.atan
37 - method: Math.atan2
44 - method: Math.atanh
47 - method: Math.cbrt
53 - method: Math.ceil
[all …]
/arkcompiler/runtime_core/static_core/runtime/
Dcha.cpp38 for (const auto &method : klass->GetVTable()) { in Update() local
39 SetHasSingleImplementation(method, true); in Update()
46 PandaSet<Method *> invalidatedMethods; in Update()
49 auto method = klass->GetVTable()[i]; in Update() local
51 if (method == parentMethod || method->IsDefaultInterfaceMethod()) { in Update()
59 UpdateMethod(method); in Update()
63 auto method = klass->GetVTable()[i]; in Update() local
64 if (method->IsDefaultInterfaceMethod()) { in Update()
67 UpdateMethod(method); in Update()
73 bool ClassHierarchyAnalysis::HasSingleImplementation(Method *method) in HasSingleImplementation() argument
[all …]
Dcompiler.h30 #include "runtime/include/method.h"
46 inline ark::Method *MethodCast(RuntimeInterface::MethodPtr method) in MethodCast() argument
48 return static_cast<ark::Method *>(method); in MethodCast()
57 RuntimeInterface::MethodPtr GetSingleImplementation(RuntimeInterface::MethodPtr method) override in GetSingleImplementation() argument
59 return static_cast<Method *>(method)->GetSingleImplementation(); in GetSingleImplementation()
61 bool IsSingleImplementation(RuntimeInterface::MethodPtr method) override in IsSingleImplementation() argument
63 return static_cast<Method *>(method)->HasSingleImplementation(); in IsSingleImplementation()
76 bool AddTableSlot(RuntimeInterface::MethodPtr method, uint32_t typeId, SlotKind kind) override;
77 …uintptr_t GetTableSlot(RuntimeInterface::MethodPtr method, uint32_t typeId, SlotKind kind) const o…
126 BinaryFilePtr GetBinaryFileForMethod(MethodPtr method) const override in GetBinaryFileForMethod() argument
[all …]
Dcha.h25 void AddDependency(Method *callee, Method *caller);
28 void InvalidateMethod(Method *method, PandaSet<Method *> *dependentMethods);
29 void InvalidateMethods(const PandaSet<Method *> &methods);
30 void UpdateMethod(Method *method);
31 bool HasSingleImplementation(Method *method);
32 void SetHasSingleImplementation(Method *method, bool singleImplementation);
39 PandaMap<Method *, PandaSet<Method *>> dependencyMap_;
/arkcompiler/runtime_core/libabckit/src/adapter_dynamic/
Druntime_adapter_dynamic.h30 BinaryFilePtr GetBinaryFileForMethod([[maybe_unused]] MethodPtr method) const override in GetBinaryFileForMethod() argument
40 MethodId GetMethodId(MethodPtr method) const override in GetMethodId() argument
42 return static_cast<MethodId>(reinterpret_cast<uintptr_t>(method)); in GetMethodId()
45 size_t GetMethodTotalArgumentsCount(MethodPtr method) const override in GetMethodTotalArgumentsCount() argument
47 return abcFile_.GetMethodTotalArgumentsCount(method); in GetMethodTotalArgumentsCount()
55 size_t GetMethodRegistersCount(MethodPtr method) const override in GetMethodRegistersCount() argument
57 return abcFile_.GetMethodRegistersCount(method); in GetMethodRegistersCount()
60 const uint8_t *GetMethodCode(MethodPtr method) const override in GetMethodCode() argument
62 return abcFile_.GetMethodCode(method); in GetMethodCode()
65 size_t GetMethodCodeSize(MethodPtr method) const override in GetMethodCodeSize() argument
[all …]
/arkcompiler/runtime_core/static_core/runtime/tests/
Dcompilation_status_test.cpp21 #include "runtime/include/method.h"
41 Method *GetMethod(Class *klass, size_t num);
57 Method *CompilationStatusTest::GetMethod(Class *klass, size_t num) in GetMethod()
61 Method *method = klass->GetDirectMethod(utf::CStringAsMutf8(ss.str().c_str())); in GetMethod() local
62 return method; in GetMethod()
95 Method *method = GetMethod(klass, 0); in TEST_F() local
96 auto status = method->GetCompilationStatus(); in TEST_F()
97 ASSERT_EQ(status, Method::NOT_COMPILED); in TEST_F()
99 ASSERT_EQ(method->AtomicSetCompilationStatus(status, Method::WAITING), true); in TEST_F()
100 status = method->GetCompilationStatus(); in TEST_F()
[all …]
/arkcompiler/ets_frontend/ets2panda/checker/types/ets/
DetsEnumType.h104 struct Method { struct
109 [[nodiscard]] Method ToStringMethod() const noexcept; argument
110 void SetToStringMethod(Method const &method) noexcept in SetToStringMethod() argument
112 toStringMethod_ = method; in SetToStringMethod()
115 [[nodiscard]] Method ValueOfMethod() const noexcept;
116 void SetValueOfMethod(Method const &method) noexcept in SetValueOfMethod() argument
118 valueOfMethod_ = method; in SetValueOfMethod()
121 [[nodiscard]] Method GetNameMethod() const noexcept;
122 void SetGetNameMethod(Method const &method) noexcept in SetGetNameMethod() argument
124 getNameMethod_ = method; in SetGetNameMethod()
[all …]
/arkcompiler/ets_runtime/ecmascript/debugger/
Dnotification_manager.h23 #include "ecmascript/method.h"
35 virtual void BytecodePcChanged(JSThread *thread, JSHandle<Method> method,
38 virtual bool HandleDebuggerStmt(JSHandle<Method> method, uint32_t bcOffset) = 0;
43 virtual void MethodEntry(JSHandle<Method> method, JSHandle<JSTaggedValue> envHandle) = 0;
44 virtual void MethodExit(JSHandle<Method> method) = 0;
77 void BytecodePcChangedEvent(JSThread *thread, Method *method, uint32_t bcOffset) const in BytecodePcChangedEvent() argument
80 JSHandle<Method> methodHandle(thread, method); in BytecodePcChangedEvent()
86 void DebuggerStmtEvent(JSThread *thread, Method *method, uint32_t bcOffset) const in DebuggerStmtEvent() argument
88 JSHandle<Method> methodHandle(thread, method); in DebuggerStmtEvent()
121 void MethodEntryEvent(JSThread *thread, Method *method, JSTaggedValue env) const in MethodEntryEvent() argument
[all …]
/arkcompiler/runtime_core/static_core/libpandafile/
Dmodifiers.h25 constexpr uint32_t ACC_PUBLIC = 0x0001; // field, method, class
26 constexpr uint32_t ACC_PRIVATE = 0x0002; // field, method, class
27 constexpr uint32_t ACC_PROTECTED = 0x0004; // field, method, class
28 constexpr uint32_t ACC_STATIC = 0x0008; // field, method
29 constexpr uint32_t ACC_FINAL = 0x0010; // field, method, class
31 constexpr uint32_t ACC_SYNCHRONIZED = 0x0020; // method
32 constexpr uint32_t ACC_BRIDGE = 0x0040; // method
35 constexpr uint32_t ACC_VARARGS = 0x0080; // method
36 constexpr uint32_t ACC_NATIVE = 0x0100; // method
38 constexpr uint32_t ACC_ABSTRACT = 0x0400; // method, class
[all …]
/arkcompiler/toolchain/tooling/agent/
Dprofiler_impl.cpp37 Method method = GetMethodEnum(request.GetMethod()); in Dispatch() local
39 switch (method) { in Dispatch()
40 case Method::DISABLE: in Dispatch()
43 case Method::ENABLE: in Dispatch()
46 case Method::START: in Dispatch()
49 case Method::STOP: in Dispatch()
52 case Method::SET_SAMPLING_INTERVAL: in Dispatch()
55 case Method::GET_BEST_EFFORT_COVERAGE: in Dispatch()
58 case Method::STOP_PRECISE_COVERAGE: in Dispatch()
61 case Method::TAKE_PRECISE_COVERAGE: in Dispatch()
[all …]
/arkcompiler/ets_frontend/test262/
Dtest-list-test262-other-fastverify-qemu-aot-pgo-language-expressions-class-part1.txt131 test262/data/other_tests/language/expressions/class/ident-name-method-def-case-escaped.js
132 test262/data/other_tests/language/expressions/class/ident-name-method-def-break-escaped.js
134 test262/data/other_tests/language/expressions/class/ident-name-method-def-catch-escaped.js
135 test262/data/other_tests/language/expressions/class/ident-name-method-def-class-escaped.js
136 test262/data/other_tests/language/expressions/class/ident-name-method-def-const-escaped.js
137 test262/data/other_tests/language/expressions/class/ident-name-method-def-debugger-escaped.js
138 test262/data/other_tests/language/expressions/class/ident-name-method-def-continue-escaped.js
139 test262/data/other_tests/language/expressions/class/ident-name-method-def-default-escaped-ext.js
140 test262/data/other_tests/language/expressions/class/ident-name-method-def-default-escaped.js
141 test262/data/other_tests/language/expressions/class/ident-name-method-def-default.js
[all …]
Dtest-list-test262-other-fastverify-qemu-aot-pgo-language-statements-class-part2.txt132 test262/data/other_tests/language/statements/class/gen-method-param-dflt-yield.js
133 test262/data/other_tests/language/statements/class/ident-name-method-def-break-escaped.js
134 test262/data/other_tests/language/statements/class/ident-name-method-def-case-escaped.js
135 test262/data/other_tests/language/statements/class/ident-name-method-def-catch-escaped.js
136 test262/data/other_tests/language/statements/class/ident-name-method-def-class-escaped.js
137 test262/data/other_tests/language/statements/class/ident-name-method-def-const-escaped.js
138 test262/data/other_tests/language/statements/class/ident-name-method-def-continue-escaped.js
139 test262/data/other_tests/language/statements/class/ident-name-method-def-debugger-escaped.js
140 test262/data/other_tests/language/statements/class/ident-name-method-def-default-escaped-ext.js
141 test262/data/other_tests/language/statements/class/ident-name-method-def-default-escaped.js
[all …]
/arkcompiler/runtime_core/static_core/compiler/docs/
Dinlining.md6 Inlining optimization replaces a method call site with the body of the called method.
13 Inlining of these instructions has two main difference: method resolving and guards.
15 Resolving of the CallStatic method is quite simple, since target method is explicitly determined by…
18 CallVirtual instruction also contains method ID, that should be called, but it also contains input …
19 is instance of some class, that, in turn, determines which implementation of the method should be c…
21 To devirtualize virtual calls, i.e. determine target method in compile time, we use following techn…
34 here, we know receiver class (A) at compile time and we can inline A.foo method without any specula…
41 the analysis is a flag in Method class, that indicates that method has a single implementation.
59 newobj v0, A # CHA set SingleImplementation for A.foo method
61 newobj v0, B # CHA set SingleImplementation for B.foo method and reset it for A.foo
[all …]
/arkcompiler/runtime_core/static_core/compiler/aot/aot_builder/
Dllvm_aot_builder.h39 * Put method header for a given method.
40 * The method will be patched later (see AdjustMethod below).
42 void AddMethodHeader(Method *method, size_t methodIndex) in AddMethodHeader() argument
45 methods_.emplace_back(arch_, method, methodIndex); in AddMethodHeader()
46 methodHeader.methodId = method->GetFileId().GetOffset(); in AddMethodHeader()
52 /// Adjust a method's header according to the supplied method
53 void AdjustMethodHeader(const CompiledMethod &method, size_t index) in AdjustMethodHeader() argument
57 methodHeader.codeSize = method.GetOverallSize(); in AdjustMethodHeader()
62 /// Adjust a method stored in this aot builder according to the supplied method
63 void AdjustMethod(const CompiledMethod &method, size_t index) in AdjustMethod() argument
[all …]
/arkcompiler/ets_frontend/ets2panda/ast_verifier/
DgetterSetterValidation.cpp32 … auto const validateMethod = [&ctx, &errorFound, this](ir::MethodDefinition const *const method) { in operator ()() argument
33 auto const kind = method->Kind(); in operator ()()
35 errorFound |= !ValidateGetter(ctx, method); in operator ()()
37 errorFound |= !ValidateSetter(ctx, method); in operator ()()
41 auto const *const method = ast->AsMethodDefinition(); in operator ()() local
42 validateMethod(method); in operator ()()
43 for (auto const *const overload : method->Overloads()) { in operator ()()
54 …SetterValidation::ValidateGetter(CheckContext &ctx, ir::MethodDefinition const *const method) const in ValidateGetter()
56 if (!method->Value()->IsFunctionExpression()) { in ValidateGetter()
61 auto const report = [&ctx, &result, method](const std::string &msg) { in ValidateGetter()
[all …]
/arkcompiler/ets_frontend/arkguard/src/configs/ingoreFilenameList/
DingoreTest262List.json419 "language/expressions/class/elements/after-same-line-gen-rs-private-method-alt.js",
422 "language/expressions/class/elements/after-same-line-gen-rs-private-method.js",
429 …"language/expressions/class/elements/after-same-line-gen-rs-static-generator-method-privatename-id…
430 …"language/expressions/class/elements/after-same-line-gen-rs-static-async-method-privatename-identi…
431 …"language/expressions/class/elements/after-same-line-gen-rs-static-async-generator-method-privaten…
432 …"language/expressions/class/elements/after-same-line-gen-rs-static-generator-method-privatename-id…
433 …"language/expressions/class/elements/after-same-line-gen-rs-static-method-privatename-identifier.j…
434 …"language/expressions/class/elements/after-same-line-gen-rs-static-async-method-privatename-identi…
436 …"language/expressions/class/elements/after-same-line-gen-rs-static-async-generator-method-privaten…
438 …"language/expressions/class/elements/after-same-line-gen-rs-static-method-privatename-identifier-a…
[all …]
/arkcompiler/ets_runtime/test/sharedtest/sharedcollectionsexception/
Dexpect_output.txt15 call boundAt fail. err: BusinessError: The at method cannot be bound., errCode: 10200011
16 Call boundConcat fail. err: BusinessError: The concat method cannot be bound., errCode: 10200011
17 Call boundEntries failed. err: BusinessError: The entries method cannot be bound., errCode: 10200011
18 Call boundFill failed. err: BusinessError: The fill method cannot be bound., errCode: 10200011
19 Call boundFilter failed. err: BusinessError: The filter method cannot be bound., errCode: 10200011
20 Call boundFind failed. err: BusinessError: The find method cannot be bound., errCode: 10200011
21 Call boundFindIndex failed. err: BusinessError: The findIndex method cannot be bound., errCode: 102…
22 Call boundForEach failed. err: BusinessError: The forEach method cannot be bound., errCode: 10200011
23 Call boundIndexOf failed. err: BusinessError: The indexOf method cannot be bound., errCode: 10200011
24 Call boundJoin failed. err: BusinessError: The join method cannot be bound., errCode: 10200011
[all …]
/arkcompiler/runtime_core/static_core/runtime/entrypoints/
Dentrypoints.h26 extern "C" Frame *CreateFrameWithSize(uint32_t size, uint32_t nregs, Method *method, Frame *prev);
29 Method *method, Frame *prev);
32 … uint32_t numActualArgs, Method *method,
35 extern "C" Frame *CreateFrameForMethod(Method *method, Frame *prev);
37 extern "C" Frame *CreateFrameForMethodDyn(Method *method, Frame *prev);
39 extern "C" Frame *CreateFrameForMethodWithActualArgs(uint32_t numActualArgs, Method *method, Frame …
41 extern "C" Frame *CreateFrameForMethodWithActualArgsDyn(uint32_t numActualArgs, Method *method, Fra…
/arkcompiler/runtime_core/libpandafile/
Dmodifiers.h25 static constexpr uint32_t ACC_PUBLIC = 0x0001; // field, method, class
26 static constexpr uint32_t ACC_PRIVATE = 0x0002; // field, method
27 static constexpr uint32_t ACC_PROTECTED = 0x0004; // field, method
28 static constexpr uint32_t ACC_STATIC = 0x0008; // field, method
29 static constexpr uint32_t ACC_FINAL = 0x0010; // field, method, class
31 static constexpr uint32_t ACC_SYNCHRONIZED = 0x0020; // method
32 static constexpr uint32_t ACC_BRIDGE = 0x0040; // method
35 static constexpr uint32_t ACC_VARARGS = 0x0080; // method
36 static constexpr uint32_t ACC_NATIVE = 0x0100; // method
38 static constexpr uint32_t ACC_ABSTRACT = 0x0400; // method, class
[all …]
/arkcompiler/runtime_core/panda_guard/obfuscate/
Dclass.cpp66 for (const auto &method : this->methods_) { in GetPropertyCnt()
67 cnt += method.properties_.size(); in GetPropertyCnt()
70 for (const auto &method : this->outerMethods_) { in GetPropertyCnt()
71 cnt += method.properties_.size(); in GetPropertyCnt()
85 for (auto &method : this->methods_) { in ForEachFunction()
86 callback(method); in ForEachFunction()
89 for (auto &method : this->outerMethods_) { in ForEachFunction()
90 callback(method); in ForEachFunction()
98 for (const auto &method : this->methods_) { in ExtractNames()
99 method.ExtractNames(strings); in ExtractNames()
[all …]
/arkcompiler/runtime_core/static_core/verification/
Dpublic.cpp105 static void ReportStatus(Service const *service, Method const *method, std::string const &status) in ReportStatus() argument
108 …LOG(DEBUG, VERIFIER) << "Verification result for method " << method->GetFullName(true) << ": " << … in ReportStatus()
133 static std::optional<Status> CheckBeforeVerification(Service *service, ark::Method *method, Verific… in CheckBeforeVerification() argument
135 using VStage = Method::VerificationStage; in CheckBeforeVerification()
136 if (method->IsIntrinsic()) { in CheckBeforeVerification()
141 * Races are possible where the same method gets simultaneously verified on different threads. in CheckBeforeVerification()
144 auto stage = method->GetVerificationStage(); in CheckBeforeVerification()
153 ReportStatus(service, method, "SKIP"); in CheckBeforeVerification()
156 if (method->GetInstructions() == nullptr) { in CheckBeforeVerification()
157 … LOG(DEBUG, VERIFIER) << method->GetFullName(true) << " has no code, no meaningful verification"; in CheckBeforeVerification()
[all …]
/arkcompiler/ets_frontend/ets2panda/test/ast/parser/ets/
Dclass_as_object_1.sts19 /* @@? 16:13 Error TypeError: Class name can't be the argument of function or method. */
20 /* @@? 16:13 Error TypeError: Class name can't be the argument of function or method. */
21 /* @@? 16:13 Error TypeError: Class name can't be the argument of function or method. */
22 /* @@? 16:13 Error TypeError: Class name can't be the argument of function or method. */
23 /* @@? 16:13 Error TypeError: Class name can't be the argument of function or method. */
24 /* @@? 16:13 Error TypeError: Class name can't be the argument of function or method. */
25 /* @@? 16:13 Error TypeError: Class name can't be the argument of function or method. */
26 /* @@? 16:13 Error TypeError: Class name can't be the argument of function or method. */
27 /* @@? 16:13 Error TypeError: Class name can't be the argument of function or method. */
28 /* @@? 16:13 Error TypeError: Class name can't be the argument of function or method. */
[all …]
/arkcompiler/ets_frontend/es2panda/test/compiler/js/
Dreserved-words-as-method-name-expected.txt1 method break
2 method case
3 method catch
4 method await
5 method async
6 method instanceof
7 method in
/arkcompiler/ets_frontend/ets2panda/test/runtime/ets/
Dlocal-class-standard-example2.sts18 method (parameter: number) {
22 method (): void
27 override method () {
29 assert(this.field == "`instance method instance field value`")
34 field: string = "`instance method instance field value`"
37 assert(LocalClass.s_field == "`instance method class/static field value`")
39 static s_field: string = "`instance method class/static field value`"
43 lc.method()
50 method (): void
55 override method () {
[all …]

12345678910>>...113