Home
last modified time | relevance | path

Searched refs:argcPromise (Results 1 – 5 of 5) sorted by relevance

/base/web/webview/interfaces/kits/napi/webasynccontroller/
Dnapi_web_async_controller.cpp53 size_t argcPromise = 2; in StoreWebArchiveInternal() local
81 } else if (argc == argcPromise) { in StoreWebArchiveInternal()
99 size_t argcPromise = 2; in JS_StoreWebArchive() local
107 NAPI_ASSERT(env, argc == argcPromise || argc == argcCallback, "requires 2 or 3 parameter"); in JS_StoreWebArchive()
/base/web/webview/interfaces/kits/napi/webdatabase/
Dnapi_geolocation_permission.cpp301 size_t argcPromise = PARAMONE; in JsGetAccessibleGeolocation() local
305 if (argc != argcPromise && argc != argcCallback) { in JsGetAccessibleGeolocation()
458 size_t argcPromise = PARAMZERO; in JsGetStoredGeolocation() local
462 if (argc != argcPromise && argc != argcCallback) { in JsGetStoredGeolocation()
/base/web/webview/interfaces/kits/napi/webstorage/
Dnapi_web_storage.cpp266 size_t argcPromise = 0; in JsGetOrigins() local
272 if (argc != argcPromise && argc != argcCallback) { in JsGetOrigins()
435 size_t argcPromise = 1; in JsGetOriginUsageOrQuota() local
439 if (argc != argcPromise && argc != argcCallback) { in JsGetOriginUsageOrQuota()
/base/web/webview/interfaces/kits/napi/webcookiemanager/
Dnapi_web_cookie_manager.cpp337 size_t argcPromise = INTEGER_ZERO; in JsSaveCookieAsync() local
342 if (argc != argcPromise && argc != argcCallback) { in JsSaveCookieAsync()
/base/web/webview/interfaces/kits/napi/webviewcontroller/
Dnapi_webview_controller.cpp1096 size_t argcPromise = INTEGER_TWO; in StoreWebArchive() local
1103 if (argc != argcPromise && argc != argcCallback) { in StoreWebArchive()
1142 size_t argcPromise = INTEGER_TWO; in StoreWebArchiveInternal() local
1167 } else if (argc == argcPromise) { in StoreWebArchiveInternal()
1638 size_t argcPromise = INTEGER_ONE; in RunJavaScript() local
1645 if (argc != argcPromise && argc != argcCallback) { in RunJavaScript()
1672 size_t argcPromise = INTEGER_ONE; in RunJavaScriptInternal() local
1697 } else if (argc == argcPromise) { in RunJavaScriptInternal()