Home
last modified time | relevance | path

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

12

/arkcompiler/ets_runtime/test/fuzztest/promiseref_fuzzer/
Dpromiseref_fuzzer.cpp39 Local<FunctionRef> reject = FunctionRef::New(vm, RejectCallback); in PromiseRefCatchFuzzTest()
59 Local<FunctionRef> reject = FunctionRef::New(vm, RejectCallback); in PromiseRefThenFinallyFuzzTest()
80 Local<FunctionRef> reject = FunctionRef::New(vm, RejectCallback); in PromiseRefThenWithTwoParameterFuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/functionrefinherit_fuzzer/
Dfunctionrefinherit_fuzzer.cpp39 Local<FunctionRef> setLocal = JSNApiHelper::ToLocal<FunctionRef>(set); in FunctionRefInheritFuzzTest()
41 Local<FunctionRef> mapLocal = JSNApiHelper::ToLocal<FunctionRef>(map); in FunctionRefInheritFuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/functionrefname_fuzzer/
Dfunctionrefname_fuzzer.cpp41 Local<FunctionRef> func = FunctionRef::New(vm, nativeFunc, deleter, (void *)(data + size)); in FunctionRefSetNameFuzzTest()
58 Local<FunctionRef> func = FunctionRef::New(vm, nativeFunc, deleter, (void *)(data + size)); in FunctionRefGetNameFuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/objectref_fuzzer/
Dobjectref_fuzzer.cpp42 Local<FunctionRef> getter = FunctionRef::New(vm, nativeFunc); in SetAccessorPropertyFuzzTest()
43 Local<FunctionRef> setter = FunctionRef::New(vm, nativeFunc); in SetAccessorPropertyFuzzTest()
/arkcompiler/ets_runtime/ecmascript/napi/test/
Djsnapi_first_tests.cpp180 Local<FunctionRef> callback = FunctionRef::New(vm_, FunctionCallback); in HWTEST_F_L0()
270 Local<FunctionRef> target = FunctionRef::New(vm_, nullptr); in HWTEST_F_L0()
559 Local<FunctionRef> function = FunctionRef::New(vm_, nullptr); in HWTEST_F_L0()
563 Local<FunctionRef> object = ObjectRef::New(vm_); in HWTEST_F_L0()
613 Local<FunctionRef> reject = FunctionRef::New(vm_, RejectCallback); in HWTEST_F_L0()
655 Local<FunctionRef> resolve = FunctionRef::New(vm_, ResolvedCallback); in HWTEST_F_L0()
656 Local<FunctionRef> reject = FunctionRef::New(vm_, RejectCallback); in HWTEST_F_L0()
681 Local<FunctionRef> numberConstructor = object->Get(vm_, key); in HWTEST_F_L0()
1091 Local<FunctionRef> setLocal = JSNApiHelper::ToLocal<FunctionRef>(set); in HWTEST_F_L0()
1094 Local<FunctionRef> mapLocal = JSNApiHelper::ToLocal<FunctionRef>(map); in HWTEST_F_L0()
[all …]
Djsnapi_sample.cpp492 Local<FunctionRef> getter1 = FunctionRef::New(vm, Getter1); in ObjectRefSet()
493 Local<FunctionRef> setter1 = FunctionRef::New(vm, Setter1); in ObjectRefSet()
495 Local<FunctionRef> getter2 = FunctionRef::New(vm, Getter2); in ObjectRefSet()
496 Local<FunctionRef> setter2 = FunctionRef::New(vm, Setter2); in ObjectRefSet()
498 Local<FunctionRef> getter3 = FunctionRef::New(vm, Getter3); in ObjectRefSet()
499 Local<FunctionRef> setter3 = FunctionRef::New(vm, Setter3); in ObjectRefSet()
800 …Local<FunctionRef> FuncTest = FunctionRef::New(vm_, [](JsiRuntimeCallInfo *runtimeInfo) -> Local<J… in HWTEST_F_L0()
821 …Local<FunctionRef> Add = FunctionRef::New(vm_, [](JsiRuntimeCallInfo *runtimeInfo) -> Local<JSValu… in HWTEST_F_L0()
892 Local<FunctionRef> addFunc = jsArg0; in AddProxyFunc()
920 Local<FunctionRef> Add = FunctionRef::New(vm_, AddFunc); in HWTEST_F_L0()
[all …]
/arkcompiler/ets_runtime/test/fuzztest/functionrefisnative_fuzzer/
Dfunctionrefisnative_fuzzer.cpp39 Local<FunctionRef> func = FunctionRef::New(vm, nativeFunc); in FunctionRefIsNativeFuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/functionrefgetfunctionprototype_fuzzer/
Dfunctionrefgetfunctionprototype_fuzzer.cpp41 Local<FunctionRef> func = FunctionRef::New(vm, nativeFunc, deleter, (void *)(data + size)); in FunctionRefGetFunctionPrototypeFuzzTest()
/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;
Ddebugger_api.h120 Local<FunctionRef> condFuncRef);
124 static Local<JSValueRef> EvaluateViaFuncCall(EcmaVM *ecmaVm, Local<FunctionRef> funcRef,
126 static Local<JSValueRef> CallFunctionOnCall(EcmaVM *ecmaVm, Local<FunctionRef> funcRef,
128 …static Local<FunctionRef> GenerateFuncFromBuffer(const EcmaVM *ecmaVm, const void *buffer, size_t …
Djs_debugger_interface.h133 virtual bool SetBreakpoint(const JSPtLocation &location, Local<FunctionRef> condFuncRef) = 0;
Djs_debugger.cpp30 bool JSDebugger::SetBreakpoint(const JSPtLocation &location, Local<FunctionRef> condFuncRef) in SetBreakpoint()
44 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/test/fuzztest/jsvaluerefispromisevalue_fuzzer/
Djsvaluerefispromisevalue_fuzzer.cpp44 Local<FunctionRef> reject = FunctionRef::New(vm, nativeFunc, deleter, (void *)(data + size)); in JSValueRefIsPromiseValueFuzzTest()
/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/ecmascript/napi/
DJSNapi接口说明.md2412 Local<FunctionRef> ConstructObjectFunctionRef(EcmaVM *vm, size_t nativeBindingsize){
2413 // ����һ��FunctionRef���Ͷ���obj
2417 Local<FunctionRef> object = ConstructObjectFunctionRef(vm_, 15);
3540 Local<FunctionRef> object = ObjectRef::New(vm_);
3622 Local<FunctionRef> object = ObjectRef::New(vm_);
3758 Local<FunctionRef> object = ObjectRef::New(vm_);
3795 …rProperty(const EcmaVM *vm, Local<JSValueRef> key, Local<FunctionRef> getter, Local<FunctionRef> s…
3805 | getter | Local<FunctionRef> | �� | ��ʾ���Ե�getter������ |
3806 | setter | Local<FunctionRef> | �� | ��ʾ���Ե�setter������ |
3818 Local<FunctionRef> object = ObjectRef::New(vm_);
[all …]
Djsnapi_expo.cpp1595 Local<FunctionRef> getter, Local<FunctionRef> setter) in CreateAccessorData()
1651 bool ObjectRef::SetAccessorProperty(const EcmaVM *vm, Local<JSValueRef> key, Local<FunctionRef> get… in SetAccessorProperty()
1652 Local<FunctionRef> setter, PropertyAttribute attribute) in SetAccessorProperty()
2069 Local<FunctionRef> FunctionRef::New(EcmaVM *vm, FunctionCallback nativeFunc, in New()
2078 return JSNApiHelper::ToLocal<FunctionRef>(JSHandle<JSTaggedValue>(current)); in New()
2081 Local<FunctionRef> FunctionRef::New(EcmaVM *vm, InternalFunctionCallback nativeFunc, in New()
2090 return JSNApiHelper::ToLocal<FunctionRef>(JSHandle<JSTaggedValue>(current)); in New()
2113 Local<FunctionRef> FunctionRef::NewClassFunction(EcmaVM *vm, FunctionCallback nativeFunc, in NewClassFunction()
2126 … Local<FunctionRef> result = JSNApiHelper::ToLocal<FunctionRef>(JSHandle<JSTaggedValue>(current)); in NewClassFunction()
2130 Local<FunctionRef> FunctionRef::NewClassFunction(EcmaVM *vm, InternalFunctionCallback nativeFunc, in NewClassFunction()
[all …]
/arkcompiler/ets_runtime/test/executiontest/
Dthread_termination_test.cpp59 globalObj->Set(vm, StringRef::NewFromUtf8(vm, "terminate"), FunctionRef::New( in RegisterGlobalTemplate()
61 globalObj->Set(vm, StringRef::NewFromUtf8(vm, "fail"), FunctionRef::New( in RegisterGlobalTemplate()
63 globalObj->Set(vm, StringRef::NewFromUtf8(vm, "signal"), FunctionRef::New( in RegisterGlobalTemplate()
/arkcompiler/ets_runtime/ecmascript/napi/include/
Djsnapi_expo.h59 class FunctionRef; variable
640 …al<ObjectRef> CreateAccessorData(const EcmaVM *vm, Local<FunctionRef> getter, Local<FunctionRef> s…
644 bool SetAccessorProperty(const EcmaVM *vm, Local<JSValueRef> key, Local<FunctionRef> getter,
645 … Local<FunctionRef> setter, PropertyAttribute attribute = PropertyAttribute::Default());
679 class ECMA_PUBLIC_API FunctionRef : public ObjectRef {
681 … static Local<FunctionRef> New(EcmaVM *vm, FunctionCallback nativeFunc, Deleter deleter = nullptr,
683 static Local<FunctionRef> New(EcmaVM *vm, InternalFunctionCallback nativeFunc, Deleter deleter,
685 …static Local<FunctionRef> NewClassFunction(EcmaVM *vm, FunctionCallback nativeFunc, Deleter delete…
687 …static Local<FunctionRef> NewClassFunction(EcmaVM *vm, InternalFunctionCallback nativeFunc, Delete…
697 bool Inherit(const EcmaVM *vm, Local<FunctionRef> parent);
[all …]
/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/test/fuzztest/escapelocalscope_fuzzer/
Descapelocalscope_fuzzer.cpp40 FunctionRef::NewClassFunction(vm, nativeFunc, deleter, (void *)(data + size)); in EscapeLocalScopeFuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/objectrefall_fuzzer/
Dobjectrefall_fuzzer.cpp37 Local<FunctionRef> object = ObjectRef::New(vm); in ObjectGetPrototypeFuzzTest()

12