Home
last modified time | relevance | path

Searched full:func (Results 1 – 25 of 2128) sorted by relevance

12345678910>>...86

/base/hiviewdfx/faultloggerd/test/resource/testdata/
Dsyms_from_readelf_325 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 …]
Dsyms_from_readelf_645 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/
Dhks_mbedtls_engine.c48 Hmac func = (Hmac)GetAbility(HKS_CRYPTO_ABILITY_HMAC); in HksCryptoHalHmac() local
49 HKS_IF_NULL_RETURN(func, HKS_ERROR_INVALID_ARGUMENT) in HksCryptoHalHmac()
50 return func(key, digestAlg, msg, mac); in HksCryptoHalHmac()
60 HmacInit func = (HmacInit)GetAbility(HKS_CRYPTO_ABILITY_HMAC_INIT); in HksCryptoHalHmacInit() local
61 HKS_IF_NULL_RETURN(func, HKS_ERROR_INVALID_ARGUMENT) in HksCryptoHalHmacInit()
63 return func(ctx, key, digestAlg); in HksCryptoHalHmacInit()
73 HmacUpdate func = (HmacUpdate)GetAbility(HKS_CRYPTO_ABILITY_HMAC_UPDATE); in HksCryptoHalHmacUpdate() local
74 HKS_IF_NULL_RETURN(func, HKS_ERROR_INVALID_ARGUMENT) in HksCryptoHalHmacUpdate()
76 return func(ctx, chunk); in HksCryptoHalHmacUpdate()
86 HmacFinal func = (HmacFinal)GetAbility(HKS_CRYPTO_ABILITY_HMAC_FINAL); in HksCryptoHalHmacFinal() local
[all …]
/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/
Dhks_openssl_engine.c177 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/
Dopenssl_mock.cpp77 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 …]
Dfile_io_mock.cpp37 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/
DcJSON.c64 cJSON* (*func)(const cJSON* const object, const char* const string); in cJSON_GetObjectItem() local
65func = (cJSON* (*)(const cJSON* const object, const char* const string))dlsym(g_handle, "cJSON_Get… in cJSON_GetObjectItem()
66 if (func == NULL) { in cJSON_GetObjectItem()
69 cJSON* res = func(object, string); in cJSON_GetObjectItem()
79 cJSON_bool (*func)(const cJSON* const item); in cJSON_IsNumber() local
80 func = (cJSON_bool (*)(const cJSON* const item))dlsym(g_handle, "cJSON_IsNumber"); in cJSON_IsNumber()
81 if (func == NULL) { in cJSON_IsNumber()
84 cJSON_bool res = func(item); in cJSON_IsNumber()
97 cJSON_bool (*func)(const cJSON* const item); in cJSON_IsString() local
98 func = (cJSON_bool (*)(const cJSON* const item))dlsym(g_handle, "cJSON_IsString"); in cJSON_IsString()
[all …]
/base/telephony/call_manager/services/antifraud/src/
Danonymize_adapter.cpp58 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 …]
Dantifraud_adapter.cpp59 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/inputmethod/imf/frameworks/native/inputmethod_ability/include/tasks/
Dtask_imsa.h34 auto func = [client, fromClient]() { in TaskImsaStartInput()
37 actions_.emplace_back(std::make_unique<Action>(func)); in TaskImsaStartInput()
46 auto func = [channel, sessionId]() { in TaskImsaStopInput()
49 actions_.emplace_back(std::make_unique<Action>(func)); in TaskImsaStopInput()
58 auto func = [requestKeyboardReason]() { in Task()
61 actions_.emplace_back(std::make_unique<Action>(func)); in Task()
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/startup/init/test/mock/libs/src/
Dfunc_wrapper.cpp25 void UpdateStrdupFunc(StrdupFunc func) in UpdateStrdupFunc() argument
27 g_strdup = func; in UpdateStrdupFunc()
41 void UpdateMallocFunc(MallocFunc func) in UpdateMallocFunc() argument
43 g_malloc = func; in UpdateMallocFunc()
57 void UpdateStrncatSFunc(StrncatSFunc func) in UpdateStrncatSFunc() argument
59 g_strncat_s = func; in UpdateStrncatSFunc()
73 void UpdateMkdirFunc(MkdirFunc func) in UpdateMkdirFunc() argument
75 g_mkdir = func; in UpdateMkdirFunc()
89 void UpdateMountFunc(MountFunc func) in UpdateMountFunc() argument
91 g_mount = func; in UpdateMountFunc()
[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
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/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
48 void RegisterDumpFunc(DumpCallBack func);
49 void RegisterCredDumpFunc(CredDumpCallBack func);
50 void RegisterPerformDumpFunc(PerformanceDumpCallBack func);
/base/startup/init/test/mock/init/fs_manager/
Dfs_dm_mock.c25 void UpdateFsdminitdmdevFunc(FsdminitdmdevFunc func) in UpdateFsdminitdmdevFunc() argument
27 g_FsDmInitDmDev = func; in UpdateFsdminitdmdevFunc()
41 void UpdateFsdmcreatedeviceFunc(FsdmcreatedeviceFunc func) in UpdateFsdmcreatedeviceFunc() argument
43 g_FsDmCreateDevice = func; in UpdateFsdmcreatedeviceFunc()
57 void UpdateFsdmremovedeviceFunc(FsdmremovedeviceFunc func) in UpdateFsdmremovedeviceFunc() argument
59 g_FsDmRemoveDevice = func; in UpdateFsdmremovedeviceFunc()
73 void UpdateLoaddmdevicetableFunc(LoaddmdevicetableFunc func) in UpdateLoaddmdevicetableFunc() argument
75 g_LoadDmDeviceTable = func; in UpdateLoaddmdevicetableFunc()
89 void UpdateDmgetdevicenameFunc(DmgetdevicenameFunc func) in UpdateDmgetdevicenameFunc() argument
91 g_DmGetDeviceName = func; in UpdateDmgetdevicenameFunc()
[all …]
/base/msdp/device_status/test/unittest/intention/services/src/
Ddevice_test.cpp56 * @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/
Dmake_ctocpp_impl.py27 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 …]
Dmake_cpptoc_impl.py27 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/customization/enterprise_device_management/test/unittest/interface/inner_api/proxy/
Dnetwork_manager_proxy_test.cpp73 * @tc.desc: Test GetAllNetworkInterfaces func.
74 * @tc.type: FUNC
92 * @tc.desc: Test GetAllNetworkInterfaces func.
93 * @tc.type: FUNC
107 * @tc.desc: Test GetIpOrMacAddress func.
108 * @tc.type: FUNC
125 * @tc.desc: Test GetIpOrMacAddress func.
126 * @tc.type: FUNC
140 * @tc.desc: Test IsNetworkInterfaceDisabled func.
141 * @tc.type: FUNC
[all …]
Drestrictions_proxy_test.cpp70 * @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 …]
Dapplication_manager_proxy_test.cpp70 * @tc.desc: Test AddDisallowedRunningBundles success func.
71 * @tc.type: FUNC
86 * @tc.desc: Test AddDisallowedRunningBundles without enable edm service func.
87 * @tc.type: FUNC
100 * @tc.desc: Test RemoveDisallowedRunningBundles success func.
101 * @tc.type: FUNC
116 * @tc.desc: Test RemoveDisallowedRunningBundles without enable edm service func.
117 * @tc.type: FUNC
130 * @tc.desc: Test GetDisallowedRunningBundles success func.
131 * @tc.type: FUNC
[all …]
Denterprise_device_mgr_proxy_test.cpp78 * @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
132 * @tc.desc: Test SetEnterpriseInfo func.
133 * @tc.type: FUNC
150 * @tc.desc: Test GetEnterpriseInfo func.
151 * @tc.type: FUNC
[all …]
Dsecurity_manager_proxy_test.cpp71 * @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 …]
Dsystem_manager_proxy_test.cpp70 * @tc.desc: Test SetNTPServer func.
71 * @tc.type: FUNC
90 * @tc.desc: Test SetNTPServer func.
91 * @tc.type: FUNC
108 * @tc.desc: Test GetNTPServer func.
109 * @tc.type: FUNC
129 * @tc.desc: Test GetNTPServer func.
130 * @tc.type: FUNC
146 * @tc.desc: Test SetOTAUpdatePolicy func.
147 * @tc.type: FUNC
[all …]
/base/account/os_account/frameworks/test/unittest/
Daccount_iam_proxy_mock_test.cpp100 * @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/access_token/interfaces/inner_api/el5filekeymanager/src/
Del5_filekey_manager_client.cpp50 …std::function<int32_t(sptr<El5FilekeyManagerInterface> &)> func = [&](sptr<El5FilekeyManagerInterf… in AcquireAccess() local
53 return CallProxyWithRetry(func, __FUNCTION__); in AcquireAccess()
58 …std::function<int32_t(sptr<El5FilekeyManagerInterface> &)> func = [&](sptr<El5FilekeyManagerInterf… in ReleaseAccess() local
61 return CallProxyWithRetry(func, __FUNCTION__); in ReleaseAccess()
66 …std::function<int32_t(sptr<El5FilekeyManagerInterface> &)> func = [&](sptr<El5FilekeyManagerInterf… in GenerateAppKey() local
69 return CallProxyWithRetry(func, __FUNCTION__); in GenerateAppKey()
74 …std::function<int32_t(sptr<El5FilekeyManagerInterface> &)> func = [&](sptr<El5FilekeyManagerInterf… in DeleteAppKey() local
77 return CallProxyWithRetry(func, __FUNCTION__); in DeleteAppKey()
84 …std::function<int32_t(sptr<El5FilekeyManagerInterface> &)> func = [&](sptr<El5FilekeyManagerInterf… in GetUserAppKey() local
87 int32_t ret = CallProxyWithRetry(func, __FUNCTION__, SA_REQUEST_RETRY_TIMES); in GetUserAppKey()
[all …]

12345678910>>...86