Home
last modified time | relevance | path

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

/base/web/webview/interfaces/kits/napi/webstorage/
Dnapi_web_storage.cpp32 constexpr int32_t PARAMZERO = 0; variable
175 …setResult[PARAMZERO] = NWebError::BusinessError::CreateError(env, NWebError::NO_WEBSTORAGE_ORIGIN); in GetOriginComplete()
178 napi_get_undefined(env, &setResult[PARAMZERO]); in GetOriginComplete()
182 napi_value args[RESULT_COUNT] = {setResult[PARAMZERO], setResult[PARAMONE]}; in GetOriginComplete()
202 …setResult[PARAMZERO] = NWebError::BusinessError::CreateError(env, NWebError::NO_WEBSTORAGE_ORIGIN); in GetOriginsPromiseComplete()
205 napi_value args[RESULT_COUNT] = {setResult[PARAMZERO], setResult[PARAMONE]}; in GetOriginsPromiseComplete()
328 … setResult[PARAMZERO] = NWebError::BusinessError::CreateError(env, NWebError::INVALID_ORIGIN); in GetOriginUsageOrQuotaComplete()
330 napi_get_undefined(env, &setResult[PARAMZERO]); in GetOriginUsageOrQuotaComplete()
334 napi_get_undefined(env, &setResult[PARAMZERO]); in GetOriginUsageOrQuotaComplete()
338 napi_value args[RESULT_COUNT] = {setResult[PARAMZERO], setResult[PARAMONE]}; in GetOriginUsageOrQuotaComplete()
[all …]
/base/web/webview/interfaces/kits/napi/webdatabase/
Dnapi_geolocation_permission.cpp29 constexpr int32_t PARAMZERO = 0; variable
120 if (!GetStringPara(env, argv[PARAMZERO], origin)) { in ProcessActionByType()
179 setResult[PARAMZERO] = NWebError::BusinessError::CreateError(env, param->errCode); in GetPermissionStateComplete()
182 napi_get_undefined(env, &setResult[PARAMZERO]); in GetPermissionStateComplete()
185 napi_value args[RESULT_COUNT] = {setResult[PARAMZERO], setResult[PARAMONE]}; in GetPermissionStateComplete()
207 setResult[PARAMZERO] = NWebError::BusinessError::CreateError(env, param->errCode); in GetPermissionStatePromiseComplete()
209 napi_value args[RESULT_COUNT] = {setResult[PARAMZERO], setResult[PARAMONE]}; in GetPermissionStatePromiseComplete()
311 if (!GetStringPara(env, argv[PARAMZERO], origin)) { in JsGetAccessibleGeolocation()
341 napi_get_undefined(env, &setResult[PARAMZERO]); in GetOriginComplete()
344 napi_get_undefined(env, &setResult[PARAMZERO]); in GetOriginComplete()
[all …]
Dnapi_web_data_base.cpp32 constexpr int32_t PARAMZERO = 0; variable
150 if (!GetStringPara(env, argv[PARAMZERO], host)) { in JsSaveHttpAuthCredentials()
209 if (!GetStringPara(env, argv[PARAMZERO], host)) { in JsGetHttpAuthCredentials()
238 napi_set_element(env, result, PARAMZERO, nameVal); in JsGetHttpAuthCredentials()
/base/web/webview/interfaces/kits/napi/webviewcontroller/
Dwebview_controller.cpp28 constexpr int32_t PARAMZERO = 0; variable
213 setResult[PARAMZERO] = BusinessError::CreateError(env, NWebError::INIT_ERROR); in StoreWebArchiveCallback()
216 napi_value args[RESULT_COUNT] = {setResult[PARAMZERO], setResult[PARAMONE]}; in StoreWebArchiveCallback()
242 setResult[PARAMZERO] = BusinessError::CreateError(env, NWebError::INVALID_RESOURCE); in StoreWebArchiveCallback()
245 napi_get_undefined(env, &setResult[PARAMZERO]); in StoreWebArchiveCallback()
248 napi_value args[RESULT_COUNT] = {setResult[PARAMZERO], setResult[PARAMONE]}; in StoreWebArchiveCallback()
288 … setResult[PARAMZERO] = NWebError::BusinessError::CreateError(env, NWebError::INVALID_RESOURCE); in StoreWebArchivePromise()
290 napi_value args[RESULT_COUNT] = {setResult[PARAMZERO], setResult[PARAMONE]}; in StoreWebArchivePromise()
294 napi_reject_deferred(env, deferred, args[PARAMZERO]); in StoreWebArchivePromise()
678 setResult[PARAMZERO] = BusinessError::CreateError(env, NWebError::INIT_ERROR); in RunJavaScriptCallback()
[all …]
/base/account/os_account/interfaces/kits/napi/osaccount/src/
Dnapi_os_account_common.cpp61 if (!GetIntProperty(env, argv[PARAMZERO], asyncContext->id)) { in ParseParaQueryOAByIdCB()
232 if (!GetIntProperty(env, argv[PARAMZERO], asyncContext->id)) { in ParseParaRemoveOACB()
283 if (!GetIntProperty(env, argv[PARAMZERO], asyncContext->id)) { in ParseParaSetOAName()
343 if (!GetIntProperty(env, argv[PARAMZERO], asyncContext->id)) { in ParseParaSetOAConstraints()
412 if (!GetIntProperty(env, argv[PARAMZERO], asyncContext->id)) { in ParseParaActiveOA()
464 if (!GetStringProperty(env, argv[PARAMZERO], asyncContext->name)) { in ParseParaCreateOA()
498 if (!GetIntProperty(env, argv[PARAMZERO], id)) { in ParseParaCreateOAForDomain()
666 if (!GetIntProperty(env, argv[PARAMZERO], asyncContext->id)) { in ParseParaGetAllCons()
792 if (!GetIntProperty(env, argv[PARAMZERO], asyncContext->id)) { in ParseQueryOAConstraintSrcTypes()
949 if (!GetIntProperty(env, argv[PARAMZERO], asyncContext->id)) { in ParseParaGetPhoto()
[all …]
Dnapi_os_account.cpp1366 result[PARAMZERO] = GenerateBusinessSuccess(env, isTest->throwErr); in InnerIsTestOsAccount()
1368 ProcessCallbackOrPromise(env, isTest, result[PARAMZERO], result[PARAMONE]); in InnerIsTestOsAccount()
1419 result[PARAMZERO] = GenerateBusinessError(env, isMain->errCode); in IsMainOsAccount()
1421 ProcessCallbackOrPromise(env, isMain, result[PARAMZERO], result[PARAMONE]); in IsMainOsAccount()
1539 … napi_create_int32(subscriberOAWorkerData->env, subscriberOAWorkerData->id, &result[PARAMZERO]); in UvQueueWorkOnAccountsChanged()
1665 results[PARAMZERO] = result; in UnsubscribeCallbackCompletedCB()
/base/account/os_account/interfaces/kits/napi/osaccount/include/
Dnapi_os_account_common.h29 constexpr int PARAMZERO = 0; variable
/base/account/os_account/interfaces/kits/napi/appaccount/src/
Dnapi_app_account_common.cpp120 checkResult[PARAMZERO] = GetErrorCodeValue(data->context.env, data->context.errCode); in CheckAccountLabelsOnResultWork()
122 …ProcessCallbackOrPromise(data->context.env, &(data->context), checkResult[PARAMZERO], checkResult[… in CheckAccountLabelsOnResultWork()
160 selectResult[PARAMZERO] = GetErrorCodeValue(env, param->context.errCode); in SelectAccountsOnResultWork()
162 … ProcessCallbackOrPromise(env, &(param->context), selectResult[PARAMZERO], selectResult[PARAMONE]); in SelectAccountsOnResultWork()
/base/account/os_account/interfaces/kits/napi/appaccount/include/
Dnapi_app_account_common.h42 constexpr int PARAMZERO = 0; variable