Searched refs:INTEGER_TWO (Results 1 – 6 of 6) sorted by relevance
/base/web/webview/interfaces/kits/napi/webviewcontroller/ |
D | webview_javascript_execute_callback.cpp | 102 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()
|
D | webview_hasimage_callback.cpp | 99 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()
|
D | napi_webview_controller.cpp | 312 !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/ |
D | napi_webview_function.cpp | 48 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/ |
D | napi_parse_utils.h | 29 constexpr int INTEGER_TWO = 2; variable
|
/base/web/webview/interfaces/kits/napi/webcookiemanager/ |
D | napi_web_cookie_manager.cpp | 63 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()
|