Home
last modified time | relevance | path

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

/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/webviewcontroller/
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()
Dwebview_javascript_execute_callback.cpp144 napi_value setResult[INTEGER_TWO] = {0}; in UvAfterWorkCbAsync()
176 napi_value args[INTEGER_TWO] = {setResult[INTEGER_ZERO], setResult[INTEGER_ONE]}; in UvAfterWorkCbAsync()
181 napi_call_function(env, nullptr, callback, INTEGER_TWO, args, &callbackResult); in UvAfterWorkCbAsync()
189 napi_value setResult[INTEGER_TWO] = {0}; in UvAfterWorkCbPromise()
224 napi_value args[INTEGER_TWO] = {setResult[INTEGER_ZERO], setResult[INTEGER_ONE]}; in UvAfterWorkCbPromise()
Dnapi_webview_controller.cpp404 size_t argc = INTEGER_TWO; in SetHttpDns()
405 napi_value argv[INTEGER_TWO] = { 0 }; in SetHttpDns()
410 if (argc != INTEGER_TWO) { in SetHttpDns()
574 !NapiParseUtils::ParseStringArray(env, argv[INTEGER_TWO], methodList)) { in InnerJsProxy()
1269 if (ports.size() != INTEGER_TWO) { in CreateWebMessagePorts()
1276 napi_value consParam[INTEGER_TWO][INTEGER_THREE] = {{0}}; in CreateWebMessagePorts()
1277 for (uint32_t i = 0; i < INTEGER_TWO; i++) { in CreateWebMessagePorts()
1281 NAPI_CALL(env, napi_get_boolean(env, isExtentionType, &consParam[i][INTEGER_TWO])); in CreateWebMessagePorts()
1345 if (!NapiParseUtils::ParseString(env, argv[INTEGER_TWO], urlStr)) { in PostMessage()
1385 if (!NapiParseUtils::ParseBoolean(env, argv[INTEGER_TWO], isExtentionType)) { in JsConstructor()
[all …]
/base/web/webview/interfaces/kits/napi/common/
Dnapi_parse_utils.h30 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()
146 size_t argc = INTEGER_TWO; in JsSetCookie()
147 napi_value argv[INTEGER_TWO] = { 0 }; in JsSetCookie()
150 if (argc != INTEGER_TWO) { in JsSetCookie()