Home
last modified time | relevance | path

Searched defs:func (Results 1 – 25 of 186) sorted by relevance

12345678

/base/security/dlp_permission_service/frameworks/test/mock/
Dopenssl_mock.cpp77 RandBytesFunc func = reinterpret_cast<RandBytesFunc>(GetOpensslLibFunc("RAND_bytes")); in RAND_bytes() local
90 EvpAes128Ctr func = reinterpret_cast<EvpAes128Ctr>(GetOpensslLibFunc("EVP_aes_128_ctr")); in EVP_aes_128_ctr() local
103 EvpAes192Ctr func = reinterpret_cast<EvpAes192Ctr>(GetOpensslLibFunc("EVP_aes_192_ctr")); in EVP_aes_192_ctr() local
116 EvpAes256Ctr func = reinterpret_cast<EvpAes256Ctr>(GetOpensslLibFunc("EVP_aes_256_ctr")); in EVP_aes_256_ctr() local
129 ErrGetError func = reinterpret_cast<ErrGetError>(GetOpensslLibFunc("ERR_get_error")); in ERR_get_error() local
142 … ErrErrorStringN func = reinterpret_cast<ErrErrorStringN>(GetOpensslLibFunc("ERR_error_string_n")); in ERR_error_string_n() local
155 … EvpCipherCtxNew func = reinterpret_cast<EvpCipherCtxNew>(GetOpensslLibFunc("EVP_CIPHER_CTX_new")); in EVP_CIPHER_CTX_new() local
169 …EvpEncryptInitEx func = reinterpret_cast<EvpEncryptInitEx>(GetOpensslLibFunc("EVP_EncryptInit_ex")… in EVP_EncryptInit_ex() local
183 …EvpDecryptInitEx func = reinterpret_cast<EvpDecryptInitEx>(GetOpensslLibFunc("EVP_DecryptInit_ex")… in EVP_DecryptInit_ex() local
196 …EvpCipherCtxFree func = reinterpret_cast<EvpCipherCtxFree>(GetOpensslLibFunc("EVP_CIPHER_CTX_free"… in EVP_CIPHER_CTX_free() local
[all …]
Dfile_io_mock.cpp37 LseekFuncT func = reinterpret_cast<LseekFuncT>(dlsym(RTLD_NEXT, "lseek")); in lseek() local
50 WriteFuncT func = reinterpret_cast<WriteFuncT>(dlsym(RTLD_NEXT, "write")); in write() local
63 FtruncateFuncT func = reinterpret_cast<FtruncateFuncT>(dlsym(RTLD_NEXT, "ftruncate")); in ftruncate() local
77 MemcpyFuncT func = reinterpret_cast<MemcpyFuncT>(dlsym(RTLD_NEXT, "memcpy_s")); in memcpy_s() local
/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/
Dhks_mbedtls_engine.c47 Hmac func = (Hmac)GetAbility(HKS_CRYPTO_ABILITY_HMAC); in HksCryptoHalHmac() local
59 HmacInit func = (HmacInit)GetAbility(HKS_CRYPTO_ABILITY_HMAC_INIT); in HksCryptoHalHmacInit() local
72 HmacUpdate func = (HmacUpdate)GetAbility(HKS_CRYPTO_ABILITY_HMAC_UPDATE); in HksCryptoHalHmacUpdate() local
85 HmacFinal func = (HmacFinal)GetAbility(HKS_CRYPTO_ABILITY_HMAC_FINAL); in HksCryptoHalHmacFinal() local
93 FreeCtx func = (FreeCtx)GetAbility(HKS_CRYPTO_ABILITY_HMAC_FREE_CTX); in HksCryptoHalHmacFreeCtx() local
105 Hash func = (Hash)GetAbility(HKS_CRYPTO_ABILITY_HASH); in HksCryptoHalHash() local
112 HashInit func = (HashInit)GetAbility(HKS_CRYPTO_ABILITY_HASH_INIT); in HksCryptoHalHashInit() local
125 HashUpdate func = (HashUpdate)GetAbility(HKS_CRYPTO_ABILITY_HASH_UPDATE); in HksCryptoHalHashUpdate() local
138 HashFinal func = (HashFinal)GetAbility(HKS_CRYPTO_ABILITY_HASH_FINAL); in HksCryptoHalHashFinal() local
146 FreeCtx func = (FreeCtx)GetAbility(HKS_CRYPTO_ABILITY_HASH_FREE_CTX); in HksCryptoHalHashFreeCtx() local
[all …]
/base/security/access_token/interfaces/innerkits/nativetoken/test/mock/src/
DcJSON.c68 cJSON* (*func)(const cJSON* const object, const char* const string); in cJSON_GetObjectItem() local
83 cJSON_bool (*func)(const cJSON* const item); in cJSON_IsNumber() local
101 cJSON_bool (*func)(const cJSON* const item); in cJSON_IsString() local
148 cJSON* (*func)(void); in cJSON_CreateArray() local
168 cJSON* (*func)(void); in cJSON_CreateObject() local
190 cJSON* (*func)(double num); in cJSON_CreateNumber() local
215 cJSON* (*func)(const char *string); in cJSON_CreateString() local
235 cJSON_bool (*func)(cJSON* array, cJSON* item); in cJSON_AddItemToArray() local
250 void (*func)(cJSON* item); in cJSON_Delete() local
273 cJSON_bool (*func)(cJSON*object, const char *string, cJSON* item); in cJSON_AddItemToObject() local
[all …]
/base/security/dlp_permission_service/interfaces/inner_api/dlp_fuse/test/unittest/src/
Dfuse_mock.cpp56 void *func = dlsym(g_libfuseHandle, funcName); in GetLibfuseLibFunc() local
70 AddArgsT func = reinterpret_cast<AddArgsT>(GetLibfuseLibFunc(__func__)); in fuse_opt_add_arg() local
87 FreeArgsT func = reinterpret_cast<FreeArgsT>(GetLibfuseLibFunc(__func__)); in fuse_opt_free_args() local
104 NewSessionT func = reinterpret_cast<NewSessionT>(GetLibfuseLibFunc(__func__)); in fuse_session_new() local
121 MountSessionT func = reinterpret_cast<MountSessionT>(GetLibfuseLibFunc(__func__)); in fuse_session_mount() local
138 DestorySessionT func = reinterpret_cast<DestorySessionT>(GetLibfuseLibFunc(__func__)); in fuse_session_destroy() local
155 LoopSessionT func = reinterpret_cast<LoopSessionT>(GetLibfuseLibFunc(__func__)); in fuse_session_loop() local
172 FuseReplyErrT func = reinterpret_cast<FuseReplyErrT>(GetLibfuseLibFunc(__func__)); in fuse_reply_err() local
189 FuseReplyEntryT func = reinterpret_cast<FuseReplyEntryT>(GetLibfuseLibFunc(__func__)); in fuse_reply_entry() local
206 FuseReplyAttrT func = reinterpret_cast<FuseReplyAttrT>(GetLibfuseLibFunc(__func__)); in fuse_reply_attr() local
[all …]
/base/accesscontrol/sandbox_manager/interfaces/innerkits/sandbox_manager/src/
Dsandbox_manager_client.cpp57 std::function<int32_t(sptr<ISandboxManager> &)> func = in CleanPersistPolicyByPath() local
64 std::function<int32_t(sptr<ISandboxManager> &)> func = in PersistPolicy() local
71 std::function<int32_t(sptr<ISandboxManager> &)> func = in UnPersistPolicy() local
79 std::function<int32_t(sptr<ISandboxManager> &)> func = in PersistPolicyByTokenId() local
87 std::function<int32_t(sptr<ISandboxManager> &)> func = in UnPersistPolicyByTokenId() local
95 std::function<int32_t(sptr<ISandboxManager> &)> func = in SetPolicy() local
102 std::function<int32_t(sptr<ISandboxManager> &)> func = in UnSetPolicy() local
110 std::function<int32_t(sptr<ISandboxManager> &)> func = in SetPolicyAsync() local
117 std::function<int32_t(sptr<ISandboxManager> &)> func = in UnSetPolicyAsync() local
125 std::function<int32_t(sptr<ISandboxManager> &)> func = in CheckPolicy() local
[all …]
/base/security/device_auth/services/frameworks/inc/hiview_adapter/
Dhidump_adapter.h30 #define DEV_AUTH_REG_DUMP_FUNC(func) argument
31 #define DEV_AUTH_REG_PERFORM_DUMP_FUNC(func) argument
36 #define DEV_AUTH_REG_DUMP_FUNC(func) RegisterDumpFunc(func) argument
37 #define DEV_AUTH_REG_PERFORM_DUMP_FUNC(func) RegisterPerformDumpFunc(func) argument
/base/inputmethod/imf/test/fuzztest/settingsdatautils_fuzzer/
Dsettingsdatautils_fuzzer.cpp35 void FuzzCreateAndRegisterObserver(const std::string &key, SettingsDataObserver::CallbackFunc func) in FuzzCreateAndRegisterObserver()
40 void FuzzRegisterObserver(const std::string &key, SettingsDataObserver::CallbackFunc &func) in FuzzRegisterObserver()
46 void FuzzUnregisterObserver(const std::string &key, SettingsDataObserver::CallbackFunc &func) in FuzzUnregisterObserver()
63 SettingsDataObserver::CallbackFunc func; in LLVMFuzzerTestOneInput() local
/base/web/webview/ohos_interface/ohos_glue/scripts/
Dmake_ctocpp_impl.py26 def make_ctocpp_impl_proto(clsname, name, func, parts): argument
41 def verify_ctocpp_func_args(func, retval_default): argument
64 def restore_ctocpp_func_args(func): argument
93 def translate_ctocpp_func_args(func): argument
170 def load_ctocpp_static_func(dir_name, clsname, name, func, suffix): argument
191 def make_ctocpp_function_impl_new(dir_name, clsname, name, func, suffix): argument
Dmake_cpptoc_impl.py26 def make_cpptoc_impl_proto(name, func, parts, flag): argument
37 def verify_cpptoc_func_args(func, retval_default, macro_retval_default): argument
68 def restore_cpptoc_func_args(func): argument
99 def translate_cpptoc_func_args(func): argument
163 def make_cpptoc_function_impl_new(cls, name, func, defined_names): argument
/base/security/huks/interfaces/inner_api/huks_standard/main/include/
Dhuks_hdi.h51 #define HDI_CONVERTER_FUNC_GENERATEKEY(keyAlias, paramSet, keyIn, keyOut, ret, func) \ argument
66 #define HDI_CONVERTER_FUNC_IMPORTKEY(keyAlias, key, paramSet, keyOut, ret, func) \ argument
81 …VERTER_FUNC_IMPORTWRAPPEDKEY(wrappedKeyAlias, key, wrappedKeyData, paramSet, keyOut, ret, func) \ argument
99 #define HDI_CONVERTER_FUNC_EXPORTPUBLICKEY(key, paramSet, keyOut, ret, func) \ argument
111 #define HDI_CONVERTER_FUNC_INIT(key, paramSet, handle, token, ret, func) \ argument
127 #define HDI_CONVERTER_FUNC_UPDATE(handle, paramSet, inData, outData, ret, func) \ argument
142 #define HDI_CONVERTER_FUNC_FINISH(handle, paramSet, inData, outData, ret, func) \ argument
157 #define HDI_CONVERTER_FUNC_ABORT(handle, paramSet, ret, func) \ argument
165 #define HDI_CONVERTER_FUNC_CHECKKEYVALIDITY(paramSet, key, ret, func) \ argument
173 #define HDI_CONVERTER_FUNC_ATTESTKEY(key, paramSet, certChain, ret, func) \ argument
[all …]
/base/security/access_token/interfaces/innerkits/el5filekeymanager/src/
Del5_filekey_manager_client.cpp47 …std::function<int32_t(sptr<El5FilekeyManagerInterface> &)> func = [&](sptr<El5FilekeyManagerInterf… in AcquireAccess() local
55 …std::function<int32_t(sptr<El5FilekeyManagerInterface> &)> func = [&](sptr<El5FilekeyManagerInterf… in ReleaseAccess() local
63 …std::function<int32_t(sptr<El5FilekeyManagerInterface> &)> func = [&](sptr<El5FilekeyManagerInterf… in GenerateAppKey() local
71 …std::function<int32_t(sptr<El5FilekeyManagerInterface> &)> func = [&](sptr<El5FilekeyManagerInterf… in DeleteAppKey() local
80 …std::function<int32_t(sptr<El5FilekeyManagerInterface> &)> func = [&](sptr<El5FilekeyManagerInterf… in GetUserAppKey() local
89 …std::function<int32_t(sptr<El5FilekeyManagerInterface> &)> func = [&](sptr<El5FilekeyManagerInterf… in ChangeUserAppkeysLoadInfo() local
97 …std::function<int32_t(sptr<El5FilekeyManagerInterface> &)> func = [&](sptr<El5FilekeyManagerInterf… in SetFilePathPolicy() local
105 …std::function<int32_t(sptr<El5FilekeyManagerInterface> &)> func = [&](sptr<El5FilekeyManagerInterf… in RegisterCallback() local
140 const std::function<int32_t(sptr<El5FilekeyManagerInterface> &)> &func, const char *funcName) in CallProxyWithRetry()
/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/
Dhks_openssl_engine.c205 PubKey func = (PubKey)GetAbility(HKS_CRYPTO_ABILITY_GET_PUBLIC_KEY(key->keyAlg)); in HksCryptoHalGetPubKey() local
218 Hmac func = (Hmac)GetAbility(HKS_CRYPTO_ABILITY_HMAC); in HksCryptoHalHmac() local
230 HmacInit func = (HmacInit)GetAbility(HKS_CRYPTO_ABILITY_HMAC_INIT); in HksCryptoHalHmacInit() local
243 HmacUpdate func = (HmacUpdate)GetAbility(HKS_CRYPTO_ABILITY_HMAC_UPDATE); in HksCryptoHalHmacUpdate() local
256 HmacFinal func = (HmacFinal)GetAbility(HKS_CRYPTO_ABILITY_HMAC_FINAL); in HksCryptoHalHmacFinal() local
264 FreeCtx func = (FreeCtx)GetAbility(HKS_CRYPTO_ABILITY_HMAC_FREE_CTX); in HksCryptoHalHmacFreeCtx() local
275 Hash func = (Hash)GetAbility(HKS_CRYPTO_ABILITY_HASH); in HksCryptoHalHash() local
282 HashInit func = (HashInit)GetAbility(HKS_CRYPTO_ABILITY_HASH_INIT); in HksCryptoHalHashInit() local
300 HashFinal func = (HashFinal)GetAbility(HKS_CRYPTO_ABILITY_HASH_FINAL); in HksCryptoHalHashFinal() local
308 FreeCtx func = (FreeCtx)GetAbility(HKS_CRYPTO_ABILITY_HASH_FREE_CTX); in HksCryptoHalHashFreeCtx() local
[all …]
/base/security/device_auth/frameworks/deviceauth_lite/source/log/
Dlog.c78 static void hc_logd(const char *tag, const char *func, const char *format, ...) in hc_logd()
85 static void hc_logi(const char *tag, const char *func, const char *format, ...) in hc_logi()
92 static void hc_logw(const char *tag, const char *func, const char *format, ...) in hc_logw()
99 static void hc_loge(const char *tag, const char *func, const char *format, ...) in hc_loge()
/base/update/updater/resources/rk3568/pages/
Drk3568.json112 "func" : "OnLabelResetEvt" string
118 "func" : "OnLabelResetEvt" string
124 "func" : "OnRebootEvt" string
130 "func" : "OnRebootEvt" string
136 "func" : "OnMenuShutdownEvt" string
142 "func" : "OnLabelCancelEvt" string
148 "func" : "OnLabelSDCardNoDelayEvt" string
154 "func" : "OnConfirmRstEvt" string
160 "func" : "OnRebootEvt" string
166 "func" : "OnReturnToMainEvt" string
/base/security/device_auth/services/frameworks/src/hiview_adapter/
Dhidump_adapter.c50 void RegisterDumpFunc(DumpCallBack func) in RegisterDumpFunc()
55 void RegisterPerformDumpFunc(PerformanceDumpCallBack func) in RegisterPerformDumpFunc()
/base/security/security_component_manager/interfaces/inner_api/security_component/test/unittest/src/
Dsec_comp_register_callback_test.cpp221 OnFirstUseDialogCloseFunc func = [] (int32_t) {}; in __anonc61b181b0202() variable
256 OnFirstUseDialogCloseFunc func = [] (int32_t) {}; in __anonc61b181b0302() variable
308 OnFirstUseDialogCloseFunc func = [] (int32_t) {}; in __anonc61b181b0402() variable
347 OnFirstUseDialogCloseFunc func = [] (int32_t) {}; in __anonc61b181b0502() variable
382 OnFirstUseDialogCloseFunc func = [] (int32_t) {}; in __anonc61b181b0602() variable
420 OnFirstUseDialogCloseFunc func = nullptr; variable
457 OnFirstUseDialogCloseFunc func = [] (int32_t) {}; in __anonc61b181b0702() variable
494 OnFirstUseDialogCloseFunc func = [] (int32_t) {}; in __anonc61b181b0802() variable
534 OnFirstUseDialogCloseFunc func = [] (int32_t) {}; in __anonc61b181b0902() variable
569 OnFirstUseDialogCloseFunc func = [] (int32_t) {}; in __anonc61b181b0a02() variable
Dsec_comp_kit_test.cpp43 OnFirstUseDialogCloseFunc func = [] (int32_t) {}; in TestInCallerNotCheckList() local
58 OnFirstUseDialogCloseFunc func = [] (int32_t) {}; in TestInCallerCheckList() local
128 OnFirstUseDialogCloseFunc func = nullptr; variable
/base/hiviewdfx/hicollie/frameworks/native/test/moduletest/common/
Dxcollie_timeout_test.cpp102 auto func = [this](void *data) { in __anonf30e25900102() variable
134 auto func = [this](void *data) { in __anonf30e25900202() variable
183 auto func = [this](void *data) { in __anonf30e25900302() variable
/base/powermgr/power_manager/services/native/src/setting/
Dsetting_helper.cpp74 void SettingHelper::RegisterSettingWakeupPickupObserver(SettingObserver::UpdateFunc& func) in RegisterSettingWakeupPickupObserver()
128 …ngObserver> SettingHelper::RegisterSettingDisplayOffTimeObserver(SettingObserver::UpdateFunc& func) in RegisterSettingDisplayOffTimeObserver()
166 …rver> SettingHelper::RegisterSettingAutoAdjustBrightnessObserver(SettingObserver::UpdateFunc& func) in RegisterSettingAutoAdjustBrightnessObserver()
218 …SettingObserver> SettingHelper::RegisterSettingVibrationObserver(SettingObserver::UpdateFunc& func) in RegisterSettingVibrationObserver()
255 …ngObserver> SettingHelper::RegisterSettingWindowRotationObserver(SettingObserver::UpdateFunc& func) in RegisterSettingWindowRotationObserver()
292 …ttingObserver> SettingHelper::RegisterSettingIntellVoiceObserver(SettingObserver::UpdateFunc& func) in RegisterSettingIntellVoiceObserver()
304 …ngObserver> SettingHelper::RegisterSettingSuspendSourcesObserver(SettingObserver::UpdateFunc& func) in RegisterSettingSuspendSourcesObserver()
342 …ingObserver> SettingHelper::RegisterSettingWakeupSourcesObserver(SettingObserver::UpdateFunc& func) in RegisterSettingWakeupSourcesObserver()
408 void SettingHelper::RegisterSettingWakeupDoubleObserver(SettingObserver::UpdateFunc& func) in RegisterSettingWakeupDoubleObserver()
464 void SettingHelper::RegisterSettingPowerModeObserver(SettingObserver::UpdateFunc& func) in RegisterSettingPowerModeObserver()
[all …]
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/
Dhisysevent_c.cpp31 int HiSysEventInnerWrite(const char* func, int64_t line, const std::string& domain, const std::stri… in HiSysEventInnerWrite()
45 int HiSysEvent_Write(const char* func, int64_t line, const char* domain, const char* name, in HiSysEvent_Write()
/base/hiviewdfx/hievent_lite/frameworks/
Dhiview_event.c178 void HiEventRegisterProc(HieventProc func) in HiEventRegisterProc()
183 void HiEventUnRegisterProc(HieventProc func) in HiEventUnRegisterProc()
188 void HiEventFileAddWatcher(uint8 type, FileProc func, const char *path) in HiEventFileAddWatcher()
193 void HiEventFileRemoveWatcher(uint8 type, FileProc func) in HiEventFileRemoveWatcher()
/base/hiviewdfx/hilog_lite/frameworks/mini/
Dhiview_log.c191 void HiLogRegisterProc(HilogProc func) in HiLogRegisterProc()
196 void HiLogUnRegisterProc(HilogProc func) in HiLogUnRegisterProc()
201 void HiLogFileAddWatcher(FileProc func, const char *path) in HiLogFileAddWatcher()
206 void HiLogFileRemoveWatcher(FileProc func) in HiLogFileRemoveWatcher()
/base/security/device_security_level/oem_property/ohos/lite/
Ddslm_ohos_credential.c29 const ProcessDslmCredFunctions func = { in Constructor() local
/base/security/device_security_level/oem_property/ohos/standard/
Ddslm_ohos_credential.c25 const ProcessDslmCredFunctions func = { in Constructor() local

12345678