/base/security/huks/frameworks/crypto_lite/js/builtin/src/ |
D | cipher_module.cpp | 39 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/ |
D | print_callback.cpp | 89 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()
|
D | napi_print_task.cpp | 38 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()
|
D | print_task.cpp | 108 PRINT_ASSERT(env, argc == NapiPrintUtils::ARGC_TWO, "need 2 parameter!"); in On()
|
D | napi_print_ext.cpp | 177 …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()
|
D | napi_inner_print.cpp | 408 PRINT_ASSERT(env, argc == NapiPrintUtils::ARGC_TWO, "need 2 parameter!"); in On()
|
/base/notification/distributed_notification_service/frameworks/js/napi/src/manager/ |
D | napi_push.cpp | 27 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/ |
D | js_inputmethod_extension_context.cpp | 42 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()
|
D | js_inputmethod_extension.cpp | 35 constexpr size_t ARGC_TWO = 2; variable 276 CallObjectMethod("onRequest", argv, ARGC_TWO); in OnCommand()
|
/base/theme/wallpaper_mgr/frameworks/kits/extension/src/ |
D | js_wallpaper_extension_context.cpp | 42 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/ |
D | js_print_extension_context.cpp | 94 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()
|
D | js_print_extension_connection.cpp | 88 engine_.CallFunction(value, methodOnConnect, argv, NapiPrintUtils::ARGC_TWO); in HandleOnAbilityConnectDone()
|
/base/inputmethod/imf/frameworks/js/napi/inputmethodability/ |
D | js_keyboard_delegate_setting.cpp | 32 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()
|
D | js_input_method_engine_setting.cpp | 36 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/ |
D | napi_app_account_authorization_extension.cpp | 42 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()
|
D | napi_app_account_authorization_extension_context.cpp | 45 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/ |
D | js_get_input_method_setting.cpp | 35 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()
|
D | js_get_input_method_controller.cpp | 33 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/ |
D | napi_utils.cpp | 147 …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/ |
D | napi_utils.h | 82 constexpr size_t ARGC_TWO = 2; variable
|
/base/print/print_fwk/frameworks/helper/include/ |
D | napi_print_utils.h | 30 static constexpr size_t ARGC_TWO = 2; variable
|
/base/useriam/user_auth_framework/frameworks/js/napi/user_auth_extension/module_loader/ |
D | js_user_auth_extension.cpp | 40 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/ |
D | napi_system_timer.cpp | 233 …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/ |
D | napi_system_date_time.cpp | 316 if (argc >= ARGC_TWO) { in GetUptime()
|
/base/notification/common_event_service/interfaces/kits/napi/napi_common_event/src/ |
D | napi_common_event.cpp | 51 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()
|