| /base/hiviewdfx/faultloggerd/test/resource/testdata/ |
| D | syms_from_readelf_32 | 5 1: 00000000 0 FUNC WEAK DEFAULT UND __cxa_finalize@GLIBC_2.1.3 (2) 6 2: 00000000 0 FUNC GLOBAL DEFAULT UND _ZNSaIcED2Ev@GLIBCXX_3.4 (3) 7 3: 00000000 0 FUNC GLOBAL DEFAULT UND _ZNSt7__cxx1112basic_stri@GLIBCXX_3.4.21 (4) 8 4: 00000000 0 FUNC GLOBAL DEFAULT UND __cxa_begin_catch@CXXABI_1.3 (5) 9 5: 00000000 0 FUNC GLOBAL DEFAULT UND _ZNSt7__cxx1112basic_stri@GLIBCXX_3.4.21 (4) 10 6: 00000000 0 FUNC GLOBAL DEFAULT UND __cxa_atexit@GLIBC_2.1.3 (2) 11 7: 00000000 0 FUNC GLOBAL DEFAULT UND _ZSt19__throw_logic_error@GLIBCXX_3.4 (3) 12 8: 00000000 0 FUNC GLOBAL DEFAULT UND _ZNSt7__cxx1112basic_stri@GLIBCXX_3.4.21 (4) 13 9: 00000000 0 FUNC GLOBAL DEFAULT UND _ZNSt7__cxx1112basic_stri@GLIBCXX_3.4.21 (4) 14 10: 00000000 0 FUNC GLOBAL DEFAULT UND _ZNSt7__cxx1112basic_stri@GLIBCXX_3.4.21 (4) [all …]
|
| D | syms_from_readelf_64 | 5 1: 0000000000000000 0 FUNC GLOBAL DEFAULT UND _ZNSaIcED2Ev@GLIBCXX_3.4 (2) 6 … 2: 0000000000000000 0 FUNC GLOBAL DEFAULT UND _ZNSt7__cxx1112basic_stri@GLIBCXX_3.4.21 (3) 7 3: 0000000000000000 0 FUNC GLOBAL DEFAULT UND __cxa_begin_catch@CXXABI_1.3 (4) 8 4: 0000000000000000 0 FUNC GLOBAL DEFAULT UND vsnprintf@GLIBC_2.2.5 (5) 9 … 5: 0000000000000000 0 FUNC GLOBAL DEFAULT UND _ZNSt7__cxx1112basic_stri@GLIBCXX_3.4.21 (3) 10 6: 0000000000000000 0 FUNC GLOBAL DEFAULT UND _ZSt19__throw_logic_error@GLIBCXX_3.4 (2) 11 … 7: 0000000000000000 0 FUNC GLOBAL DEFAULT UND _ZNSt7__cxx1112basic_stri@GLIBCXX_3.4.21 (3) 12 … 8: 0000000000000000 0 FUNC GLOBAL DEFAULT UND _ZNSt7__cxx1112basic_stri@GLIBCXX_3.4.21 (3) 13 9: 0000000000000000 0 FUNC GLOBAL DEFAULT UND __cxa_atexit@GLIBC_2.2.5 (5) 14 …10: 0000000000000000 0 FUNC GLOBAL DEFAULT UND _ZNSt7__cxx1112basic_stri@GLIBCXX_3.4.21 (3) [all …]
|
| /base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/ |
| D | hks_mbedtls_engine.c | 47 Hmac func = (Hmac)GetAbility(HKS_CRYPTO_ABILITY_HMAC); in HksCryptoHalHmac() local 48 HKS_IF_NULL_RETURN(func, HKS_ERROR_INVALID_ARGUMENT) in HksCryptoHalHmac() 49 return func(key, digestAlg, msg, mac); in HksCryptoHalHmac() 59 HmacInit func = (HmacInit)GetAbility(HKS_CRYPTO_ABILITY_HMAC_INIT); in HksCryptoHalHmacInit() local 60 HKS_IF_NULL_RETURN(func, HKS_ERROR_INVALID_ARGUMENT) in HksCryptoHalHmacInit() 62 return func(ctx, key, digestAlg); in HksCryptoHalHmacInit() 72 HmacUpdate func = (HmacUpdate)GetAbility(HKS_CRYPTO_ABILITY_HMAC_UPDATE); in HksCryptoHalHmacUpdate() local 73 HKS_IF_NULL_RETURN(func, HKS_ERROR_INVALID_ARGUMENT) in HksCryptoHalHmacUpdate() 75 return func(ctx, chunk); in HksCryptoHalHmacUpdate() 85 HmacFinal func = (HmacFinal)GetAbility(HKS_CRYPTO_ABILITY_HMAC_FINAL); in HksCryptoHalHmacFinal() local [all …]
|
| /base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/ |
| D | hks_openssl_engine.c | 177 FillRandom func = (FillRandom)GetAbility(HKS_CRYPTO_ABILITY_FILL_RANDOM); in HksCryptoHalFillRandom() 178 HKS_IF_NULL_RETURN(func, HKS_ERROR_INVALID_ARGUMENT) in HksCryptoHalFillRandom() 179 return func(randomData); in HksCryptoHalFillRandom() 186 FillRandom func = (FillRandom)GetAbility(HKS_CRYPTO_ABILITY_FILL_PRI_RANDOM); in HksCryptoHalFillPrivRandom() 187 HKS_IF_NULL_RETURN(func, HKS_ERROR_INVALID_ARGUMENT) in HksCryptoHalFillPrivRandom() 188 return func(randomData); in HksCryptoHalFillPrivRandom() 205 PubKey func = (PubKey)GetAbility(HKS_CRYPTO_ABILITY_GET_PUBLIC_KEY(key->keyAlg)); in HksCryptoHalGetPubKey() local 206 HKS_IF_NULL_LOGE_RETURN(func, HKS_ERROR_INVALID_ARGUMENT, in HksCryptoHalGetPubKey() 207 "PubKey func is null, keyAlg:%" LOG_PUBLIC "d", key->keyAlg) in HksCryptoHalGetPubKey() 208 return func(keyIn, keyOut); in HksCryptoHalGetPubKey() [all …]
|
| /base/security/dlp_permission_service/frameworks/test/mock/ |
| D | openssl_mock.cpp | 77 RandBytesFunc func = reinterpret_cast<RandBytesFunc>(GetOpensslLibFunc("RAND_bytes")); in RAND_bytes() local 78 if (func == nullptr) { in RAND_bytes() 81 return (*func)(buf, num); in RAND_bytes() 90 EvpAes128Ctr func = reinterpret_cast<EvpAes128Ctr>(GetOpensslLibFunc("EVP_aes_128_ctr")); in EVP_aes_128_ctr() local 91 if (func == nullptr) { in EVP_aes_128_ctr() 94 return (*func)(); in EVP_aes_128_ctr() 103 EvpAes192Ctr func = reinterpret_cast<EvpAes192Ctr>(GetOpensslLibFunc("EVP_aes_192_ctr")); in EVP_aes_192_ctr() local 104 if (func == nullptr) { in EVP_aes_192_ctr() 107 return (*func)(); in EVP_aes_192_ctr() 116 EvpAes256Ctr func = reinterpret_cast<EvpAes256Ctr>(GetOpensslLibFunc("EVP_aes_256_ctr")); in EVP_aes_256_ctr() local [all …]
|
| D | file_io_mock.cpp | 37 LseekFuncT func = reinterpret_cast<LseekFuncT>(dlsym(RTLD_NEXT, "lseek")); in lseek() local 38 if (func == nullptr) { in lseek() 41 return (*func)(fd, offset, whence); in lseek() 50 WriteFuncT func = reinterpret_cast<WriteFuncT>(dlsym(RTLD_NEXT, "write")); in write() local 51 if (func == nullptr) { in write() 54 return (*func)(fd, buf, count); in write() 63 FtruncateFuncT func = reinterpret_cast<FtruncateFuncT>(dlsym(RTLD_NEXT, "ftruncate")); in ftruncate() local 64 if (func == nullptr) { in ftruncate() 67 return (*func)(fd, length); in ftruncate() 77 MemcpyFuncT func = reinterpret_cast<MemcpyFuncT>(dlsym(RTLD_NEXT, "memcpy_s")); in memcpy_s() local [all …]
|
| /base/security/access_token/interfaces/innerkits/nativetoken/test/mock/src/ |
| D | cJSON.c | 68 cJSON* (*func)(const cJSON* const object, const char* const string); in cJSON_GetObjectItem() local 69 …func = (cJSON* (*)(const cJSON* const object, const char* const string))dlsym(g_handle, "cJSON_Get… in cJSON_GetObjectItem() 70 if (func == NULL) { in cJSON_GetObjectItem() 73 cJSON* res = func(object, string); in cJSON_GetObjectItem() 83 cJSON_bool (*func)(const cJSON* const item); in cJSON_IsNumber() local 84 func = (cJSON_bool (*)(const cJSON* const item))dlsym(g_handle, "cJSON_IsNumber"); in cJSON_IsNumber() 85 if (func == NULL) { in cJSON_IsNumber() 88 cJSON_bool res = func(item); in cJSON_IsNumber() 101 cJSON_bool (*func)(const cJSON* const item); in cJSON_IsString() local 102 func = (cJSON_bool (*)(const cJSON* const item))dlsym(g_handle, "cJSON_IsString"); in cJSON_IsString() [all …]
|
| /base/telephony/call_manager/services/antifraud/src/ |
| D | anonymize_adapter.cpp | 58 PfnInitConfig func = reinterpret_cast<PfnInitConfig>(dlsym(libAnonymize_, "DIA_InitConfig")); in InitConfig() local 59 if (func == nullptr) { in InitConfig() 60 TELEPHONY_LOGE("func is null"); in InitConfig() 64 return func(config); in InitConfig() 74 PfnSetRule func = reinterpret_cast<PfnSetRule>(dlsym(libAnonymize_, "DIA_SetRule")); in SetRule() local 75 if (func == nullptr) { in SetRule() 76 TELEPHONY_LOGE("func is null"); in SetRule() 80 return func(config, key, value); in SetRule() 90 …PfnCreateAnonymize func = reinterpret_cast<PfnCreateAnonymize>(dlsym(libAnonymize_, "DIA_CreateAno… in CreateAnonymize() local 91 if (func == nullptr) { in CreateAnonymize() [all …]
|
| D | antifraud_adapter.cpp | 59 PfnAntiFraudVoiceCheck func = in CheckAntiFraud() local 61 if (func == nullptr) { in CheckAntiFraud() 62 TELEPHONY_LOGE("func is NULL"); in CheckAntiFraud() 66 return func(phoneNum); in CheckAntiFraud() 77 PfnAntiFraudVoiceDetect func = in DetectAntiFraud() local 79 if (func == nullptr) { in DetectAntiFraud() 80 TELEPHONY_LOGE("func is NULL"); in DetectAntiFraud() 84 return func(listener); in DetectAntiFraud() 94 PfnStopAntiFraudVoiceDetect func = in StopAntiFraud() local 96 if (func == nullptr) { in StopAntiFraud() [all …]
|
| /base/account/os_account/frameworks/test/unittest/ |
| D | account_osaccount_proxy_mock_test.cpp | 87 * @tc.desc: Test func with proxy is nullptr. 88 * @tc.type: FUNC 100 * @tc.desc: Test func with proxy is nullptr. 101 * @tc.type: FUNC 117 * @tc.desc: Test func with proxy is nullptr. 118 * @tc.type: FUNC 129 * @tc.desc: Test func with proxy is nullptr. 130 * @tc.type: FUNC 143 * @tc.desc: Test func with proxy is nullptr. 144 * @tc.type: FUNC [all …]
|
| D | account_appaccount_proxy_mock_test.cpp | 78 * @tc.type: FUNC 89 * @tc.desc: Test func with proxy is nullptr. 90 * @tc.type: FUNC 102 * @tc.desc: Test func with proxy is nullptr. 103 * @tc.type: FUNC 117 * @tc.desc: Test func with proxy is nullptr. 118 * @tc.type: FUNC 132 * @tc.desc: Test func with proxy is nullptr. 133 * @tc.type: FUNC 144 * @tc.desc: Test func with proxy is nullptr. [all …]
|
| D | account_iam_proxy_mock_test.cpp | 100 * @tc.desc: Test func with proxy is nullptr. 101 * @tc.type: FUNC 112 * @tc.desc: Test func with proxy is nullptr. 113 * @tc.type: FUNC 123 * @tc.desc: Test func with proxy is nullptr. 124 * @tc.type: FUNC 138 * @tc.desc: Test func with proxy is nullptr. 139 * @tc.type: FUNC 153 * @tc.desc: Test func with proxy is nullptr. 154 * @tc.type: FUNC [all …]
|
| /base/security/dlp_permission_service/interfaces/inner_api/dlp_fuse/test/unittest/src/ |
| D | fuse_mock.cpp | 56 void *func = dlsym(g_libfuseHandle, funcName); in GetLibfuseLibFunc() local 57 return func; in GetLibfuseLibFunc() 70 AddArgsT func = reinterpret_cast<AddArgsT>(GetLibfuseLibFunc(__func__)); in fuse_opt_add_arg() local 71 if (func == nullptr) { in fuse_opt_add_arg() 74 return (*func)(args, arg); in fuse_opt_add_arg() 87 FreeArgsT func = reinterpret_cast<FreeArgsT>(GetLibfuseLibFunc(__func__)); in fuse_opt_free_args() local 88 if (func == nullptr) { in fuse_opt_free_args() 91 (*func)(args); in fuse_opt_free_args() 104 NewSessionT func = reinterpret_cast<NewSessionT>(GetLibfuseLibFunc(__func__)); in fuse_session_new() local 105 if (func == nullptr) { in fuse_session_new() [all …]
|
| /base/inputmethod/imf/frameworks/native/inputmethod_ability/include/tasks/ |
| D | task_imsa.h | 34 auto func = [client, fromClient]() { in TaskImsaStartInput() 37 actions_.emplace_back(std::make_unique<Action>(func)); in TaskImsaStartInput() 46 auto func = [channel]() { in TaskImsaStopInput() 49 actions_.emplace_back(std::make_unique<Action>(func)); in TaskImsaStopInput() 58 auto func = []() { in TaskImsaShowKeyboard() 61 actions_.emplace_back(std::make_unique<Action>(func)); in TaskImsaShowKeyboard() 70 auto func = []() { in TaskImsaHideKeyboard() 73 actions_.emplace_back(std::make_unique<Action>(func)); in TaskImsaHideKeyboard() 82 auto func = [channel]() { in TaskImsaOnClientInactive() 85 actions_.emplace_back(std::make_unique<Action>(func)); in TaskImsaOnClientInactive() [all …]
|
| /base/security/device_auth/services/frameworks/inc/hiview_adapter/ |
| D | hidump_adapter.h | 31 #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 48 void RegisterDumpFunc(DumpCallBack func); 49 void RegisterCredDumpFunc(CredDumpCallBack func); 50 void RegisterPerformDumpFunc(PerformanceDumpCallBack func);
|
| /base/msdp/device_status/test/unittest/intention/services/src/ |
| D | device_test.cpp | 56 * @tc.desc: Test func named open device 57 * @tc.type: FUNC 73 * @tc.desc: Test func named open device 74 * @tc.type: FUNC 88 * @tc.desc: Test func named close device 89 * @tc.type: FUNC 102 * @tc.desc: Test func named QueryDeviceInfo 103 * @tc.type: FUNC 118 * @tc.desc: Test func named CheckAbs 119 * @tc.type: FUNC [all …]
|
| /base/web/webview/ohos_interface/ohos_glue/scripts/ |
| D | make_ctocpp_impl.py | 27 def ctocpp_make_impl_proto(cls, func): argument 29 parts = func.get_cpp_parts(True) 31 …proto += 'ARK_WEB_GLOBAL ' + parts['retval'] + ' ' + func.get_name() + '(' + ', '.join(parts['args… 35 if isinstance(func, file_parser.obj_function_virtual): 37 if func.is_const(): 39 proto += '::' + func.get_name() + '(' + ', '.join(parts['args']) + ')' + const + ' {' 43 def verify_ctocpp_func_args(func, retval_default): argument 45 args = func.get_arguments() 67 def restore_ctocpp_func_args(func): argument 69 args = func.get_arguments() [all …]
|
| D | make_cpptoc_impl.py | 27 def make_cpptoc_impl_proto(name, func, parts, flag): argument 28 if isinstance(func, file_parser.obj_function_virtual): 39 def verify_cpptoc_func_args(func, retval_default, macro_retval_default): argument 41 if isinstance(func, file_parser.obj_function_virtual): 45 args = func.get_arguments() 70 def restore_cpptoc_func_args(func): argument 72 args = func.get_arguments() 102 def translate_cpptoc_func_args(func): argument 105 args = func.get_arguments() 167 def make_cpptoc_function_impl(cls, name, func, defined_names): argument [all …]
|
| /base/security/access_token/interfaces/inner_api/el5filekeymanager/src/ |
| D | el5_filekey_manager_client.cpp | 47 …std::function<int32_t(sptr<El5FilekeyManagerInterface> &)> func = [&](sptr<El5FilekeyManagerInterf… in AcquireAccess() local 50 return CallProxyWithRetry(func, __FUNCTION__); in AcquireAccess() 55 …std::function<int32_t(sptr<El5FilekeyManagerInterface> &)> func = [&](sptr<El5FilekeyManagerInterf… in ReleaseAccess() local 58 return CallProxyWithRetry(func, __FUNCTION__); in ReleaseAccess() 63 …std::function<int32_t(sptr<El5FilekeyManagerInterface> &)> func = [&](sptr<El5FilekeyManagerInterf… in GenerateAppKey() local 66 return CallProxyWithRetry(func, __FUNCTION__); in GenerateAppKey() 71 …std::function<int32_t(sptr<El5FilekeyManagerInterface> &)> func = [&](sptr<El5FilekeyManagerInterf… in DeleteAppKey() local 74 return CallProxyWithRetry(func, __FUNCTION__); in DeleteAppKey() 80 …std::function<int32_t(sptr<El5FilekeyManagerInterface> &)> func = [&](sptr<El5FilekeyManagerInterf… in GetUserAppKey() local 83 return CallProxyWithRetry(func, __FUNCTION__, SA_REQUEST_RETRY_TIMES); in GetUserAppKey() [all …]
|
| /base/customization/enterprise_device_management/test/unittest/interface/inner_api/proxy/ |
| D | restrictions_proxy_test.cpp | 70 * @tc.desc: Test SetDisallowedPolicy success func. 71 * @tc.type: FUNC 86 * @tc.desc: Test SetDisallowedPolicy success func. 87 * @tc.type: FUNC 104 * @tc.desc: Test SetDisallowedPolicy without enable edm service func. 105 * @tc.type: FUNC 118 * @tc.desc: Test SetDisallowedPolicy without enable edm service func. 119 * @tc.type: FUNC 134 * @tc.desc: Test GetDisallowedPolicy func. 135 * @tc.type: FUNC [all …]
|
| D | security_manager_proxy_test.cpp | 71 * @tc.desc: Test GetSecurityPatchTag success func. 72 * @tc.type: FUNC 89 * @tc.desc: Test GetSecurityPatchTag without enable edm service func. 90 * @tc.type: FUNC 104 * @tc.desc: Test GetSecurityPatchTag success func. 105 * @tc.type: FUNC 124 * @tc.desc: Test GetSecurityPatchTag without enable edm service func. 125 * @tc.type: FUNC 141 * @tc.desc: Test GetDeviceEncryptionStatus success func. 142 * @tc.type: FUNC [all …]
|
| D | enterprise_device_mgr_proxy_test.cpp | 78 * @tc.desc: Test EnableAdmin func. 79 * @tc.type: FUNC 96 * @tc.desc: Test EnableAdmin func. 97 * @tc.type: FUNC 114 * @tc.desc: Test SetEnterpriseInfo func. 115 * @tc.type: FUNC 135 * @tc.desc: Test SetEnterpriseInfo func. 136 * @tc.type: FUNC 156 * @tc.desc: Test GetEnterpriseInfo func. 157 * @tc.type: FUNC [all …]
|
| /base/hiviewdfx/faultloggerd/test/benchmarktest/unwind/ |
| D | unwind_local_benchmark.cpp | 32 NOINLINE static size_t TestFunc5(size_t (*func)(void)) in TestFunc5() 34 return func(); in TestFunc5() 37 NOINLINE static size_t TestFunc4(size_t (*func)(void)) in TestFunc4() 39 return TestFunc5(func); in TestFunc4() 42 NOINLINE static size_t TestFunc3(size_t (*func)(void)) in TestFunc3() 44 return TestFunc4(func); in TestFunc3() 47 NOINLINE static size_t TestFunc2(size_t (*func)(void)) in TestFunc2() 49 return TestFunc3(func); in TestFunc2() 52 NOINLINE static size_t TestFunc1(size_t (*func)(void)) in TestFunc1() 54 return TestFunc2(func); in TestFunc1() [all …]
|
| /base/accesscontrol/sandbox_manager/frameworks/inner_api/sandbox_manager/src/ |
| D | sandbox_manager_client.cpp | 64 std::function<int32_t(sptr<ISandboxManager> &)> func = in CleanPersistPolicyByPath() local 66 return CallProxyWithRetry(func, __FUNCTION__); in CleanPersistPolicyByPath() 71 std::function<int32_t(sptr<ISandboxManager> &)> func = in PersistPolicy() local 73 return CallProxyWithRetry(func, __FUNCTION__); in PersistPolicy() 78 std::function<int32_t(sptr<ISandboxManager> &)> func = in UnPersistPolicy() local 80 return CallProxyWithRetry(func, __FUNCTION__); in UnPersistPolicy() 86 std::function<int32_t(sptr<ISandboxManager> &)> func = in PersistPolicyByTokenId() local 88 return CallProxyWithRetry(func, __FUNCTION__); in PersistPolicyByTokenId() 94 std::function<int32_t(sptr<ISandboxManager> &)> func = in UnPersistPolicyByTokenId() local 96 return CallProxyWithRetry(func, __FUNCTION__); in UnPersistPolicyByTokenId() [all …]
|
| /base/msdp/device_status/test/unittest/intention/stationary/src/ |
| D | stationary_server_test.cpp | 65 * @tc.desc: Test func named enable 66 * @tc.type: FUNC 77 * @tc.desc: Test func named disable 78 * @tc.type: FUNC 89 * @tc.desc: Test func named start 90 * @tc.type: FUNC 101 * @tc.desc: Test func named stop 102 * @tc.type: FUNC 113 * @tc.desc: Test func named SetParam 114 * @tc.type: FUNC [all …]
|