/base/web/webview/interfaces/kits/napi/webdatabase/ |
D | napi_geolocation_permission.cpp | 30 constexpr int32_t PARAMONE = 1; variable 111 size_t argc = PARAMONE; in ProcessActionByType() 112 napi_value argv[PARAMONE] = { 0 }; in ProcessActionByType() 114 if (argc != PARAMONE) { in ProcessActionByType() 180 napi_get_undefined(env, &setResult[PARAMONE]); in GetPermissionStateComplete() 183 napi_get_boolean(env, param->retValue, &setResult[PARAMONE]); in GetPermissionStateComplete() 185 napi_value args[RESULT_COUNT] = {setResult[PARAMZERO], setResult[PARAMONE]}; in GetPermissionStateComplete() 208 napi_get_boolean(env, param->retValue, &setResult[PARAMONE]); in GetPermissionStatePromiseComplete() 209 napi_value args[RESULT_COUNT] = {setResult[PARAMZERO], setResult[PARAMONE]}; in GetPermissionStatePromiseComplete() 301 size_t argcPromise = PARAMONE; in JsGetAccessibleGeolocation() [all …]
|
D | napi_web_data_base.cpp | 33 constexpr int32_t PARAMONE = 1; variable 156 if (!GetStringPara(env, argv[PARAMONE], realm)) { in JsSaveHttpAuthCredentials() 215 if (!GetStringPara(env, argv[PARAMONE], realm)) { in JsGetHttpAuthCredentials() 240 napi_set_element(env, result, PARAMONE, pwdVal); in JsGetHttpAuthCredentials()
|
/base/web/webview/interfaces/kits/napi/webstorage/ |
D | napi_web_storage.cpp | 33 constexpr int32_t PARAMONE = 1; variable 176 napi_get_undefined(env, &setResult[PARAMONE]); in GetOriginComplete() 179 napi_create_array(env, &setResult[PARAMONE]); in GetOriginComplete() 180 GetNapiWebStorageOriginForResult(env, param->origins, setResult[PARAMONE]); in GetOriginComplete() 182 napi_value args[RESULT_COUNT] = {setResult[PARAMZERO], setResult[PARAMONE]}; in GetOriginComplete() 203 napi_create_array(env, &setResult[PARAMONE]); in GetOriginsPromiseComplete() 204 GetNapiWebStorageOriginForResult(env, param->origins, setResult[PARAMONE]); in GetOriginsPromiseComplete() 205 napi_value args[RESULT_COUNT] = {setResult[PARAMZERO], setResult[PARAMONE]}; in GetOriginsPromiseComplete() 332 napi_get_undefined(env, &setResult[PARAMONE]); in GetOriginUsageOrQuotaComplete() 335 napi_create_array(env, &setResult[PARAMONE]); in GetOriginUsageOrQuotaComplete() [all …]
|
/base/web/webview/interfaces/kits/napi/webviewcontroller/ |
D | webview_controller.cpp | 29 constexpr int32_t PARAMONE = 1; variable 214 napi_get_null(env, &setResult[PARAMONE]); in StoreWebArchiveCallback() 216 napi_value args[RESULT_COUNT] = {setResult[PARAMZERO], setResult[PARAMONE]}; in StoreWebArchiveCallback() 243 napi_get_null(env, &setResult[PARAMONE]); in StoreWebArchiveCallback() 246 napi_create_string_utf8(env, result.c_str(), NAPI_AUTO_LENGTH, &setResult[PARAMONE]); in StoreWebArchiveCallback() 248 napi_value args[RESULT_COUNT] = {setResult[PARAMZERO], setResult[PARAMONE]}; in StoreWebArchiveCallback() 289 napi_create_string_utf8(env, result.c_str(), NAPI_AUTO_LENGTH, &setResult[PARAMONE]); in StoreWebArchivePromise() 290 napi_value args[RESULT_COUNT] = {setResult[PARAMZERO], setResult[PARAMONE]}; in StoreWebArchivePromise() 292 napi_resolve_deferred(env, deferred, args[PARAMONE]); in StoreWebArchivePromise() 679 napi_get_null(env, &setResult[PARAMONE]); in RunJavaScriptCallback() [all …]
|
/base/account/os_account/interfaces/kits/napi/osaccount/src/ |
D | napi_os_account_common.cpp | 289 if (!GetStringProperty(env, argv[PARAMONE], asyncContext->name)) { in ParseParaSetOAName() 351 if (!GetStringArrayProperty(env, argv[PARAMONE], asyncContext->constraints, false)) { in ParseParaSetOAConstraints() 471 if (!GetIntProperty(env, argv[PARAMONE], type)) { in ParseParaCreateOA() 506 if (!GetStringPropertyByKey(env, argv[PARAMONE], "domain", asyncContext->domainInfo.domain_)) { in ParseParaCreateOAForDomain() 512 …if (!GetStringPropertyByKey(env, argv[PARAMONE], "accountName", asyncContext->domainInfo.accountNa… in ParseParaCreateOAForDomain() 798 if (!GetStringProperty(env, argv[PARAMONE], asyncContext->constraint)) { in ParseQueryOAConstraintSrcTypes() 1186 if (!GetStringProperty(env, argv[PARAMONE], asyncContext->photo)) { in ParseParaSetPhoto() 1333 if (!GetStringProperty(env, argv[PARAMONE], asyncContext->constraint)) { in ParseParaIsEnable() 1699 if (!GetStringProperty(env, argv[PARAMONE], asyncContext->name)) { in ParseParaToSubscriber() 1772 if (!GetStringProperty(env, argv[PARAMONE], asyncContext->name)) { in ParseParaToUnsubscriber()
|
D | napi_os_account.cpp | 1367 napi_get_boolean(env, isTest->isTestOsAccount, &result[PARAMONE]); in InnerIsTestOsAccount() 1368 ProcessCallbackOrPromise(env, isTest, result[PARAMZERO], result[PARAMONE]); in InnerIsTestOsAccount() 1420 napi_get_boolean(env, isMain->isMainOsAccount, &result[PARAMONE]); in IsMainOsAccount() 1421 ProcessCallbackOrPromise(env, isMain, result[PARAMZERO], result[PARAMONE]); in IsMainOsAccount()
|
/base/account/os_account/interfaces/kits/napi/appaccount/src/ |
D | napi_app_account_common.cpp | 118 napi_get_boolean(data->context.env, hasLabels, &checkResult[PARAMONE]); in CheckAccountLabelsOnResultWork() 122 …lbackOrPromise(data->context.env, &(data->context), checkResult[PARAMZERO], checkResult[PARAMONE]); in CheckAccountLabelsOnResultWork() 154 napi_create_array(env, &selectResult[PARAMONE]); in SelectAccountsOnResultWork() 157 napi_set_element(env, selectResult[PARAMONE], i, object); in SelectAccountsOnResultWork() 162 … ProcessCallbackOrPromise(env, &(param->context), selectResult[PARAMZERO], selectResult[PARAMONE]); in SelectAccountsOnResultWork() 1398 …if ((argc == ARGS_SIZE_TWO) && (!GetCallbackProperty(env, argv[PARAMONE], context->callbackRef, PA… in ParseContextForSelectAccount() 1484 if (!GetStringProperty(env, argv[PARAMONE], context->owner)) { in ParseContextForCheckAccountLabels()
|
/base/account/os_account/interfaces/kits/napi/osaccount/include/ |
D | napi_os_account_common.h | 30 constexpr int PARAMONE = 1; variable
|
/base/account/os_account/interfaces/kits/napi/appaccount/include/ |
D | napi_app_account_common.h | 43 constexpr int PARAMONE = 1; variable
|