/base/web/webview/interfaces/kits/napi/webstorage/ |
H A D | napi_web_storage.cpp | 32 constexpr int32_t PARAMZERO = 0; member 193 setResult[PARAMZERO] = NWebError::BusinessError::CreateError(env, NWebError::NO_WEBSTORAGE_ORIGIN); in GetOriginComplete() 196 napi_get_undefined(env, &setResult[PARAMZERO]); in GetOriginComplete() 200 napi_value args[RESULT_COUNT] = {setResult[PARAMZERO], setResult[PARAMONE]}; in GetOriginComplete() 221 setResult[PARAMZERO] = NWebError::BusinessError::CreateError(env, NWebError::NO_WEBSTORAGE_ORIGIN); in GetOriginsPromiseComplete() 224 napi_value args[RESULT_COUNT] = {setResult[PARAMZERO], setResult[PARAMONE]}; in GetOriginsPromiseComplete() 349 setResult[PARAMZERO] = NWebError::BusinessError::CreateError(env, NWebError::INVALID_ORIGIN); in GetOriginUsageOrQuotaComplete() 351 napi_get_undefined(env, &setResult[PARAMZERO]); in GetOriginUsageOrQuotaComplete() 355 napi_get_undefined(env, &setResult[PARAMZERO]); in GetOriginUsageOrQuotaComplete() 359 napi_value args[RESULT_COUNT] = {setResult[PARAMZERO], setResul in GetOriginUsageOrQuotaComplete() [all...] |
/base/web/webview/interfaces/kits/napi/webdatabase/ |
H A D | napi_geolocation_permission.cpp | 29 constexpr int32_t PARAMZERO = 0; member 140 if (!GetStringPara(env, argv[PARAMZERO], origin)) { in ProcessActionByType() 194 napi_get_value_bool(env, argv[PARAMZERO], &incognitoMode); in JsDeleteAllGeolocation() 217 setResult[PARAMZERO] = NWebError::BusinessError::CreateError(env, param->errCode); in GetPermissionStateComplete() 220 napi_get_undefined(env, &setResult[PARAMZERO]); in GetPermissionStateComplete() 223 napi_value args[RESULT_COUNT] = {setResult[PARAMZERO], setResult[PARAMONE]}; in GetPermissionStateComplete() 245 setResult[PARAMZERO] = NWebError::BusinessError::CreateError(env, param->errCode); in GetPermissionStatePromiseComplete() 247 napi_value args[RESULT_COUNT] = {setResult[PARAMZERO], setResult[PARAMONE]}; in GetPermissionStatePromiseComplete() 352 if (!GetStringPara(env, argv[PARAMZERO], origin)) { in JsGetAccessibleGeolocation() 404 napi_get_undefined(env, &setResult[PARAMZERO]); in GetOriginComplete() [all...] |
H A D | napi_web_data_base.cpp | 34 constexpr int32_t PARAMZERO = 0; member 151 if (!GetStringPara(env, argv[PARAMZERO], host)) { in JsSaveHttpAuthCredentials() 211 if (!GetStringPara(env, argv[PARAMZERO], host)) { in JsGetHttpAuthCredentials() 243 napi_set_element(env, result, PARAMZERO, nameVal); in JsGetHttpAuthCredentials()
|
/base/web/webview/interfaces/kits/napi/webviewcontroller/ |
H A D | webview_controller.cpp | 50 constexpr int32_t PARAMZERO = 0; member 398 setResult[PARAMZERO] = BusinessError::CreateError(env, NWebError::INIT_ERROR); in StoreWebArchiveCallback() 401 napi_value args[RESULT_COUNT] = {setResult[PARAMZERO], setResult[PARAMONE]}; in StoreWebArchiveCallback() 427 setResult[PARAMZERO] = BusinessError::CreateError(env, NWebError::INVALID_RESOURCE); in StoreWebArchiveCallback() 430 napi_get_undefined(env, &setResult[PARAMZERO]); in StoreWebArchiveCallback() 433 napi_value args[RESULT_COUNT] = {setResult[PARAMZERO], setResult[PARAMONE]}; in StoreWebArchiveCallback() 473 setResult[PARAMZERO] = NWebError::BusinessError::CreateError(env, NWebError::INVALID_RESOURCE); in StoreWebArchivePromise() 475 napi_value args[RESULT_COUNT] = {setResult[PARAMZERO], setResult[PARAMONE]}; in StoreWebArchivePromise() 479 napi_reject_deferred(env, deferred, args[PARAMZERO]); in StoreWebArchivePromise() 967 setResult[PARAMZERO] in RunJavaScriptCallback() [all...] |
/base/account/os_account/interfaces/kits/napi/osaccount/src/ |
H A D | napi_os_account_common.cpp | 108 if (!GetIntProperty(env, argv[PARAMZERO], id)) { in ParseCallbackAndId() 129 if (!GetIntProperty(env, argv[PARAMZERO], asyncContext->id)) { in ParseParaDeactivateOA() 366 if (!GetIntProperty(env, argv[PARAMZERO], asyncContext->id)) { in ParseParaSetOAName() 424 if (!GetIntProperty(env, argv[PARAMZERO], asyncContext->id)) { in ParseParaSetOAConstraints() 526 if (!GetStringProperty(env, argv[PARAMZERO], asyncContext->name)) { in ParseParaCreateOA() 610 if (!GetIntProperty(env, argv[PARAMZERO], id)) { in ParseParaCreateOAForDomain() 893 if (!GetIntProperty(env, argv[PARAMZERO], asyncContext->id)) { in ParseQueryOAConstraintSrcTypes() 1156 if (!GetIntProperty(env, argv[PARAMZERO], asyncContext->uid)) { in ParseParaGetIdByUid() 1179 if (!ParseDomainAccountInfo(env, argv[PARAMZERO], asyncContext->domainInfo)) { in ParseParaGetIdByDomain() 1286 if (!GetIntProperty(env, argv[PARAMZERO], asyncContex in ParseParaSetPhoto() [all...] |
H A D | napi_os_account.cpp | 1398 result[PARAMZERO] = GenerateBusinessSuccess(env, isTest->throwErr); in InnerIsTestOsAccount() 1400 ProcessCallbackOrPromise(env, isTest, result[PARAMZERO], result[PARAMONE]); in InnerIsTestOsAccount() 1443 result[PARAMZERO] = GenerateBusinessError(env, isMain->errCode); in IsMainOsAccount() 1445 ProcessCallbackOrPromise(env, isMain, result[PARAMZERO], result[PARAMONE]); in IsMainOsAccount() 1615 result[PARAMZERO] = CreateSwitchEventInfoObj(subscriberOAWorkerData); in UvQueueWorkOnAccountsSubNotify() 1617 napi_create_int32(subscriberOAWorkerData->env, subscriberOAWorkerData->newId, &result[PARAMZERO]); in UvQueueWorkOnAccountsSubNotify()
|
/base/account/os_account/interfaces/kits/napi/appaccount/src/ |
H A D | napi_app_account_common.cpp | 143 checkResult[PARAMZERO] = GetErrorCodeValue(data->context.env, data->context.errCode); in CheckAccountLabelsOnResultWork() 145 ProcessCallbackOrPromise(data->context.env, &(data->context), checkResult[PARAMZERO], checkResult[PARAMONE]); in CheckAccountLabelsOnResultWork() 183 selectResult[PARAMZERO] = GetErrorCodeValue(env, param->context.errCode); in SelectAccountsOnResultWork() 185 ProcessCallbackOrPromise(env, &(param->context), selectResult[PARAMZERO], selectResult[PARAMONE]); in SelectAccountsOnResultWork()
|
/base/security/security_guard/frameworks/js/napi/ |
H A D | security_guard_napi.cpp | 40 constexpr int PARAMZERO = 0; variable 1013 if (!GetStringProperty(env, argv[PARAMZERO], type)) { in ParseSubscribeParam() 1103 if (!GetStringProperty(env, argv[PARAMZERO], type)) { in ParseParaToUnsubscriber() 1180 result[PARAMZERO] = GenerateEvent(subscriberOAWorkerData->env, subscriberOAWorkerData->event); in UvQueueWorkOnSecEventsChanged()
|
/base/account/os_account/interfaces/kits/napi/osaccount/include/ |
H A D | napi_os_account_common.h | 29 constexpr int PARAMZERO = 0; member
|
/base/account/os_account/interfaces/kits/napi/appaccount/include/ |
H A D | napi_app_account_common.h | 42 constexpr int PARAMZERO = 0; member
|