Home
last modified time | relevance | path

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

123456

/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/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/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/dlp_permission_service/interfaces/inner_api/dlp_fuse/test/unittest/src/
Dfuse_mock.cpp61 void *func = dlsym(g_libfuseHandle, funcName); in GetLibfuseLibFunc() local
75 AddArgsT func = reinterpret_cast<AddArgsT>(GetLibfuseLibFunc(__func__)); in fuse_opt_add_arg() local
92 FreeArgsT func = reinterpret_cast<FreeArgsT>(GetLibfuseLibFunc(__func__)); in fuse_opt_free_args() local
109 NewSessionT func = reinterpret_cast<NewSessionT>(GetLibfuseLibFunc(__func__)); in fuse_session_new() local
126 MountSessionT func = reinterpret_cast<MountSessionT>(GetLibfuseLibFunc(__func__)); in fuse_session_mount() local
143 DestorySessionT func = reinterpret_cast<DestorySessionT>(GetLibfuseLibFunc(__func__)); in fuse_session_destroy() local
160 LoopSessionT func = reinterpret_cast<LoopSessionT>(GetLibfuseLibFunc(__func__)); in fuse_session_loop() local
177 FuseReplyErrT func = reinterpret_cast<FuseReplyErrT>(GetLibfuseLibFunc(__func__)); in fuse_reply_err() local
194 FuseReplyEntryT func = reinterpret_cast<FuseReplyEntryT>(GetLibfuseLibFunc(__func__)); in fuse_reply_entry() local
211 FuseReplyAttrT func = reinterpret_cast<FuseReplyAttrT>(GetLibfuseLibFunc(__func__)); in fuse_reply_attr() 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/msdp/device_status/utils/common/include/
Ddevicestatus_func_callback.h25 auto MsgCallbackBind1(MemberFunType func, ClassType* obj) in MsgCallbackBind1()
31 auto MsgCallbackBind2(MemberFunType func, ClassType* obj) in MsgCallbackBind2()
/base/security/device_auth/services/frameworks/inc/hiview_adapter/
Dhidump_adapter.h22 #define DEV_AUTH_REG_DUMP_FUNC(func) argument
29 #define DEV_AUTH_REG_DUMP_FUNC(func) RegisterDumpFunc(func) argument
/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/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/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
/base/hiviewdfx/hicollie/frameworks/native/test/moduletest/common/
Dxcollie_timeout_test.cpp102 auto func = [this](void *data) { in __anonf06583f00102() variable
134 auto func = [this](void *data) { in __anonf06583f00202() variable
183 auto func = [this](void *data) { in __anonf06583f00302() variable
/base/security/device_security_level/oem_property/ohos/standard/
Ddslm_ohos_credential.c25 const ProcessDslmCredFunctions func = { in Constructor() local
/base/security/device_security_level/oem_property/ohos/lite/
Ddslm_ohos_credential.c25 const ProcessDslmCredFunctions func = { in Constructor() local
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/
Dhisysevent_c.cpp29 int HiSysEventInnerWrite(const char* func, int64_t line, const std::string& domain, const std::stri… in HiSysEventInnerWrite()
43 int HiSysEvent_Write(const char* func, int64_t line, const char* domain, const char* name, in HiSysEvent_Write()
Dwrite_controller.cpp37 const char* func, int64_t line) in CheckLimitWritingEvent()
70 std::string WriteController::ConcatenateInfoAsKey(const char* eventName, const char* func, int64_t … in ConcatenateInfoAsKey() argument
/base/security/device_auth/services/frameworks/src/hiview_adapter/
Dhidump_adapter.c28 void RegisterDumpFunc(DumpCallBack func) in RegisterDumpFunc()
/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_auth/services/group_manager/src/
Dgroup_manager_common.c23 static int32_t InitGroupManagerTask(GroupManagerTask *task, GMTaskParams *taskParams, TaskFunc func) in InitGroupManagerTask()
80 …InitAndPushGMTask(int32_t osAccountId, int32_t opCode, int64_t reqId, CJson *params, TaskFunc func) in InitAndPushGMTask()
/base/telephony/ril_adapter/services/hril/src/
Dhril_timer_callback.cpp69 HRilCallbackFun func, uint8_t *param, const struct timeval *tv) in HRilSetTimerCallbackInfo()
113 …auto func = std::bind(&HRilTimerCallback::FdTriggerCallback, this, std::placeholders::_1, std::pla… in EventLoop() local
/base/request/request/frameworks/js/napi/include/upload/
Djs_util.h30 #define DECLARE_NAPI_METHOD(name, func) { name, 0, func, 0, 0, 0, napi_default, 0 } argument
/base/security/huks/frameworks/huks_standard/main/common/src/
Dhks_ability.c25 int32_t RegisterAbility(uint32_t id, void *func) in RegisterAbility()
/base/powermgr/power_manager/utils/setting/src/
Dsetting_observer.cpp40 void SettingObserver::SetUpdateFunc(UpdateFunc& func) in SetUpdateFunc()
/base/security/certificate_framework/frameworks/ability/src/
Dcf_ability.c23 int32_t RegisterAbility(uint32_t id, CfBase *func) in RegisterAbility()

123456