Home
last modified time | relevance | path

Searched refs:destroy (Results 51 - 75 of 221) sorted by relevance

123456789

/base/security/device_auth/services/frameworks/src/plugin_adapter/ext_part/
H A Daccount_auth_plugin_proxy.c92 if (g_accountAuthPlugin != NULL && g_accountAuthPlugin->base.destroy != NULL) { in DestoryAccountAuthPlugin()
93 g_accountAuthPlugin->base.destroy(&g_accountAuthPlugin->base); in DestoryAccountAuthPlugin()
/base/security/device_auth/services/session_manager/inc/session/v2/auth_sub_session/protocol_lib/
H A Dbase_protocol.h44 void (*destroy)(BaseProtocol *); member
/base/security/device_auth/services/session_manager/inc/session/v2/auth_sub_session/
H A Dauth_sub_session.h38 void (*destroy)(AuthSubSession *self); member
/base/security/certificate_framework/frameworks/core/v1.0/certificate/
H A Dx509_cert_chain.c183 impl->base.base.destroy = DestroyCertChain; in HcfCertChainCreate()
231 implCertChain->base.base.destroy = DestroyCertChain; in HcfCertChainBuildResultCreate()
236 impl->base.base.destroy = DestroyCertChain; in HcfCertChainBuildResultCreate()
/base/security/certificate_framework/test/fuzztest/cfgetandcheck_fuzzer/
H A Dcfgetandcheck_fuzzer.cpp167 object->destroy(&object); in CfObjectFuzzTest()
176 object->destroy(&object); in CfObjectFuzzTest()
189 object->destroy(&object); in CfObjectFuzzTest()
/base/msdp/device_status/services/native/src/
H A Ddevicestatus_msdp_client_impl.cpp368 FI_HILOGI("Start destroy pointer"); in LoadMockLibrary()
369 mock_.destroy = reinterpret_cast<LoadMockLibraryPtr>(dlsym(mock_.handle, "Destroy")); in LoadMockLibrary()
370 if ((mock_.create == nullptr) || (mock_.destroy == nullptr)) { in LoadMockLibrary()
390 mock_.destroy(mock_.pAlgorithm); in UnloadMockLibrary()
431 FI_HILOGI("Start destroy pointer"); in LoadAlgoLibrary()
432 algo_.destroy = reinterpret_cast<LoadMockLibraryPtr>(dlsym(algo_.handle, "Destroy")); in LoadAlgoLibrary()
433 if ((algo_.create == nullptr) || (algo_.destroy == nullptr)) { in LoadAlgoLibrary()
453 algo_.destroy(algo_.pAlgorithm); in UnloadAlgoLibrary()
/base/security/crypto_framework/test/unittest/src/
H A Dcrypto_x25519_key_agreement_test.cpp59 .destroy = nullptr
127 keyAgreement->base.destroy((HcfObjectBase *)keyAgreement); in HWTEST_F()
182 keyAgreement->base.destroy(nullptr); in HWTEST_F()
183 keyAgreement->base.destroy(&g_obj); in HWTEST_F()
285 spiObj->base.destroy(nullptr); in HWTEST_F()
295 spiObj->base.destroy(&g_obj); in HWTEST_F()
H A Dcrypto_rand_test.cpp44 void CryptoRandTest::TearDown() // add destroy here, this will be called when test case done. in TearDown()
89 // destroy the API obj and blob data in HWTEST_F()
106 // destroy the API obj and blob data in HWTEST_F()
122 // destroy the API obj and blob data in HWTEST_F()
142 // destroy the API obj and blob data in HWTEST_F()
163 // destroy the API obj and blob data in HWTEST_F()
188 randObj->base.destroy(nullptr); in HWTEST_F()
206 randObj->base.destroy(&(invalidRandObj.base)); in HWTEST_F()
218 (void)spiObj->base.destroy(nullptr); in HWTEST_F()
219 (void)spiObj->base.destroy( in HWTEST_F()
[all...]
H A Dcrypto_ecc_asy_key_generator_test.cpp144 .destroy = nullptr
254 generator->base.destroy((HcfObjectBase *)generator); in HWTEST_F()
265 generator->base.destroy(nullptr); in HWTEST_F()
278 generator->base.destroy(&g_obj); in HWTEST_F()
479 keyPair->base.destroy((HcfObjectBase *)(&(keyPair->base))); in HWTEST_F()
495 keyPair->base.destroy(nullptr); in HWTEST_F()
512 keyPair->base.destroy(&g_obj); in HWTEST_F()
547 keyPair->pubKey->base.base.destroy((HcfObjectBase *)(&(keyPair->pubKey->base.base))); in HWTEST_F()
565 keyPair->pubKey->base.base.destroy(nullptr); in HWTEST_F()
582 keyPair->pubKey->base.base.destroy( in HWTEST_F()
[all...]
H A Dcrypto_sm2_asy_key_generator_test.cpp74 .destroy = nullptr
151 generator->base.destroy((HcfObjectBase *)generator); in HWTEST_F()
162 generator->base.destroy(nullptr); in HWTEST_F()
175 generator->base.destroy(&g_obj); in HWTEST_F()
322 keyPair->base.destroy((HcfObjectBase *)(&(keyPair->base))); in HWTEST_F()
338 keyPair->base.destroy(nullptr); in HWTEST_F()
373 keyPair->pubKey->base.base.destroy((HcfObjectBase *)(&(keyPair->pubKey->base.base))); in HWTEST_F()
391 keyPair->pubKey->base.base.destroy(nullptr); in HWTEST_F()
602 keyPair->priKey->base.base.destroy((HcfObjectBase *)(&(keyPair->priKey->base.base))); in HWTEST_F()
620 keyPair->priKey->base.base.destroy(nullpt in HWTEST_F()
[all...]
H A Dcrypto_signature_exception_test.cpp44 .destroy = nullptr
164 sign->base.destroy((HcfObjectBase *)sign); in HWTEST_F()
217 verify->base.destroy((HcfObjectBase *)verify); in HWTEST_F()
/base/security/device_auth/services/frameworks/src/module/
H A Ddev_auth_module_manager.c287 (*module)->destroy(); in DestroyModules()
295 if (plugin == NULL || plugin->init == NULL || plugin->destroy == NULL || in AddAuthModulePlugin()
316 plugin->destroy(); in AddAuthModulePlugin()
335 (*pluginPtr)->destroy(); in DelAuthModulePlugin()
/base/security/certificate_framework/test/fuzztest/cfcreate_fuzzer/
H A Dcfcreate_fuzzer.cpp53 object->destroy(&object); in CfCreateFuzzTest()
/base/security/device_auth/frameworks/deviceauth_lite/test/fuzztest/dellocalauthinfo_fuzzer/
H A Ddellocalauthinfo_fuzzer.cpp80 destroy(&handle); in DelLocalaAuthInfoFuzz()
/base/security/device_auth/frameworks/deviceauth_lite/test/fuzztest/destroy_fuzzer/
H A Ddestroy_fuzzer.cpp73 destroy(&server); in DestroyFuzz()
/base/security/device_auth/frameworks/deviceauth_lite/test/fuzztest/getinstance_fuzzer/
H A Dgetinstance_fuzzer.cpp76 destroy(&demo); in GetInstanceFuzz()
/base/security/device_auth/frameworks/deviceauth_lite/test/fuzztest/istrustpeer_fuzzer/
H A Distrustpeer_fuzzer.cpp76 destroy(&handle); in IsTrustPeerFuzz()
/base/security/device_auth/services/frameworks/inc/module/
H A Ddev_auth_module_manager.h29 void (*destroy)(void); member
/base/security/crypto_framework/frameworks/native/src/
H A Dsym_cipher.c151 if ((ctx == NULL) || (ctx->base.destroy == NULL)) { in OH_CryptoSymCipher_Destroy()
154 ctx->base.destroy((HcfObjectBase *)ctx); in OH_CryptoSymCipher_Destroy()
/base/security/crypto_framework/test/unittest/src/ecc/
H A Dcrypto_ecc_asy_key_generator_by_spec_test.cpp53 .destroy = nullptr
416 generator->base.destroy((HcfObjectBase *)generator); in HWTEST_F()
432 generator->base.destroy((HcfObjectBase *)generator); in HWTEST_F()
448 generator->base.destroy((HcfObjectBase *)generator); in HWTEST_F()
464 generator->base.destroy((HcfObjectBase *)generator); in HWTEST_F()
481 generator->base.destroy(nullptr); in HWTEST_F()
499 generator->base.destroy(&g_obj); in HWTEST_F()
931 keyPair->base.destroy((HcfObjectBase *)(&(keyPair->base))); in HWTEST_F()
952 pubKey->base.base.destroy((HcfObjectBase *)(&(pubKey->base.base))); in HWTEST_F()
973 priKey->base.base.destroy((HcfObjectBas in HWTEST_F()
[all...]
/base/sensors/miscdevice/frameworks/native/vibrator/src/
H A Dvibrator_service_client.cpp60 if (decodeHandle_.destroy != nullptr && decodeHandle_.handle != nullptr) { in ~VibratorServiceClient()
61 decodeHandle_.destroy(decodeHandle_.decoder); in ~VibratorServiceClient()
332 decodeHandle_.destroy = reinterpret_cast<void (*)(IVibratorDecoder *)> in LoadDecoderLibrary()
334 if (decodeHandle_.destroy == nullptr) { in LoadDecoderLibrary()
335 MISC_HILOGE("dlsym destroy failed: error: %{public}s", dlerror()); in LoadDecoderLibrary()
359 decodeHandle_.destroy(decodeHandle_.decoder); in PreProcess()
363 decodeHandle_.destroy(decodeHandle_.decoder); in PreProcess()
/base/powermgr/battery_manager/charger/src/dev/
H A Ddrm_driver.cpp324 struct drm_mode_destroy_dumb destroy = {}; in ModesetDestroyFb() local
325 destroy.handle = bo->handle; in ModesetDestroyFb()
326 drmIoctl(fd_, DRM_IOCTL_GEM_CLOSE, &destroy); in ModesetDestroyFb()
/base/security/crypto_framework/plugin/openssl_plugin/key/sym_key_generator/src/
H A Dsym_key_openssl.c280 returnSymmKey->key.key.base.destroy = DestroySymKeySpi; in GenerateSymmKey()
339 returnSymmKey->key.key.base.destroy = DestroySymKeySpi; in ConvertSymmKey()
360 returnGenerator->base.base.destroy = DestroySymKeyGeneratorSpi; in HcfSymKeyGeneratorSpiCreate()
/base/update/updater/services/ui/driver/
H A Ddrm_driver.cpp323 struct drm_mode_destroy_dumb destroy = {}; in ModesetDestroyFb() local
324 destroy.handle = bo->handle; in ModesetDestroyFb()
325 drmIoctl(fd_, DRM_IOCTL_GEM_CLOSE, &destroy); in ModesetDestroyFb()
/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/key_agreement/src/
H A Dx25519_openssl.c96 returnImpl->base.base.destroy = DestroyX25519; in HcfKeyAgreementSpiX25519Create()

Completed in 15 milliseconds

123456789