Home
last modified time | relevance | path

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

/base/security/huks/frameworks/crypto_lite/js/builtin/src/
Dcipher_module.cpp39 JSIValue argvFail[ARGC_TWO] = { data, code }; in Rsa()
47 JSI::CallFunction(fail, thisVal, argvFail, ARGC_TWO); in Rsa()
60 JSI::CallFunction(fail, thisVal, argvFail, ARGC_TWO); in Rsa()
66 JSI::CallFunction(fail, thisVal, argvFail, ARGC_TWO); in Rsa()
76 JSI::CallFunction(fail, thisVal, argvFail, ARGC_TWO); in Rsa()
117 JSIValue argvFail[ARGC_TWO] = { data, code }; in Aes()
126 JSI::CallFunction(fail, thisVal, argvFail, ARGC_TWO); in Aes()
137 JSI::CallFunction(fail, thisVal, argvFail, ARGC_TWO); in Aes()
143 JSI::CallFunction(fail, thisVal, argvFail, ARGC_TWO); in Aes()
/base/print/print_fwk/interfaces/kits/napi/src/
Dprint_callback.cpp89 napi_value callbackValues[NapiPrintUtils::ARGC_TWO] = { 0 }; in PrinterAfterCallFun()
92 napi_call_function(cbParam->env, nullptr, callbackFunc, NapiPrintUtils::ARGC_TWO, in PrinterAfterCallFun()
120 napi_value callbackValues[NapiPrintUtils::ARGC_TWO] = { 0 }; in PrintJobAfterCallFun()
123 napi_call_function(cbParam->env, nullptr, callbackFunc, NapiPrintUtils::ARGC_TWO, in PrintJobAfterCallFun()
151 napi_value callbackValues[NapiPrintUtils::ARGC_TWO] = { 0 }; in ExtensionAfterCallFun()
156 napi_call_function(cbParam->env, nullptr, callbackFunc, NapiPrintUtils::ARGC_TWO, in ExtensionAfterCallFun()
Dnapi_print_task.cpp38 PRINT_ASSERT_BASE(env, argc == NapiPrintUtils::ARGC_ONE || argc == NapiPrintUtils::ARGC_TWO, in Print()
153 …if (argc == NapiPrintUtils::ARGC_TWO && GetAbilityContext(env, argv[1], abilityContext) != nullptr… in Initialize()
212 if (argc == NapiPrintUtils::ARGC_TWO) { in VerifyParameters()
Dprint_task.cpp108 PRINT_ASSERT(env, argc == NapiPrintUtils::ARGC_TWO, "need 2 parameter!"); in On()
Dnapi_print_ext.cpp177 …PRINT_ASSERT_BASE(env, argc == NapiPrintUtils::ARGC_TWO, " should 2 parameter!", napi_invalid_arg); in UpdatePrinterState()
319 …PRINT_ASSERT_BASE(env, argc == NapiPrintUtils::ARGC_TWO, " should 2 parameter!", napi_invalid_arg); in AddPrinterToCups()
Dnapi_inner_print.cpp408 PRINT_ASSERT(env, argc == NapiPrintUtils::ARGC_TWO, "need 2 parameter!"); in On()
/base/notification/distributed_notification_service/frameworks/js/napi/src/manager/
Dnapi_push.cpp27 constexpr size_t ARGC_TWO = 2; variable
55 if (info.argc < ARGC_TWO) { in OnRegisterPushCallback()
115 if (info.argc == ARGC_TWO) { in OnUnregisterPushCallback()
/base/inputmethod/imf/frameworks/kits/extension/src/
Djs_inputmethod_extension_context.cpp42 constexpr size_t ARGC_TWO = 2; variable
103 if (info.argc != ARGC_ONE && info.argc != ARGC_TWO && info.argc != ARGC_THREE) { in OnStartAbility()
155 if (info.argc != ARGC_TWO && info.argc != ARGC_THREE && info.argc != ARGC_FOUR) { in OnStartAbilityWithAccount()
178 if (info.argc > ARGC_TWO && info.argv[INDEX_TWO]->TypeOf() == NATIVE_OBJECT) { in OnStartAbilityWithAccount()
196 (unwrapArgc == ARGC_TWO) ? errcode = context->StartAbilityWithAccount(want, accountId) in OnStartAbilityWithAccount()
250 if (info.argc != ARGC_TWO) { in OnConnectAbility()
352 if (info.argc != ARGC_ONE && info.argc != ARGC_TWO) { in OnDisconnectAbility()
542 engine_.CallFunction(value, methodOnConnect, argv, ARGC_TWO); in HandleOnAbilityConnectDone()
Djs_inputmethod_extension.cpp35 constexpr size_t ARGC_TWO = 2; variable
276 CallObjectMethod("onRequest", argv, ARGC_TWO); in OnCommand()
/base/theme/wallpaper_mgr/frameworks/kits/extension/src/
Djs_wallpaper_extension_context.cpp42 constexpr size_t ARGC_TWO = 2; variable
102 if (info.argc != ARGC_ONE && info.argc != ARGC_TWO && info.argc != ARGC_THREE) { in OnStartAbility()
154 if (info.argc != ARGC_TWO && info.argc != ARGC_THREE && info.argc != ARGC_FOUR) { in OnStartAbilityWithAccount()
177 if (info.argc > ARGC_TWO && info.argv[INDEX_TWO]->TypeOf() == NATIVE_OBJECT) { in OnStartAbilityWithAccount()
195 (unwrapArgc == ARGC_TWO) ? errcode = context->StartAbilityWithAccount(want, accountId) in OnStartAbilityWithAccount()
249 if (info.argc != ARGC_TWO) { in OnConnectAbility()
357 if (info.argc != ARGC_ONE && info.argc != ARGC_TWO) { in OnDisconnectAbility()
567 engine_.CallFunction(value, methodOnConnect, argv, ARGC_TWO); in HandleOnAbilityConnectDone()
/base/print/print_fwk/frameworks/kits/extension/src/
Djs_print_extension_context.cpp94 if (info.argc != NapiPrintUtils::ARGC_ONE && info.argc != NapiPrintUtils::ARGC_TWO && in OnStartAbility()
147 if (info.argc != NapiPrintUtils::ARGC_TWO && info.argc != NapiPrintUtils::ARGC_THREE && in CheckInfo()
176 …if (info.argc > NapiPrintUtils::ARGC_TWO && info.argv[NapiPrintUtils::INDEX_TWO]->TypeOf() == NATI… in OnStartAbilityWithAccount()
194 (unwrapArgc == NapiPrintUtils::ARGC_TWO) in OnStartAbilityWithAccount()
250 if (info.argc != NapiPrintUtils::ARGC_TWO) { in OnConnectAbility()
357 if (info.argc != NapiPrintUtils::ARGC_ONE && info.argc != NapiPrintUtils::ARGC_TWO) { in OnDisconnectAbility()
Djs_print_extension_connection.cpp88 engine_.CallFunction(value, methodOnConnect, argv, NapiPrintUtils::ARGC_TWO); in HandleOnAbilityConnectDone()
/base/inputmethod/imf/frameworks/js/napi/inputmethodability/
Djs_keyboard_delegate_setting.cpp32 constexpr size_t ARGC_TWO = 2; variable
215 size_t argc = ARGC_TWO; in Subscribe()
216 napi_value argv[ARGC_TWO] = { nullptr }; in Subscribe()
244 size_t argc = ARGC_TWO; in UnSubscribe()
245 napi_value argv[ARGC_TWO] = { nullptr }; in UnSubscribe()
339 std::string type = (keyStatus == ARGC_TWO ? "keyDown" : "keyUp"); in OnKeyEvent()
Djs_input_method_engine_setting.cpp36 constexpr size_t ARGC_TWO = 2; variable
439 size_t argc = ARGC_TWO; in UnSubscribe()
440 napi_value argv[ARGC_TWO] = { nullptr }; in UnSubscribe()
/base/account/os_account/interfaces/kits/napi/appaccount/src/
Dnapi_app_account_authorization_extension.cpp42 constexpr size_t ARGC_TWO = 2; variable
100 size_t argc = ARGC_TWO; in GetExtentionCallbackCommonParam()
101 napi_value argv[ARGC_TWO] = {nullptr}; in GetExtentionCallbackCommonParam()
117 if (argc == ARGC_TWO) { in GetExtentionCallbackCommonParam()
419 param->authorizationExtension->CallObjectMethod("onStartAuthorization", argv, ARGC_TWO); in StartAuthorizationWork()
Dnapi_app_account_authorization_extension_context.cpp45 constexpr size_t ARGC_TWO = 2; variable
160 if (info.argc < ARGC_TWO) { in OnConnectAbility()
319 engine_.CallFunction(value, methodOnConnect, argv, ARGC_TWO); in HandleOnAbilityConnectDone()
/base/inputmethod/imf/frameworks/js/napi/inputmethodclient/
Djs_get_input_method_setting.cpp35 constexpr size_t ARGC_TWO = 2; variable
389 size_t argc = ARGC_TWO; in Subscribe()
390 napi_value argv[ARGC_TWO] = { nullptr }; in Subscribe()
451 size_t argc = ARGC_TWO; in UnSubscribe()
452 napi_value argv[ARGC_TWO] = { nullptr }; in UnSubscribe()
Djs_get_input_method_controller.cpp33 constexpr size_t ARGC_TWO = 2; variable
332 size_t argc = ARGC_TWO; in Subscribe()
333 napi_value argv[ARGC_TWO] = { nullptr }; in Subscribe()
369 size_t argc = ARGC_TWO; in UnSubscribe()
370 napi_value argv[ARGC_TWO] = { nullptr }; in UnSubscribe()
/base/time/time_service/framework/js/napi/common/src/
Dnapi_utils.cpp147 …NAPI_CALL_RETURN_VOID(env, napi_call_function(env, undefined, callback, ARGC_TWO, &results[0], &re… in SetCallback()
256 } else if (argc == ARGC_TWO) { in ParseParametersGetNA()
/base/time/time_service/framework/js/napi/common/include/
Dnapi_utils.h82 constexpr size_t ARGC_TWO = 2; variable
/base/print/print_fwk/frameworks/helper/include/
Dnapi_print_utils.h30 static constexpr size_t ARGC_TWO = 2; variable
/base/useriam/user_auth_framework/frameworks/js/napi/user_auth_extension/module_loader/
Djs_user_auth_extension.cpp40 constexpr size_t ARGC_TWO = 2; variable
271 CallObjectMethod("onRequest", argv, ARGC_TWO); in OnCommand()
334 CallObjectMethod("onSessionCreate", argv, ARGC_TWO); in ForegroundWindow()
/base/time/time_service/framework/js/napi/system_timer/src/
Dnapi_system_timer.cpp233 …CHECK_ARGS_RETURN_VOID(TIME_MODULE_JS_NAPI, startTimerContext, argc >= ARGC_TWO, "invalid argument… in StartTimer()
/base/time/time_service/framework/js/napi/system_date_time/src/
Dnapi_system_date_time.cpp316 if (argc >= ARGC_TWO) { in GetUptime()
/base/notification/common_event_service/interfaces/kits/napi/napi_common_event/src/
Dnapi_common_event.cpp51 static const int32_t ARGC_TWO = 2; variable
1822 size_t argc = ARGC_TWO; in SetCodeAndDataSync()
1823 napi_value argv[ARGC_TWO] = {nullptr}; in SetCodeAndDataSync()