Home
last modified time | relevance | path

Searched full:methodtype (Results 1 – 25 of 39) sorted by relevance

12

/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/
DMethod.ets18 native function TypeAPIMethodInvoke(methodType: MethodType, recv: NullishType, args: FixedArray<Nul…
19 native function TypeAPIMethodInvokeConstructor(methodType: MethodType, args: FixedArray<NullishType…
25 private methodType: MethodType | undefined // not undefined if already created
35 * @returns method's {@link MethodType}
37 public getType(): MethodType {
38 return this.methodType!
93 return TypeAPIMethodInvokeConstructor(this.methodType!, convertedArgs)
98 return TypeAPIMethodInvoke(this.methodType!, recv, convertedArgs)
112 this.methodType!.equals((oth as Method).methodType!) &&
/arkcompiler/runtime_core/tests/cts-generator/cts-template/
Dcalle.polymorphic.short.yaml28 .record panda.invoke.MethodType <external>
35 …ke.MethodHandles$Lookup a0, panda.Class a1, panda.String a2, panda.invoke.MethodType a3) <external>
36 …ke.MethodHandles$Lookup a0, panda.Class a1, panda.String a2, panda.invoke.MethodType a3) <external>
166 ….function panda.invoke.MethodType panda.invoke.MethodType.methodType(panda.Class a0, panda.Class a…
196 call.short panda.invoke.MethodType.methodType, v1, v2
197 sta.obj v1 # MethodType object for (i32)i32
247 ….function panda.invoke.MethodType panda.invoke.MethodType.methodType(panda.Class a0) <external, st…
261 call.short panda.invoke.MethodType.methodType, v1
262 sta.obj v1 # MethodType object for ()i32
298 ….function panda.invoke.MethodType panda.invoke.MethodType.methodType(panda.Class a0, panda.Class a…
[all …]
Dcall.polymorphic.short.yaml29 .record panda.invoke.MethodType <external>
36 …ke.MethodHandles$Lookup a0, panda.Class a1, panda.String a2, panda.invoke.MethodType a3) <external>
37 …ke.MethodHandles$Lookup a0, panda.Class a1, panda.String a2, panda.invoke.MethodType a3) <external>
176 ….function panda.invoke.MethodType panda.invoke.MethodType.methodType(panda.Class a0, panda.Class a…
206 call.short panda.invoke.MethodType.methodType, v1, v2
207 sta.obj v1 # MethodType object for (i32)i32
257 ….function panda.invoke.MethodType panda.invoke.MethodType.methodType(panda.Class a0) <external, st…
271 call.short panda.invoke.MethodType.methodType, v1
272 sta.obj v1 # MethodType object for ()i32
308 ….function panda.invoke.MethodType panda.invoke.MethodType.methodType(panda.Class a0, panda.Class a…
[all …]
Dcall.polymorphic.range.yaml29 .record panda.invoke.MethodType <external>
36 …ke.MethodHandles$Lookup a0, panda.Class a1, panda.String a2, panda.invoke.MethodType a3) <external>
37 …ke.MethodHandles$Lookup a0, panda.Class a1, panda.String a2, panda.invoke.MethodType a3) <external>
206 ….function panda.invoke.MethodType panda.invoke.MethodType.methodType(panda.Class a0, panda.Class a…
236 call.short panda.invoke.MethodType.methodType, v1, v2
237 sta.obj v1 # MethodType object for (i32)i32
287 ….function panda.invoke.MethodType panda.invoke.MethodType.methodType(panda.Class a0, panda.Class[]…
325 call panda.invoke.MethodType.methodType, v1, v2
326 sta.obj v1 # MethodType object for (i32, i32, i32)i32
388 ….function panda.invoke.MethodType panda.invoke.MethodType.methodType(panda.Class a0, panda.Class a…
[all …]
Dcalle.polymorphic.range.yaml29 .record panda.invoke.MethodType <external>
36 …ke.MethodHandles$Lookup a0, panda.Class a1, panda.String a2, panda.invoke.MethodType a3) <external>
37 …ke.MethodHandles$Lookup a0, panda.Class a1, panda.String a2, panda.invoke.MethodType a3) <external>
206 ….function panda.invoke.MethodType panda.invoke.MethodType.methodType(panda.Class a0, panda.Class a…
236 call.short panda.invoke.MethodType.methodType, v1, v2
237 sta.obj v1 # MethodType object for (i32)i32
287 ….function panda.invoke.MethodType panda.invoke.MethodType.methodType(panda.Class a0, panda.Class[]…
325 call panda.invoke.MethodType.methodType, v1, v2
326 sta.obj v1 # MethodType object for (i32, i32, i32)i32
388 ….function panda.invoke.MethodType panda.invoke.MethodType.methodType(panda.Class a0, panda.Class a…
[all …]
Dcall.polymorphic.yaml29 .record panda.invoke.MethodType <external>
36 …ke.MethodHandles$Lookup a0, panda.Class a1, panda.String a2, panda.invoke.MethodType a3) <external>
37 …ke.MethodHandles$Lookup a0, panda.Class a1, panda.String a2, panda.invoke.MethodType a3) <external>
182 ….function panda.invoke.MethodType panda.invoke.MethodType.methodType(panda.Class a0, panda.Class a…
212 call.short panda.invoke.MethodType.methodType, v1, v2
213 sta.obj v1 # MethodType object for (i32)i32
263 ….function panda.invoke.MethodType panda.invoke.MethodType.methodType(panda.Class a0, panda.Class[]…
301 call panda.invoke.MethodType.methodType, v1, v2
302 sta.obj v1 # MethodType object for (i32, i32, i32)i32
364 ….function panda.invoke.MethodType panda.invoke.MethodType.methodType(panda.Class a0, panda.Class a…
[all …]
Dcalle.polymorphic.yaml29 .record panda.invoke.MethodType <external>
36 …ke.MethodHandles$Lookup a0, panda.Class a1, panda.String a2, panda.invoke.MethodType a3) <external>
37 …ke.MethodHandles$Lookup a0, panda.Class a1, panda.String a2, panda.invoke.MethodType a3) <external>
182 ….function panda.invoke.MethodType panda.invoke.MethodType.methodType(panda.Class a0, panda.Class a…
212 call.short panda.invoke.MethodType.methodType, v1, v2
213 sta.obj v1 # MethodType object for (i32)i32
263 ….function panda.invoke.MethodType panda.invoke.MethodType.methodType(panda.Class a0, panda.Class[]…
301 call panda.invoke.MethodType.methodType, v1, v2
302 sta.obj v1 # MethodType object for (i32, i32, i32)i32
364 ….function panda.invoke.MethodType panda.invoke.MethodType.methodType(panda.Class a0, panda.Class a…
[all …]
/arkcompiler/toolchain/tooling/dynamic/
Ddispatcher.cpp244 MethodType methodType = GetMethodType(method); in OperateDebugMessage() local
245 switch (methodType) { in OperateDebugMessage()
246 case MethodType::SAVE_ALL_POSSIBLE_BREAKPOINTS: in OperateDebugMessage()
248 case MethodType::REMOVE_BREAKPOINTS_BY_URL: in OperateDebugMessage()
250 case MethodType::GET_POSSIBLE_AND_SET_BREAKPOINT_BY_URL: in OperateDebugMessage()
252 case MethodType::GET_PROPERTIES: in OperateDebugMessage()
254 case MethodType::CALL_FUNCTION_ON: in OperateDebugMessage()
256 case MethodType::EVALUATE_ON_CALL_FRAME: in OperateDebugMessage()
265 Dispatcher::MethodType Dispatcher::GetMethodType(const std::string &method) const in GetMethodType()
267 static const std::unordered_map<std::string, MethodType> methodMap = { in GetMethodType()
[all …]
Ddispatcher.h157 enum class MethodType { enum
166 MethodType GetMethodType(const std::string &method) const;
/arkcompiler/runtime_core/static_core/plugins/ets/tools/declgen_ts2sts/test/cookbook_tests/
Darkts-no-import-keyword.ts16 import {ESObject, Class, MethodType} from "./include/KeywordClass";
21 MethodType: MethodType; property in Test
Darkts-no-export-keyword.ts16 export { ESObject, Class, MethodType, NormalClass };
26 class MethodType { class
Darkts-no-etskeyword.ts24 export class MethodType{ class
/arkcompiler/runtime_core/static_core/verification/util/
Dcallable.h47 using MethodType = R (CallableType::*)(Args...); variable
51 MethodType m {nullptr};
53 explicit MethodUnion(MethodType method) : m(method) {} in MethodUnion()
72 … method_ {reinterpret_cast<MethodType>(static_cast<R (T::*)(Args...) const>(&T::operator()))}
79 method_ {reinterpret_cast<MethodType>(static_cast<R (T::*)(Args...)>(&T::operator()))}
86 method_ {reinterpret_cast<MethodType>(paramMethod)}
93 method_ {reinterpret_cast<MethodType>(paramMethod)}
/arkcompiler/ets_runtime/ecmascript/debugger/
Ddropframe_manager.h25 enum class MethodType : uint8_t { enum
62 void PushMethodType(MethodType methodType);
70 std::stack<MethodType> methodType_ {};
Ddropframe_manager.cpp79 PushMethodType(MethodType::SENDABLE_METHOD); in MethodEntry()
85 PushMethodType(MethodType::OTHER_METHOD); in MethodEntry()
88 PushMethodType(MethodType::NORMAL_METHOD); in MethodEntry()
323 void DropframeManager::PushMethodType(MethodType methodType) in PushMethodType() argument
325 methodType_.push(methodType); in PushMethodType()
331 return methodType_.top() == MethodType::SENDABLE_METHOD; in CheckIsSendableMethod()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/types/
Dets_typeapi_method.h59 void SetMethodType(EtsTypeAPIType *methodType) in SetMethodType() argument
61 ASSERT(methodType != nullptr); in SetMethodType()
62 …ObjectAccessor::SetObject(this, MEMBER_OFFSET(EtsTypeAPIMethod, methodType_), methodType->GetCoreT… in SetMethodType()
/arkcompiler/runtime_core/static_core/plugins/ets/tools/declgen_ts2sts/utils/lib/
DTypeUtils.ts20 export const ETSKeyword: string[] = ['Class', 'ESObject', 'MethodType'];
113 'MethodType',
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/escompat/
DProxy.ets295 const methodType = method.getType()
298 for (let paramIdx = 0; paramIdx < methodType.getParametersNum(); paramIdx++) {
299 … methodProxyCreator.addParameter(new ParameterCreator(methodType.getParameter(paramIdx).getType()))
303 .addResult(methodType.getResultType())
373 const methodType = method.getType()
376 for (let paramIdx = 0; paramIdx < methodType.getParametersNum(); paramIdx++) {
377 … methodProxyCreator.addParameter(new ParameterCreator(methodType.getParameter(paramIdx).getType()))
381 .addResult(methodType.getResultType())
502 const methodType = method.getType()
503 const methodParamsCount = methodType.getParametersNum()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/
Dstd_core_Method.cpp94 auto *methodType = EtsTypeAPIType::FromCoreType(methodTypeObj); in GetEtsMethod() local
95 return EtsMethod::FromTypeDescriptor(methodType->GetRuntimeTypeDescriptor()->GetMutf8(), in GetEtsMethod()
96 methodType->GetContextLinker()); in GetEtsMethod()
/arkcompiler/runtime_core/static_core/tests/tests-u-runner-2/runner/test/
Dtest_utils.py24 MethodType = Any # type: ignore[explicit-any] variable
65 def get_method(cls: type[CLASSTYPE], name: str) -> MethodType:
/arkcompiler/runtime_core/static_core/plugins/ets/tools/declgen_ts2sts/test/cookbook_tests/include/
DKeywordClass.ts24 export class MethodType { class
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
DgenericBridgesLowering.cpp115 auto *methodType = methodDefinition->Id()->Variable()->TsType()->AsETSFunctionType(); in AddGenericBridge() local
119 checker->CheckIdenticalOverloads(methodType, bridgeMethodType, bridgeMethod); in AddGenericBridge()
121 methodType->AddCallSignature(bridgeMethod->Function()->Signature()); in AddGenericBridge()
122 methodDefinition->Id()->Variable()->SetTsType(methodType); in AddGenericBridge()
160 …checker::ETSFunctionType const *methodType = derivedMethod->Id()->Variable()->TsType()->AsETSFunct… in ProcessScriptFunction() local
161 for (auto *signature : methodType->CallSignatures()) { in ProcessScriptFunction()
/arkcompiler/runtime_core/static_core/tests/tests-u-runner-2/runner/test/config_test/
Dcli_options_test1.py21 from runner.test.test_utils import MethodType
27 def get_method(name: str) -> MethodType:
Dcli_options_test2.py21 from runner.test.test_utils import MethodType
27 def get_method(name: str) -> MethodType:
/arkcompiler/runtime_core/static_core/plugins/ets/tests/runtime/types/
Dets_typeapi_test.cpp77 …eturn std::vector<MirrorFieldInfo> {MIRROR_FIELD_INFO(EtsTypeAPIMethod, methodType_, "methodType"), in GetTypeAPIMethodClassMembers()

12