| /arkcompiler/ets_runtime/test/fuzztest/functionrefname_fuzzer/ |
| D | functionrefname_fuzzer.cpp | 39 FunctionCallback nativeFunc = FuncRefConCallbackForTest; in FunctionRefSetNameFuzzTest() local 41 Local<FunctionRef> func = FunctionRef::New(vm, nativeFunc, deleter, (void *)(data + size)); in FunctionRefSetNameFuzzTest() 56 FunctionCallback nativeFunc = FuncRefConCallbackForTest; in FunctionRefGetNameFuzzTest() local 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 | 41 FunctionForRef nativeFunc = FuncRefNewCallbackForTest; in SetAccessorPropertyFuzzTest() local 42 Local<FunctionRef> getter = FunctionRef::New(vm, nativeFunc); in SetAccessorPropertyFuzzTest() 43 Local<FunctionRef> setter = FunctionRef::New(vm, nativeFunc); in SetAccessorPropertyFuzzTest()
|
| /arkcompiler/ets_runtime/test/fuzztest/escapelocalscope_fuzzer/ |
| D | escapelocalscope_fuzzer.cpp | 38 FunctionCallback nativeFunc = FuncRefNewCFCallbackForTest; in EscapeLocalScopeFuzzTest() local 40 FunctionRef::NewClassFunction(vm, nativeFunc, deleter, (void *)(data + size)); in EscapeLocalScopeFuzzTest()
|
| /arkcompiler/ets_runtime/test/fuzztest/functionrefisnative_fuzzer/ |
| D | functionrefisnative_fuzzer.cpp | 38 FunctionCallback nativeFunc = FuncRefConCallbackForTest; in FunctionRefIsNativeFuzzTest() local 39 Local<FunctionRef> func = FunctionRef::New(vm, nativeFunc); in FunctionRefIsNativeFuzzTest()
|
| /arkcompiler/ets_runtime/test/fuzztest/functionrefnewclassfunction_fuzzer/ |
| D | functionrefnewclassfunction_fuzzer.cpp | 38 FunctionCallback nativeFunc = FuncRefNewCFCallbackForTest; in FunctionRefNewClassFunctionFuzzTest() local 40 FunctionRef::NewClassFunction(vm, nativeFunc, deleter, (void *)(data + size)); in FunctionRefNewClassFunctionFuzzTest()
|
| /arkcompiler/ets_runtime/test/fuzztest/functionrefnew_fuzzer/ |
| D | functionrefnew_fuzzer.cpp | 38 FunctionCallback nativeFunc = FuncRefNewCallbackForTest; in FunctionRefNewFuzzTest() local 40 FunctionRef::New(vm, nativeFunc, deleter, (void *)(data + size)); in FunctionRefNewFuzzTest()
|
| /arkcompiler/ets_runtime/test/fuzztest/functionrefconstructor_fuzzer/ |
| D | functionrefconstructor_fuzzer.cpp | 39 FunctionCallback nativeFunc = FuncRefConCallbackForTest; in FunctionRefConstructorFuzzTest() local 41 Local<FunctionRef> func = FunctionRef::New(vm, nativeFunc, deleter, (void *)(data + size)); in FunctionRefConstructorFuzzTest()
|
| /arkcompiler/ets_runtime/test/fuzztest/functionrefgetfunctionprototype_fuzzer/ |
| D | functionrefgetfunctionprototype_fuzzer.cpp | 39 FunctionCallback nativeFunc = FuncRefConCallbackForTest; in FunctionRefGetFunctionPrototypeFuzzTest() local 41 Local<FunctionRef> func = FunctionRef::New(vm, nativeFunc, deleter, (void *)(data + size)); in FunctionRefGetFunctionPrototypeFuzzTest()
|
| /arkcompiler/ets_runtime/test/fuzztest/functionrefcall_fuzzer/ |
| D | functionrefcall_fuzzer.cpp | 38 FunctionCallback nativeFunc = FuncRefCallCallbackForTest; in FunctionRefCallFuzzTest() local 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 | 42 FunctionCallback nativeFunc = RejectCallback; in JSValueRefIsPromiseValueFuzzTest() local 44 Local<FunctionRef> reject = FunctionRef::New(vm, nativeFunc, deleter, (void *)(data + size)); in JSValueRefIsPromiseValueFuzzTest()
|
| /arkcompiler/ets_runtime/test/fuzztest/jsvaluereffoundationvalue_fuzzer/ |
| D | jsvaluereffoundationvalue_fuzzer.cpp | 116 FunctionCallback nativeFunc = FunCallback; in JSValueRefIsFunctionValueFuzzTest() local 117 …Local<FunctionRef> obj(FunctionRef::NewClassFunction(vm, nativeFunc, deleter, (void *)(data + size… in JSValueRefIsFunctionValueFuzzTest()
|
| /arkcompiler/ets_runtime/ecmascript/napi/include/ |
| D | jsnapi_expo.h | 849 …static Local<FunctionRef> New(EcmaVM *vm, FunctionCallback nativeFunc, NativePointerCallback delet… 852 FunctionCallback nativeFunc, 857 …static Local<FunctionRef> New(EcmaVM *vm, InternalFunctionCallback nativeFunc, NativePointerCallba… 860 InternalFunctionCallback nativeFunc, 866 InternalFunctionCallback nativeFunc, 871 …static Local<FunctionRef> NewClassFunction(EcmaVM *vm, FunctionCallback nativeFunc, NativePointerC… 874 InternalFunctionCallback nativeFunc, 880 InternalFunctionCallback nativeFunc, 886 InternalFunctionCallback nativeFunc,
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/src/ |
| D | mpl2mpl_options.cpp | 235 maplecl::Option<std::string> nativeFuncPropertyFile({"--nativefunc-property-list"}, 236 " --nativefunc-property-list" 238 … " \t--nativefunc-property-list=file\n",
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | js_function.h | 312 …void SetFunctionExtraInfo(JSThread *thread, void *nativeFunc, const NativePointerCallback &deleter, 314 …void SetSFunctionExtraInfo(JSThread *thread, void *nativeFunc, const NativePointerCallback &delete…
|
| D | object_factory.h | 237 …JSHandle<JSFunction> NewJSFunction(const JSHandle<GlobalEnv> &env, const void *nativeFunc = nullpt… 242 const void *nativeFunc = nullptr, 255 …nction> NewJSNativeErrorFunction(const JSHandle<GlobalEnv> &env, const void *nativeFunc = nullptr); 258 const void *nativeFunc = nullptr,
|
| D | js_function.cpp | 958 void JSFunction::SetFunctionExtraInfo(JSThread *thread, void *nativeFunc, const NativePointerCallba… in SetFunctionExtraInfo() argument 965 …JSHandle<JSNativePointer> pointer = vm->GetFactory()->NewJSNativePointer(nativeFunc, deleter, data, in SetFunctionExtraInfo() 1001 …JSThread *thread, void *nativeFunc, const NativePointerCallback &deleter, void *data, size_t nativ… in SetSFunctionExtraInfo() argument 1008 vm->GetFactory()->NewSJSNativePointer(nativeFunc, deleter, data, false, nativeBindingsize); in SetSFunctionExtraInfo()
|
| D | object_factory.cpp | 1031 JSHandle<JSFunction> nativeFunc = JSHandle<JSFunction>::Cast(nativeConstructor); in NewJSError() local 1032 JSHandle<JSTaggedValue> nativePrototype(thread_, nativeFunc->GetFunctionPrototype()); in NewJSError() 1755 …le<JSFunction> ObjectFactory::NewJSFunction(const JSHandle<GlobalEnv> &env, const void *nativeFunc, in NewJSFunction() argument 1759 …JSHandle<Method> target = NewMethodForNativeFunction(nativeFunc, kind, builtinId, methodSpaceType); in NewJSFunction() 1782 const void *nativeFunc, in NewSFunction() argument 1787 JSHandle<Method> method = NewSMethodForNativeFunction(nativeFunc, kind, builtinId, spaceType); in NewSFunction() 2064 …on> ObjectFactory::NewJSNativeErrorFunction(const JSHandle<GlobalEnv> &env, const void *nativeFunc) in NewJSNativeErrorFunction() argument 2066 …JSHandle<Method> target = NewMethodForNativeFunction(nativeFunc, FunctionKind::BUILTIN_CONSTRUCTOR… in NewJSNativeErrorFunction() 2072 const void *nativeFunc, in NewSpecificTypedArrayFunction() argument 2075 …JSHandle<Method> target = NewMethodForNativeFunction(nativeFunc, FunctionKind::BUILTIN_CONSTRUCTOR… in NewSpecificTypedArrayFunction()
|
| /arkcompiler/ets_runtime/ecmascript/napi/ |
| D | jsnapi.cpp | 450 … FunctionCallback nativeFunc = reinterpret_cast<FunctionCallback>(extraInfo->GetExternalPointer()); in RegisterCallback() local 462 result = nativeFunc(jsiRuntimeCallInfo); in RegisterCallback()
|
| D | jsnapi_expo.cpp | 3230 Local<FunctionRef> FunctionRef::New(EcmaVM *vm, FunctionCallback nativeFunc, in New() argument 3238 …current->SetFunctionExtraInfo(thread, reinterpret_cast<void *>(nativeFunc), deleter, data, nativeB… in New() 3243 Local<FunctionRef> FunctionRef::NewConcurrent(EcmaVM *vm, FunctionCallback nativeFunc, in NewConcurrent() argument 3251 current->SetFunctionExtraInfo(thread, reinterpret_cast<void *>(nativeFunc), deleter, in NewConcurrent() 3257 Local<FunctionRef> FunctionRef::New(EcmaVM *vm, InternalFunctionCallback nativeFunc, in New() argument 3264 JSHandle<JSFunction> current(factory->NewJSFunction(env, reinterpret_cast<void *>(nativeFunc))); in New() 3271 InternalFunctionCallback nativeFunc, in NewSendable() argument 3281 JSHandle<JSFunction> current(factory->NewSFunction(env, reinterpret_cast<void *>(nativeFunc))); in NewSendable() 3287 Local<FunctionRef> FunctionRef::NewConcurrent(EcmaVM *vm, InternalFunctionCallback nativeFunc, in NewConcurrent() argument 3294 JSHandle<JSFunction> current(factory->NewJSFunction(env, reinterpret_cast<void *>(nativeFunc))); in NewConcurrent() [all …]
|
| /arkcompiler/runtime_core/tests/cts-generator/cts-template/ |
| D | initobj.range.yaml | 605 - .function void R.nativeFunc(R a0) <native> 609 initobj.range R.nativeFunc, v1 612 - .function void R.nativeFunc(R a0, R a1) <native> 616 initobj.range R.nativeFunc, v1 870 - .function void R.nativeFunc(R a0) <native> 874 initobj.range R.nativeFunc, v1 877 - .function void R.nativeFunc(R a0, R a1) <native> 881 initobj.range R.nativeFunc, v1
|
| D | initobj.short.yaml | 520 - .function void R.nativeFunc(R a0) <native> 521 - initobj.short R.nativeFunc 694 - .function void R.nativeFunc(R a0) <native> 695 - initobj.short R.nativeFunc
|
| D | initobj.yaml | 587 - .function void R.nativeFunc(R a0) <native> 588 - initobj R.nativeFunc 761 - .function void R.nativeFunc(R a0) <native> 762 - initobj R.nativeFunc
|
| /arkcompiler/runtime_core/static_core/tests/cts-generator/cts-template/ |
| D | initobj.range.yaml | 515 - .function void R.nativeFunc(R a0) <native> 519 initobj.range R.nativeFunc, v1 522 - .function void R.nativeFunc(R a0, R a1) <native> 526 initobj.range R.nativeFunc, v1
|
| /arkcompiler/ets_runtime/ecmascript/napi/test/ |
| D | jsnapi_third_tests.cpp | 426 FunctionForRef nativeFunc = FuncRefNewCallbackForTest; in HWTEST_F_L0() local 427 Local<FunctionRef> getter = FunctionRef::New(vm_, nativeFunc); in HWTEST_F_L0() 428 Local<FunctionRef> setter = FunctionRef::New(vm_, nativeFunc); in HWTEST_F_L0()
|
| /arkcompiler/ets_runtime/ecmascript/module/tests/ |
| D | ecma_module_test.cpp | 1164 Local<JSValueRef> nativeFunc = SourceTextModule::GetRequireNativeModuleFunc(thread->GetEcmaVM(), in HWTEST_F_L0() local 1166 bool isFunc = nativeFunc->IsFunction(thread->GetEcmaVM()); in HWTEST_F_L0() 1176 Local<JSValueRef> nativeFunc = SourceTextModule::GetRequireNativeModuleFunc(thread->GetEcmaVM(), in HWTEST_F_L0() local 1178 bool isFunc = nativeFunc->IsFunction(thread->GetEcmaVM()); in HWTEST_F_L0()
|