Home
last modified time | relevance | path

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

/base/web/webview/interfaces/kits/napi/webviewcontroller/
Dwebview_javascript_execute_callback.cpp104 setResult[INTEGER_ZERO] = BusinessError::CreateError(env, NWebError::INVALID_RESOURCE); in UvAfterWorkCbAsync()
107 napi_get_undefined(env, &setResult[INTEGER_ZERO]); in UvAfterWorkCbAsync()
111 napi_value args[INTEGER_TWO] = {setResult[INTEGER_ZERO], setResult[INTEGER_ONE]}; in UvAfterWorkCbAsync()
125 … setResult[INTEGER_ZERO] = NWebError::BusinessError::CreateError(env, NWebError::INVALID_RESOURCE); in UvAfterWorkCbPromise()
128 napi_value args[INTEGER_TWO] = {setResult[INTEGER_ZERO], setResult[INTEGER_ONE]}; in UvAfterWorkCbPromise()
132 napi_reject_deferred(env, deferred, args[INTEGER_ZERO]); in UvAfterWorkCbPromise()
Dwebview_hasimage_callback.cpp100 napi_get_undefined(env, &setResult[INTEGER_ZERO]); in UvAfterWorkCbAsync()
105 napi_value args[INTEGER_TWO] = {setResult[INTEGER_ZERO], setResult[INTEGER_ONE]}; in UvAfterWorkCbAsync()
Dnapi_webview_controller.cpp303 napi_typeof(env, argv[INTEGER_ZERO], &valueType); in InnerJsProxy()
324 controller->RegisterJavaScriptProxy(env, argv[INTEGER_ZERO], objName, methodList); in InnerJsProxy()
421 int32_t step = INTEGER_ZERO; in AccessStep()
422 if (!NapiParseUtils::ParseInt32(env, argv[INTEGER_ZERO], step)) { in AccessStep()
540 NAPI_CALL(env, napi_create_int32(env, nwebId, &consParam[i][INTEGER_ZERO])); in CreateWebMessagePorts()
563 if (!NapiParseUtils::ParseString(env, argv[INTEGER_ZERO], portName)) { in PostMessage()
629 if (!NapiParseUtils::ParseInt32(env, argv[INTEGER_ZERO], webId)) { in JsConstructor()
689 napi_typeof(env, argv[INTEGER_ZERO], &valueType); in PostMessageEvent()
692 NAPI_CALL(env, napi_is_arraybuffer(env, argv[INTEGER_ZERO], &isArrayBuffer)); in PostMessageEvent()
701 napi_get_value_string_utf8(env, argv[INTEGER_ZERO], nullptr, 0, &bufferSize); in PostMessageEvent()
[all …]
/base/web/webview/interfaces/kits/napi/webcookiemanager/
Dnapi_web_cookie_manager.cpp121 if (!GetStringPara(env, argv[INTEGER_ZERO], url)) { in JsGetCookie()
156 if (!GetStringPara(env, argv[INTEGER_ZERO], url)) { in JsSetCookie()
209 if (!GetBooleanPara(env, argv[INTEGER_ZERO], accept)) { in JsPutAcceptCookieEnabled()
250 if (!GetBooleanPara(env, argv[INTEGER_ZERO], accept)) { in JsPutAcceptThirdPartyCookieEnabled()
337 size_t argcPromise = INTEGER_ZERO; in JsSaveCookieAsync()
397 napi_get_null(data->env_, &result[INTEGER_ZERO]); in UvJsCallbackThreadWoker()
403 INTEGER_ONE, &result[INTEGER_ZERO], &callbackResult); in UvJsCallbackThreadWoker()
/base/web/webview/interfaces/kits/napi/common/
Dnapi_parse_utils.h27 constexpr int INTEGER_ZERO = 0; variable