/base/web/webview/interfaces/kits/napi/webviewcontroller/ |
H A D | napi_web_download_delegate.cpp | 34 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() 79 napi_value thisVar = nullptr; JS_DownloadDidFinish() local 101 napi_value thisVar = nullptr; JS_DownloadDidFail() local 122 napi_value thisVar = nullptr; JS_Constructor() local [all...] |
H A D | napi_web_scheme_handler_request.cpp | 86 napi_value thisVar = nullptr; in JS_Constructor() local 88 napi_get_cb_info(env, cbinfo, nullptr, nullptr, &thisVar, &data); in JS_Constructor() 96 env, thisVar, request, in JS_Constructor() 103 return thisVar; in JS_Constructor() 108 napi_value thisVar = nullptr; in JS_GetHeader() local 111 napi_get_cb_info(env, cbinfo, nullptr, nullptr, &thisVar, &data); in JS_GetHeader() 113 napi_unwrap(env, thisVar, (void **)&request); in JS_GetHeader() 148 napi_value thisVar = nullptr; in JS_GetRequestUrl() local 151 napi_get_cb_info(env, cbinfo, nullptr, nullptr, &thisVar, &data); in JS_GetRequestUrl() 153 napi_unwrap(env, thisVar, (voi in JS_GetRequestUrl() 171 napi_value thisVar = nullptr; JS_GetRequestMethod() local 194 napi_value thisVar = nullptr; JS_GetReferrer() local 217 napi_value thisVar = nullptr; JS_IsRedirect() local 236 napi_value thisVar = nullptr; JS_IsMainFrame() local 255 napi_value thisVar = nullptr; JS_HasGesture() local 274 napi_value thisVar = nullptr; JS_HttpBodyStream() local 309 napi_value thisVar = nullptr; JS_GetRequestResourceType() local 327 napi_value thisVar = nullptr; JS_GetFrameUrl() local 439 napi_value thisVar = nullptr; JS_Constructor() local 460 napi_value thisVar = nullptr; JS_GetUrl() local 486 napi_value thisVar = nullptr; JS_SetUrl() local 511 napi_value thisVar = nullptr; JS_GetStatus() local 531 napi_value thisVar = nullptr; JS_SetStatus() local 557 napi_value thisVar = nullptr; JS_GetStatusText() local 583 napi_value thisVar = nullptr; JS_SetStatusText() local 608 napi_value thisVar = nullptr; JS_GetMimeType() local 634 napi_value thisVar = nullptr; JS_SetMimeType() local 658 napi_value thisVar = nullptr; JS_GetEncoding() local 684 napi_value thisVar = nullptr; JS_SetEncoding() local 709 napi_value thisVar = nullptr; JS_GetHeaderByName() local 740 napi_value thisVar = nullptr; JS_SetHeaderByName() local 786 napi_value thisVar = nullptr; JS_GetNetErrorCode() local 807 napi_value thisVar = nullptr; JS_SetNetErrorCode() local 851 napi_value thisVar = nullptr; JS_Constructor() local 873 napi_value thisVar = nullptr; JS_RequestStart() local 907 napi_value thisVar = nullptr; JS_RequestStop() local 968 napi_value thisVar = nullptr; JS_Constructor() local 990 napi_value thisVar = nullptr; JS_DidReceiveResponse() local 1028 napi_value thisVar = nullptr; JS_DidReceiveResponseBody() local 1067 napi_value thisVar = nullptr; JS_DidFinish() local 1091 napi_value thisVar = nullptr; JS_DidFailWithError() local 1164 napi_value thisVar = nullptr; JS_Constructor() local 1181 napi_value thisVar = nullptr; JS_Initialize() local 1252 napi_value thisVar = nullptr; JS_Read() local 1306 napi_value thisVar = nullptr; JS_GetSize() local 1325 napi_value thisVar = nullptr; JS_GetPostion() local 1344 napi_value thisVar = nullptr; JS_IsChunked() local 1363 napi_value thisVar = nullptr; JS_IsEof() local 1382 napi_value thisVar = nullptr; JS_IsInMemory() local [all...] |
H A D | napi_web_download_item.cpp | 203 napi_value thisVar = nullptr; in JS_GetMethod() local 206 napi_get_cb_info(env, cbinfo, &argc, argv, &thisVar, &data); in JS_GetMethod() 208 napi_unwrap(env, thisVar, (void **)&webDownloadItem); in JS_GetMethod() 228 napi_value thisVar = nullptr; in JS_GetMimeType() local 231 napi_get_cb_info(env, cbinfo, &argc, argv, &thisVar, &data); in JS_GetMimeType() 233 napi_unwrap(env, thisVar, (void **)&webDownloadItem); in JS_GetMimeType() 254 napi_value thisVar = nullptr; in JS_GetUrl() local 257 napi_get_cb_info(env, cbinfo, &argc, argv, &thisVar, &data); in JS_GetUrl() 259 napi_unwrap(env, thisVar, (void **)&webDownloadItem); in JS_GetUrl() 279 napi_value thisVar in JS_GetSuggestedFileName() local 305 napi_value thisVar = nullptr; JS_GetCurrentSpeed() local 330 napi_value thisVar = nullptr; JS_GetPercentComplete() local 355 napi_value thisVar = nullptr; JS_GetTotalBytes() local 380 napi_value thisVar = nullptr; JS_GetReceivedBytes() local 405 napi_value thisVar = nullptr; JS_GetState() local 430 napi_value thisVar = nullptr; JS_GetLastErrorCode() local 456 napi_value thisVar = nullptr; JS_GetGuid() local 482 napi_value thisVar = nullptr; JS_GetFullPath() local 506 napi_value thisVar = nullptr; JS_Continue() local 525 napi_value thisVar = nullptr; JS_Cancel() local 549 napi_value thisVar = nullptr; JS_Pause() local 580 napi_value thisVar = nullptr; JS_Resume() local 613 napi_value thisVar = nullptr; JS_Constructor() local 635 napi_value thisVar = nullptr; JS_Start() local 691 napi_value thisVar = nullptr; JS_Serialize() local 737 napi_value thisVar = nullptr; JS_Deserialize() local [all...] |
H A D | napi_back_forward_cache_options.cpp | 39 napi_value thisVar = nullptr; in JS_Constructor() local 41 napi_get_cb_info(env, info, nullptr, nullptr, &thisVar, &data); in JS_Constructor() 43 return thisVar; in JS_Constructor() 48 napi_value thisVar = nullptr; in JS_Constructor() local 50 napi_get_cb_info(env, info, nullptr, nullptr, &thisVar, &data); in JS_Constructor() 52 return thisVar; in JS_Constructor()
|
H A D | napi_web_download_manager.cpp | 41 napi_value thisVar = nullptr; in JS_SetDownloadDelegate() local 43 napi_get_cb_info(env, info, &argc, argv, &thisVar, &data); in JS_SetDownloadDelegate() 67 napi_value thisVar = nullptr; in JS_ResumeDownload() local 68 napi_get_cb_info(env, info, &argc, argv, &thisVar, nullptr); in JS_ResumeDownload() 94 napi_value thisVar = nullptr; in JS_Constructor() local 96 napi_get_cb_info(env, info, &argc, argv, &thisVar, &data); in JS_Constructor() 98 return thisVar; in JS_Constructor()
|
H A D | napi_webview_controller.cpp | 198 napi_value thisVar = nullptr; in GetWebviewController() local 199 napi_get_cb_info(env, info, nullptr, nullptr, &thisVar, nullptr); in GetWebviewController() 202 napi_status status = napi_unwrap(env, thisVar, (void **)&webviewController); in GetWebviewController() 480 napi_value RemoveDownloadDelegateRef(napi_env env, napi_value thisVar) in RemoveDownloadDelegateRef() argument 483 NAPI_CALL(env, napi_unwrap(env, thisVar, (void **)&webviewController)); in RemoveDownloadDelegateRef() 857 napi_value thisVar = nullptr; in JsConstructor() local 861 NAPI_CALL(env, napi_get_cb_info(env, info, &argc, argv, &thisVar, nullptr)); in JsConstructor() 884 env, thisVar, webviewController, in JsConstructor() 894 return thisVar; in JsConstructor() 925 napi_value thisVar in SetHttpDns() local 982 napi_value thisVar = nullptr; SetWebDebuggingAccess() local 1009 napi_value thisVar = nullptr; EnableSafeBrowsing() local 1067 napi_value thisVar = nullptr; InnerGetThisVar() local 1083 napi_value thisVar = nullptr; SetWebId() local 1108 napi_value thisVar = nullptr; InnerSetHapPath() local 1133 napi_value thisVar = nullptr; InnerJsProxy() local 1245 napi_value thisVar = nullptr; AccessStep() local 1335 napi_value thisVar = nullptr; JsConstructor() local 1358 napi_value thisVar = nullptr; GetType() local 1390 napi_value thisVar = nullptr; GetString() local 1415 napi_value thisVar = nullptr; GetNumber() local 1440 napi_value thisVar = nullptr; GetBoolean() local 1464 napi_value thisVar = nullptr; GetArrayBuffer() local 1487 napi_value thisVar = nullptr; GetArray() local 1511 napi_value thisVar = nullptr; GetError() local 1536 napi_value thisVar = nullptr; SetType() local 1588 napi_value thisVar = nullptr; SetString() local 1626 napi_value thisVar = nullptr; SetNumber() local 1665 napi_value thisVar = nullptr; SetBoolean() local 1704 napi_value thisVar = nullptr; SetArrayBuffer() local 1748 napi_value thisVar = nullptr; SetArray() local 1804 napi_value thisVar = nullptr; SetError() local 1858 napi_value thisVar = nullptr; CreateWebMessagePorts() local 1944 napi_value thisVar = nullptr; PostMessage() local 1999 napi_value thisVar = nullptr; JsConstructor() local 2039 napi_value thisVar = nullptr; Close() local 2096 napi_value thisVar = nullptr; PostMessageEvent() local 2142 napi_value thisVar = nullptr; PostMessageEventExt() local 2196 napi_value thisVar = nullptr; OnMessageEventExt() local 2443 napi_value thisVar = nullptr; OnMessageEvent() local 2553 napi_value thisVar = nullptr; GetCustomUserAgent() local 2571 napi_value thisVar = nullptr; SetCustomUserAgent() local 2635 napi_value thisVar = nullptr; BackOrForward() local 2675 napi_value thisVar = nullptr; StoreWebArchive() local 2727 napi_value thisVar = nullptr; StoreWebArchiveInternal() local 2813 napi_value thisVar = nullptr; PostUrl() local 2866 napi_value thisVar = nullptr; LoadUrl() local 2957 napi_value thisVar = nullptr; LoadData() local 3021 napi_value thisVar = nullptr; ClearMatches() local 3039 napi_value thisVar = nullptr; SearchNext() local 3070 napi_value thisVar = nullptr; SearchAllAsync() local 3101 napi_value thisVar = nullptr; ClearSslCache() local 3119 napi_value thisVar = nullptr; ClearClientAuthenticationCache() local 3138 napi_value thisVar = nullptr; Stop() local 3156 napi_value thisVar = nullptr; Zoom() local 3196 napi_value thisVar = nullptr; InnerCompleteWindowNew() local 3219 napi_value thisVar = nullptr; RegisterJavaScriptProxy() local 3254 napi_value thisVar = nullptr; DeleteJavaScriptRegister() local 3301 napi_value thisVar = nullptr; RunJS() local 3352 napi_value thisVar = nullptr; RunCreatePDFExt() local 3400 napi_value thisVar = nullptr; RunJavaScriptInternal() local 3473 napi_value thisVar = nullptr; RunJavaScriptInternalExt() local 3572 napi_value thisVar = nullptr; SetNetworkAvailable() local 3603 napi_value thisVar = nullptr; InnerGetWebId() local 3624 napi_value thisVar = nullptr; HasImage() local 3655 napi_value thisVar = nullptr; HasImageInternal() local 3707 napi_value thisVar = nullptr; RemoveCache() local 3752 napi_value thisVar = nullptr; JsConstructor() local 3835 napi_value thisVar = nullptr; GetItem() local 3893 napi_value thisVar = nullptr; getBackForwardEntries() local 3941 napi_value thisVar = nullptr; GetFavicon() local 3984 napi_value thisVar = nullptr; SerializeWebState() local 4011 napi_value thisVar = nullptr; RestoreWebState() local 4064 napi_value thisVar = nullptr; ScrollPageDown() local 4095 napi_value thisVar = nullptr; ScrollPageUp() local 4237 napi_value thisVar = nullptr; CustomizeSchemes() local 4270 napi_value thisVar = nullptr; ScrollTo() local 4321 napi_value thisVar = nullptr; ScrollBy() local 4372 napi_value thisVar = nullptr; SlideScroll() local 4410 napi_value thisVar = nullptr; SetScrollable() local 4464 napi_value thisVar = nullptr; InnerGetCertificate() local 4511 napi_value thisVar = nullptr; SetAudioMuted() local 4549 napi_value thisVar = nullptr; PrefetchPage() local 4641 napi_value thisVar = nullptr; PrepareForPageLoad() local 4681 napi_value thisVar = nullptr; PrefetchResource() local 4737 napi_value thisVar = nullptr; ClearPrefetchedResource() local 4767 napi_value thisVar = nullptr; SetDownloadDelegate() local 4798 napi_value thisVar = nullptr; StartDownload() local 4913 napi_value thisVar = nullptr; CreateWebPrintDocumentAdapter() local 5140 napi_value thisVar = nullptr; OnStartLayoutWrite() local 5186 napi_value thisVar = nullptr; OnJobStateChanged() local 5221 napi_value thisVar = nullptr; JsConstructor() local 5250 napi_value thisVar = nullptr; SetPrintBackground() local 5295 napi_value thisVar = nullptr; SetWebSchemeHandler() local 5351 napi_value thisVar = nullptr; SetServiceWorkerWebSchemeHandler() local 5395 napi_value thisVar = nullptr; EnableIntelligentTrackingPrevention() local 5478 napi_value thisVar = nullptr; AddIntelligentTrackingPreventionBypassingList() local 5512 napi_value thisVar = nullptr; RemoveIntelligentTrackingPreventionBypassingList() local 5662 napi_value thisVar = nullptr; SetRenderProcessMode() local 5700 napi_value thisVar = nullptr; PrecompileJavaScript() local 5747 napi_value thisVar = nullptr; EnableBackForwardCache() local 5783 napi_value thisVar = nullptr; SetBackForwardCacheOptions() local 5826 napi_value thisVar = nullptr; WarmupServiceWorker() local 5849 napi_value thisVar = nullptr; InjectOfflineResources() local 5964 napi_value thisVar = nullptr; SetHostIP() local 6001 napi_value thisVar = nullptr; ClearHostIP() local 6038 napi_value thisVar = nullptr; EnableAdsBlock() local 6113 napi_value thisVar = nullptr; UpdateInstanceId() local 6148 napi_value thisVar = nullptr; SetUrlTrustList() local 6265 napi_value thisVar = nullptr; WebPageSnapshot() local 6387 napi_value thisVar = nullptr; SetPathAllowingUniversalAccess() local 6436 napi_value thisVar = nullptr; TrimMemoryByPressureLevel() local 6488 napi_value thisVar = nullptr; ScrollByWithResult() local [all...] |
H A D | webview_javascript_execute_callback.cpp | 234 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 in GetNumber() local 387 napi_value thisVar = nullptr; GetBoolean() local 411 napi_value thisVar = nullptr; GetArrayBuffer() local 434 napi_value thisVar = nullptr; GetArray() local [all...] |
/base/security/certificate_framework/frameworks/js/napi/certificate/src/ |
H A D | napi_key.cpp | 43 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 in KeyConstructor() local [all...] |
H A D | napi_x509_crl.cpp | 295 napi_value thisVar = nullptr; in IsRevoked() local 296 napi_get_cb_info(env, info, &argc, argv, &thisVar, nullptr); in IsRevoked() 330 napi_value thisVar = nullptr; in GetEncoded() local 331 napi_get_cb_info(env, info, &argc, argv, &thisVar, nullptr); in GetEncoded() 343 if (napi_create_reference(env, thisVar, 1, &context->cfRef) != napi_ok) { in GetEncoded() 370 napi_value thisVar = nullptr; in Verify() local 371 napi_get_cb_info(env, info, &argc, argv, &thisVar, nullptr); in Verify() 392 if (napi_create_reference(env, thisVar, 1, &context->cfRef) != napi_ok) { in Verify() 548 napi_value thisVar = nullptr; in GetRevokedCertificate() local 549 napi_get_cb_info(env, info, &argc, argv, &thisVar, nullpt in GetRevokedCertificate() 601 napi_value thisVar = nullptr; GetRevokedCertificateWithCert() local 648 napi_value thisVar = nullptr; GetRevokedCertificates() local 975 napi_value thisVar = nullptr; Match() local 1018 napi_value thisVar = nullptr; NapiIsRevoked() local 1031 napi_value thisVar = nullptr; NapiGetType() local 1044 napi_value thisVar = nullptr; NapiGetEncoded() local 1057 napi_value thisVar = nullptr; NapiVerify() local 1070 napi_value thisVar = nullptr; NapiGetVersion() local 1083 napi_value thisVar = nullptr; NapiGetIssuerDN() local 1096 napi_value thisVar = nullptr; NapiGetThisUpdate() local 1109 napi_value thisVar = nullptr; NapiGetNextUpdate() local 1122 napi_value thisVar = nullptr; NapiCrlGetRevokedCertificate() local 1135 napi_value thisVar = nullptr; NapiCrlGetRevokedCertificateWithCert() local 1148 napi_value thisVar = nullptr; NapiCrlGetRevokedCertificates() local 1161 napi_value thisVar = nullptr; NapiCRLGetRevokedCertificate() local 1174 napi_value thisVar = nullptr; NapiCRLGetRevokedCertificateWithCert() local 1187 napi_value thisVar = nullptr; NapiCRLGetRevokedCertificates() local 1200 napi_value thisVar = nullptr; NapiCrlGetTBSCertList() local 1213 napi_value thisVar = nullptr; NapiCRLGetTBSCertList() local 1226 napi_value thisVar = nullptr; NapiToString() local 1239 napi_value thisVar = nullptr; NapiHashCode() local 1252 napi_value thisVar = nullptr; NapiGetExtensionsObject() local 1265 napi_value thisVar = nullptr; NapiGetIssuerX500DistinguishedName() local 1278 napi_value thisVar = nullptr; NapiGetSignature() local 1291 napi_value thisVar = nullptr; NapiGetSigAlgName() local 1304 napi_value thisVar = nullptr; NapiGetSigAlgOID() local 1317 napi_value thisVar = nullptr; NapiGetSigAlgParams() local 1330 napi_value thisVar = nullptr; NapiGetExtensions() local 1343 napi_value thisVar = nullptr; NapiMatch() local 1399 napi_value thisVar = nullptr; NapiCreateX509CrlBase() local 1453 napi_value thisVar = nullptr; X509CrlConstructor() local [all...] |
H A D | napi_x509_certificate.cpp | 212 napi_value thisVar = nullptr; in Verify() local 213 napi_get_cb_info(env, info, &argc, argv, &thisVar, nullptr); in Verify() 235 if (napi_create_reference(env, thisVar, 1, &context->cfRef) != napi_ok) { in Verify() 268 napi_value thisVar = nullptr; in GetEncoded() local 269 napi_get_cb_info(env, info, &argc, argv, &thisVar, nullptr); in GetEncoded() 280 if (napi_create_reference(env, thisVar, 1, &context->cfRef) != napi_ok) { in GetEncoded() 342 napi_value thisVar = nullptr; in CheckValidityWithDate() local 343 napi_get_cb_info(env, info, &argc, argv, &thisVar, nullptr); in CheckValidityWithDate() 715 napi_value thisVar = nullptr; in Match() local 716 napi_get_cb_info(env, info, &argc, argv, &thisVar, nullpt in Match() 963 napi_value thisVar = nullptr; NapiVerify() local 976 napi_value thisVar = nullptr; NapiGetEncoded() local 989 napi_value thisVar = nullptr; NapiGetPublicKey() local 1002 napi_value thisVar = nullptr; NapiCheckValidityWithDate() local 1015 napi_value thisVar = nullptr; NapiGetVersion() local 1028 napi_value thisVar = nullptr; NapiGetSerialNumber() local 1041 napi_value thisVar = nullptr; NapiGetCertSerialNumber() local 1054 napi_value thisVar = nullptr; NapiGetIssuerName() local 1068 napi_value thisVar = nullptr; NapiGetSubjectName() local 1096 napi_value thisVar = nullptr; NapiGetNotBeforeTime() local 1109 napi_value thisVar = nullptr; NapiGetNotAfterTime() local 1122 napi_value thisVar = nullptr; NapiGetSignature() local 1135 napi_value thisVar = nullptr; NapiGetSigAlgName() local 1148 napi_value thisVar = nullptr; NapiGetSigAlgOID() local 1161 napi_value thisVar = nullptr; NapiGetSigAlgParams() local 1174 napi_value thisVar = nullptr; NapiGetKeyUsage() local 1187 napi_value thisVar = nullptr; NapiGetExtendedKeyUsage() local 1200 napi_value thisVar = nullptr; NapiGetBasicConstraints() local 1213 napi_value thisVar = nullptr; NapiGetSubjectAlternativeNames() local 1226 napi_value thisVar = nullptr; NapiGetIssuerAlternativeNames() local 1239 napi_value thisVar = nullptr; NapiGetItem() local 1258 napi_value thisVar = nullptr; NapiGetCRLDistributionPointsURI() local 1271 napi_value thisVar = nullptr; NapiMatch() local 1284 napi_value thisVar = nullptr; NapiToString() local 1297 napi_value thisVar = nullptr; NapiHashCode() local 1310 napi_value thisVar = nullptr; NapiGetExtensionsObject() local 1323 napi_value thisVar = nullptr; NapiGetIssuerX500DistinguishedName() local 1336 napi_value thisVar = nullptr; NapiGetSubjectX500DistinguishedName() local 1407 napi_value thisVar = nullptr; NapiCreateX509Cert() local 1453 napi_value thisVar = nullptr; X509CertConstructor() local [all...] |
H A D | napi_x509_crl_entry.cpp | 178 napi_value thisVar = nullptr; in GetEncoded() local 179 napi_get_cb_info(env, info, &argc, argv, &thisVar, nullptr); in GetEncoded() 191 if (napi_create_reference(env, thisVar, 1, &context->cfRef) != napi_ok) { in GetEncoded() 477 napi_value thisVar = nullptr; in NapiGetEncoded() local 478 napi_get_cb_info(env, info, nullptr, nullptr, &thisVar, nullptr); in NapiGetEncoded() 480 napi_unwrap(env, thisVar, reinterpret_cast<void **>(&x509CrlEntry)); in NapiGetEncoded() 490 napi_value thisVar = nullptr; in NapiCrlEntryGetSerialNumber() local 491 napi_get_cb_info(env, info, nullptr, nullptr, &thisVar, nullptr); in NapiCrlEntryGetSerialNumber() 493 napi_unwrap(env, thisVar, reinterpret_cast<void **>(&x509CrlEntry)); in NapiCrlEntryGetSerialNumber() 503 napi_value thisVar in NapiCRLEntryGetSerialNumber() local 516 napi_value thisVar = nullptr; NapiGetCertificateIssuer() local 529 napi_value thisVar = nullptr; NapiGetRevocationDate() local 542 napi_value thisVar = nullptr; NapiGetExtensions() local 555 napi_value thisVar = nullptr; NapiHasExtensions() local 568 napi_value thisVar = nullptr; NapiToString() local 581 napi_value thisVar = nullptr; NapiHashCode() local 594 napi_value thisVar = nullptr; NapiGetExtensionsObject() local 607 napi_value thisVar = nullptr; NapiGetCertIssuerX500DistinguishedName() local 620 napi_value thisVar = nullptr; X509CrlEntryConstructor() local [all...] |
H A D | napi_x509_distinguished_name.cpp | 149 napi_value thisVar = nullptr; in GetName() local 150 napi_get_cb_info(env, info, &argc, argv, &thisVar, nullptr); in GetName() 193 napi_value thisVar = nullptr; in NapiGetEncoded() local 194 napi_get_cb_info(env, info, nullptr, nullptr, &thisVar, nullptr); in NapiGetEncoded() 196 napi_unwrap(env, thisVar, reinterpret_cast<void **>(&x509Name)); in NapiGetEncoded() 206 napi_value thisVar = nullptr; in NapiGetName() local 207 napi_get_cb_info(env, info, nullptr, nullptr, &thisVar, nullptr); in NapiGetName() 209 napi_unwrap(env, thisVar, reinterpret_cast<void **>(&x509Name)); in NapiGetName() 219 napi_value thisVar = nullptr; in X509DistinguishedNameConstructor() local 220 napi_get_cb_info(env, info, nullptr, nullptr, &thisVar, nullpt in X509DistinguishedNameConstructor() 228 napi_value thisVar = nullptr; NapiCreateX509DistinguishedName() local [all...] |
H A D | napi_pub_key.cpp | 40 napi_value thisVar = nullptr;
in PubKeyConstructor() local 41 napi_get_cb_info(env, info, nullptr, nullptr, &thisVar, nullptr);
in PubKeyConstructor() 42 return thisVar;
in PubKeyConstructor() 68 napi_value thisVar = nullptr;
in JsGetEncoded() local 69 napi_get_cb_info(env, info, nullptr, nullptr, &thisVar, nullptr);
in JsGetEncoded() 71 napi_unwrap(env, thisVar, reinterpret_cast<void **>(&napiPubKey));
in JsGetEncoded()
|
/base/security/crypto_framework/frameworks/js/napi/crypto/src/ |
H A D | napi_key.cpp | 41 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 in KeyConstructor() local [all...] |
H A D | napi_sym_key.cpp | 42 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()
|
/base/global/i18n/interfaces/js/kits/src/ |
H A D | i18n_calendar_addon.cpp | 150 napi_value thisVar = nullptr; in GetCalendar() local 152 napi_get_cb_info(env, info, &argc, argv, &thisVar, &data); in GetCalendar() 182 napi_value thisVar = nullptr; in I18nCalendarConstructor() local 184 napi_status status = napi_get_cb_info(env, info, &argc, argv, &thisVar, &data); in I18nCalendarConstructor() 203 napi_wrap(env, thisVar, reinterpret_cast<void *>(obj.get()), I18nCalendarAddon::Destructor, nullptr, nullptr); in I18nCalendarConstructor() 212 return thisVar; in I18nCalendarConstructor() 220 napi_value thisVar = nullptr; in SetTime() local 222 napi_get_cb_info(env, info, &argc, argv, &thisVar, &data); in SetTime() 227 napi_status status = napi_unwrap(env, thisVar, reinterpret_cast<void **>(&obj)); in SetTime() 257 napi_value thisVar in Set() local 292 napi_value thisVar = nullptr; GetTimeZone() local 316 napi_value thisVar = nullptr; SetTimeZone() local 352 napi_value thisVar = nullptr; GetFirstDayOfWeek() local 376 napi_value thisVar = nullptr; SetFirstDayOfWeek() local 405 napi_value thisVar = nullptr; GetMinimalDaysInFirstWeek() local 429 napi_value thisVar = nullptr; SetMinimalDaysInFirstWeek() local 459 napi_value thisVar = nullptr; Get() local 505 napi_value thisVar = nullptr; Add() local 551 napi_value thisVar = nullptr; GetDisplayName() local 589 napi_value thisVar = nullptr; GetTimeInMillis() local 616 napi_value thisVar = nullptr; IsWeekend() local 665 napi_value thisVar = nullptr; CompareDays() local [all...] |
H A D | i18n_addon.cpp | 140 napi_value thisVar = nullptr; in UnitConvert() local 142 napi_status status = napi_get_cb_info(env, info, &argc, argv, &thisVar, &data); in UnitConvert() 192 napi_value thisVar = nullptr; in GetDateOrder() local 194 napi_status status = napi_get_cb_info(env, info, &argc, argv, &thisVar, &data); in GetDateOrder() 259 napi_value thisVar = nullptr; in GetParamOfGetTimePeriodName() local 261 napi_status status = napi_get_cb_info(env, info, &argc, argv, &thisVar, &data); in GetParamOfGetTimePeriodName() 358 napi_value thisVar = nullptr; in GetBestMatchLocale() local 360 napi_status status = napi_get_cb_info(env, info, &argc, argv, &thisVar, &data); in GetBestMatchLocale() 399 napi_value thisVar = nullptr; in GetThreeLetterLanguage() local 401 napi_status status = napi_get_cb_info(env, info, &argc, argv, &thisVar, in GetThreeLetterLanguage() 440 napi_value thisVar = nullptr; GetThreeLetterRegion() local 528 napi_value thisVar = nullptr; I18nTransliteratorConstructor() local 577 napi_value thisVar = nullptr; Transform() local 624 napi_value thisVar = nullptr; GetAvailableIDs() local 664 napi_value thisVar = nullptr; GetTransliteratorInstance() local 686 napi_value thisVar = nullptr; IsRTL() local 739 napi_value thisVar = nullptr; PhoneNumberFormatConstructor() local 801 napi_value thisVar = nullptr; IsValidPhoneNumber() local 847 napi_value thisVar = nullptr; GetLocationName() local 883 napi_value thisVar = nullptr; FormatPhoneNumber() local 970 napi_value thisVar = nullptr; I18nBreakIteratorConstructor() local 1060 napi_value thisVar = nullptr; GetLineInstance() local 1085 napi_value thisVar = nullptr; Current() local 1108 napi_value thisVar = nullptr; First() local 1131 napi_value thisVar = nullptr; Last() local 1154 napi_value thisVar = nullptr; Previous() local 1177 napi_value thisVar = nullptr; Next() local 1214 napi_value thisVar = nullptr; SetText() local 1252 napi_value thisVar = nullptr; GetText() local 1276 napi_value thisVar = nullptr; Following() local 1314 napi_value thisVar = nullptr; IsBoundary() local 1352 napi_value thisVar = nullptr; I18nIndexUtilConstructor() local 1412 napi_value thisVar = nullptr; GetIndexUtil() local 1436 napi_value thisVar = nullptr; GetIndexList() local 1474 napi_value thisVar = nullptr; AddLocale() local 1509 napi_value thisVar = nullptr; GetIndex() local 1548 napi_value thisVar = nullptr; ObjectConstructor() local [all...] |
H A D | i18n_unicode_addon.cpp | 102 napi_value thisVar = nullptr; in IsDigitAddon() local 104 napi_status status = napi_get_cb_info(env, info, &argc, argv, &thisVar, &data); in IsDigitAddon() 133 napi_value thisVar = nullptr; in IsSpaceCharAddon() local 135 napi_status status = napi_get_cb_info(env, info, &argc, argv, &thisVar, &data); in IsSpaceCharAddon() 164 napi_value thisVar = nullptr; in IsWhiteSpaceAddon() local 166 napi_status status = napi_get_cb_info(env, info, &argc, argv, &thisVar, &data); in IsWhiteSpaceAddon() 195 napi_value thisVar = nullptr; in IsRTLCharacterAddon() local 197 napi_status status = napi_get_cb_info(env, info, &argc, argv, &thisVar, &data); in IsRTLCharacterAddon() 226 napi_value thisVar = nullptr; in IsIdeoGraphicAddon() local 228 napi_status status = napi_get_cb_info(env, info, &argc, argv, &thisVar, in IsIdeoGraphicAddon() 257 napi_value thisVar = nullptr; IsLetterAddon() local 288 napi_value thisVar = nullptr; IsLowerCaseAddon() local 319 napi_value thisVar = nullptr; IsUpperCaseAddon() local 350 napi_value thisVar = nullptr; GetTypeAddon() local 379 napi_value thisVar = nullptr; ObjectConstructor() local [all...] |
H A D | intl_addon.cpp | 312 napi_value thisVar = nullptr; in LocaleConstructor() local 314 napi_status status = napi_get_cb_info(env, info, &argc, argv, &thisVar, &data); in LocaleConstructor() 332 napi_wrap(env, thisVar, reinterpret_cast<void *>(obj.get()), IntlAddon::Destructor, nullptr, nullptr); in LocaleConstructor() 341 return thisVar; in LocaleConstructor() 380 napi_value thisVar = nullptr; in DateTimeFormatConstructor() local 382 napi_status status = napi_get_cb_info(env, info, &argc, argv, &thisVar, &data); in DateTimeFormatConstructor() 411 napi_wrap(env, thisVar, reinterpret_cast<void *>(obj.get()), IntlAddon::Destructor, nullptr, nullptr); in DateTimeFormatConstructor() 421 return thisVar; in DateTimeFormatConstructor() 443 napi_value thisVar = nullptr; in RelativeTimeFormatConstructor() local 445 napi_status status = napi_get_cb_info(env, info, &argc, argv, &thisVar, in RelativeTimeFormatConstructor() 500 napi_value thisVar = nullptr; FormatDateTime() local 528 napi_value thisVar = nullptr; FormatDateTimeRange() local 586 napi_value thisVar = nullptr; NumberFormatConstructor() local 671 napi_value thisVar = nullptr; GetLanguage() local 694 napi_value thisVar = nullptr; GetScript() local 717 napi_value thisVar = nullptr; GetRegion() local 740 napi_value thisVar = nullptr; GetBaseName() local 763 napi_value thisVar = nullptr; GetCalendar() local 786 napi_value thisVar = nullptr; GetCollation() local 809 napi_value thisVar = nullptr; GetHourCycle() local 832 napi_value thisVar = nullptr; GetNumberingSystem() local 855 napi_value thisVar = nullptr; GetNumeric() local 878 napi_value thisVar = nullptr; GetCaseFirst() local 900 napi_value thisVar = nullptr; ToString() local 923 napi_value thisVar = nullptr; Maximize() local 958 napi_value thisVar = nullptr; Minimize() local 1043 napi_value thisVar = nullptr; GetRelativeTimeResolvedOptions() local 1066 napi_value thisVar = nullptr; GetDateTimeResolvedOptions() local 1105 napi_value thisVar = nullptr; GetNumberResolvedOptions() local 1145 napi_value thisVar = nullptr; FormatNumber() local 1320 napi_value thisVar = nullptr; CollatorConstructor() local 1407 napi_value thisVar = nullptr; FormatRelativeTime() local 1485 napi_value thisVar = nullptr; FormatToParts() local 1516 napi_value thisVar = nullptr; CompareString() local 1550 napi_value thisVar = nullptr; GetCollatorResolvedOptions() local 1703 napi_value thisVar = nullptr; PluralRulesConstructor() local 1766 napi_value thisVar = nullptr; Select() local [all...] |
H A D | i18n_timezone_addon.cpp | 44 napi_value thisVar = nullptr; in GetI18nTimeZone() local 46 napi_get_cb_info(env, info, &argc, argv, &thisVar, &data); in GetI18nTimeZone() 110 napi_value thisVar = nullptr; in I18nTimeZoneConstructor() local 112 napi_status status = napi_get_cb_info(env, info, &argc, argv, &thisVar, &data); in I18nTimeZoneConstructor() 143 napi_wrap(env, thisVar, reinterpret_cast<void *>(obj.get()), I18nTimeZoneAddon::Destructor, nullptr, nullptr); in I18nTimeZoneConstructor() 152 return thisVar; in I18nTimeZoneConstructor() 217 napi_value thisVar = nullptr; in GetCityDisplayName() local 219 napi_status status = napi_get_cb_info(env, info, &argc, argv, &thisVar, &data); in GetCityDisplayName() 254 napi_value thisVar = nullptr; in GetTimezoneFromCity() local 256 napi_get_cb_info(env, info, &argc, argv, &thisVar, in GetTimezoneFromCity() 264 napi_value thisVar = nullptr; GetTimezonesByLocation() local 338 napi_value thisVar = nullptr; GetID() local 361 napi_value thisVar = nullptr; GetTimeZoneDisplayName() local 406 napi_value thisVar = nullptr; GetRawOffset() local 429 napi_value thisVar = nullptr; GetOffset() local [all...] |
/base/hiviewdfx/hilog/interfaces/js/kits/napi/src/common/napi/ |
H A D | n_func_arg.cpp | 31 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/telephony/call_manager/frameworks/js/napi/src/ |
H A D | napi_call_ability_callback.cpp | 228 if (getWaitingCallback_.thisVar) { in RegisterGetWaitingCallback() 245 if (closeUnfinishedUssdCallback_.thisVar) { in RegisterCloseUnFinishedUssdCallback() 262 if (setWaitingCallback_.thisVar) { in RegisterSetWaitingCallback() 279 if (getRestrictionCallback_.thisVar) { in RegisterGetRestrictionCallback() 295 if (setRestrictionCallback_.thisVar) { in RegisterSetRestrictionCallback() 311 if (setRestrictionPasswordCallback_.thisVar) { in RegisterSetRestrictionPasswordCallback() 342 if (setTransferCallback_.thisVar) { in RegisterSetTransferCallback() 358 if (startRttCallback_.thisVar) { in RegisterStartRttCallback() 373 if (stopRttCallback_.thisVar) { in RegisterStopRttCallback() 388 if (startRttCallback_.thisVar in ReportStartRttInfo() 577 napi_value thisVar = nullptr; ReportCallState() local 725 napi_value thisVar = nullptr; ReportCallEvent() local 818 napi_value thisVar = nullptr; ReportDisconnectedCause() local 922 napi_value thisVar = nullptr; ReportMmiCode() local 1034 napi_value thisVar = nullptr; ReportAudioDeviceInfo() local 1503 napi_value thisVar = nullptr; ReportWaitAndLimitInfo() local 1564 napi_value thisVar = nullptr; ReportSupplementInfo() local 1622 napi_value thisVar = nullptr; ReportExecutionResult() local 1678 napi_value thisVar = nullptr; ReportStartRttInfo() local 1733 napi_value thisVar = nullptr; ReportStopRttInfo() local 1807 napi_value thisVar = nullptr; ReportCallOtt() local 1892 napi_value thisVar = nullptr; ReportPostDialDelay() local 1986 napi_value thisVar = nullptr; ReportCallMediaModeInfo() local 2077 napi_value thisVar = nullptr; ReportCallSessionEvent() local 2171 napi_value thisVar = nullptr; ReportPeerDimensions() local 2257 napi_value thisVar = nullptr; ReportCallDataUsage() local 2351 napi_value thisVar = nullptr; ReportCameraCapabilitiesInfo() local [all...] |
/base/hiviewdfx/hiappevent/frameworks/js/napi/src/ |
H A D | napi_app_event_holder.cpp | 67 napi_value thisVar = nullptr;
in NapiConstructor() local 68 NAPI_CALL(env, napi_get_cb_info(env, info, ¶mNum, params, &thisVar, nullptr));
in NapiConstructor() 72 return thisVar;
in NapiConstructor() 76 return thisVar;
in NapiConstructor() 79 env, thisVar, holder,
in NapiConstructor() 85 return thisVar;
in NapiConstructor() 107 napi_value thisVar = nullptr;
in NapiSetRow() local 108 NAPI_CALL(env, napi_get_cb_info(env, info, ¶mNum, params, &thisVar, nullptr));
in NapiSetRow() 119 napi_unwrap(env, thisVar, (void**)&holder);
in NapiSetRow() 131 napi_value thisVar in NapiSetSize() local 153 napi_value thisVar = nullptr; NapiTakeNext() local [all...] |
/base/web/webview/interfaces/kits/napi/webasynccontroller/ |
H A D | napi_web_async_controller.cpp | 51 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, in JS_NapiWebAsyncController() 192 NapiWebAsyncController(napi_env env, napi_value thisVar, int32_t nwebId) NapiWebAsyncController() argument [all...] |
/base/powermgr/thermal_manager/frameworks/napi/ |
H A D | napi_utils.cpp | 23 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()
|