| /arkcompiler/runtime_core/bytecode_optimizer/ |
| D | runtime_adapter.h | 41 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/ |
| D | compiler.h | 46 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 …]
|
| 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 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()
|
| D | osr.h | 41 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/ |
| D | runtime_adapter.h | 40 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/ |
| D | runtime_interface.h | 74 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/static_core/irtoc/backend/ |
| D | irtoc_runtime.h | 33 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() 81 size_t GetMethodTotalArgumentsCount(MethodPtr method) const override in GetMethodTotalArgumentsCount() 86 size_t GetMethodArgumentsCount(MethodPtr method) const override in GetMethodArgumentsCount() 122 SourceLanguage GetMethodSourceLanguage(MethodPtr method) const override in GetMethodSourceLanguage() 127 … compiler::DataType::Type GetMethodTotalArgumentType(MethodPtr method, size_t index) const override in GetMethodTotalArgumentType()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/doc/ |
| D | BUILDING.md | 31 ### 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/ |
| D | etsEnumType.h | 108 void SetToStringMethod(Method const &method) noexcept in SetToStringMethod() 114 void SetValueOfMethod(Method const &method) noexcept in SetValueOfMethod() 120 void SetGetNameMethod(Method const &method) noexcept in SetGetNameMethod() 126 void SetGetValueOfMethod(Method const &method) noexcept in SetGetValueOfMethod() 132 void SetValuesMethod(Method const &method) noexcept in SetValuesMethod() 138 void SetFromIntMethod(Method const &method) noexcept in SetFromIntMethod() 144 void SetBoxedFromIntMethod(Method const &method) noexcept in SetBoxedFromIntMethod() 150 void SetUnboxMethod(Method const &method) noexcept in SetUnboxMethod()
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/ir/ |
| D | runtime_interface.h | 152 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/ |
| D | server.h | 38 void Call(const char *method, std::function<void(JsonObjectBuilder &)> &¶ms) in Call() 43 void Call(const std::string &sessionId, const char *method) in Call() 48 void Call(const char *method) in Call()
|
| /arkcompiler/runtime_core/static_core/runtime/tests/ |
| D | c2i_bridge_test.cpp | 47 coretypes::TaggedValue LdUndefinedImpl(Method *method) in LdUndefinedImpl() 295 auto method = MakeNoArgsMethod(TypeId::VOID, 0); in TEST_F() local 301 auto method = MakeNoArgsMethod(TypeId::I32, 5L); in TEST_F() local 308 auto method = MakeNoArgsMethod(TypeId::I64, 7L); in TEST_F() local 317 auto method = MakeNoArgsMethod(TypeId::F64, bit_cast<int64_t>(3.0_D)); in TEST_F() local 325 auto method = MakeNoArgsMethod(TypeId::REFERENCE, 0); in TEST_F() local 334 auto method = MakeCheckArgsMethod({TypeId::I32, TypeId::I32}, {5L}); in TEST_F() local 342 auto method = MakeCheckArgsMethod({TypeId::I32}, {0, 5L}, true); in TEST_F() local 350 …auto method = MakeCheckArgsMethod({TypeId::I32, TypeId::I32, TypeId::I32, TypeId::I32}, {3L, 2L, 1… in TEST_F() local 358 auto method = MakeCheckArgsMethod({TypeId::I32, TypeId::I64}, {7L}); in TEST_F() local [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/ |
| D | compiler_intrinsics.cpp | 46 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() 242 void CompilerEtsStObjByName(ark::Method *method, int32_t id, uint32_t pc, ark::ObjectHeader *obj, T… in CompilerEtsStObjByName() 276 void CompilerEtsStObjByNameRef(ark::Method *method, int32_t id, uint32_t pc, ark::ObjectHeader *obj, in CompilerEtsStObjByNameRef() 307 extern "C" int32_t CompilerEtsLdObjByNameI32(ark::Method *method, int32_t id, uint32_t pc, ark::Obj… in CompilerEtsLdObjByNameI32() 312 extern "C" int64_t CompilerEtsLdObjByNameI64(ark::Method *method, int32_t id, uint32_t pc, ark::Obj… in CompilerEtsLdObjByNameI64() 317 extern "C" float CompilerEtsLdObjByNameF32(ark::Method *method, int32_t id, uint32_t pc, ark::Objec… in CompilerEtsLdObjByNameF32() 322 extern "C" double CompilerEtsLdObjByNameF64(ark::Method *method, int32_t id, uint32_t pc, ark::Obje… in CompilerEtsLdObjByNameF64() 327 extern "C" ark::ObjectHeader *CompilerEtsLdObjByNameObj(ark::Method *method, int32_t id, uint32_t p… in CompilerEtsLdObjByNameObj() [all …]
|
| /arkcompiler/runtime_core/static_core/compiler/aot/aot_builder/ |
| D | llvm_aot_builder.h | 42 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/runtime/tooling/sampler/ |
| D | stack_walker_base.h | 125 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/ |
| D | js_debugger.cpp | 109 void JSDebugger::BytecodePcChanged(JSThread *thread, JSHandle<Method> method, uint32_t bcOffset) in BytecodePcChanged() 136 bool JSDebugger::HandleBreakpoint(JSHandle<Method> method, uint32_t bcOffset) in HandleBreakpoint() 163 bool JSDebugger::HandleDebuggerStmt(JSHandle<Method> method, uint32_t bcOffset) in HandleDebuggerStmt() 185 void JSDebugger::HandleExceptionThrowEvent(const JSThread *thread, JSHandle<Method> method, uint32_… in HandleExceptionThrowEvent() 196 bool JSDebugger::HandleStep(JSHandle<Method> method, uint32_t bcOffset) in HandleStep() 207 std::optional<JSBreakpoint> JSDebugger::FindBreakpoint(JSHandle<Method> method, uint32_t bcOffset) … in FindBreakpoint() 219 std::optional<JSBreakpoint> JSDebugger::FindSmartBreakpoint(JSHandle<Method> method, uint32_t bcOff… in FindSmartBreakpoint() 317 void JSDebugger::MethodEntry(JSHandle<Method> method, JSHandle<JSTaggedValue> envHandle) in MethodEntry() 335 void JSDebugger::MethodExit([[maybe_unused]] JSHandle<Method> method) in MethodExit()
|
| /arkcompiler/ets_frontend/ets2panda/test/parser/js/ |
| D | test-class-expression.js | 20 method() { method in cls1 30 method() { } method in cls2
|
| /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/static_core/plugins/ets/runtime/interop_js/call/ |
| D | call_js.cpp | 33 …ALWAYS_INLINE CallJSHandler(EtsCoroutine *coro, Method *method, uint8_t *args, uint8_t *inStackArg… in CallJSHandler() 43 auto method = protoReader_.GetMethod(); in SetupArgreader() local 74 static ALWAYS_INLINE uint64_t HandleImpl(Method *method, uint8_t *args, uint8_t *inStackArgs) in HandleImpl() 223 static ALWAYS_INLINE inline uint64_t JSRuntimeCallJSQNameBase(Method *method, uint8_t *args, uint8_… in JSRuntimeCallJSQNameBase() 247 extern "C" uint64_t JSRuntimeCallJSQName(Method *method, uint8_t *args, uint8_t *inStackArgs) in JSRuntimeCallJSQName() 253 extern "C" uint64_t JSRuntimeNewCallJSQName(Method *method, uint8_t *args, uint8_t *inStackArgs) in JSRuntimeNewCallJSQName() 259 static uint32_t GetClassQnameOffset(InteropCtx *ctx, Method *method) in GetClassQnameOffset() 269 static ALWAYS_INLINE inline uint64_t JSRuntimeCallJSBase(Method *method, uint8_t *args, uint8_t *in… in JSRuntimeCallJSBase() 306 extern "C" uint64_t JSRuntimeCallJS(Method *method, uint8_t *args, uint8_t *inStackArgs) in JSRuntimeCallJS() 312 extern "C" uint64_t JSRuntimeNewCallJS(Method *method, uint8_t *args, uint8_t *inStackArgs) in JSRuntimeNewCallJS() [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/tests/tooling/ |
| D | test_runner.h | 43 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/runtime_core/static_core/runtime/core/ |
| D | core_class_linker_extension.h | 54 const void *GetNativeEntryPointFor([[maybe_unused]] Method *method) const override in GetNativeEntryPointFor() 59 bool CanThrowException([[maybe_unused]] const Method *method) const override in CanThrowException()
|
| /arkcompiler/runtime_core/static_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 : hotMethods_) { in Dump() local
|
| /arkcompiler/runtime_core/static_core/verification/cflow/ |
| D | cflow_check.cpp | 30 static VerificationStatus CheckValidFlagInstructionException(Method const *&method, CflowMethodInfo… in CheckValidFlagInstructionException() 55 static VerificationStatus CheckCode(Method const *method, CflowMethodInfo const *cflowInfo) in CheckCode() 104 PandaUniquePtr<CflowMethodInfo> CheckCflow(Method const *method) in CheckCflow()
|
| /arkcompiler/toolchain/tooling/agent/ |
| D | overlay_impl.cpp | 26 Method method = GetMethodEnum(request.GetMethod()); in Dispatch() local 38 …yImpl::DispatcherImpl::Method OverlayImpl::DispatcherImpl::GetMethodEnum(const std::string& method) in GetMethodEnum()
|
| D | css_impl.cpp | 24 Method method = GetMethodEnum(request.GetMethod()); in Dispatch() local 36 CssImpl::DispatcherImpl::Method CssImpl::DispatcherImpl::GetMethodEnum(const std::string& method) in GetMethodEnum()
|