| /arkcompiler/ets_runtime/ecmascript/napi/test/ |
| D | jsnapi_tests.cpp | 112 Local<FunctionRef> callback = FunctionRef::New(vm_, FunctionCallback); in HWTEST_F_L0() 187 Local<FunctionRef> target = FunctionRef::New(vm_, nullptr); in HWTEST_F_L0() 390 Local<FunctionRef> function = FunctionRef::New(vm_, nullptr); in HWTEST_F_L0() 394 Local<FunctionRef> object = ObjectRef::New(vm_); in HWTEST_F_L0() 398 …Local<FunctionRef> native = ObjectRef::New(vm_, reinterpret_cast<void*>(detach), reinterpret_cast<… in HWTEST_F_L0() 424 Local<FunctionRef> reject = FunctionRef::New(vm_, RejectCallback); in HWTEST_F_L0() 456 Local<FunctionRef> resolve = FunctionRef::New(vm_, ResolvedCallback); in HWTEST_F_L0() 457 Local<FunctionRef> reject = FunctionRef::New(vm_, RejectCallback); in HWTEST_F_L0() 472 Local<FunctionRef> numberConstructor = object->Get(vm_, key); in HWTEST_F_L0() 787 Local<FunctionRef> setLocal = JSNApiHelper::ToLocal<FunctionRef>(set); in HWTEST_F_L0() [all …]
|
| /arkcompiler/ets_runtime/test/fuzztest/functionrefconstructor_fuzzer/ |
| D | functionrefconstructor_fuzzer.cpp | 41 Local<FunctionRef> func = FunctionRef::New(vm, nativeFunc, deleter, (void *)(data + size)); in FunctionRefConstructorFuzzTest()
|
| /arkcompiler/ets_runtime/ecmascript/debugger/ |
| D | js_debugger.h | 30 const Global<FunctionRef> &condFuncRef) : sourceFile_(sourceFile), ptMethod_(ptMethod), in JSBreakpoint() 69 const Global<FunctionRef> &GetConditionFunction() in GetConditionFunction() 81 Global<FunctionRef> condFuncRef_; 119 bool SetBreakpoint(const JSPtLocation &location, Local<FunctionRef> condFuncRef) override;
|
| D | js_debugger_interface.h | 123 virtual bool SetBreakpoint(const JSPtLocation &location, Local<FunctionRef> condFuncRef) = 0;
|
| D | debugger_api.h | 119 Local<FunctionRef> condFuncRef); 123 static Local<JSValueRef> EvaluateViaFuncCall(EcmaVM *ecmaVm, Local<FunctionRef> funcRef, 125 …static Local<FunctionRef> GenerateFuncFromBuffer(const EcmaVM *ecmaVm, const void *buffer, size_t …
|
| D | js_debugger.cpp | 29 bool JSDebugger::SetBreakpoint(const JSPtLocation &location, Local<FunctionRef> condFuncRef) in SetBreakpoint() 43 location.GetBytecodeOffset(), Global<FunctionRef>(ecmaVm_, condFuncRef)); in SetBreakpoint()
|
| /arkcompiler/ets_runtime/test/fuzztest/functionrefcall_fuzzer/ |
| D | functionrefcall_fuzzer.cpp | 40 Local<FunctionRef> func = FunctionRef::New(vm, nativeFunc, deleter, (void *)(data + size)); in FunctionRefCallFuzzTest()
|
| /arkcompiler/ets_runtime/ecmascript/tests/ |
| D | js_relative_time_format_test.cpp | 123 …Local<FunctionRef> relativeTimeFormatLocal = JSNApiHelper::ToLocal<FunctionRef>(relativeTimeFormat… in HWTEST_F_L0() 125 Local<FunctionRef> disPlayNamesLocal = JSNApiHelper::ToLocal<FunctionRef>(disPlayNamesFunc); in HWTEST_F_L0()
|
| D | js_number_format_test.cpp | 210 Local<FunctionRef> numberFormatLocal = JSNApiHelper::ToLocal<FunctionRef>(numberFormatFunc); in HWTEST_F_L0() 212 Local<FunctionRef> disPlayNamesLocal = JSNApiHelper::ToLocal<FunctionRef>(disPlayNamesFunc); in HWTEST_F_L0()
|
| /arkcompiler/ets_runtime/test/fuzztest/functionrefnew_fuzzer/ |
| D | functionrefnew_fuzzer.cpp | 40 FunctionRef::New(vm, nativeFunc, deleter, (void *)(data + size)); in FunctionRefNewFuzzTest()
|
| /arkcompiler/ets_runtime/test/fuzztest/functionrefnewclassfunction_fuzzer/ |
| D | functionrefnewclassfunction_fuzzer.cpp | 40 FunctionRef::NewClassFunction(vm, nativeFunc, deleter, (void *)(data + size)); in FunctionRefNewClassFunctionFuzzTest()
|
| /arkcompiler/ets_runtime/ecmascript/napi/include/ |
| D | jsnapi.h | 48 class FunctionRef; variable 708 bool SetAccessorProperty(const EcmaVM *vm, Local<JSValueRef> key, Local<FunctionRef> getter, 709 … Local<FunctionRef> setter, PropertyAttribute attribute = PropertyAttribute::Default()); 741 class PUBLIC_API FunctionRef : public ObjectRef { 743 … static Local<FunctionRef> New(EcmaVM *vm, FunctionCallback nativeFunc, Deleter deleter = nullptr, 745 …static Local<FunctionRef> NewClassFunction(EcmaVM *vm, FunctionCallback nativeFunc, Deleter delete… 755 bool Inherit(const EcmaVM *vm, Local<FunctionRef> parent); 772 Local<PromiseRef> Catch(const EcmaVM *vm, Local<FunctionRef> handler); 773 Local<PromiseRef> Then(const EcmaVM *vm, Local<FunctionRef> handler); 774 Local<PromiseRef> Finally(const EcmaVM *vm, Local<FunctionRef> handler); [all …]
|
| /arkcompiler/toolchain/tooling/test/testcases/ |
| D | js_breakpoint_async_test.h | 42 auto condFuncRef = FunctionRef::Undefined(vm_); in JsBreakpointAsyncTest()
|
| D | js_breakpoint_test.h | 42 auto condFuncRef = FunctionRef::Undefined(vm_); in JsBreakpointTest()
|
| D | js_breakpoint_arrow_test.h | 42 auto condFuncRef = FunctionRef::Undefined(vm_); in JsBreakpointArrowTest()
|
| D | js_single_step_test.h | 40 auto condFuncRef = FunctionRef::Undefined(vm_); in JsSingleStepTest()
|
| D | js_syntax_exception_test.h | 65 auto condFuncRef = FunctionRef::Undefined(vm_); in JsSyntaxExceptionTest()
|
| D | js_range_error_test.h | 65 auto condFuncRef = FunctionRef::Undefined(vm_); in JsRangeErrorTest()
|
| D | js_exception_test.h | 65 auto condFuncRef = FunctionRef::Undefined(vm_); in JsExceptionTest()
|
| D | js_step_into_test.h | 45 auto condFuncRef = FunctionRef::Undefined(vm_); in JsStepIntoTest()
|
| D | js_throw_exception_test.h | 68 auto condFuncRef = FunctionRef::Undefined(vm_); in JsThrowExceptionTest()
|
| D | js_step_out_test.h | 43 auto condFuncRef = FunctionRef::Undefined(vm_); in JsStepOutTest()
|
| D | js_step_over_test.h | 43 auto condFuncRef = FunctionRef::Undefined(vm_); in JsStepOverTest()
|
| /arkcompiler/ets_runtime/ |
| D | libark_jsruntime.map | 24 panda::FunctionRef::*;
|
| /arkcompiler/toolchain/tooling/backend/ |
| D | debugger_executor.cpp | 26 globalObj->Set(vm, StringRef::NewFromUtf8(vm, "debuggerSetValue"), FunctionRef::New( in Initialize() 28 globalObj->Set(vm, StringRef::NewFromUtf8(vm, "debuggerGetValue"), FunctionRef::New( in Initialize()
|