Home
last modified time | relevance | path

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

12345678910>>...12

/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.c48 Hmac func = (Hmac)GetAbility(HKS_CRYPTO_ABILITY_HMAC); in HksCryptoHalHmac() local
60 HmacInit func = (HmacInit)GetAbility(HKS_CRYPTO_ABILITY_HMAC_INIT); in HksCryptoHalHmacInit() local
73 HmacUpdate func = (HmacUpdate)GetAbility(HKS_CRYPTO_ABILITY_HMAC_UPDATE); in HksCryptoHalHmacUpdate() local
86 HmacFinal func = (HmacFinal)GetAbility(HKS_CRYPTO_ABILITY_HMAC_FINAL); in HksCryptoHalHmacFinal() local
94 FreeCtx func = (FreeCtx)GetAbility(HKS_CRYPTO_ABILITY_HMAC_FREE_CTX); in HksCryptoHalHmacFreeCtx() local
111 CmacInit func = (CmacInit)GetAbility(HKS_CRYPTO_ABILITY_CMAC_INIT); in HksCryptoHalCmacInit() local
124 CmacUpdate func = (CmacUpdate)GetAbility(HKS_CRYPTO_ABILITY_CMAC_UPDATE); in HksCryptoHalCmacUpdate() local
138 CmacFinal func = (CmacFinal)GetAbility(HKS_CRYPTO_ABILITY_CMAC_FINAL); in HksCryptoHalCmacFinal() local
146 FreeCtx func = (FreeCtx)GetAbility(HKS_CRYPTO_ABILITY_CMAC_FREE_CTX); in HksCryptoHalCmacFreeCtx() local
159 Hash func = (Hash)GetAbility(HKS_CRYPTO_ABILITY_HASH); in HksCryptoHalHash() local
[all …]
/base/security/access_token/interfaces/innerkits/nativetoken/test/mock/src/
DcJSON.c64 cJSON* (*func)(const cJSON* const object, const char* const string); in cJSON_GetObjectItem() local
79 cJSON_bool (*func)(const cJSON* const item); in cJSON_IsNumber() local
97 cJSON_bool (*func)(const cJSON* const item); in cJSON_IsString() local
144 cJSON* (*func)(void); in cJSON_CreateArray() local
164 cJSON* (*func)(void); in cJSON_CreateObject() local
186 cJSON* (*func)(double num); in cJSON_CreateNumber() local
211 cJSON* (*func)(const char *string); in cJSON_CreateString() local
231 cJSON_bool (*func)(cJSON* array, cJSON* item); in cJSON_AddItemToArray() local
246 void (*func)(cJSON* item); in cJSON_Delete() local
269 cJSON_bool (*func)(cJSON*object, const char *string, cJSON* item); in cJSON_AddItemToObject() local
[all …]
/base/security/device_auth/services/frameworks/inc/hiview_adapter/
Dhidump_adapter.h31 #define DEV_AUTH_REG_DUMP_FUNC(func) argument
32 #define DEV_AUTH_REG_CRED_DUMP_FUNC(func) argument
33 #define DEV_AUTH_REG_PERFORM_DUMP_FUNC(func) argument
38 #define DEV_AUTH_REG_DUMP_FUNC(func) RegisterDumpFunc(func) argument
39 #define DEV_AUTH_REG_CRED_DUMP_FUNC(func) RegisterCredDumpFunc(func) argument
40 #define DEV_AUTH_REG_PERFORM_DUMP_FUNC(func) RegisterPerformDumpFunc(func) argument
/base/telephony/call_manager/services/antifraud/src/
Danonymize_adapter.cpp58 PfnInitConfig func = reinterpret_cast<PfnInitConfig>(dlsym(libAnonymize_, "DIA_InitConfig")); in InitConfig() local
74 PfnSetRule func = reinterpret_cast<PfnSetRule>(dlsym(libAnonymize_, "DIA_SetRule")); in SetRule() local
90 …PfnCreateAnonymize func = reinterpret_cast<PfnCreateAnonymize>(dlsym(libAnonymize_, "DIA_CreateAno… in CreateAnonymize() local
106 …PfnIdentifyAnonymize func = reinterpret_cast<PfnIdentifyAnonymize>(dlsym(libAnonymize_, "DIA_Ident… in IdentifyAnonymize() local
122 …PfnReleaseConfig func = reinterpret_cast<PfnReleaseConfig>(dlsym(libAnonymize_, "DIA_ReleaseConfig… in ReleaseConfig() local
138 …PfnReleaseAonoymize func = reinterpret_cast<PfnReleaseAonoymize>(dlsym(libAnonymize_, "DIA_Release… in ReleaseAnonymize() local
154 …PfnReleaseOutputData func = reinterpret_cast<PfnReleaseOutputData>(dlsym(libAnonymize_, "DIA_Relea… in ReleaseOutputData() local
Dantifraud_adapter.cpp59 PfnAntiFraudVoiceCheck func = in CheckAntiFraud() local
77 PfnAntiFraudVoiceDetect func = in DetectAntiFraud() local
94 PfnStopAntiFraudVoiceDetect func = in StopAntiFraud() local
/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/startup/init/test/mock/libs/src/
Dfunc_wrapper.cpp25 void UpdateStrdupFunc(StrdupFunc func) in UpdateStrdupFunc()
41 void UpdateMallocFunc(MallocFunc func) in UpdateMallocFunc()
57 void UpdateStrncatSFunc(StrncatSFunc func) in UpdateStrncatSFunc()
73 void UpdateMkdirFunc(MkdirFunc func) in UpdateMkdirFunc()
89 void UpdateMountFunc(MountFunc func) in UpdateMountFunc()
106 void UpdateStatFunc(StatFunc func) in UpdateStatFunc()
122 void UpdateSnprintfSFunc(SnprintfSFunc func) in UpdateSnprintfSFunc()
143 void UpdateOpenFunc(OpenFunc func) in UpdateOpenFunc()
159 void UpdateCloseFunc(CloseFunc func) in UpdateCloseFunc()
175 void UpdateStrcpySFunc(StrcpySFunc func) in UpdateStrcpySFunc()
[all …]
/base/startup/init/test/mock/init/fs_manager/
Dfs_dm_mock.c25 void UpdateFsdminitdmdevFunc(FsdminitdmdevFunc func) in UpdateFsdminitdmdevFunc()
41 void UpdateFsdmcreatedeviceFunc(FsdmcreatedeviceFunc func) in UpdateFsdmcreatedeviceFunc()
57 void UpdateFsdmremovedeviceFunc(FsdmremovedeviceFunc func) in UpdateFsdmremovedeviceFunc()
73 void UpdateLoaddmdevicetableFunc(LoaddmdevicetableFunc func) in UpdateLoaddmdevicetableFunc()
89 void UpdateDmgetdevicenameFunc(DmgetdevicenameFunc func) in UpdateDmgetdevicenameFunc()
105 void UpdateActivedmdeviceFunc(ActivedmdeviceFunc func) in UpdateActivedmdeviceFunc()
121 void UpdateInitdmioFunc(InitdmioFunc func) in UpdateInitdmioFunc()
137 void UpdateCreatedmdevFunc(CreatedmdevFunc func) in UpdateCreatedmdevFunc()
153 void UpdateGetdmdevpathFunc(GetdmdevpathFunc func) in UpdateGetdmdevpathFunc()
169 void UpdateGetdmstatusinfoFunc(GetdmstatusinfoFunc func) in UpdateGetdmstatusinfoFunc()
/base/security/access_token/interfaces/inner_api/el5filekeymanager/src/
Del5_filekey_manager_client.cpp50 …std::function<int32_t(sptr<El5FilekeyManagerInterface> &)> func = [&](sptr<El5FilekeyManagerInterf… in AcquireAccess() local
58 …std::function<int32_t(sptr<El5FilekeyManagerInterface> &)> func = [&](sptr<El5FilekeyManagerInterf… in ReleaseAccess() local
66 …std::function<int32_t(sptr<El5FilekeyManagerInterface> &)> func = [&](sptr<El5FilekeyManagerInterf… in GenerateAppKey() local
74 …std::function<int32_t(sptr<El5FilekeyManagerInterface> &)> func = [&](sptr<El5FilekeyManagerInterf… in DeleteAppKey() local
84 …std::function<int32_t(sptr<El5FilekeyManagerInterface> &)> func = [&](sptr<El5FilekeyManagerInterf… in GetUserAppKey() local
101 …std::function<int32_t(sptr<El5FilekeyManagerInterface> &)> func = [&](sptr<El5FilekeyManagerInterf… in ChangeUserAppkeysLoadInfo() local
109 …std::function<int32_t(sptr<El5FilekeyManagerInterface> &)> func = [&](sptr<El5FilekeyManagerInterf… in SetFilePathPolicy() local
117 …std::function<int32_t(sptr<El5FilekeyManagerInterface> &)> func = [&](sptr<El5FilekeyManagerInterf… in RegisterCallback() local
125 …std::function<int32_t(sptr<El5FilekeyManagerInterface> &)> func = [&](sptr<El5FilekeyManagerInterf… in GenerateGroupIDKey() local
133 …std::function<int32_t(sptr<El5FilekeyManagerInterface> &)> func = [&](sptr<El5FilekeyManagerInterf… in DeleteGroupIDKey() local
[all …]
/base/accesscontrol/sandbox_manager/frameworks/inner_api/sandbox_manager/src/
Dsandbox_manager_client.cpp64 std::function<int32_t(sptr<ISandboxManager> &)> func = in CleanPersistPolicyByPath() local
71 std::function<int32_t(sptr<ISandboxManager> &)> func = in CleanPolicyByUserId() local
84 std::function<int32_t(sptr<ISandboxManager> &)> func = [&](sptr<ISandboxManager> &proxy) { in SetPolicyByBundleName() local
100 std::function<int32_t(sptr<ISandboxManager> &)> func = in PersistPolicy() local
115 std::function<int32_t(sptr<ISandboxManager> &)> func = in UnPersistPolicy() local
131 std::function<int32_t(sptr<ISandboxManager> &)> func = [&](sptr<ISandboxManager> &proxy) { in PersistPolicyByTokenId() local
148 std::function<int32_t(sptr<ISandboxManager> &)> func = [&](sptr<ISandboxManager> &proxy) { in UnPersistPolicyByTokenId() local
167 std::function<int32_t(sptr<ISandboxManager> &)> func = [&](sptr<ISandboxManager> &proxy) { in SetPolicy() local
182 std::function<int32_t(sptr<ISandboxManager> &)> func = in UnSetPolicy() local
192 std::function<int32_t(sptr<ISandboxManager> &)> func = [&](sptr<ISandboxManager> &proxy) { in SetPolicyAsync() local
[all …]
/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/web/webview/ohos_interface/ohos_glue/scripts/
Dmake_ctocpp_impl.py27 def ctocpp_make_impl_proto(cls, func): argument
43 def verify_ctocpp_func_args(func, retval_default): argument
67 def restore_ctocpp_func_args(func): argument
97 def translate_ctocpp_func_args(func): argument
178 def ctocpp_get_static_funcion(cls, func, suffix, dir_name, retval_default): argument
203 def ctocpp_get_virtual_funcion(cls, func, suffix, dir_name, macro_retval_default): argument
249 def ctocpp_make_function_impl(cls, func, suffix, dir_name): argument
Dmake_cpptoc_impl.py27 def make_cpptoc_impl_proto(name, func, parts, flag): argument
39 def verify_cpptoc_func_args(func, retval_default, macro_retval_default): argument
70 def restore_cpptoc_func_args(func): argument
102 def translate_cpptoc_func_args(func): argument
167 def make_cpptoc_function_impl(cls, name, func, defined_names): argument
Dmake_file_base.py149 def get_func_hash_name(func, prefix): argument
196 def get_func_pointer_name(cls, func, prefix, suffix): argument
208 def get_func_variable_name(func, suffix): argument
222 def get_func_invalid_info(name, func): argument
/base/inputmethod/imf/test/fuzztest/settingsdatautils_fuzzer/
Dsettingsdatautils_fuzzer.cpp36 const std::string &uriProxy, const std::string &key, SettingsDataObserver::CallbackFunc func) in FuzzCreateAndRegisterObserver()
41 …rver(const std::string &uriProxy, const std::string &key, SettingsDataObserver::CallbackFunc &func) in FuzzRegisterObserver()
48 const std::string &uriProxy, const std::string &key, SettingsDataObserver::CallbackFunc &func) in FuzzUnregisterObserver()
71 SettingsDataObserver::CallbackFunc func; in LLVMFuzzerTestOneInput() local
/base/security/device_auth/services/frameworks/src/hiview_adapter/
Dhidump_adapter.c55 void RegisterDumpFunc(DumpCallBack func) in RegisterDumpFunc()
60 void RegisterCredDumpFunc(CredDumpCallBack func) in RegisterCredDumpFunc()
65 void RegisterPerformDumpFunc(PerformanceDumpCallBack func) in RegisterPerformDumpFunc()
/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/powermgr/power_manager/services/native/src/setting/
Dsetting_helper.cpp141 const std::string& key, SettingObserver::UpdateFunc& func) in RegisterSettingKeyObserver()
185 void SettingHelper::RegisterSettingWakeupPickupObserver(SettingObserver::UpdateFunc& func) in RegisterSettingWakeupPickupObserver()
231 …er> SettingHelper::RegisterSettingDisplayAcScreenOffTimeObserver(SettingObserver::UpdateFunc& func) in RegisterSettingDisplayAcScreenOffTimeObserver()
256 …er> SettingHelper::RegisterSettingDisplayDcScreenOffTimeObserver(SettingObserver::UpdateFunc& func) in RegisterSettingDisplayDcScreenOffTimeObserver()
288 …ngObserver> SettingHelper::RegisterSettingDisplayOffTimeObserver(SettingObserver::UpdateFunc& func) in RegisterSettingDisplayOffTimeObserver()
309 …rver> SettingHelper::RegisterSettingAutoAdjustBrightnessObserver(SettingObserver::UpdateFunc& func) in RegisterSettingAutoAdjustBrightnessObserver()
339 …SettingObserver> SettingHelper::RegisterSettingVibrationObserver(SettingObserver::UpdateFunc& func) in RegisterSettingVibrationObserver()
359 …ngObserver> SettingHelper::RegisterSettingWindowRotationObserver(SettingObserver::UpdateFunc& func) in RegisterSettingWindowRotationObserver()
379 …ttingObserver> SettingHelper::RegisterSettingIntellVoiceObserver(SettingObserver::UpdateFunc& func) in RegisterSettingIntellVoiceObserver()
385 …Observer> SettingHelper::RegisterSettingAcSuspendSourcesObserver(SettingObserver::UpdateFunc& func) in RegisterSettingAcSuspendSourcesObserver()
[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/tee/tee_os_framework/sample/teed/src/
Dteed_helpers.S20 func teed_enter_sp label
46 func teed_exit_sp label
/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/startup/init/test/unittest/single_test/fstab_mount/src/
Dfstab_mount_test.cpp136 StrdupFunc func = [](const char *path) -> char * variable
150 MallocFunc func = [](size_t size) -> void* { in __anonb65c97420202() variable
164 … StrncatSFunc func = [](char * strDest, size_t destMax, const char * strSrc, size_t count) -> int { in __anonb65c97420302() variable
180 StrncatSFunc func = [](char *, size_t, const char *, size_t) -> int { in __anonb65c97420402() variable
191 StatFunc func = [](const char* path, struct stat *) -> int { in __anonb65c97420502() variable
202 StatFunc func = [](const char* path, struct stat *) -> int { in __anonb65c97420602() variable
223 StatFunc func = [](const char* path, struct stat *) -> int { in __anonb65c97420802() variable
/base/inputmethod/imf/frameworks/native/inputmethod_ability/src/
Dtask_manager.cpp50 auto func = [this, task]() { OnNewTask(task); }; in PostTask() local
57 auto func = [=] { in ProcessAsync() local
81 int32_t TaskManager::Pend(std::function<void()> func) in Pend()
86 int32_t TaskManager::WaitExec(uint64_t seqId, uint32_t timeoutMs, std::function<void()> func) in WaitExec()

12345678910>>...12