Home
last modified time | relevance | path

Searched refs:INTEGER_TWO (Results 1 – 6 of 6) sorted by relevance

/base/web/webview/interfaces/kits/napi/webviewcontroller/
Dwebview_javascript_execute_callback.cpp102 napi_value setResult[INTEGER_TWO] = {0}; in UvAfterWorkCbAsync()
111 napi_value args[INTEGER_TWO] = {setResult[INTEGER_ZERO], setResult[INTEGER_ONE]}; in UvAfterWorkCbAsync()
116 napi_call_function(env, nullptr, callback, INTEGER_TWO, args, &callbackResult); in UvAfterWorkCbAsync()
124 napi_value setResult[INTEGER_TWO] = {0}; in UvAfterWorkCbPromise()
128 napi_value args[INTEGER_TWO] = {setResult[INTEGER_ZERO], setResult[INTEGER_ONE]}; in UvAfterWorkCbPromise()
Dwebview_hasimage_callback.cpp99 napi_value setResult[INTEGER_TWO] = {0}; in UvAfterWorkCbAsync()
105 napi_value args[INTEGER_TWO] = {setResult[INTEGER_ZERO], setResult[INTEGER_ONE]}; in UvAfterWorkCbAsync()
109 napi_call_function(env, nullptr, callback, INTEGER_TWO, args, &callbackResult); in UvAfterWorkCbAsync()
Dnapi_webview_controller.cpp312 !NapiParseUtils::ParseStringArray(env, argv[INTEGER_TWO], methodList)) { in InnerJsProxy()
530 if (ports.size() != INTEGER_TWO) { in CreateWebMessagePorts()
537 napi_value consParam[INTEGER_TWO][INTEGER_TWO] = {{0}}; in CreateWebMessagePorts()
538 for (uint32_t i = 0; i < INTEGER_TWO; i++) { in CreateWebMessagePorts()
542 NAPI_CALL(env, napi_new_instance(env, msgPortcons, INTEGER_TWO, consParam[i], &msgPortObj)); in CreateWebMessagePorts()
601 if (!NapiParseUtils::ParseString(env, argv[INTEGER_TWO], urlStr)) { in PostMessage()
624 size_t argc = INTEGER_TWO; in JsConstructor()
625 napi_value argv[INTEGER_TWO] = {0}; in JsConstructor()
1096 size_t argcPromise = INTEGER_TWO; in StoreWebArchive()
1142 size_t argcPromise = INTEGER_TWO; in StoreWebArchiveInternal()
[all …]
/base/web/webview/interfaces/kits/napi/webfunction/
Dnapi_webview_function.cpp48 size_t argc = INTEGER_TWO; in JsOnce()
49 napi_value argv[INTEGER_TWO] = { 0 }; in JsOnce()
52 if (argc != INTEGER_TWO) { in JsOnce()
/base/web/webview/interfaces/kits/napi/common/
Dnapi_parse_utils.h29 constexpr int INTEGER_TWO = 2; variable
/base/web/webview/interfaces/kits/napi/webcookiemanager/
Dnapi_web_cookie_manager.cpp63 size_t argc = INTEGER_TWO; in JsConstructor()
64 napi_value argv[INTEGER_TWO] = { 0 }; in JsConstructor()
145 size_t argc = INTEGER_TWO; in JsSetCookie()
146 napi_value argv[INTEGER_TWO] = { 0 }; in JsSetCookie()
149 if (argc != INTEGER_TWO) { in JsSetCookie()