Home
last modified time | relevance | path

Searched refs:PARAMONE (Results 1 – 9 of 9) sorted by relevance

/base/web/webview/interfaces/kits/napi/webdatabase/
Dnapi_geolocation_permission.cpp30 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 …]
Dnapi_web_data_base.cpp33 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/
Dnapi_web_storage.cpp33 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/
Dwebview_controller.cpp29 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/
Dnapi_os_account_common.cpp289 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()
Dnapi_os_account.cpp1367 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/
Dnapi_app_account_common.cpp118 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/
Dnapi_os_account_common.h30 constexpr int PARAMONE = 1; variable
/base/account/os_account/interfaces/kits/napi/appaccount/include/
Dnapi_app_account_common.h43 constexpr int PARAMONE = 1; variable