Searched refs:INTEGER_ONE (Results 1 – 6 of 6) sorted by relevance
/base/web/webview/interfaces/kits/napi/webviewcontroller/ |
D | webview_javascript_execute_callback.cpp | 147 napi_get_null(env, &setResult[INTEGER_ONE]); in UvAfterWorkCbAsync() 151 OHOS::NWeb::NapiParseUtils::ConvertNWebToNapiValue(env, result, setResult[INTEGER_ONE]); in UvAfterWorkCbAsync() 155 … NAPI_CALL_RETURN_VOID(env, napi_new_instance(env, jsMsgExt, 0, NULL, &setResult[INTEGER_ONE])); in UvAfterWorkCbAsync() 163 napi_status status = napi_wrap(env, setResult[INTEGER_ONE], webJsMessageExt, in UvAfterWorkCbAsync() 176 napi_value args[INTEGER_TWO] = {setResult[INTEGER_ZERO], setResult[INTEGER_ONE]}; in UvAfterWorkCbAsync() 192 OHOS::NWeb::NapiParseUtils::ConvertNWebToNapiValue(env, result, setResult[INTEGER_ONE]); in UvAfterWorkCbPromise() 200 status = napi_new_instance(env, jsMsgExt, 0, NULL, &setResult[INTEGER_ONE]); in UvAfterWorkCbPromise() 211 status = napi_wrap(env, setResult[INTEGER_ONE], webJsMessageExt, in UvAfterWorkCbPromise() 224 napi_value args[INTEGER_TWO] = {setResult[INTEGER_ZERO], setResult[INTEGER_ONE]}; in UvAfterWorkCbPromise() 228 napi_resolve_deferred(env, deferred, args[INTEGER_ONE]); in UvAfterWorkCbPromise() [all …]
|
D | napi_webview_controller.cpp | 426 if (!NapiParseUtils::ParseString(env, argv[INTEGER_ONE], dohConfig)) { in SetHttpDns() 453 size_t argc = INTEGER_ONE; in SetWebDebuggingAccess() 454 napi_value argv[INTEGER_ONE] = {0}; in SetWebDebuggingAccess() 457 if (argc != INTEGER_ONE) { in SetWebDebuggingAccess() 502 size_t argc = INTEGER_ONE; in SetWebId() 503 napi_value argv[INTEGER_ONE]; in SetWebId() 527 size_t argc = INTEGER_ONE; in InnerSetHapPath() 528 napi_value argv[INTEGER_ONE]; in InnerSetHapPath() 530 if (argc != INTEGER_ONE) { in InnerSetHapPath() 573 if (!NapiParseUtils::ParseString(env, argv[INTEGER_ONE], objName) || in InnerJsProxy() [all …]
|
D | webview_hasimage_callback.cpp | 101 napi_status getBooleanResult = napi_get_boolean(env, result, &setResult[INTEGER_ONE]); in UvAfterWorkCbAsync() 103 napi_get_boolean(env, false, &setResult[INTEGER_ONE]); in UvAfterWorkCbAsync() 105 napi_value args[INTEGER_TWO] = {setResult[INTEGER_ZERO], setResult[INTEGER_ONE]}; in UvAfterWorkCbAsync()
|
/base/web/webview/interfaces/kits/napi/webcookiemanager/ |
D | napi_web_cookie_manager.cpp | 111 size_t argc = INTEGER_ONE; in JsGetCookie() 112 napi_value argv[INTEGER_ONE] = { 0 }; in JsGetCookie() 115 if (argc != INTEGER_ONE) { in JsGetCookie() 161 if (!GetStringPara(env, argv[INTEGER_ONE], value)) { in JsSetCookie() 200 size_t argc = INTEGER_ONE; in JsPutAcceptCookieEnabled() 201 napi_value argv[INTEGER_ONE] = { 0 }; in JsPutAcceptCookieEnabled() 204 if (argc != INTEGER_ONE) { in JsPutAcceptCookieEnabled() 241 size_t argc = INTEGER_ONE; in JsPutAcceptThirdPartyCookieEnabled() 242 napi_value argv[INTEGER_ONE] = { 0 }; in JsPutAcceptThirdPartyCookieEnabled() 245 if (argc != INTEGER_ONE) { in JsPutAcceptThirdPartyCookieEnabled() [all …]
|
/base/web/webview/interfaces/kits/napi/webfunction/ |
D | napi_webview_function.cpp | 59 napi_typeof(env, argv[INTEGER_ONE], &valueType); in JsOnce() 66 napi_create_reference(env, argv[INTEGER_ONE], 1, &callback); in JsOnce()
|
/base/web/webview/interfaces/kits/napi/common/ |
D | napi_parse_utils.h | 29 constexpr int INTEGER_ONE = 1; variable
|