Home
last modified time | relevance | path

Searched defs:method (Results 1 – 25 of 568) sorted by relevance

12345678910>>...23

/arkcompiler/runtime_core/libabckit/src/adapter_dynamic/
Druntime_adapter_dynamic.h30 BinaryFilePtr GetBinaryFileForMethod([[maybe_unused]] MethodPtr method) const override in GetBinaryFileForMethod()
40 MethodId GetMethodId(MethodPtr method) const override in GetMethodId()
45 size_t GetMethodTotalArgumentsCount(MethodPtr method) const override in GetMethodTotalArgumentsCount()
55 size_t GetMethodRegistersCount(MethodPtr method) const override in GetMethodRegistersCount()
60 const uint8_t *GetMethodCode(MethodPtr method) const override in GetMethodCode()
65 size_t GetMethodCodeSize(MethodPtr method) const override in GetMethodCodeSize()
70 ark::SourceLanguage GetMethodSourceLanguage(MethodPtr method) const override in GetMethodSourceLanguage()
75 uint32_t GetClassIdForMethod(MethodPtr method) const override in GetClassIdForMethod()
80 std::string GetClassNameFromMethod(MethodPtr method) const override in GetClassNameFromMethod()
85 std::string GetMethodName(MethodPtr method) const override in GetMethodName()
[all …]
/arkcompiler/runtime_core/bytecode_optimizer/
Druntime_adapter.h41 BinaryFilePtr GetBinaryFileForMethod([[maybe_unused]] MethodPtr method) const override in GetBinaryFileForMethod()
51 MethodId GetMethodId(MethodPtr method) const override in GetMethodId()
56 size_t GetMethodTotalArgumentsCount(MethodPtr method) const override in GetMethodTotalArgumentsCount()
76 size_t GetMethodRegistersCount(MethodPtr method) const override in GetMethodRegistersCount()
86 const uint8_t *GetMethodCode(MethodPtr method) const override in GetMethodCode()
96 size_t GetMethodCodeSize(MethodPtr method) const override in GetMethodCodeSize()
106 compiler::SourceLanguage GetMethodSourceLanguage(MethodPtr method) const override in GetMethodSourceLanguage()
118 size_t GetClassIdForMethod(MethodPtr method) const override in GetClassIdForMethod()
125 std::string GetClassNameFromMethod(MethodPtr method) const override in GetClassNameFromMethod()
134 std::string GetMethodName(MethodPtr method) const override in GetMethodName()
[all …]
/arkcompiler/runtime_core/static_core/runtime/
Dcompiler.h46 inline ark::Method *MethodCast(RuntimeInterface::MethodPtr method) in MethodCast()
57 RuntimeInterface::MethodPtr GetSingleImplementation(RuntimeInterface::MethodPtr method) override in GetSingleImplementation()
61 bool IsSingleImplementation(RuntimeInterface::MethodPtr method) override in IsSingleImplementation()
126 BinaryFilePtr GetBinaryFileForMethod(MethodPtr method) const override in GetBinaryFileForMethod()
151 compiler::DataType::Type GetMethodReturnType(MethodPtr method) const override in GetMethodReturnType()
159 … compiler::DataType::Type GetMethodTotalArgumentType(MethodPtr method, size_t index) const override in GetMethodTotalArgumentType()
163 size_t GetMethodTotalArgumentsCount(MethodPtr method) const override in GetMethodTotalArgumentsCount()
175 size_t GetMethodArgumentsCount(MethodPtr method) const override in GetMethodArgumentsCount()
179 size_t GetMethodRegistersCount(MethodPtr method) const override in GetMethodRegistersCount()
183 const uint8_t *GetMethodCode(MethodPtr method) const override in GetMethodCode()
[all …]
Dcha.cpp38 for (const auto &method : klass->GetVTable()) { in Update() local
49 auto method = klass->GetVTable()[i]; in Update() local
63 auto method = klass->GetVTable()[i]; in Update() local
73 bool ClassHierarchyAnalysis::HasSingleImplementation(Method *method) in HasSingleImplementation()
79 void ClassHierarchyAnalysis::SetHasSingleImplementation(Method *method, bool singleImplementation) in SetHasSingleImplementation()
85 void ClassHierarchyAnalysis::UpdateMethod(Method *method) in UpdateMethod()
98 for (auto method : methods) { in InvalidateMethods() local
110 void ClassHierarchyAnalysis::InvalidateMethod(Method *method, PandaSet<Method *> *dependentMethods)… in InvalidateMethod()
Dosr.h41 void *Get(const Method *method) in Get()
51 void Set(const Method *method, void *ptr) in Set()
61 void Remove(const Method *method) in Remove()
/arkcompiler/runtime_core/static_core/bytecode_optimizer/
Druntime_adapter.h40 BinaryFilePtr GetBinaryFileForMethod([[maybe_unused]] MethodPtr method) const override in GetBinaryFileForMethod()
65 MethodId GetMethodId(MethodPtr method) const override in GetMethodId()
70 compiler::DataType::Type GetMethodReturnType(MethodPtr method) const override in GetMethodReturnType()
78 IdType GetMethodReturnTypeId(MethodPtr method) const override in GetMethodReturnTypeId()
86 … compiler::DataType::Type GetMethodTotalArgumentType(MethodPtr method, size_t index) const override in GetMethodTotalArgumentType()
111 size_t GetMethodTotalArgumentsCount(MethodPtr method) const override in GetMethodTotalArgumentsCount()
134 size_t GetMethodRegistersCount(MethodPtr method) const override in GetMethodRegistersCount()
144 const uint8_t *GetMethodCode(MethodPtr method) const override in GetMethodCode()
154 size_t GetMethodCodeSize(MethodPtr method) const override in GetMethodCodeSize()
164 SourceLanguage GetMethodSourceLanguage(MethodPtr method) const override in GetMethodSourceLanguage()
[all …]
/arkcompiler/runtime_core/compiler/optimizer/ir/
Druntime_interface.h74 virtual BinaryFilePtr GetBinaryFileForMethod([[maybe_unused]] MethodPtr method) const in GetBinaryFileForMethod()
79 virtual MethodId GetMethodId([[maybe_unused]] MethodPtr method) const in GetMethodId()
85 virtual size_t GetMethodTotalArgumentsCount([[maybe_unused]] MethodPtr method) const in GetMethodTotalArgumentsCount()
93 virtual size_t GetMethodArgumentsCount([[maybe_unused]] MethodPtr method) const in GetMethodArgumentsCount()
97 virtual size_t GetMethodRegistersCount([[maybe_unused]] MethodPtr method) const in GetMethodRegistersCount()
101 virtual const uint8_t *GetMethodCode([[maybe_unused]] MethodPtr method) const in GetMethodCode()
105 virtual size_t GetMethodCodeSize([[maybe_unused]] MethodPtr method) const in GetMethodCodeSize()
110 virtual SourceLanguage GetMethodSourceLanguage([[maybe_unused]] MethodPtr method) const in GetMethodSourceLanguage()
115 virtual std::string GetClassNameFromMethod([[maybe_unused]] MethodPtr method) const in GetClassNameFromMethod()
120 virtual ClassPtr GetClass([[maybe_unused]] MethodPtr method) const in GetClass()
[all …]
/arkcompiler/runtime_core/libabckit/src/adapter_static/
Druntime_adapter_static.h41 BinaryFilePtr GetBinaryFileForMethod([[maybe_unused]] MethodPtr method) const override in GetBinaryFileForMethod()
66 MethodId GetMethodId(MethodPtr method) const override in GetMethodId()
71 ark::compiler::DataType::Type GetMethodReturnType(MethodPtr method) const override in GetMethodReturnType()
79 IdType GetMethodReturnTypeId(MethodPtr method) const override in GetMethodReturnTypeId()
87 …ark::compiler::DataType::Type GetMethodTotalArgumentType(MethodPtr method, size_t index) const ove… in GetMethodTotalArgumentType()
112 size_t GetMethodTotalArgumentsCount(MethodPtr method) const override in GetMethodTotalArgumentsCount()
135 size_t GetMethodRegistersCount(MethodPtr method) const override in GetMethodRegistersCount()
145 const uint8_t *GetMethodCode(MethodPtr method) const override in GetMethodCode()
155 size_t GetMethodCodeSize(MethodPtr method) const override in GetMethodCodeSize()
165 ark::SourceLanguage GetMethodSourceLanguage(MethodPtr method) const override in GetMethodSourceLanguage()
[all …]
/arkcompiler/runtime_core/static_core/irtoc/backend/
Dirtoc_runtime.h33 Function *MethodCast(MethodPtr method) const in MethodCast()
38 std::string GetMethodName(MethodPtr method) const override in GetMethodName()
43 std::string GetExternalMethodName(MethodPtr method, uint32_t externalId) const override in GetExternalMethodName()
48 …std::string GetMethodFullName(MethodPtr method, [[maybe_unused]] bool withSignature) const override in GetMethodFullName()
58 std::string GetClassNameFromMethod([[maybe_unused]] MethodPtr method) const override in GetClassNameFromMethod()
63 compiler::DataType::Type GetMethodReturnType(MethodPtr method) const override in GetMethodReturnType()
86 size_t GetMethodTotalArgumentsCount(MethodPtr method) const override in GetMethodTotalArgumentsCount()
91 size_t GetMethodArgumentsCount(MethodPtr method) const override in GetMethodArgumentsCount()
127 SourceLanguage GetMethodSourceLanguage(MethodPtr method) const override in GetMethodSourceLanguage()
132 … compiler::DataType::Type GetMethodTotalArgumentType(MethodPtr method, size_t index) const override in GetMethodTotalArgumentType()
/arkcompiler/runtime_core/static_core/plugins/ets/doc/
DBUILDING.md31 ### Update your system
37 ### Install Git
50 ### Clone repositories
59 ### Install required software
80 ### Install third-party libraries
/arkcompiler/ets_frontend/ets2panda/checker/types/ets/
DetsEnumType.h110 void SetToStringMethod(Method const &method) noexcept in SetToStringMethod()
116 void SetValueOfMethod(Method const &method) noexcept in SetValueOfMethod()
122 void SetGetNameMethod(Method const &method) noexcept in SetGetNameMethod()
128 void SetGetValueOfMethod(Method const &method) noexcept in SetGetValueOfMethod()
134 void SetValuesMethod(Method const &method) noexcept in SetValuesMethod()
140 void SetFromIntMethod(Method const &method) noexcept in SetFromIntMethod()
146 void SetBoxedFromIntMethod(Method const &method) noexcept in SetBoxedFromIntMethod()
152 void SetUnboxMethod(Method const &method) noexcept in SetUnboxMethod()
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir/
Druntime_interface.h152 virtual BinaryFilePtr GetBinaryFileForMethod([[maybe_unused]] MethodPtr method) const in GetBinaryFileForMethod()
175 virtual MethodId GetMethodId([[maybe_unused]] MethodPtr method) const in GetMethodId()
180 virtual uint64_t GetUniqMethodId([[maybe_unused]] MethodPtr method) const in GetUniqMethodId()
200 virtual DataType::Type GetMethodReturnType([[maybe_unused]] MethodPtr method) const in GetMethodReturnType()
205 virtual IdType GetMethodReturnTypeId([[maybe_unused]] MethodPtr method) const in GetMethodReturnTypeId()
210 …virtual IdType GetMethodArgReferenceTypeId([[maybe_unused]] MethodPtr method, [[maybe_unused]] uin… in GetMethodArgReferenceTypeId()
215 virtual void CleanObjectHandles([[maybe_unused]] MethodPtr method) {} in CleanObjectHandles()
218 virtual DataType::Type GetMethodTotalArgumentType([[maybe_unused]] MethodPtr method, in GetMethodTotalArgumentType()
224 virtual size_t GetMethodTotalArgumentsCount([[maybe_unused]] MethodPtr method) const in GetMethodTotalArgumentsCount()
242 virtual size_t GetMethodArgumentsCount([[maybe_unused]] MethodPtr method) const in GetMethodArgumentsCount()
[all …]
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/connection/
Dserver.h38 void Call(const char *method, std::function<void(JsonObjectBuilder &)> &&params) in Call()
43 void Call(const std::string &sessionId, const char *method) in Call()
48 void Call(const char *method) in Call()
Dendpoint_base.cpp25 void EndpointBase::OnCall(const char *method, EndpointBase::MethodHandler &&handler) in OnCall()
43 auto method = request.GetValue<JsonObject::StringT>("method"); in HandleMessage() local
75 void EndpointBase::Call(const std::string &sessionId, std::optional<Id> id, const char *method, in Call()
92 void EndpointBase::HandleUnsupportedMethod(std::optional<double> optId, const std::string &method) in HandleUnsupportedMethod()
/arkcompiler/runtime_core/static_core/runtime/tests/
Dc2i_bridge_test.cpp47 coretypes::TaggedValue LdUndefinedImpl(Method *method) in LdUndefinedImpl()
293 auto method = MakeNoArgsMethod(TypeId::VOID, 0); in TEST_F() local
299 auto method = MakeNoArgsMethod(TypeId::I32, 5L); in TEST_F() local
306 auto method = MakeNoArgsMethod(TypeId::I64, 7L); in TEST_F() local
315 auto method = MakeNoArgsMethod(TypeId::F64, bit_cast<int64_t>(3.0_D)); in TEST_F() local
323 auto method = MakeNoArgsMethod(TypeId::REFERENCE, 0); in TEST_F() local
332 auto method = MakeCheckArgsMethod({TypeId::I32, TypeId::I32}, {5L}); in TEST_F() local
340 auto method = MakeCheckArgsMethod({TypeId::I32}, {0, 5L}, true); in TEST_F() local
348 …auto method = MakeCheckArgsMethod({TypeId::I32, TypeId::I32, TypeId::I32, TypeId::I32}, {3L, 2L, 1… in TEST_F() local
356 auto method = MakeCheckArgsMethod({TypeId::I32, TypeId::I64}, {7L}); in TEST_F() local
[all …]
/arkcompiler/runtime_core/static_core/compiler/aot/aot_builder/
Dllvm_aot_builder.h42 void AddMethodHeader(Method *method, size_t methodIndex) in AddMethodHeader()
53 void AdjustMethodHeader(const CompiledMethod &method, size_t index) in AdjustMethodHeader()
63 void AdjustMethod(const CompiledMethod &method, size_t index) in AdjustMethod()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/
Dcompiler_intrinsics.cpp46 Field *TryGetField(ark::Method *method, Field *rawField, uint32_t pc, ark::Class *klass) in TryGetField()
67 ark::Method *TryGetCallee(ark::Method *method, Field *rawField, uint32_t pc, ark::Class *klass) in TryGetCallee()
147 T CompilerEtsLdObjByName(ark::Method *method, int32_t id, uint32_t pc, ark::ObjectHeader *obj) in CompilerEtsLdObjByName()
243 void CompilerEtsStObjByName(ark::Method *method, int32_t id, uint32_t pc, ark::ObjectHeader *obj, T… in CompilerEtsStObjByName()
277 void CompilerEtsStObjByNameRef(ark::Method *method, int32_t id, uint32_t pc, ark::ObjectHeader *obj, in CompilerEtsStObjByNameRef()
308 extern "C" int32_t CompilerEtsLdObjByNameI32(ark::Method *method, int32_t id, uint32_t pc, ark::Obj… in CompilerEtsLdObjByNameI32()
313 extern "C" int64_t CompilerEtsLdObjByNameI64(ark::Method *method, int32_t id, uint32_t pc, ark::Obj… in CompilerEtsLdObjByNameI64()
318 extern "C" float CompilerEtsLdObjByNameF32(ark::Method *method, int32_t id, uint32_t pc, ark::Objec… in CompilerEtsLdObjByNameF32()
323 extern "C" double CompilerEtsLdObjByNameF64(ark::Method *method, int32_t id, uint32_t pc, ark::Obje… in CompilerEtsLdObjByNameF64()
328 extern "C" ark::ObjectHeader *CompilerEtsLdObjByNameObj(ark::Method *method, int32_t id, uint32_t p… in CompilerEtsLdObjByNameObj()
[all …]
/arkcompiler/ets_runtime/ecmascript/jit/
Dcompile_decision.cpp33 Method *method = Method::Cast(jsFunction_->GetMethod().GetTaggedObject()); in GetMethodName() local
45 Method *method = Method::Cast(jsFunction_->GetMethod().GetTaggedObject()); in GetCodeSize() local
85 Method *method = Method::Cast(jsFunction_->GetMethod().GetTaggedObject()); in IsJsFunctionSupportCompile() local
95 Method *method = Method::Cast(jsFunction_->GetMethod().GetTaggedObject()); in IsSupportFunctionKind() local
/arkcompiler/runtime_core/static_core/runtime/tooling/sampler/
Dstack_walker_base.h125 static bool IsMethodInBoundaryFrame(const Method *method) in IsMethodInBoundaryFrame()
130 static bool IsMethodInI2CFrame(const Method *method) in IsMethodInI2CFrame()
135 static bool IsMethodInC2IFrame(const Method *method) in IsMethodInC2IFrame()
140 static bool IsMethodInBPFrame(const Method *method) in IsMethodInBPFrame()
/arkcompiler/ets_runtime/ecmascript/debugger/
Djs_debugger.cpp108 void JSDebugger::BytecodePcChanged(JSThread *thread, JSHandle<Method> method, uint32_t bcOffset) in BytecodePcChanged()
135 bool JSDebugger::HandleBreakpoint(JSHandle<Method> method, uint32_t bcOffset) in HandleBreakpoint()
162 bool JSDebugger::HandleDebuggerStmt(JSHandle<Method> method, uint32_t bcOffset) in HandleDebuggerStmt()
184 void JSDebugger::HandleExceptionThrowEvent(const JSThread *thread, JSHandle<Method> method, uint32_… in HandleExceptionThrowEvent()
195 bool JSDebugger::HandleStep(JSHandle<Method> method, uint32_t bcOffset) in HandleStep()
206 std::optional<JSBreakpoint> JSDebugger::FindBreakpoint(JSHandle<Method> method, uint32_t bcOffset) … in FindBreakpoint()
218 std::optional<JSBreakpoint> JSDebugger::FindSmartBreakpoint(JSHandle<Method> method, uint32_t bcOff… in FindSmartBreakpoint()
316 void JSDebugger::MethodEntry(JSHandle<Method> method, JSHandle<JSTaggedValue> envHandle) in MethodEntry()
334 void JSDebugger::MethodExit([[maybe_unused]] JSHandle<Method> method) in MethodExit()
/arkcompiler/ets_frontend/es2panda/test/parser/js/
Dtest-class-expression.js20 method() { method in cls1
30 method() { } method in cls2
/arkcompiler/ets_frontend/ets2panda/test/parser/js/
Dtest-class-expression.js20 method() { method in cls1
30 method() { } method in cls2
/arkcompiler/runtime_core/libabckit/tests/scenarios/parameter_check/dynamic/
Dapi_modifier.cpp30 visitor_.EnumerateModuleFunctions(mod, [&](AbckitCoreFunction *method) { in Run()
56 void ApiModifier::ModifyFunction(AbckitCoreFunction *method, AbckitCoreImportDescriptor *id) in ModifyFunction()
79 auto method = implG_->iGetFunction(user); in GetSubclassMethod() local
91 visitor_.EnumerateClassMethods(klass, [&](AbckitCoreFunction *method) { in GetMethodToModify()
102 void ApiModifier::AddParamChecker(AbckitCoreFunction *method) in AddParamChecker()
106 visitor_.TransformMethod(method, [&](AbckitFile *file, AbckitCoreFunction *method) { in AddParamChecker()
/arkcompiler/runtime_core/static_core/runtime/tests/tooling/
Dtest_runner.h43 void Breakpoint(PtThread thread, Method *method, const PtLocation &location) override in Breakpoint()
64 … void Exception(PtThread thread, Method *method, const PtLocation &location, ObjectHeader *object, in Exception()
72 …void ExceptionCatch(PtThread thread, Method *method, const PtLocation &location, ObjectHeader *obj… in ExceptionCatch()
79 …void PropertyAccess(PtThread thread, Method *method, const PtLocation &location, ObjectHeader *obj… in PropertyAccess()
87 …void PropertyModification(PtThread thread, Method *method, const PtLocation &location, ObjectHeade… in PropertyModification()
95 void FramePop(PtThread thread, Method *method, bool wasPoppedByException) override in FramePop()
116 void MethodEntry(PtThread thread, Method *method) override in MethodEntry()
123 …void MethodExit(PtThread thread, Method *method, bool wasPoppedByException, VRegValue returnValue)… in MethodExit()
130 void SingleStep(PtThread thread, Method *method, const PtLocation &location) override in SingleStep()
/arkcompiler/ets_runtime/ecmascript/tests/
Dmachine_code_test.cpp52 JSHandle<Method> method(thread, func->GetMethod()); in HWTEST_F_L0() local
67 JSHandle<Method> method(thread, func->GetMethod()); in HWTEST_F_L0() local
88 JSHandle<Method> method(thread, func->GetMethod()); in HWTEST_F_L0() local
117 JSHandle<Method> method(thread, func->GetMethod()); in HWTEST_F_L0() local
146 JSHandle<Method> method(thread, func->GetMethod()); in HWTEST_F_L0() local
172 JSHandle<Method> method(thread, func->GetMethod()); in HWTEST_F_L0() local
198 JSHandle<Method> method(thread, func->GetMethod()); in HWTEST_F_L0() local

12345678910>>...23