| /arkcompiler/runtime_core/runtime/ |
| D | compiler.h | 46 inline panda::Method *MethodCast(RuntimeInterface::MethodPtr method) in MethodCast() 68 RuntimeInterface::MethodPtr GetSingleImplementation(RuntimeInterface::MethodPtr method) override in GetSingleImplementation() 72 bool IsSingleImplementation(RuntimeInterface::MethodPtr method) override in IsSingleImplementation() 138 BinaryFilePtr GetBinaryFileForMethod(MethodPtr method) const override in GetBinaryFileForMethod() 162 compiler::DataType::Type GetMethodReturnType(MethodPtr method) const override in GetMethodReturnType() 166 … compiler::DataType::Type GetMethodTotalArgumentType(MethodPtr method, size_t index) const override in GetMethodTotalArgumentType() 170 size_t GetMethodTotalArgumentsCount(MethodPtr method) const override in GetMethodTotalArgumentsCount() 182 size_t GetMethodArgumentsCount(MethodPtr method) const override in GetMethodArgumentsCount() 186 size_t GetMethodRegistersCount(MethodPtr method) const override in GetMethodRegistersCount() 190 const uint8_t *GetMethodCode(MethodPtr method) const override in GetMethodCode() [all …]
|
| D | cha.cpp | 38 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 single_implementation) 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 *> *dependent_methods… in InvalidateMethod()
|
| D | osr.h | 39 void *Get(const Method *method) in Get() 49 void Set(const Method *method, void *ptr) in Set() 59 void Remove(const Method *method) in Remove()
|
| D | compiler.cpp | 119 compiler::RuntimeInterface::ClassPtr PandaRuntimeInterface::GetClass(MethodPtr method, IdType id) c… in GetClass() 137 compiler::ClassType PandaRuntimeInterface::GetClassType(MethodPtr method, IdType id) const in GetClassType() 174 bool PandaRuntimeInterface::IsArrayClass(MethodPtr method, IdType id) const in IsArrayClass() 210 auto method = Runtime::GetCurrent()->GetClassLinker()->GetMethod(*MethodCast(parent_method), in IsInterfaceMethod() local 319 auto *method = klass->GetDirectMethod(name.data, proto); in IsMethodIntrinsic() local 331 std::string PandaRuntimeInterface::GetBytecodeString(MethodPtr method, uintptr_t pc) const in GetBytecodeString() 345 auto method = MethodCast(m); in ResolveField() local 387 auto method = MethodCast(m); in GetLiteralArray() local 444 std::optional<RuntimeInterface::IdType> PandaRuntimeInterface::FindClassIdInFile(MethodPtr method, … in FindClassIdInFile() 457 RuntimeInterface::IdType PandaRuntimeInterface::GetClassIdWithinFile(MethodPtr method, ClassPtr cls… in GetClassIdWithinFile() [all …]
|
| /arkcompiler/runtime_core/irtoc/backend/ |
| D | irtoc_runtime.h | 32 CompilationUnit *MethodCast(MethodPtr method) const in MethodCast() 37 std::string GetMethodName(MethodPtr method) const override in GetMethodName() 42 …std::string GetMethodFullName(MethodPtr method, [[maybe_unused]] bool with_signature) const overri… in GetMethodFullName() 52 std::string GetClassNameFromMethod([[maybe_unused]] MethodPtr method) const override in GetClassNameFromMethod() 57 virtual compiler::DataType::Type GetMethodReturnType(MethodPtr method) const override in GetMethodReturnType() 71 size_t GetMethodTotalArgumentsCount(MethodPtr method) const override in GetMethodTotalArgumentsCount() 76 size_t GetMethodArgumentsCount(MethodPtr method) const override in GetMethodArgumentsCount() 116 compiler::SourceLanguage GetMethodSourceLanguage(MethodPtr method) const override in GetMethodSourceLanguage()
|
| /arkcompiler/runtime_core/bytecode_optimizer/ |
| D | runtime_adapter.h | 39 BinaryFilePtr GetBinaryFileForMethod([[maybe_unused]] MethodPtr method) const override in GetBinaryFileForMethod() 69 MethodId GetMethodId(MethodPtr method) const override in GetMethodId() 74 compiler::DataType::Type GetMethodReturnType(MethodPtr method) const override in GetMethodReturnType() 82 … compiler::DataType::Type GetMethodTotalArgumentType(MethodPtr method, size_t index) const override in GetMethodTotalArgumentType() 107 size_t GetMethodTotalArgumentsCount(MethodPtr method) const override in GetMethodTotalArgumentsCount() 130 size_t GetMethodRegistersCount(MethodPtr method) const override in GetMethodRegistersCount() 140 const uint8_t *GetMethodCode(MethodPtr method) const override in GetMethodCode() 150 size_t GetMethodCodeSize(MethodPtr method) const override in GetMethodCodeSize() 160 compiler::SourceLanguage GetMethodSourceLanguage(MethodPtr method) const override in GetMethodSourceLanguage() 172 size_t GetClassIdForField([[maybe_unused]] MethodPtr method, size_t field_id) const override in GetClassIdForField() [all …]
|
| /arkcompiler/runtime_core/compiler/optimizer/ir/ |
| D | runtime_interface.h | 132 virtual BinaryFilePtr GetBinaryFileForMethod([[maybe_unused]] MethodPtr method) const in GetBinaryFileForMethod() 151 virtual MethodId GetMethodId([[maybe_unused]] MethodPtr method) const in GetMethodId() 166 virtual DataType::Type GetMethodReturnType([[maybe_unused]] MethodPtr method) const in GetMethodReturnType() 172 virtual DataType::Type GetMethodTotalArgumentType([[maybe_unused]] MethodPtr method, in GetMethodTotalArgumentType() 178 virtual size_t GetMethodTotalArgumentsCount([[maybe_unused]] MethodPtr method) const in GetMethodTotalArgumentsCount() 196 virtual size_t GetMethodArgumentsCount([[maybe_unused]] MethodPtr method) const in GetMethodArgumentsCount() 200 virtual size_t GetMethodRegistersCount([[maybe_unused]] MethodPtr method) const in GetMethodRegistersCount() 204 virtual const uint8_t *GetMethodCode([[maybe_unused]] MethodPtr method) const in GetMethodCode() 208 virtual size_t GetMethodCodeSize([[maybe_unused]] MethodPtr method) const in GetMethodCodeSize() 213 virtual SourceLanguage GetMethodSourceLanguage([[maybe_unused]] MethodPtr method) const in GetMethodSourceLanguage() [all …]
|
| /arkcompiler/runtime_core/runtime/tests/ |
| D | c2i_bridge_test.cpp | 46 DecodedTaggedValue LdUndefinedImpl(Method *method) in LdUndefinedImpl() 268 auto method = MakeNoArgsMethod(TypeId::VOID, 0); in TEST_F() local 274 auto method = MakeNoArgsMethod(TypeId::I32, 5); in TEST_F() local 281 auto method = MakeNoArgsMethod(TypeId::I64, 7); in TEST_F() local 289 auto method = MakeNoArgsMethod(TypeId::F64, bit_cast<int64_t>(3.0)); in TEST_F() local 297 auto method = MakeNoArgsMethod(TypeId::REFERENCE, 0); in TEST_F() local 305 auto method = MakeNoArgsMethod(TypeId::TAGGED, 1); in TEST_F() local 314 auto method = MakeCheckArgsMethod({TypeId::I32, TypeId::I32}, {5}); in TEST_F() local 322 auto method = MakeCheckArgsMethod({TypeId::I32}, {0, 5}, true); in TEST_F() local 330 …auto method = MakeCheckArgsMethod({TypeId::I32, TypeId::I32, TypeId::I32, TypeId::I32}, {3, 2, 1}); in TEST_F() local [all …]
|
| D | i2c_bridge_test.cpp | 117 static void VoidNoArg(Method *method) in VoidNoArg() 123 static Frame *CreateFrame(size_t nregs, Method *method, Frame *prev) in CreateFrame() 152 static void InstanceVoidNoArg(Method *method, ObjectHeader *this_) in InstanceVoidNoArg() 188 static uint8_t ByteNoArg(Method *method) in ByteNoArg() 224 static int8_t SignedByteNoArg(Method *method) in SignedByteNoArg() 260 static bool BoolNoArg(Method *method) in BoolNoArg() 289 static uint16_t ShortNoArg(Method *method) in ShortNoArg() 318 static int16_t SignedShortNoArg(Method *method) in SignedShortNoArg() 347 static int32_t IntNoArg(Method *method) in IntNoArg() 376 static int64_t LongNoArg(Method *method) in LongNoArg() [all …]
|
| D | exception_test.cpp | 160 Method *method = klass->GetDirectMethod(utf::CStringAsMutf8("main")); in TEST_F() local 243 Method *method = klass->GetDirectMethod(utf::CStringAsMutf8("main")); in TEST_F() local 329 Method *method = klass->GetDirectMethod(utf::CStringAsMutf8("main")); in TEST_F() local 415 Method *method = klass->GetDirectMethod(utf::CStringAsMutf8("main")); in TEST_F() local 502 Method *method = klass->GetDirectMethod(utf::CStringAsMutf8("main")); in TEST_F() local 589 Method *method = klass->GetDirectMethod(utf::CStringAsMutf8("main")); in TEST_F() local 672 Method *method = klass->GetDirectMethod(utf::CStringAsMutf8("main")); in TEST_F() local 755 Method *method = klass->GetDirectMethod(utf::CStringAsMutf8("main")); in TEST_F() local 840 Method *method = klass->GetDirectMethod(utf::CStringAsMutf8("main")); in TEST_F() local 925 Method *method = klass->GetDirectMethod(utf::CStringAsMutf8("main")); in TEST_F() local [all …]
|
| D | osr_code_test.cpp | 58 Method *method = klass->GetDirectMethod(utf::CStringAsMutf8(ss.str().c_str())); in GetMethod() local 95 Method *method = GetMethod(klass, i); in CompileMethods() local 101 Method *method = GetMethod(klass, i); in CompileMethods() local
|
| D | invokation_helper.h | 85 inline T InvokeEntryPoint(Method *method) in InvokeEntryPoint() 100 inline T InvokeEntryPoint(Method *method, Args... args) in InvokeEntryPoint() 156 DecodedTaggedValue InvokeDynEntryPoint(Method *method, uint32_t num_args, Args... args) in InvokeDynEntryPoint()
|
| /arkcompiler/runtime_core/runtime/tooling/inspector/ |
| D | inspector_hooks.h | 46 void Breakpoint(PtThread thread, Method *method, const PtLocation &location) override in Breakpoint() 51 void FramePop(PtThread thread, Method *method, bool wasPoppedByException) override in FramePop() 56 void MethodEntry(PtThread thread, Method *method) override in MethodEntry() 61 void SingleStep(PtThread thread, Method *method, const PtLocation &location) override in SingleStep()
|
| D | server_endpoint-inl.h | 48 void ServerEndpoint<CONFIG>::Call(const char *method, std::function<void(JsonObjectBuilder &)> &&pa… in Call() 54 void ServerEndpoint<CONFIG>::OnCall(const char *method, in OnCall()
|
| /arkcompiler/runtime_core/runtime/tooling/inspector/tests/ |
| D | inspector_test_base.h | 55 …void CallSync(const char *method, std::function<void(JsonObjectBuilder &)> &¶ms, Function &&ha… in CallSync() 62 void CallSync(const char *method, std::function<void(JsonObjectBuilder &)> &¶ms) in CallSync() 69 …Result CallSync(const char *method, std::function<void(JsonObjectBuilder &)> &¶ms, Function &&… in CallSync()
|
| D | client.h | 52 void Call(const char *method, std::function<void(const JsonObject & /* result */)> &&handler) in Call() 63 void OnCall(const char *method, MethodHandler &&handler) in OnCall()
|
| /arkcompiler/runtime_core/runtime/tests/tooling/ |
| D | test_runner.h | 40 void Breakpoint(PtThread thread, Method *method, const PtLocation &location) override in Breakpoint() 61 … void Exception(PtThread thread, Method *method, const PtLocation &location, ObjectHeader *object, in Exception() 69 …void ExceptionCatch(PtThread thread, Method *method, const PtLocation &location, ObjectHeader *obj… in ExceptionCatch() 76 …void PropertyAccess(PtThread thread, Method *method, const PtLocation &location, ObjectHeader *obj… in PropertyAccess() 84 …void PropertyModification(PtThread thread, Method *method, const PtLocation &location, ObjectHeade… in PropertyModification() 92 void FramePop(PtThread thread, Method *method, bool was_popped_by_exception) override in FramePop() 113 void MethodEntry(PtThread thread, Method *method) override in MethodEntry() 120 …void MethodExit(PtThread thread, Method *method, bool was_popped_by_exception, VRegValue return_va… in MethodExit() 127 void SingleStep(PtThread thread, Method *method, const PtLocation &location) override in SingleStep()
|
| /arkcompiler/ets_frontend/es2panda/test/parser/js/ |
| D | test-class-expression.js | 20 method() { method in cls1 30 method() { } method in cls2
|
| /arkcompiler/runtime_core/runtime/entrypoints/ |
| D | entrypoints.cpp | 101 extern "C" int HasCompiledCode(Method *method) in HasCompiledCode() 106 extern "C" bool IncrementHotnessCounter(Method *method) in IncrementHotnessCounter() 112 extern "C" NO_ADDRESS_SANITIZE void InterpreterEntryPoint(Method *method, Frame *frame) in InterpreterEntryPoint() 501 extern "C" Frame *CreateFrameWithSize(uint32_t size, uint32_t nregs, Method *method, Frame *prev) in CreateFrameWithSize() 516 Method *method, Frame *prev) in CreateFrameWithActualArgsAndSize() 529 Method *method, Frame *prev) in CreateNativeFrameWithActualArgsAndSize() 541 static Frame *CreateFrame(uint32_t nregs, Method *method, Frame *prev) in CreateFrame() 547 static Frame *CreateFrameWithActualArgs(uint32_t nregs, uint32_t num_actual_args, Method *method, F… in CreateFrameWithActualArgs() 553 extern "C" Frame *CreateFrameForMethod(Method *method, Frame *prev) in CreateFrameForMethod() 559 extern "C" Frame *CreateFrameForMethodDyn(Method *method, Frame *prev) in CreateFrameForMethodDyn() [all …]
|
| /arkcompiler/runtime_core/runtime/interpreter/ |
| D | runtime_interface.h | 44 auto *method = class_linker->GetMethod(caller, resolved_id); in ResolveMethod() local 155 static Value InvokeMethod(ManagedThread *thread, Method *method, Value *args) in InvokeMethod() 160 static uint32_t FindCatchBlock(const Method &method, ObjectHeader *exception, uint32_t pc) in FindCatchBlock() 190 static void ThrowAbstractMethodError(Method *method) in ThrowAbstractMethodError() 195 static void ThrowIncompatibleClassChangeErrorForMethodConflict(Method *method) in ThrowIncompatibleClassChangeErrorForMethodConflict() 231 static Frame *CreateFrame(uint32_t nregs, Method *method, Frame *prev) in CreateFrame() 237 …e *CreateFrameWithActualArgs(uint32_t nregs, uint32_t num_actual_args, Method *method, Frame *prev) in CreateFrameWithActualArgs() 244 … uint32_t num_actual_args, Method *method, Frame *prev) in CreateFrameWithActualArgsAndSize() 250 …ateNativeFrameWithActualArgs(uint32_t nregs, uint32_t num_actual_args, Method *method, Frame *prev) in CreateNativeFrameWithActualArgs() 295 static LanguageContext GetLanguageContext(const Method &method) in GetLanguageContext()
|
| /arkcompiler/runtime_core/runtime/core/ |
| D | core_class_linker_extension.h | 51 const void *GetNativeEntryPointFor([[maybe_unused]] Method *method) const override in GetNativeEntryPointFor() 56 bool CanThrowException([[maybe_unused]] const Method *method) const override in CanThrowException()
|
| /arkcompiler/runtime_core/runtime/dprofiler/ |
| D | dprofiler.cpp | 53 static PandaString GetFullName(const Method *method) in GetFullName() 76 for (const auto &method : klass->GetMethods()) { in AddClass() local 88 for (const Method *method : hot_methods_) { in Dump() local
|
| /arkcompiler/ets_runtime/ecmascript/debugger/ |
| D | js_debugger.cpp | 74 void JSDebugger::BytecodePcChanged(JSThread *thread, JSHandle<Method> method, uint32_t bcOffset) in BytecodePcChanged() 85 bool JSDebugger::HandleBreakpoint(JSHandle<Method> method, uint32_t bcOffset) in HandleBreakpoint() 118 void JSDebugger::HandleExceptionThrowEvent(const JSThread *thread, JSHandle<Method> method, uint32_… in HandleExceptionThrowEvent() 129 bool JSDebugger::HandleStep(JSHandle<Method> method, uint32_t bcOffset) in HandleStep() 140 std::optional<JSBreakpoint> JSDebugger::FindBreakpoint(JSHandle<Method> method, uint32_t bcOffset) … in FindBreakpoint()
|
| /arkcompiler/runtime_core/runtime/methodtrace/ |
| D | trace.cpp | 169 for (const auto &method : called_methods) { in RecordMethodsInfo() local 174 void Trace::WriteInfoToBuf(const ManagedThread *thread, Method *method, EventFlag event, uint32_t t… in WriteInfoToBuf() 220 uint32_t Trace::EncodeMethodAndEventToId(Method *method, EventFlag flag) in EncodeMethodAndEventToId() 227 uint32_t Trace::EncodeMethodToId(Method *method) in EncodeMethodToId() 256 Method *method = DecodeIdToMethod(decoded_data); in GetUniqueMethods() local 299 void Trace::MethodEntry(ManagedThread *thread, Method *method) in MethodEntry() 314 void Trace::MethodExit(ManagedThread *thread, Method *method) in MethodExit()
|
| /arkcompiler/runtime_core/runtime/tooling/ |
| D | pt_hooks_wrapper.h | 58 void Breakpoint(PtThread thread, Method *method, const PtLocation &location) override in Breakpoint() 94 …void Exception(PtThread thread, Method *method, const PtLocation &location, ObjectHeader *exceptio… in Exception() 107 void ExceptionCatch(PtThread thread, Method *method, const PtLocation &location, in ExceptionCatch() 120 …void PropertyAccess(PtThread thread, Method *method, const PtLocation &location, ObjectHeader *obj… in PropertyAccess() 133 …void PropertyModification(PtThread thread, Method *method, const PtLocation &location, ObjectHeade… in PropertyModification() 146 void FramePop(PtThread thread, Method *method, bool wasPoppedByException) override in FramePop() 188 void MethodEntry(PtThread thread, Method *method) override in MethodEntry() 200 …void MethodExit(PtThread thread, Method *method, bool wasPoppedByException, VRegValue returnValue)… in MethodExit() 212 void SingleStep(PtThread thread, Method *method, const PtLocation &location) override in SingleStep()
|