Home
last modified time | relevance | path

Searched refs:thisVar (Results 1 – 25 of 171) sorted by relevance

1234567

/base/web/webview/interfaces/kits/napi/webviewcontroller/
Dnapi_web_download_delegate.cpp34 napi_value thisVar = nullptr; in JS_DownloadBeforeStart() local
37 napi_get_cb_info(env, cbinfo, &argc, argv, &thisVar, &data); in JS_DownloadBeforeStart()
39 napi_unwrap(env, thisVar, (void **)&webDownloadDelegate); in JS_DownloadBeforeStart()
42 return thisVar; in JS_DownloadBeforeStart()
49 return thisVar; in JS_DownloadBeforeStart()
57 napi_value thisVar = nullptr; in JS_DownloadDidUpdate() local
60 napi_get_cb_info(env, cbinfo, &argc, argv, &thisVar, &data); in JS_DownloadDidUpdate()
62 napi_unwrap(env, thisVar, (void **)&webDownloadDelegate); in JS_DownloadDidUpdate()
65 return thisVar; in JS_DownloadDidUpdate()
71 return thisVar; in JS_DownloadDidUpdate()
[all …]
Dnapi_web_download_item.cpp199 napi_value thisVar = nullptr; in JS_GetMethod() local
202 napi_get_cb_info(env, cbinfo, &argc, argv, &thisVar, &data); in JS_GetMethod()
204 napi_unwrap(env, thisVar, (void **)&webDownloadItem); in JS_GetMethod()
220 napi_value thisVar = nullptr; in JS_GetMimeType() local
223 napi_get_cb_info(env, cbinfo, &argc, argv, &thisVar, &data); in JS_GetMimeType()
225 napi_unwrap(env, thisVar, (void **)&webDownloadItem); in JS_GetMimeType()
242 napi_value thisVar = nullptr; in JS_GetUrl() local
245 napi_get_cb_info(env, cbinfo, &argc, argv, &thisVar, &data); in JS_GetUrl()
247 napi_unwrap(env, thisVar, (void **)&webDownloadItem); in JS_GetUrl()
263 napi_value thisVar = nullptr; in JS_GetSuggestedFileName() local
[all …]
Dnapi_webview_controller.cpp153 napi_value thisVar = nullptr; in GetWebviewController() local
154 napi_get_cb_info(env, info, nullptr, nullptr, &thisVar, nullptr); in GetWebviewController()
157 napi_status status = napi_unwrap(env, thisVar, (void **)&webviewController); in GetWebviewController()
411 napi_value thisVar = nullptr; in JsConstructor() local
415 NAPI_CALL(env, napi_get_cb_info(env, info, &argc, argv, &thisVar, nullptr)); in JsConstructor()
436 env, thisVar, webviewController, in JsConstructor()
447 return thisVar; in JsConstructor()
478 napi_value thisVar = nullptr; in SetHttpDns() local
485 napi_get_cb_info(env, info, &argc, argv, &thisVar, nullptr); in SetHttpDns()
530 napi_value thisVar = nullptr; in SetWebDebuggingAccess() local
[all …]
Dnapi_web_download_manager.cpp41 napi_value thisVar = nullptr; in JS_SetDownloadDelegate() local
43 napi_get_cb_info(env, info, &argc, argv, &thisVar, &data); in JS_SetDownloadDelegate()
63 napi_value thisVar = nullptr; in JS_ResumeDownload() local
64 napi_get_cb_info(env, info, &argc, argv, &thisVar, nullptr); in JS_ResumeDownload()
90 napi_value thisVar = nullptr; in JS_Constructor() local
92 napi_get_cb_info(env, info, &argc, argv, &thisVar, &data); in JS_Constructor()
94 return thisVar; in JS_Constructor()
Dwebview_javascript_execute_callback.cpp234 napi_value thisVar = nullptr; in JsConstructor() local
235 napi_get_cb_info(env, info, nullptr, nullptr, &thisVar, nullptr); in JsConstructor()
236 return thisVar; in JsConstructor()
304 napi_value thisVar = nullptr; in GetType() local
310 napi_status status = napi_get_cb_info(env, info, &argc, argv, &thisVar, nullptr); in GetType()
315 status = napi_unwrap(env, thisVar, (void **)&webJsMessageExt); in GetType()
337 napi_value thisVar = nullptr; in GetString() local
343 NAPI_CALL(env, napi_get_cb_info(env, info, &argc, argv, &thisVar, nullptr)); in GetString()
344 NAPI_CALL(env, napi_unwrap(env, thisVar, (void **)&webJsMessageExt)); in GetString()
362 napi_value thisVar = nullptr; in GetNumber() local
[all …]
/base/security/certificate_framework/frameworks/js/napi/certificate/src/
Dnapi_key.cpp43 napi_value thisVar = nullptr; in JsGetAlgorithm() local
45 NAPI_CALL(env, napi_get_cb_info(env, info, nullptr, nullptr, &thisVar, nullptr)); in JsGetAlgorithm()
47 NAPI_CALL(env, napi_unwrap(env, thisVar, reinterpret_cast<void **>(&napiKey))); in JsGetAlgorithm()
58 napi_value thisVar = nullptr; in JsGetFormat() local
60 NAPI_CALL(env, napi_get_cb_info(env, info, nullptr, nullptr, &thisVar, nullptr)); in JsGetFormat()
62 NAPI_CALL(env, napi_unwrap(env, thisVar, reinterpret_cast<void **>(&napiKey))); in JsGetFormat()
73 napi_value thisVar = nullptr; in JsGetEncoded() local
75 NAPI_CALL(env, napi_get_cb_info(env, info, nullptr, nullptr, &thisVar, nullptr)); in JsGetEncoded()
77 NAPI_CALL(env, napi_unwrap(env, thisVar, reinterpret_cast<void **>(&napiKey))); in JsGetEncoded()
95 napi_value thisVar = nullptr; in KeyConstructor() local
[all …]
Dnapi_x509_certificate.cpp200 napi_value thisVar = nullptr; in Verify() local
201 napi_get_cb_info(env, info, &argc, argv, &thisVar, nullptr); in Verify()
247 napi_value thisVar = nullptr; in GetEncoded() local
248 napi_get_cb_info(env, info, &argc, argv, &thisVar, nullptr); in GetEncoded()
315 napi_value thisVar = nullptr; in CheckValidityWithDate() local
316 napi_get_cb_info(env, info, &argc, argv, &thisVar, nullptr); in CheckValidityWithDate()
670 napi_value thisVar = nullptr; in Match() local
671 napi_get_cb_info(env, info, &argc, argv, &thisVar, nullptr); in Match()
712 napi_value thisVar = nullptr; in NapiVerify() local
713 napi_get_cb_info(env, info, nullptr, nullptr, &thisVar, nullptr); in NapiVerify()
[all …]
Dnapi_x509_crl.cpp281 napi_value thisVar = nullptr; in IsRevoked() local
282 napi_get_cb_info(env, info, &argc, argv, &thisVar, nullptr); in IsRevoked()
316 napi_value thisVar = nullptr; in GetEncoded() local
317 napi_get_cb_info(env, info, &argc, argv, &thisVar, nullptr); in GetEncoded()
349 napi_value thisVar = nullptr; in Verify() local
350 napi_get_cb_info(env, info, &argc, argv, &thisVar, nullptr); in Verify()
511 napi_value thisVar = nullptr; in GetRevokedCertificate() local
512 napi_get_cb_info(env, info, &argc, argv, &thisVar, nullptr); in GetRevokedCertificate()
564 napi_value thisVar = nullptr; in GetRevokedCertificateWithCert() local
565 napi_get_cb_info(env, info, &argc, argv, &thisVar, nullptr); in GetRevokedCertificateWithCert()
[all …]
Dnapi_x509_crl_entry.cpp170 napi_value thisVar = nullptr; in GetEncoded() local
171 napi_get_cb_info(env, info, &argc, argv, &thisVar, nullptr); in GetEncoded()
319 napi_value thisVar = nullptr; in NapiGetEncoded() local
320 napi_get_cb_info(env, info, nullptr, nullptr, &thisVar, nullptr); in NapiGetEncoded()
322 napi_unwrap(env, thisVar, reinterpret_cast<void **>(&x509CrlEntry)); in NapiGetEncoded()
332 napi_value thisVar = nullptr; in NapiCrlEntryGetSerialNumber() local
333 napi_get_cb_info(env, info, nullptr, nullptr, &thisVar, nullptr); in NapiCrlEntryGetSerialNumber()
335 napi_unwrap(env, thisVar, reinterpret_cast<void **>(&x509CrlEntry)); in NapiCrlEntryGetSerialNumber()
345 napi_value thisVar = nullptr; in NapiCRLEntryGetSerialNumber() local
346 napi_get_cb_info(env, info, nullptr, nullptr, &thisVar, nullptr); in NapiCRLEntryGetSerialNumber()
[all …]
Dnapi_pub_key.cpp42 napi_value thisVar = nullptr; in PubKeyConstructor() local
43 napi_get_cb_info(env, info, nullptr, nullptr, &thisVar, nullptr); in PubKeyConstructor()
46 return thisVar; in PubKeyConstructor()
75 napi_value thisVar = nullptr; in JsGetEncoded() local
76 napi_get_cb_info(env, info, nullptr, nullptr, &thisVar, nullptr); in JsGetEncoded()
78 napi_unwrap(env, thisVar, reinterpret_cast<void **>(&napiPubKey)); in JsGetEncoded()
/base/security/crypto_framework/frameworks/js/napi/crypto/src/
Dnapi_key.cpp41 napi_value thisVar = nullptr; in JsGetAlgorithm() local
43 napi_get_cb_info(env, info, nullptr, nullptr, &thisVar, nullptr); in JsGetAlgorithm()
45 napi_status status = napi_unwrap(env, thisVar, reinterpret_cast<void **>(&napiKey)); in JsGetAlgorithm()
66 napi_value thisVar = nullptr; in JsGetFormat() local
68 napi_get_cb_info(env, info, nullptr, nullptr, &thisVar, nullptr); in JsGetFormat()
70 napi_status status = napi_unwrap(env, thisVar, reinterpret_cast<void **>(&napiKey)); in JsGetFormat()
91 napi_value thisVar = nullptr; in JsGetEncoded() local
93 napi_get_cb_info(env, info, nullptr, nullptr, &thisVar, nullptr); in JsGetEncoded()
95 napi_status status = napi_unwrap(env, thisVar, reinterpret_cast<void **>(&napiKey)); in JsGetEncoded()
122 napi_value thisVar = nullptr; in KeyConstructor() local
[all …]
Dnapi_sym_key.cpp42 napi_value thisVar = nullptr; in JsClearMem() local
44 napi_get_cb_info(env, info, nullptr, nullptr, &thisVar, nullptr); in JsClearMem()
46 napi_status status = napi_unwrap(env, thisVar, reinterpret_cast<void **>(&napiSymKey)); in JsClearMem()
59 napi_value thisVar = nullptr; in SymKeyConstructor() local
60 napi_get_cb_info(env, info, nullptr, nullptr, &thisVar, nullptr); in SymKeyConstructor()
61 return thisVar; in SymKeyConstructor()
Dnapi_pri_key.cpp40 napi_value thisVar = nullptr; in PriKeyConstructor() local
41 napi_get_cb_info(env, info, nullptr, nullptr, &thisVar, nullptr); in PriKeyConstructor()
42 return thisVar; in PriKeyConstructor()
67 napi_value thisVar = nullptr; in JsGetEncoded() local
68 napi_get_cb_info(env, info, nullptr, nullptr, &thisVar, nullptr); in JsGetEncoded()
70 napi_status status = napi_unwrap(env, thisVar, reinterpret_cast<void **>(&napiPriKey)); in JsGetEncoded()
99 napi_value thisVar = nullptr; in JsClearMem() local
100 napi_get_cb_info(env, info, nullptr, nullptr, &thisVar, nullptr); in JsClearMem()
102 napi_status status = napi_unwrap(env, thisVar, reinterpret_cast<void **>(&napiPriKey)); in JsClearMem()
168 napi_value thisVar = nullptr; in JsGetAsyKeySpec() local
[all …]
/base/telephony/call_manager/frameworks/js/napi/src/
Dnapi_call_ability_callback.cpp218 if (getWaitingCallback_.thisVar) { in RegisterGetWaitingCallback()
233 if (closeUnfinishedUssdCallback_.thisVar) { in RegisterCloseUnFinishedUssdCallback()
248 if (setWaitingCallback_.thisVar) { in RegisterSetWaitingCallback()
263 if (getRestrictionCallback_.thisVar) { in RegisterGetRestrictionCallback()
278 if (setRestrictionCallback_.thisVar) { in RegisterSetRestrictionCallback()
293 if (setRestrictionPasswordCallback_.thisVar) { in RegisterSetRestrictionPasswordCallback()
320 if (setTransferCallback_.thisVar) { in RegisterSetTransferCallback()
335 if (startRttCallback_.thisVar) { in RegisterStartRttCallback()
350 if (stopRttCallback_.thisVar) { in RegisterStopRttCallback()
365 if (startRttCallback_.thisVar == nullptr) { in ReportStartRttInfo()
[all …]
/base/hiviewdfx/hilog/interfaces/js/kits/napi/src/common/napi/
Dn_func_arg.cpp31 void NFuncArg::SetThisVar(napi_value thisVar) in SetThisVar() argument
33 thisVar_ = thisVar; in SetThisVar()
62 napi_value thisVar; in InitArgs() local
63 napi_status status = napi_get_cb_info(env_, info_, &argc, nullptr, &thisVar, nullptr); in InitArgs()
69 status = napi_get_cb_info(env_, info_, &argc, argv_.get(), &thisVar, nullptr); in InitArgs()
75 SetThisVar(thisVar); in InitArgs()
/base/global/i18n/interfaces/js/kits/src/
Di18n_calendar_addon.cpp153 napi_value thisVar = nullptr; in GetCalendar() local
155 napi_get_cb_info(env, info, &argc, argv, &thisVar, &data); in GetCalendar()
185 napi_value thisVar = nullptr; in I18nCalendarConstructor() local
187 napi_status status = napi_get_cb_info(env, info, &argc, argv, &thisVar, &data); in I18nCalendarConstructor()
206 …napi_wrap(env, thisVar, reinterpret_cast<void *>(obj.get()), I18nCalendarAddon::Destructor, nullpt… in I18nCalendarConstructor()
215 return thisVar; in I18nCalendarConstructor()
223 napi_value thisVar = nullptr; in SetTime() local
225 napi_get_cb_info(env, info, &argc, argv, &thisVar, &data); in SetTime()
230 napi_status status = napi_unwrap(env, thisVar, reinterpret_cast<void **>(&obj)); in SetTime()
260 napi_value thisVar = nullptr; in Set() local
[all …]
Di18n_unicode_addon.cpp105 napi_value thisVar = nullptr; in IsDigitAddon() local
107 napi_status status = napi_get_cb_info(env, info, &argc, argv, &thisVar, &data); in IsDigitAddon()
136 napi_value thisVar = nullptr; in IsSpaceCharAddon() local
138 napi_status status = napi_get_cb_info(env, info, &argc, argv, &thisVar, &data); in IsSpaceCharAddon()
167 napi_value thisVar = nullptr; in IsWhiteSpaceAddon() local
169 napi_status status = napi_get_cb_info(env, info, &argc, argv, &thisVar, &data); in IsWhiteSpaceAddon()
198 napi_value thisVar = nullptr; in IsRTLCharacterAddon() local
200 napi_status status = napi_get_cb_info(env, info, &argc, argv, &thisVar, &data); in IsRTLCharacterAddon()
229 napi_value thisVar = nullptr; in IsIdeoGraphicAddon() local
231 napi_status status = napi_get_cb_info(env, info, &argc, argv, &thisVar, &data); in IsIdeoGraphicAddon()
[all …]
Di18n_addon.cpp165 napi_value thisVar = nullptr; in UnitConvert() local
167 napi_status status = napi_get_cb_info(env, info, &argc, argv, &thisVar, &data); in UnitConvert()
217 napi_value thisVar = nullptr; in GetDateOrder() local
219 napi_status status = napi_get_cb_info(env, info, &argc, argv, &thisVar, &data); in GetDateOrder()
335 napi_value thisVar = nullptr; in GetParamOfGetTimePeriodName() local
337 napi_status status = napi_get_cb_info(env, info, &argc, argv, &thisVar, &data); in GetParamOfGetTimePeriodName()
455 napi_value thisVar = nullptr; in I18nTransliteratorConstructor() local
457 napi_status status = napi_get_cb_info(env, info, &argc, argv, &thisVar, &data); in I18nTransliteratorConstructor()
475 …napi_wrap(env, thisVar, reinterpret_cast<void *>(obj.get()), I18nAddon::Destructor, nullptr, nullp… in I18nTransliteratorConstructor()
485 return thisVar; in I18nTransliteratorConstructor()
[all …]
Dintl_addon.cpp313 napi_value thisVar = nullptr; in LocaleConstructor() local
315 napi_status status = napi_get_cb_info(env, info, &argc, argv, &thisVar, &data); in LocaleConstructor()
333 …napi_wrap(env, thisVar, reinterpret_cast<void *>(obj.get()), IntlAddon::Destructor, nullptr, nullp… in LocaleConstructor()
342 return thisVar; in LocaleConstructor()
381 napi_value thisVar = nullptr; in DateTimeFormatConstructor() local
383 napi_status status = napi_get_cb_info(env, info, &argc, argv, &thisVar, &data); in DateTimeFormatConstructor()
412 …napi_wrap(env, thisVar, reinterpret_cast<void *>(obj.get()), IntlAddon::Destructor, nullptr, nullp… in DateTimeFormatConstructor()
422 return thisVar; in DateTimeFormatConstructor()
444 napi_value thisVar = nullptr; in RelativeTimeFormatConstructor() local
446 napi_status status = napi_get_cb_info(env, info, &argc, argv, &thisVar, &data); in RelativeTimeFormatConstructor()
[all …]
Di18n_timezone_addon.cpp47 napi_value thisVar = nullptr; in GetI18nTimeZone() local
49 napi_get_cb_info(env, info, &argc, argv, &thisVar, &data); in GetI18nTimeZone()
113 napi_value thisVar = nullptr; in I18nTimeZoneConstructor() local
115 napi_status status = napi_get_cb_info(env, info, &argc, argv, &thisVar, &data); in I18nTimeZoneConstructor()
146 …napi_wrap(env, thisVar, reinterpret_cast<void *>(obj.get()), I18nTimeZoneAddon::Destructor, nullpt… in I18nTimeZoneConstructor()
155 return thisVar; in I18nTimeZoneConstructor()
220 napi_value thisVar = nullptr; in GetCityDisplayName() local
222 napi_status status = napi_get_cb_info(env, info, &argc, argv, &thisVar, &data); in GetCityDisplayName()
257 napi_value thisVar = nullptr; in GetTimezoneFromCity() local
259 napi_get_cb_info(env, info, &argc, argv, &thisVar, &data); in GetTimezoneFromCity()
[all …]
/base/web/webview/interfaces/kits/napi/webasynccontroller/
Dnapi_web_async_controller.cpp51 napi_value thisVar = nullptr; in StoreWebArchiveInternal() local
60 napi_get_cb_info(env, cbinfo, &argc, argv, &thisVar, nullptr); in StoreWebArchiveInternal()
64 napi_unwrap(env, thisVar, (void **)&webAsyncController); in StoreWebArchiveInternal()
73 napi_get_cb_info(env, cbinfo, &argc, argv, &thisVar, nullptr); in StoreWebArchiveInternal()
96 napi_value thisVar = nullptr; in JS_StoreWebArchive() local
106 napi_get_cb_info(env, cbinfo, &argc, argv, &thisVar, nullptr); in JS_StoreWebArchive()
127 napi_get_cb_info(env, cbinfo, &argc, argv, &thisVar, nullptr); in JS_StoreWebArchive()
137 napi_get_cb_info(env, cbinfo, &argc, argv, &thisVar, nullptr); in JS_StoreWebArchive()
149 napi_value thisVar = nullptr; in JS_NapiWebAsyncController() local
151 napi_get_cb_info(env, info, &argc, argv, &thisVar, &data); in JS_NapiWebAsyncController()
[all …]
/base/hiviewdfx/hiappevent/frameworks/js/napi/src/
Dnapi_app_event_holder.cpp60 napi_value thisVar = nullptr; in NapiConstructor() local
61 NAPI_CALL(env, napi_get_cb_info(env, info, &paramNum, params, &thisVar, nullptr)); in NapiConstructor()
65 return thisVar; in NapiConstructor()
69 env, thisVar, holder, in NapiConstructor()
75 return thisVar; in NapiConstructor()
96 napi_value thisVar = nullptr; in NapiSetSize() local
97 NAPI_CALL(env, napi_get_cb_info(env, info, &paramNum, params, &thisVar, nullptr)); in NapiSetSize()
108 napi_unwrap(env, thisVar, (void**)&holder); in NapiSetSize()
118 napi_value thisVar = nullptr; in NapiTakeNext() local
119 NAPI_CALL(env, napi_get_cb_info(env, info, nullptr, nullptr, &thisVar, nullptr)); in NapiTakeNext()
[all …]
/base/account/os_account/interfaces/kits/napi/appaccount/src/
Dnapi_app_account_authenticator_callback.cpp74 napi_value thisVar = nullptr; in ParseContextForOnResult() local
75 napi_get_cb_info(env, cbInfo, &argc, argv, &thisVar, nullptr); in ParseContextForOnResult()
76 napi_unwrap(env, thisVar, reinterpret_cast<void **>(&(param->callback))); in ParseContextForOnResult()
97 napi_value thisVar = nullptr; in ParseContextForRequestRedirected() local
98 napi_get_cb_info(env, cbInfo, &argc, argv, &thisVar, nullptr); in ParseContextForRequestRedirected()
99 napi_unwrap(env, thisVar, reinterpret_cast<void **>(&(param->callback))); in ParseContextForRequestRedirected()
191 napi_value thisVar = nullptr; in JsOnRequestContinued() local
192 napi_get_cb_info(env, cbInfo, nullptr, nullptr, &thisVar, nullptr); in JsOnRequestContinued()
193 napi_unwrap(env, thisVar, reinterpret_cast<void **>(&(param->callback))); in JsOnRequestContinued()
217 napi_value thisVar = nullptr; in JsConstructor() local
[all …]
/base/powermgr/thermal_manager/frameworks/napi/
Dnapi_utils.cpp23 napi_value thisVar = nullptr; in GetCallbackInfo() local
25 if (napi_ok != napi_get_cb_info(env, info, &argc, argv, &thisVar, &data)) { in GetCallbackInfo()
28 return thisVar; in GetCallbackInfo()
/base/inputmethod/imf/frameworks/js/napi/inputmethodability/
Djs_panel.cpp72 napi_value thisVar = nullptr; in JsNew() local
73 NAPI_CALL(env, napi_get_cb_info(env, info, nullptr, nullptr, &thisVar, nullptr)); in JsNew()
74 napi_status status = napi_wrap(env, thisVar, panel, finalize, nullptr, nullptr); in JsNew()
80 return thisVar; in JsNew()
239 napi_value thisVar = nullptr; in ChangeFlag() local
240 NAPI_CALL(env, napi_get_cb_info(env, info, &argc, argv, &thisVar, nullptr)); in ChangeFlag()
246 auto inputMethodPanel = UnwrapPanel(env, thisVar); in ChangeFlag()
257 napi_value thisVar = nullptr; in SetPrivacyMode() local
258 NAPI_CALL(env, napi_get_cb_info(env, info, &argc, argv, &thisVar, nullptr)); in SetPrivacyMode()
268 auto inputMethodPanel = UnwrapPanel(env, thisVar); in SetPrivacyMode()
[all …]

1234567