Home
last modified time | relevance | path

Searched refs:FunctionRef (Results 1 – 25 of 38) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/napi/test/
Djsnapi_tests.cpp112 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/
Dfunctionrefconstructor_fuzzer.cpp41 Local<FunctionRef> func = FunctionRef::New(vm, nativeFunc, deleter, (void *)(data + size)); in FunctionRefConstructorFuzzTest()
/arkcompiler/ets_runtime/ecmascript/debugger/
Djs_debugger.h30 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;
Djs_debugger_interface.h123 virtual bool SetBreakpoint(const JSPtLocation &location, Local<FunctionRef> condFuncRef) = 0;
Ddebugger_api.h119 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 …
Djs_debugger.cpp29 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/
Dfunctionrefcall_fuzzer.cpp40 Local<FunctionRef> func = FunctionRef::New(vm, nativeFunc, deleter, (void *)(data + size)); in FunctionRefCallFuzzTest()
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_relative_time_format_test.cpp123 …Local<FunctionRef> relativeTimeFormatLocal = JSNApiHelper::ToLocal<FunctionRef>(relativeTimeFormat… in HWTEST_F_L0()
125 Local<FunctionRef> disPlayNamesLocal = JSNApiHelper::ToLocal<FunctionRef>(disPlayNamesFunc); in HWTEST_F_L0()
Djs_number_format_test.cpp210 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/
Dfunctionrefnew_fuzzer.cpp40 FunctionRef::New(vm, nativeFunc, deleter, (void *)(data + size)); in FunctionRefNewFuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/functionrefnewclassfunction_fuzzer/
Dfunctionrefnewclassfunction_fuzzer.cpp40 FunctionRef::NewClassFunction(vm, nativeFunc, deleter, (void *)(data + size)); in FunctionRefNewClassFunctionFuzzTest()
/arkcompiler/ets_runtime/ecmascript/napi/include/
Djsnapi.h48 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/
Djs_breakpoint_async_test.h42 auto condFuncRef = FunctionRef::Undefined(vm_); in JsBreakpointAsyncTest()
Djs_breakpoint_test.h42 auto condFuncRef = FunctionRef::Undefined(vm_); in JsBreakpointTest()
Djs_breakpoint_arrow_test.h42 auto condFuncRef = FunctionRef::Undefined(vm_); in JsBreakpointArrowTest()
Djs_single_step_test.h40 auto condFuncRef = FunctionRef::Undefined(vm_); in JsSingleStepTest()
Djs_syntax_exception_test.h65 auto condFuncRef = FunctionRef::Undefined(vm_); in JsSyntaxExceptionTest()
Djs_range_error_test.h65 auto condFuncRef = FunctionRef::Undefined(vm_); in JsRangeErrorTest()
Djs_exception_test.h65 auto condFuncRef = FunctionRef::Undefined(vm_); in JsExceptionTest()
Djs_step_into_test.h45 auto condFuncRef = FunctionRef::Undefined(vm_); in JsStepIntoTest()
Djs_throw_exception_test.h68 auto condFuncRef = FunctionRef::Undefined(vm_); in JsThrowExceptionTest()
Djs_step_out_test.h43 auto condFuncRef = FunctionRef::Undefined(vm_); in JsStepOutTest()
Djs_step_over_test.h43 auto condFuncRef = FunctionRef::Undefined(vm_); in JsStepOverTest()
/arkcompiler/ets_runtime/
Dlibark_jsruntime.map24 panda::FunctionRef::*;
/arkcompiler/toolchain/tooling/backend/
Ddebugger_executor.cpp26 globalObj->Set(vm, StringRef::NewFromUtf8(vm, "debuggerSetValue"), FunctionRef::New( in Initialize()
28 globalObj->Set(vm, StringRef::NewFromUtf8(vm, "debuggerGetValue"), FunctionRef::New( in Initialize()

12