/arkcompiler/ets_runtime/test/fuzztest/promiseref_fuzzer/ |
D | promiseref_fuzzer.cpp | 39 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/ |
D | functionrefinherit_fuzzer.cpp | 39 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/ |
D | functionrefname_fuzzer.cpp | 41 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/ |
D | objectref_fuzzer.cpp | 42 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/ |
D | jsnapi_first_tests.cpp | 180 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 …]
|
D | jsnapi_sample.cpp | 492 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/ |
D | functionrefisnative_fuzzer.cpp | 39 Local<FunctionRef> func = FunctionRef::New(vm, nativeFunc); in FunctionRefIsNativeFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/functionrefgetfunctionprototype_fuzzer/ |
D | functionrefgetfunctionprototype_fuzzer.cpp | 41 Local<FunctionRef> func = FunctionRef::New(vm, nativeFunc, deleter, (void *)(data + size)); in FunctionRefGetFunctionPrototypeFuzzTest()
|
/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 | debugger_api.h | 120 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 …
|
D | js_debugger_interface.h | 133 virtual bool SetBreakpoint(const JSPtLocation &location, Local<FunctionRef> condFuncRef) = 0;
|
D | js_debugger.cpp | 30 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/ |
D | functionrefcall_fuzzer.cpp | 40 Local<FunctionRef> func = FunctionRef::New(vm, nativeFunc, deleter, (void *)(data + size)); in FunctionRefCallFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/jsvaluerefispromisevalue_fuzzer/ |
D | jsvaluerefispromisevalue_fuzzer.cpp | 44 Local<FunctionRef> reject = FunctionRef::New(vm, nativeFunc, deleter, (void *)(data + size)); in JSValueRefIsPromiseValueFuzzTest()
|
/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/ecmascript/napi/ |
D | JSNapi接口说明.md | 2412 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 …]
|
D | jsnapi_expo.cpp | 1595 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/ |
D | thread_termination_test.cpp | 59 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/ |
D | jsnapi_expo.h | 59 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/ |
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/test/fuzztest/escapelocalscope_fuzzer/ |
D | escapelocalscope_fuzzer.cpp | 40 FunctionRef::NewClassFunction(vm, nativeFunc, deleter, (void *)(data + size)); in EscapeLocalScopeFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/objectrefall_fuzzer/ |
D | objectrefall_fuzzer.cpp | 37 Local<FunctionRef> object = ObjectRef::New(vm); in ObjectGetPrototypeFuzzTest()
|