Home
last modified time | relevance | path

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

12345

/ark/js_runtime/ecmascript/tooling/backend/
Djs_debugger.cpp30 JSMethod *method = FindMethod(location); in SetBreakpoint() local
53 JSMethod *method = FindMethod(location); in RemoveBreakpoint() local
67 void JSDebugger::BytecodePcChanged(JSThread *thread, JSMethod *method, uint32_t bcOffset) in BytecodePcChanged()
79 bool JSDebugger::HandleBreakpoint(const JSMethod *method, uint32_t bcOffset) in HandleBreakpoint()
112 void JSDebugger::HandleExceptionThrowEvent(const JSThread *thread, const JSMethod *method, uint32_t… in HandleExceptionThrowEvent()
124 bool JSDebugger::HandleStep(const JSMethod *method, uint32_t bcOffset) in HandleStep()
136 std::optional<JSBreakpoint> JSDebugger::FindBreakpoint(const JSMethod *method, uint32_t bcOffset) c… in FindBreakpoint() argument
148 bool JSDebugger::RemoveBreakpoint(const JSMethod *method, uint32_t bcOffset) in RemoveBreakpoint()
163 JSMethod *method = nullptr; in FindMethod() local
Djs_pt_extractor.cpp38 JSMethod *method = DebuggerApi::GetMethod(ecmaVm_); in StepComplete() local
106 JSMethod *method = DebuggerApi::GetMethod(ecmaVm); in GetStepper() local
/ark/runtime_core/runtime/tests/
Dc2i_bridge_test.cpp49 DecodedTaggedValue LdUndefinedImpl(Method *method) in LdUndefinedImpl()
275 auto method = MakeNoArgsMethod(TypeId::VOID, 0); in TEST_F() local
281 auto method = MakeNoArgsMethod(TypeId::I32, 5); in TEST_F() local
288 auto method = MakeNoArgsMethod(TypeId::I64, 7); in TEST_F() local
296 auto method = MakeNoArgsMethod(TypeId::F64, bit_cast<int64_t>(3.0)); in TEST_F() local
304 auto method = MakeNoArgsMethod(TypeId::REFERENCE, 0); in TEST_F() local
312 auto method = MakeNoArgsMethod(TypeId::TAGGED, 1); in TEST_F() local
322 auto method = MakeCheckArgsMethod({TypeId::I32, TypeId::I32}, {5}); in TEST_F() local
330 auto method = MakeCheckArgsMethod({TypeId::I32}, {0, 5}, true); in TEST_F() local
338 …auto method = MakeCheckArgsMethod({TypeId::I32, TypeId::I32, TypeId::I32, TypeId::I32}, {3, 2, 1}); in TEST_F() local
[all …]
Di2c_bridge_test.cpp116 static void VoidNoArg(Method *method) in VoidNoArg()
145 static void InstanceVoidNoArg(Method *method, ObjectHeader *this_) in InstanceVoidNoArg()
177 static uint8_t ByteNoArg(Method *method) in ByteNoArg()
213 static int8_t SignedByteNoArg(Method *method) in SignedByteNoArg()
249 static bool BoolNoArg(Method *method) in BoolNoArg()
278 static uint16_t ShortNoArg(Method *method) in ShortNoArg()
307 static int16_t SignedShortNoArg(Method *method) in SignedShortNoArg()
336 static int32_t IntNoArg(Method *method) in IntNoArg()
365 static int64_t LongNoArg(Method *method) in LongNoArg()
394 static double DoubleNoArg(Method *method) in DoubleNoArg()
[all …]
Dinvokation_helper.h85 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()
Dmethod_test.cpp97 Method *method = klass->GetDirectMethod(utf::CStringAsMutf8("foo")); in VerifyLineNumber() local
111 …Method method(nullptr, nullptr, panda_file::File::EntityId(), panda_file::File::EntityId(), 0, 0, … in TEST_F() local
121 static int32_t EntryPoint([[maybe_unused]] Method *method) in EntryPoint()
221 Method *method = klass->GetDirectMethod(utf::CStringAsMutf8("Foo")); in TEST_F() local
257 Method *method = klass->GetDirectMethod(utf::CStringAsMutf8("foo")); in TEST_F() local
294 Method *method = klass->GetDirectMethod(utf::CStringAsMutf8("foo")); in TEST_F() local
378 Method *method = klass->GetDirectMethod(utf::CStringAsMutf8("foo")); in TEST_F() local
389 Method *method = klass->GetDirectMethod(utf::CStringAsMutf8("foo")); in TEST_F() local
397 static int32_t StackTraceEntryPoint([[maybe_unused]] Method *method) in StackTraceEntryPoint()
Dinterpreter_test.cpp80 auto CreateFrame(size_t nregs, Method *method, Frame *prev) in CreateFrame()
141 …auto method = MakePandaUnique<Method>(klass, pf.get(), method_item->GetFileId(), code_item->GetFil… in CreateMethod() local
221 auto method = std::move(method_data.first); in TEST_F() local
327 auto method = std::move(method_data.first); in TEST_F() local
373 auto method = std::move(method_data.first); in TEST_F() local
397 auto method = std::move(method_data.first); in TestUnimpelemented() local
437 auto method = std::move(method_data.first); in TEST_F() local
476 auto method = std::move(method_data.first); in TestFcmp() local
530 auto method = std::move(method_data.first); in TestConditionalJmp() local
563 auto method = std::move(method_data.first); in TestConditionalJmp() local
[all …]
/ark/runtime_core/runtime/entrypoints/
Dentrypoints.cpp83 extern "C" bool IncrementHotnessCounter(Method *method) in IncrementHotnessCounter()
89 extern "C" NO_ADDRESS_SANITIZE void InterpreterEntryPoint(Method *method, Frame *frame) in InterpreterEntryPoint()
117 extern "C" Frame *CreateFrame(uint32_t nregs, Method *method, Frame *prev) in CreateFrame()
127 extern "C" Frame *CreateFrameForMethod(Method *method, Frame *prev) in CreateFrameForMethod()
134 Method *method, Frame *prev) in CreateFrameWithActualArgsAndSize()
145 …e *CreateFrameWithActualArgs(uint32_t nregs, uint32_t num_actual_args, Method *method, Frame *prev) in CreateFrameWithActualArgs()
150 extern "C" Frame *CreateFrameForMethodWithActualArgs(uint32_t num_actual_args, Method *method, Fram… in CreateFrameForMethodWithActualArgs()
162 extern "C" DecodedTaggedValue GetInitialTaggedValue(Method *method) in GetInitialTaggedValue()
/ark/runtime_core/runtime/tooling/
Dpt_method_private.h26 inline Method *PtMethodToMethod(PtMethod method) in PtMethodToMethod()
31 inline PtMethod MethodToPtMethod(Method *method) in MethodToPtMethod()
Ddebugger.cpp69 …Method *method = runtime_->GetClassLinker()->GetMethod(location.GetPandaFile(), location.GetMethod… in SetBreakpoint() local
94 …Method *method = runtime_->GetClassLinker()->GetMethod(location.GetPandaFile(), location.GetMethod… in RemoveBreakpoint() local
212 Method *method = stack.GetMethod(); in GetCurrentFrame() local
232 Method *method = stack.GetMethod(); in EnumerateFrames() local
272 Method *method = runtime_->GetClassLinker()->GetMethod(pandaFile, methodId); in GetPtMethod() local
364 void Debugger::BytecodePcChanged(ManagedThread *thread, Method *method, uint32_t bcOffset) in BytecodePcChanged()
400 void Debugger::MethodEntry(ManagedThread *managedThread, Method *method) in MethodEntry()
408 void Debugger::MethodExit(ManagedThread *managedThread, Method *method) in MethodExit()
482 bool Debugger::HandleBreakpoint(const ManagedThread *managedThread, const Method *method, uint32_t … in HandleBreakpoint()
495 void Debugger::HandleExceptionThrowEvent(ManagedThread *thread, Method *method, uint32_t bcOffset) in HandleExceptionThrowEvent()
[all …]
Dpt_method.cpp23 Method *method = PtMethodToMethod(*this); in GetName() local
/ark/runtime_core/runtime/dprofiler/
Ddprofiler.cpp54 static PandaString GetFullName(const Method *method) in GetFullName()
77 for (const auto &method : klass->GetMethods()) { in AddClass() local
89 for (const Method *method : hot_methods_) { in Dump() local
/ark/runtime_core/runtime/core/
Dcore_class_linker_extension.h52 const void *GetNativeEntryPointFor([[maybe_unused]] Method *method) const override in GetNativeEntryPointFor()
57 bool CanThrowException([[maybe_unused]] const Method *method) const override in CanThrowException()
/ark/js_runtime/ecmascript/class_linker/
Dpanda_file_translator.cpp87 JSMethod *method = methods + (methodIdx++); in TranslateClasses() local
153 auto method = const_cast<JSMethod *>(jsPandaFile_->FindMethods(it.first)); in GenerateProgram() local
163 auto method = const_cast<JSMethod *>(jsPandaFile_->FindMethods(it.first)); in GenerateProgram() local
173 auto method = const_cast<JSMethod *>(jsPandaFile_->FindMethods(it.first)); in GenerateProgram() local
192 auto method = const_cast<JSMethod *>(jsPandaFile_->FindMethods(it.first)); in GenerateProgram() local
202 auto method = const_cast<JSMethod *>(jsPandaFile_->FindMethods(it.first)); in GenerateProgram() local
209 auto method = const_cast<JSMethod *>(jsPandaFile_->FindMethods(it.first)); in GenerateProgram() local
326 void PandaFileTranslator::UpdateICOffset(JSMethod *method, uint8_t *pc) in UpdateICOffset()
460const JSMethod *method, std::vector<BytecodeTranslationInfo> *infoList) in TranslateBytecode()
548 auto method = const_cast<JSMethod *>(jsPandaFile_->FindMethods(methodId)); in DefineMethodInLiteral() local
/ark/runtime_core/runtime/interpreter/
Druntime_interface.h51 auto *method = class_linker->GetMethod(caller, resolved_id); in ResolveMethod() local
162 static Value InvokeMethod(ManagedThread *thread, Method *method, Value *args) in InvokeMethod()
167 static uint32_t FindCatchBlock(const Method &method, ObjectHeader *exception, uint32_t pc) in FindCatchBlock()
197 static void ThrowAbstractMethodError(Method *method) in ThrowAbstractMethodError()
232 static Frame *CreateFrame(size_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()
242 …*CreateFrameWithActualArgs(uint32_t size, uint32_t nregs, uint32_t num_actual_args, Method *method, in CreateFrameWithActualArgs()
286 static LanguageContext GetLanguageContext(const Method &method) in GetLanguageContext()
Dinterpreter-inl.h1952 Method *method = frame->GetMethod(); in HandleReturnStackless() local
2040 auto *method = ResolveMethod(id); in HandleCallShort() local
2059 auto *method = ResolveMethod(id); in HandleCallAccShort() local
2080 auto *method = ResolveMethod(id); in HandleCall() local
2101 auto *method = ResolveMethod(id); in HandleCallAcc() local
2119 auto *method = ResolveMethod(id); in HandleCallRange() local
2138 auto *method = ResolveMethod(id); in HandleCallVirtShort() local
2154 auto *method = ResolveMethod(id); in HandleCallVirtAccShort() local
2172 auto *method = ResolveMethod(id); in HandleCallVirt() local
2190 auto *method = ResolveMethod(id); in HandleCallVirtAcc() local
[all …]
/ark/runtime_core/libpandafile/
Ddebug_info_extractor.cpp296 for (const auto &method : methods_) { in GetLineNumberTable() local
308 for (const auto &method : methods_) { in GetColumnNumberTable() local
320 for (const auto &method : methods_) { in GetLocalVariableTable() local
332 for (const auto &method : methods_) { in GetParameterNames() local
344 for (const auto &method : methods_) { in GetSourceFile() local
354 for (const auto &method : methods_) { in GetSourceCode() local
366 for (const auto &method : methods_) { in GetMethodIdList() local
/ark/runtime_core/verification/cflow/
Dcflow_check.cpp60 const CacheOfRuntimeThings::CachedMethod &method) in CheckFallthroughFromBlock()
114 const CacheOfRuntimeThings::CachedMethod &method) in CheckFallthroughFromExcHandler()
202 …atic bool CheckExcHandlers(CflowCheckFlags options, const CacheOfRuntimeThings::CachedMethod &meth… in CheckExcHandlers()
225 …flowMethodInfo> CheckCflow(CflowCheckFlags options, const CacheOfRuntimeThings::CachedMethod &meth… in CheckCflow()
/ark/runtime_core/verification/thread/
Dverifier_thread.cpp39 job.ForAllCachedMethods([&panda_types](const CacheOfRuntimeThings::CachedMethod &method) { in UpdateTypes()
63 void SetResult(Method *method, bool result) in SetResult()
83 auto &method = job.JobMethod(); in VerifierThread() local
/ark/runtime_core/runtime/include/
Druntime_notification.h47 …ual void BytecodePcChanged([[maybe_unused]] ManagedThread *thread, [[maybe_unused]] Method *method, in BytecodePcChanged()
55 …ExceptionCatch([[maybe_unused]] const ManagedThread *thread, [[maybe_unused]] const Method *method, in ExceptionCatch()
64 …irtual void MethodEntry([[maybe_unused]] ManagedThread *thread, [[maybe_unused]] Method *method) {} in MethodEntry()
65 …virtual void MethodExit([[maybe_unused]] ManagedThread *thread, [[maybe_unused]] Method *method) {} in MethodExit()
231 void BytecodePcChangedEvent(ManagedThread *thread, Method *method, uint32_t bc_offset) in BytecodePcChangedEvent()
264 void ExceptionCatchEvent(ManagedThread *thread, Method *method, uint32_t bc_offset) in ExceptionCatchEvent()
308 void MethodEntryEvent(ManagedThread *thread, Method *method) in MethodEntryEvent()
319 void MethodExitEvent(ManagedThread *thread, Method *method) in MethodExitEvent()
/ark/runtime_core/runtime/tests/interpreter/
Dtest_runtime_interface.h119 Method *method; member
170 …static uint32_t FindCatchBlock([[maybe_unused]] const Method &method, [[maybe_unused]] ObjectHeade… in FindCatchBlock()
206 static void SetupResolvedMethod(Method *method) in SetupResolvedMethod()
267 static Value InvokeMethod(ManagedThread *thread, Method *method, Value *args) in InvokeMethod()
309 static void ThrowAbstractMethodError(Method *method) in ThrowAbstractMethodError()
365 static Frame *CreateFrame(size_t nregs, Method *method, Frame *prev) in CreateFrame()
373 …static Frame *CreateFrameWithActualArgs(size_t nregs, size_t num_actual_args, Method *method, Fram… in CreateFrameWithActualArgs()
378 …Frame *CreateFrameWithActualArgs(size_t size, size_t nregs, size_t num_actual_args, Method *method, in CreateFrameWithActualArgs()
420 static LanguageContext GetLanguageContext(const Method &method) in GetLanguageContext()
/ark/js_runtime/ecmascript/
Decma_class_linker_extension.h48 bool CanThrowException([[maybe_unused]] const Method *method) const override in CanThrowException()
88 const void *GetNativeEntryPointFor([[maybe_unused]] Method *method) const override in GetNativeEntryPointFor()
/ark/runtime_core/verification/util/
Dcallable.h53 method_union(method_type method) : m(method) {} in method_union()
57 } method; variable
/ark/runtime_core/verification/absint/
Dpanda_types.cpp84 const TypeParams &PandaTypes::NormalizedMethodSignature(const PandaTypes::CachedMethod &method) in NormalizedMethodSignature()
97 const TypeParams &PandaTypes::MethodSignature(const PandaTypes::CachedMethod &method) in MethodSignature()
158 Type PandaTypes::TypeOf(const PandaTypes::CachedMethod &method) in TypeOf()
/ark/runtime_core/panda/
Dpanda.cpp73 for (auto &method : klass->GetMethods()) { in VerifierProcessFile() local
96 Method &method = *resolved.Value(); in VerifierProcessFile() local
128 for (auto &method : klass->GetMethods()) { in VerifierProcessFile() local

12345