/foundation/multimedia/media_lite/interfaces/kits/player_lite/js/builtin/include/ |
H A D | audio_module.h | 57 * @param thisVal Indicates function execute context 61 static JSIValue Play(const JSIValue thisVal, const JSIValue *args, uint8_t argsSize); 66 * @param thisVal Indicates function execute context 70 static JSIValue Pause(const JSIValue thisVal, const JSIValue *args, uint8_t argsSize); 75 * @param thisVal Indicates function execute context 79 static JSIValue Stop(const JSIValue thisVal, const JSIValue *args, uint8_t argsSize); 84 * @param thisVal Indicates function execute context 88 static JSIValue GetPlayState(const JSIValue thisVal, const JSIValue *args, uint8_t argsSize); 93 * @param thisVal Indicates function execute context 97 static JSIValue SrcGetter(const JSIValue thisVal, cons [all...] |
/foundation/multimedia/media_lite/interfaces/kits/player_lite/js/builtin/src/ |
H A D | audio_module.cpp | 46 JSIValue AudioModule::Play(const JSIValue thisVal, const JSIValue *args, uint8_t argsSize) in Play() argument 51 JSIValue AudioModule::Pause(const JSIValue thisVal, const JSIValue *args, uint8_t argsSize) in Pause() argument 56 JSIValue AudioModule::Stop(const JSIValue thisVal, const JSIValue *args, uint8_t argsSize) in Stop() argument 61 JSIValue AudioModule::GetPlayState(const JSIValue thisVal, const JSIValue *args, uint8_t argsSize) in GetPlayState() argument 86 JSI::CallFunction(successCallback, thisVal, params, 1); in GetPlayState() 92 JSI::CallFunction(completeCallback, thisVal, nullptr, 0); in GetPlayState() 99 JSIValue AudioModule::SrcGetter(const JSIValue thisVal, const JSIValue *args, uint8_t argsSize) in SrcGetter() argument 105 JSIValue AudioModule::SrcSetter(const JSIValue thisVal, const JSIValue *args, uint8_t argsSize) in SrcSetter() argument 115 JSIValue AudioModule::CurrentTimeGetter(const JSIValue thisVal, const JSIValue *args, uint8_t argsSize) in CurrentTimeGetter() argument 120 JSIValue AudioModule::CurrentTimeSetter(const JSIValue thisVal, cons argument 131 DurationGetter(const JSIValue thisVal, const JSIValue *args, uint8_t argsSize) DurationGetter() argument 137 DurationSetter(const JSIValue thisVal, const JSIValue *args, uint8_t argsSize) DurationSetter() argument 142 AutoPlayGetter(const JSIValue thisVal, const JSIValue *args, uint8_t argsSize) AutoPlayGetter() argument 147 AutoPlaySetter(const JSIValue thisVal, const JSIValue *args, uint8_t argsSize) AutoPlaySetter() argument 157 LoopGetter(const JSIValue thisVal, const JSIValue *args, uint8_t argsSize) LoopGetter() argument 162 LoopSetter(const JSIValue thisVal, const JSIValue *args, uint8_t argsSize) LoopSetter() argument 173 VolumeGetter(const JSIValue thisVal, const JSIValue *args, uint8_t argsSize) VolumeGetter() argument 178 VolumeSetter(const JSIValue thisVal, const JSIValue *args, uint8_t argsSize) VolumeSetter() argument 188 MutedGetter(const JSIValue thisVal, const JSIValue *args, uint8_t argsSize) MutedGetter() argument 193 MutedSetter(const JSIValue thisVal, const JSIValue *args, uint8_t argsSize) MutedSetter() argument 203 OnPlayGetter(const JSIValue thisVal, const JSIValue *args, uint8_t argsSize) OnPlayGetter() argument 208 OnPlaySetter(const JSIValue thisVal, const JSIValue *args, uint8_t argsSize) OnPlaySetter() argument 218 OnPauseGetter(const JSIValue thisVal, const JSIValue *args, uint8_t argsSize) OnPauseGetter() argument 223 OnPauseSetter(const JSIValue thisVal, const JSIValue *args, uint8_t argsSize) OnPauseSetter() argument 233 OnStopGetter(const JSIValue thisVal, const JSIValue *args, uint8_t argsSize) OnStopGetter() argument 238 OnStopSetter(const JSIValue thisVal, const JSIValue *args, uint8_t argsSize) OnStopSetter() argument 248 OnLoadedDataGetter(const JSIValue thisVal, const JSIValue *args, uint8_t argsSize) OnLoadedDataGetter() argument 253 OnLoadedDataSetter(const JSIValue thisVal, const JSIValue *args, uint8_t argsSize) OnLoadedDataSetter() argument 263 OnEndedGetter(const JSIValue thisVal, const JSIValue *args, uint8_t argsSize) OnEndedGetter() argument 268 OnEndedSetter(const JSIValue thisVal, const JSIValue *args, uint8_t argsSize) OnEndedSetter() argument 278 OnErrorGetter(const JSIValue thisVal, const JSIValue *args, uint8_t argsSize) OnErrorGetter() argument 283 OnErrorSetter(const JSIValue thisVal, const JSIValue *args, uint8_t argsSize) OnErrorSetter() argument 293 OnTimeUpdateGetter(const JSIValue thisVal, const JSIValue *args, uint8_t argsSize) OnTimeUpdateGetter() argument 298 OnTimeUpdateSetter(const JSIValue thisVal, const JSIValue *args, uint8_t argsSize) OnTimeUpdateSetter() argument [all...] |
/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/ |
H A D | app_module.h | 31 static JSIValue GetInfo(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum); 32 static JSIValue Terminate(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum); 34 static JSIValue ScreenOnVisible(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum); 52 static void OnSetActionSuccess(const JSIValue thisVal, const JSIValue *args); 53 static void OnSetActionFail(const JSIValue thisVal, const JSIValue *args); 54 static void OnSetActionComplete(const JSIValue thisVal, const JSIValue *args); 55 static void AsyncCallFunction(const JSIValue thisVal, const JSIValue callback, const JSIValue result);
|
H A D | sample_module.h | 32 static JSIValue TestCallFunc(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum); 33 static JSIValue TestCallback(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum); 34 static JSIValue TestStandardCallback(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum); 35 static JSIValue TestCallbackWithArgs(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum); 36 static JSIValue TestStandardCallbackWithArgs(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum); 37 static JSIValue TestGeneralFunc(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum); 38 static JSIValue Getter(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum); 39 static JSIValue Setter(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum);
|
H A D | app_module.cpp | 48 JSIValue AppModule::GetInfo(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum) in GetInfo() argument 122 JSIValue AppModule::Terminate(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum) in Terminate() argument 124 UNUSED(thisVal); in Terminate() 132 JSIValue AppModule::ScreenOnVisible(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum) in ScreenOnVisible() argument 148 OnSetActionSuccess(thisVal, args); in ScreenOnVisible() 151 OnSetActionFail(thisVal, args); in ScreenOnVisible() 153 OnSetActionComplete(thisVal, args); in ScreenOnVisible() 158 void AppModule::OnSetActionSuccess(const JSIValue thisVal, const JSIValue *args) in OnSetActionSuccess() argument 162 AsyncCallFunction(thisVal, callback, nullptr); in OnSetActionSuccess() 168 void AppModule::OnSetActionFail(const JSIValue thisVal, cons argument 181 OnSetActionComplete(const JSIValue thisVal, const JSIValue *args) OnSetActionComplete() argument 191 AsyncCallFunction(const JSIValue thisVal, const JSIValue callback, const JSIValue result) AsyncCallFunction() argument [all...] |
H A D | sample_module.cpp | 25 JSIValue SampleModule::TestCallFunc(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum) in TestCallFunc() argument 30 JSIValue SampleModule::TestCallback(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum) in TestCallback() argument 42 JSI::CallFunction(callback, thisVal, argv, ARGC_ONE); in TestCallback() 47 JSIValue SampleModule::TestStandardCallback(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum) in TestStandardCallback() argument 57 JSI::CallFunction(success, thisVal, nullptr, 0); in TestStandardCallback() 58 JSI::CallFunction(complete, thisVal, nullptr, 0); in TestStandardCallback() 89 JSIValue SampleModule::TestCallbackWithArgs(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum) in TestCallbackWithArgs() argument 113 params->context = JSI::AcquireValue(thisVal); in TestCallbackWithArgs() 121 JSI::CallFunction(callback, thisVal, &result, ARGC_ONE); in TestCallbackWithArgs() 127 JSIValue SampleModule::TestStandardCallbackWithArgs(const JSIValue thisVal, cons argument 155 TestGeneralFunc(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum) TestGeneralFunc() argument 182 Setter(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum) Setter() argument 194 Getter(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum) Getter() argument [all...] |
H A D | dfx_module.h | 30 static JSIValue Screenshot(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum); 32 static JSIValue InjectEvent(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum); 33 static JSIValue DumpDomNode(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum); 34 static JSIValue DumpDomTree(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum);
|
H A D | dialog_module.cpp | 37 JSIValue DialogModule::ShowDialog(const JSIValue thisVal, const JSIValue args[], uint8_t argsNum)
in ShowDialog() argument 73 bool result = jsDialog->ShowDialog(thisVal, buttons, successFunc, cancelFunc, completeFunc);
in ShowDialog()
|
H A D | dfx_module.cpp | 83 JSIValue DfxModule::Screenshot(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum) in Screenshot() argument 118 JSIValue DfxModule::DumpDomTree(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum) in DumpDomTree() argument 153 JSIValue DfxModule::DumpDomNode(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum) in DumpDomTree() argument 223 JSIValue DfxModule::InjectEvent(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum) in DumpDomTree() argument
|
/foundation/communication/netstack/utils/napi_utils/include/ |
H A D | module_template.h | 50 napi_value thisVal = nullptr; in InterfaceWithManagerWrapper() local 53 NAPI_CALL(env, napi_get_cb_info(env, info, ¶msCount, params, &thisVal, nullptr)); in InterfaceWithManagerWrapper() 56 auto napi_ret = napi_unwrap(env, thisVal, reinterpret_cast<void **>(&wrapper)); in InterfaceWithManagerWrapper() 78 if (!Work(env, thisVal, context)) { in InterfaceWithManagerWrapper() 83 context->CreateReference(thisVal); in InterfaceWithManagerWrapper() 100 napi_value thisVal = nullptr; in InterfaceWithSharedManager() local 103 NAPI_CALL(env, napi_get_cb_info(env, info, ¶msCount, params, &thisVal, nullptr)); in InterfaceWithSharedManager() 106 auto napi_ret = napi_unwrap(env, thisVal, reinterpret_cast<void **>(&sharedManager)); in InterfaceWithSharedManager() 128 if (!Work(env, thisVal, context)) { in InterfaceWithSharedManager() 133 context->CreateReference(thisVal); in InterfaceWithSharedManager() 150 napi_value thisVal = nullptr; InterfaceWithOutAsyncWorkWithManagerWrapper() local 199 napi_value thisVal = nullptr; InterfaceWithOutAsyncWorkWithSharedManager() local 248 napi_value thisVal = nullptr; Interface() local 294 napi_value thisVal = nullptr; InterfaceWithOutAsyncWork() local [all...] |
/foundation/communication/netmanager_base/utils/napi_utils/src/ |
H A D | module_template.cpp | 31 napi_value thisVal = nullptr; in On() local 34 NAPI_CALL(env, napi_get_cb_info(env, info, ¶msCount, params, &thisVal, nullptr)); in On() 48 napi_unwrap(env, thisVal, reinterpret_cast<void **>(&manager)); in On() 59 napi_value thisVal = nullptr; in Once() local 62 NAPI_CALL(env, napi_get_cb_info(env, info, ¶msCount, params, &thisVal, nullptr)); in Once() 76 napi_unwrap(env, thisVal, reinterpret_cast<void **>(&manager)); in Once() 86 napi_value thisVal = nullptr; in Off() local 89 NAPI_CALL(env, napi_get_cb_info(env, info, ¶msCount, params, &thisVal, nullptr)); in Off() 108 napi_unwrap(env, thisVal, reinterpret_cast<void **>(&manager)); in Off() 124 napi_value thisVal in DefineClass() 144 napi_value thisVal = nullptr; NewInstance() local [all...] |
/foundation/communication/netmanager_base/frameworks/js/napi/connection/net_handle_interface/src/ |
H A D | net_handle_interface.cpp | 30 [](napi_env theEnv, napi_value thisVal, GetAddressByNameContext *context) -> bool {
in GetAddressesByName() 31 context->netId_ = NapiUtils::GetInt32Property(theEnv, thisVal, PROPERTY_NET_ID);
in GetAddressesByName() 42 [](napi_env theEnv, napi_value thisVal, GetAddressByNameContext *context) -> bool {
in GetAddressByName() 43 context->netId_ = NapiUtils::GetInt32Property(theEnv, thisVal, PROPERTY_NET_ID);
in GetAddressByName() 54 [](napi_env theEnv, napi_value thisVal, BindSocketContext *context) -> bool {
in BindSocket() 55 context->netId_ = NapiUtils::GetInt32Property(theEnv, thisVal, PROPERTY_NET_ID);
in BindSocket()
|
/foundation/communication/netstack/utils/napi_utils/src/ |
H A D | module_template.cpp | 38 napi_value thisVal = nullptr; in OnManagerWrapper() local 41 NAPI_CALL(env, napi_get_cb_info(env, info, ¶msCount, params, &thisVal, nullptr)); in OnManagerWrapper() 56 auto napiRet = napi_unwrap(env, thisVal, reinterpret_cast<void **>(&wrapper)); in OnManagerWrapper() 80 napi_value thisVal = nullptr; in OnceManagerWrapper() local 83 NAPI_CALL(env, napi_get_cb_info(env, info, ¶msCount, params, &thisVal, nullptr)); in OnceManagerWrapper() 97 auto napiRet = napi_unwrap(env, thisVal, reinterpret_cast<void **>(&wrapper)); in OnceManagerWrapper() 116 napi_value thisVal = nullptr; in OffManagerWrapper() local 119 NAPI_CALL(env, napi_get_cb_info(env, info, ¶msCount, params, &thisVal, nullptr)); in OffManagerWrapper() 140 auto napiRet = napi_unwrap(env, thisVal, reinterpret_cast<void **>(&wrapper)); in OffManagerWrapper() 168 napi_value thisVal in OnSharedManager() local 210 napi_value thisVal = nullptr; OnceSharedManager() local 246 napi_value thisVal = nullptr; OffSharedManager() local 298 napi_value thisVal = nullptr; On() local 327 napi_value thisVal = nullptr; Once() local 354 napi_value thisVal = nullptr; Off() local 416 napi_value thisVal = nullptr; NewInstanceWithManagerWrapper() local 445 napi_value thisVal = nullptr; NewInstanceWithSharedManager() local 476 napi_value thisVal = nullptr; NewInstance() local 502 napi_value thisVal = nullptr; NewInstanceNoManager() local [all...] |
/foundation/communication/netmanager_base/utils/napi_utils/include/ |
H A D | module_template.h | 42 napi_value thisVal = nullptr; in InterfaceWithoutManager() local 45 NAPI_CALL(env, napi_get_cb_info(env, info, ¶msCount, params, &thisVal, nullptr)); in InterfaceWithoutManager() 56 if (!Work(env, thisVal, context)) { in InterfaceWithoutManager() 75 napi_value thisVal = nullptr; in Interface() local 78 NAPI_CALL(env, napi_get_cb_info(env, info, ¶msCount, params, &thisVal, nullptr)); in Interface() 81 napi_unwrap(env, thisVal, reinterpret_cast<void **>(&manager)); in Interface() 92 if (!Work(env, thisVal, context)) { in Interface() 111 napi_value thisVal = nullptr; in InterfaceSync() local 114 NAPI_CALL(env, napi_get_cb_info(env, info, ¶msCount, params, &thisVal, nullptr)); in InterfaceSync() 116 napi_unwrap(env, thisVal, reinterpret_cas in InterfaceSync() 155 napi_value thisVal = nullptr; InterfaceWithOutAsyncWork() local [all...] |
/foundation/communication/netstack/frameworks/js/napi/tls/src/ |
H A D | tlssocketserver_module.cpp | 79 [](napi_env theEnv, napi_value thisVal, TLSServerSendContext *context) -> bool {
in Send() 80 context->clientId_ = NapiUtils::GetInt32Property(theEnv, thisVal, PROPERTY_CLIENT_ID);
in Send() 90 [](napi_env theEnv, napi_value thisVal, TLSServerCloseContext *context) -> bool {
in Close() 91 context->clientId_ = NapiUtils::GetInt32Property(theEnv, thisVal, PROPERTY_CLIENT_ID);
in Close() 101 [](napi_env theEnv, napi_value thisVal, ServerTLSGetRemoteAddressContext *context) -> bool {
in GetRemoteAddress() 102 context->clientId_ = NapiUtils::GetInt32Property(theEnv, thisVal, PROPERTY_CLIENT_ID);
in GetRemoteAddress() 112 [](napi_env theEnv, napi_value thisVal, TLSServerGetLocalAddressContext *context) -> bool {
in GetLocalAddress() 113 context->clientId_ = NapiUtils::GetInt32Property(theEnv, thisVal, PROPERTY_CLIENT_ID);
in GetLocalAddress() 125 [](napi_env theEnv, napi_value thisVal, ServerGetRemoteCertificateContext *context) -> bool {
126 context->clientId_ = NapiUtils::GetInt32Property(theEnv, thisVal, PROPERTY_CLIENT_I [all...] |
H A D | monitor_server.cpp | 106 napi_value thisVal = nullptr;
in ConstructTLSSocketConnection() 107 NAPI_CALL(env, napi_get_cb_info(env, info, nullptr, nullptr, &thisVal, nullptr));
in ConstructTLSSocketConnection() 109 return thisVal;
in ConstructTLSSocketConnection() 317 napi_value thisVal = nullptr;
in On() local 320 NAPI_CALL(env, napi_get_cb_info(env, info, ¶msCount, params, &thisVal, nullptr));
in On() 329 napi_unwrap(env, thisVal, reinterpret_cast<void **>(&manager_));
in On() 353 napi_value thisVal = nullptr;
in ConnectionOn() local 356 NAPI_CALL(env, napi_get_cb_info(env, info, ¶msCount, params, &thisVal, nullptr));
in ConnectionOn() 358 if (false == NapiUtils::HasNamedProperty(env, thisVal,
in ConnectionOn() 364 int clientid = NapiUtils::GetInt32Property(env, thisVal,
in ConnectionOn() 394 napi_value thisVal = nullptr; Off() local 450 napi_value thisVal = nullptr; ConnectionOff() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/patternlock/ |
H A D | patternlock_napi.cpp | 93 napi_value thisVal = nullptr; in SideLength() local 95 NAPI_CALL(env, napi_get_cb_info(env, info, &argc, argv, &thisVal, nullptr)); in SideLength() 111 napi_value thisVal = nullptr; in CircleRadius() local 113 NAPI_CALL(env, napi_get_cb_info(env, info, &argc, argv, &thisVal, nullptr)); in CircleRadius() 129 napi_value thisVal = nullptr; in PathStrokeWidth() local 131 NAPI_CALL(env, napi_get_cb_info(env, info, &argc, argv, &thisVal, nullptr)); in PathStrokeWidth() 147 napi_value thisVal = nullptr; in ActiveColor() local 149 NAPI_CALL(env, napi_get_cb_info(env, info, &argc, argv, &thisVal, nullptr)); in ActiveColor() 165 napi_value thisVal = nullptr; in SelectedColor() local 167 NAPI_CALL(env, napi_get_cb_info(env, info, &argc, argv, &thisVal, nullpt in SelectedColor() 183 napi_value thisVal = nullptr; PathColor() local 201 napi_value thisVal = nullptr; RegularColor() local 218 napi_value thisVal = nullptr; AutoReset() local 231 napi_value thisVal = nullptr; OnPatternComplete() local [all...] |
/foundation/communication/netstack/frameworks/js/napi/socket/socket_module/src/ |
H A D | socket_module.cpp | 185 static bool SetSocket(napi_env env, napi_value thisVal, BaseContext *context, int sock) in SetSocket() argument 198 if (napi_unwrap(env, thisVal, reinterpret_cast<void **>(&manager)) != napi_ok || manager == nullptr) { in SetSocket() 203 NapiUtils::SetInt32Property(env, thisVal, KEY_SOCKET_FD, sock); in SetSocket() 207 static bool MakeTcpClientBindSocket(napi_env env, napi_value thisVal, BindContext *context) in MakeTcpClientBindSocket() argument 223 if (!SetSocket(env, thisVal, context, sock)) { in MakeTcpClientBindSocket() 230 static bool MakeTcpClientConnectSocket(napi_env env, napi_value thisVal, ConnectContext *context) in MakeTcpClientConnectSocket() argument 250 if (!SetSocket(env, thisVal, context, sock)) { in MakeTcpClientConnectSocket() 257 static bool MakeTcpServerSocket(napi_env env, napi_value thisVal, TcpServerListenContext *context) in MakeTcpServerSocket() argument 275 if (!SetSocket(env, thisVal, context, sock)) { in MakeTcpServerSocket() 282 static bool MakeUdpSocket(napi_env env, napi_value thisVal, BindContex argument 300 MakeMulticastUdpSocket(napi_env env, napi_value thisVal, MulticastMembershipContext *context) MakeMulticastUdpSocket() argument 322 SetSocketManager(napi_env env, napi_value thisVal, BaseContext *context, SocketBaseManager *mgr) SetSocketManager() argument 344 MakeLocalSocketBind(napi_env env, napi_value thisVal, LocalSocketBindContext *context) MakeLocalSocketBind() argument 368 MakeLocalSocketConnect(napi_env env, napi_value thisVal, LocalSocketConnectContext *context) MakeLocalSocketConnect() argument 392 MakeLocalServerSocket(napi_env env, napi_value thisVal, LocalSocketServerListenContext *context) MakeLocalServerSocket() argument [all...] |
/foundation/arkui/ace_engine_lite/frameworks/native_engine/jsi/test/unittest/common/ |
H A D | jsi_interface_tdd_test.h | 46 static JSIValue Setter(const JSIValue thisVal, const JSIValue args[], uint8_t argsNum); 47 static JSIValue Getter(const JSIValue thisVal, const JSIValue args[], uint8_t argsNum); 48 static JSIValue Function(const JSIValue thisVal, const JSIValue args[], uint8_t argsNum);
|
/foundation/communication/netstack/frameworks/js/builtin/fetch/include/ |
H A D | http_async_callback.h | 35 friend JSIValue FetchModule::Fetch(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum); 40 JSIValue thisVal; member in OHOS::ACELite::HttpAsyncCallback
|
H A D | fetch_module.h | 35 static JSIValue StringToArrayBuffer(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum); 37 static JSIValue Fetch(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/qrcode/ |
H A D | qrcode_napi.cpp | 77 napi_value thisVal = nullptr; in JsColor() local 79 NAPI_CALL(env, napi_get_cb_info(env, info, &argc, argv, &thisVal, nullptr)); in JsColor() 95 napi_value thisVal = nullptr; in JsBackgroundColor() local 97 NAPI_CALL(env, napi_get_cb_info(env, info, &argc, argv, &thisVal, nullptr)); in JsBackgroundColor()
|
/foundation/communication/netstack/frameworks/js/builtin/fetch/src/ |
H A D | http_async_callback.cpp | 28 HttpAsyncCallback::HttpAsyncCallback(JSIValue thisValue) : thisVal(thisValue) {} in HttpAsyncCallback() 113 JSI::CallFunction(success, thisVal, arg, ARGC_ONE); in OnSuccess() 126 JSI::CallFunction(fail, thisVal, argv, ARGC_TWO); in OnFail() 135 JSI::CallFunction(complete, thisVal, nullptr, 0); in OnComplete()
|
/foundation/arkui/ace_engine/component_ext/movingphoto/ |
H A D | movingphoto_napi.cpp | 131 napi_value thisVal = nullptr; in JsOnComplete() local 133 NAPI_CALL(env, napi_get_cb_info(env, info, &argc, argv, &thisVal, nullptr)); in JsOnComplete() 149 napi_value thisVal = nullptr; in JsOnStart() local 151 NAPI_CALL(env, napi_get_cb_info(env, info, &argc, argv, &thisVal, nullptr)); in JsOnStart() 167 napi_value thisVal = nullptr; in JsOnStop() local 169 NAPI_CALL(env, napi_get_cb_info(env, info, &argc, argv, &thisVal, nullptr)); in JsOnStop() 185 napi_value thisVal = nullptr; in JsOnPause() local 187 NAPI_CALL(env, napi_get_cb_info(env, info, &argc, argv, &thisVal, nullptr)); in JsOnPause() 203 napi_value thisVal = nullptr; in JsOnFinish() local 205 NAPI_CALL(env, napi_get_cb_info(env, info, &argc, argv, &thisVal, nullpt in JsOnFinish() 221 napi_value thisVal = nullptr; JsOnError() local [all...] |
/foundation/arkui/ace_engine_lite/interfaces/inner_api/builtin/jsi/ |
H A D | jsi.h | 48 * @param [in] thisVal: the this value provided for the function call 52 typedef JSIValue (*JSIFunctionHandler)(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum); 374 * @param [in] thisVal: object for 'this' binding 378 static void CallFunction(JSIValue funcObj, JSIValue thisVal, const JSIValue *argv, uint8_t argc); 734 * @param [in] thisVal: object for 'this' binding 739 static void FailCallback(const JSIValue thisVal, const JSIValue args, int32_t errCode, const char * const errDesc); 744 * @param [in] thisVal: object for 'this' binding 749 static void SuccessCallback(const JSIValue thisVal, const JSIValue args, const JSIValue *argv, uint8_t argc);
|