/base/web/webview/interfaces/kits/napi/webasynccontroller/ |
D | napi_web_async_controller.cpp | 202 napi_value jsResult = nullptr; in StoreWebArchiveCallback() local 206 napi_get_null(env, &jsResult); in StoreWebArchiveCallback() 207 napi_call_function(env, nullptr, callback, 1, &jsResult, &callbackResult); in StoreWebArchiveCallback() 230 napi_value jsResult = nullptr; in StoreWebArchiveCallback() local 233 napi_get_null(env, &jsResult); in StoreWebArchiveCallback() 235 napi_create_string_utf8(env, result.c_str(), NAPI_AUTO_LENGTH, &jsResult); in StoreWebArchiveCallback() 237 napi_call_function(env, nullptr, callback, 1, &jsResult, &callbackResult); in StoreWebArchiveCallback() 254 napi_value jsResult = nullptr; in StoreWebArchivePromise() local 255 napi_get_null(env, &jsResult); in StoreWebArchivePromise() 256 napi_reject_deferred(env, deferred, jsResult); in StoreWebArchivePromise() [all …]
|
/base/print/print_fwk/frameworks/helper/src/ |
D | print_preview_attribute_helper.cpp | 63 napi_value jsResult = NapiPrintUtils::GetNamedProperty(env, jsValue, PARAM_PREATTRIBUTE_RESULT); in BuildFromJs() local 64 if (jsResult != nullptr) { in BuildFromJs() 65 auto result = NapiPrintUtils::GetUint32FromValue(env, jsResult); in BuildFromJs()
|
/base/print/print_fwk/frameworks/kits/extension/src/ |
D | js_print_callback.cpp | 76 jsParam_.jsResult = nullptr; in BuildJsWorker() 102 jsWorkParam->jsResult = jsWorkParam->nativeEngine->CallFunction( in Exec() 121 return jsParam_.jsResult; in Exec()
|
/base/print/print_fwk/frameworks/kits/extension/include/ |
D | js_print_callback.h | 52 NativeValue *jsResult; member 63 jsResult = nullptr; in JsWorkParam()
|
/base/notification/distributed_notification_service/frameworks/js/napi/src/manager/ |
D | napi_push_callback.cpp | 73 NativeValue *jsResult = engine_.CreateObject(); in OnCheckNotification() local 74 NativeObject *result = AbilityRuntime::ConvertNativeValueTo<NativeObject>(jsResult); in OnCheckNotification() 80 NativeValue *argv[] = { jsResult }; in OnCheckNotification()
|
/base/web/webview/interfaces/kits/napi/webcookiemanager/ |
D | napi_web_cookie_manager.cpp | 307 napi_value jsResult = nullptr; in SaveCookieAsyncCallback() local 308 napi_get_null(env, &jsResult); in SaveCookieAsyncCallback() 312 napi_call_function(env, nullptr, callback, INTEGER_ONE, &jsResult, &callbackResult); in SaveCookieAsyncCallback() 324 napi_value jsResult = nullptr; in SaveCookieAsyncPromise() local 325 napi_get_undefined(env, &jsResult); in SaveCookieAsyncPromise() 326 napi_reject_deferred(env, deferred, jsResult); in SaveCookieAsyncPromise() 407 napi_value jsResult = nullptr; in UvJsCallbackThreadWoker() local 408 napi_get_undefined(data->env_, &jsResult); in UvJsCallbackThreadWoker() 409 napi_resolve_deferred(data->env_, data->deferred_, jsResult); in UvJsCallbackThreadWoker()
|
/base/web/webview/interfaces/kits/napi/webviewcontroller/ |
D | webview_controller.cpp | 294 napi_value jsResult = nullptr; in StoreWebArchivePromise() local 295 jsResult = NWebError::BusinessError::CreateError(env, NWebError::INIT_ERROR); in StoreWebArchivePromise() 296 napi_reject_deferred(env, deferred, jsResult); in StoreWebArchivePromise() 703 napi_value jsResult = nullptr; in RunJavaScriptPromise() local 704 jsResult = NWebError::BusinessError::CreateError(env, NWebError::INIT_ERROR); in RunJavaScriptPromise() 705 napi_reject_deferred(env, deferred, jsResult); in RunJavaScriptPromise() 775 napi_value jsResult = nullptr; in HasImagesPromise() local 776 jsResult = NWebError::BusinessError::CreateError(env, NWebError::INIT_ERROR); in HasImagesPromise() 777 napi_reject_deferred(env, deferred, jsResult); in HasImagesPromise()
|