Home
last modified time | relevance | path

Searched refs:c (Results 1 – 25 of 4512) sorted by relevance

12345678910>>...181

/base/telephony/cellular_call/services/common/src/
Dstandardize_utils.cpp30 for (char c : phoneString) { in RemoveSeparatorsPhoneNumber() local
31 …if ((c >= '0' && c <= '9') || c == '*' || c == '#' || c == '+' || c == 'N' || c == ',' || c == ';'… in RemoveSeparatorsPhoneNumber()
32 newString += c; in RemoveSeparatorsPhoneNumber()
49 for (char c : phoneNumber) { in FormatNumberAndToa() local
50 newString += c; in FormatNumberAndToa()
68 char c = phoneString.at(i); in ExtractAddressAndPostDial() local
69 if ((c >= '0' && c <= '9') || c == '*' || c == '#' || c == '+' || c == 'N') { in ExtractAddressAndPostDial()
70 networkAddress += c; in ExtractAddressAndPostDial()
71 } else if (c == ',' || c == ';') { in ExtractAddressAndPostDial()
78 char c = phoneString.at(i); in ExtractAddressAndPostDial() local
[all …]
/base/security/device_auth/frameworks/deviceauth_lite/source/
DBUILD.gn2 # Copyright (c) 2020-2021 Huawei Device Co., Ltd.
18 "auth_info/auth_info.c",
19 "auth_info/exchange_auth_info_client.c",
20 "auth_info/remove_auth_info_client.c",
21 "hichain.c",
22 "huks_adapter/huks_adapter.c",
23 "json/commonutil.c",
24 "json/jsonutil.c",
25 "key_agreement/key_agreement.c",
26 "key_agreement/key_agreement_client.c",
[all …]
/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/
DBUILD.gn31 "src/hks_openssl_ability.c",
32 "src/hks_openssl_aes.c",
33 "src/hks_openssl_bn.c",
34 "src/hks_openssl_common.c",
35 "src/hks_openssl_curve25519.c",
36 "src/hks_openssl_dh.c",
37 "src/hks_openssl_dsa.c",
38 "src/hks_openssl_ecc.c",
39 "src/hks_openssl_ed25519tox25519.c",
40 "src/hks_openssl_engine.c",
[all …]
/base/global/system_resources/systemres/main/resources/base/media/
Dohos_ic_public_device_watch.svg1c.1309446 1.29297754.5524838 2.69720583 1.2693897 4.21132583.0768333.08477947.1514234.17138489.224…
Dohos_ic_public_device_phone.svg1c.2354666.46501024.360434.96691638.360434 2.23381143v3.4041722c.2761424 0 .5.22385763.5.5v2c0 .276…
/base/security/device_auth/frameworks/deviceauth_lite/test/unittest/
DBUILD.gn2 # Copyright (c) 2021-2024 Huawei Device Co., Ltd.
22 "../../source/auth_info/auth_info.c",
23 "../../source/auth_info/exchange_auth_info_client.c",
24 "../../source/auth_info/remove_auth_info.c",
25 "../../source/auth_info/remove_auth_info_client.c",
26 "../../source/hichain.c",
27 "../../source/huks_adapter/huks_adapter.c",
28 "../../source/json/commonutil.c",
29 "../../source/json/jsonutil.c",
30 "../../source/key_agreement/key_agreement.c",
[all …]
/base/security/device_auth/services/
Ddeviceauth.gni84 "${services_path}/device_auth.c",
85 "${group_manager_path}/src/group_manager_common.c",
86 "${group_manager_path}/src/group_manager.c",
87 "${group_manager_path}/src/channel_manager/channel_manager.c",
88 "${group_manager_path}/src/callback_manager/callback_manager.c",
89 "${protocol_path}/src/protocol_common.c",
90 "${protocol_path}/src/iso_protocol/iso_protocol_common.c",
91 "${protocol_path}/src/pake_protocol/pake_common.c",
92 "${protocol_path}/src/pake_protocol/pake_v1_protocol/pake_v1_protocol_common.c",
93 "${protocol_path}/src/pake_protocol/pake_protocol_dl_common/pake_protocol_dl_common.c",
[all …]
/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/
DBUILD.gn30 "src/hks_crypto_ed25519.c",
31 "src/hks_mbedtls_ability.c",
32 "src/hks_mbedtls_aes.c",
33 "src/hks_mbedtls_bn.c",
34 "src/hks_mbedtls_common.c",
35 "src/hks_mbedtls_dh.c",
36 "src/hks_mbedtls_dsa.c",
37 "src/hks_mbedtls_ecc.c",
38 "src/hks_mbedtls_ecdh.c",
39 "src/hks_mbedtls_ecdsa.c",
[all …]
/base/update/updater/test/fuzztest/fuzz_src_data/
Dtest_script.us1 function Add(a, b, c)
3 Stdout("Test Add ", a, b, c);
5 c = a + c;
6 return a, c;
15 function Sub(a, b, c)
17 Stdout("Test Sub ", a, b, c);
19 c = a - c;
20 return a, c;
26 function Mul(a, b, c)
28 Stdout("Test Mul ", a, b, c);
[all …]
/base/update/updater/test/unittest/test_data/src/
Dtest_script.us1 function Add(a, b, c)
3 Stdout("Test Add ", a, b, c);
5 c = a + c;
6 return a, c;
15 function Sub(a, b, c)
17 Stdout("Test Sub ", a, b, c);
19 c = a - c;
20 return a, c;
26 function Mul(a, b, c)
28 Stdout("Test Mul ", a, b, c);
[all …]
/base/security/crypto_framework/plugin/
Dplugin.gni35 "${plugin_path}/openssl_plugin/crypto_operation/signature/src/dsa_openssl.c",
36 "${plugin_path}/openssl_plugin/crypto_operation/signature/src/ecdsa_openssl.c",
37 "${plugin_path}/openssl_plugin/crypto_operation/signature/src/signature_rsa_openssl.c",
38 "${plugin_path}/openssl_plugin/crypto_operation/signature/src/sm2_openssl.c",
39 "${plugin_path}/openssl_plugin/crypto_operation/signature/src/ed25519_openssl.c",
43 "${plugin_path}/openssl_plugin/common/src/openssl_adapter.c",
44 "${plugin_path}/openssl_plugin/common/src/openssl_common.c",
45 "${plugin_path}/openssl_plugin/common/src/dh_openssl_common.c",
46 "${plugin_path}/openssl_plugin/common/src/ecc_openssl_common.c",
47 "${plugin_path}/openssl_plugin/common/src/rsa_openssl_common.c",
[all …]
/base/startup/init/test/unittest/
DBUILD.gn1 # Copyright (c) 2021-2023 Huawei Device Co., Ltd.
48 "//base/startup/init/interfaces/innerkits/control_fd/control_fd_client.c",
49 "//base/startup/init/interfaces/innerkits/control_fd/control_fd_service.c",
50 "//base/startup/init/interfaces/innerkits/fd_holder/fd_holder.c",
51 "//base/startup/init/interfaces/innerkits/fd_holder/fd_holder_internal.c",
52 "//base/startup/init/interfaces/innerkits/file/init_file.c",
53 "//base/startup/init/interfaces/innerkits/fs_manager/fstab.c",
54 "//base/startup/init/interfaces/innerkits/fs_manager/fstab_mount.c",
55 "//base/startup/init/interfaces/innerkits/reboot/init_reboot_innerkits.c",
56 "//base/startup/init/interfaces/innerkits/socket/init_socket.c",
[all …]
/base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest018/
Dlast_kmsg2 * Copyright (c) 2022 Huawei Device Co., Ltd.
15 <11>[ 3.762358] [pid=1][BEGET][ERROR][fstab_mount.c:384]Unsupported file system " none "
16 <14>[ 3.762478] [pid=1][Init][INFO][init.c:211]Start init second stage.
17 <14>[ 3.770177] [pid=1][Init][INFO][switch_root.c:186]SwitchRoot to /usr finish
19 <14>[ 3.819124] [pid=1][LoopEvent][INFO][le_signal.c:75]LE_AddSignal 17 0
20 <14>[ 3.819317] [pid=1][LoopEvent][INFO][le_signal.c:75]LE_AddSignal 15 1
21 <14>[ 3.819747] [pid=1][Init][INFO][init.c:90]Init fd holder socket done
22 <11>[ 3.820134] [pid=1][BEGET][ERROR][fstab.c:330]Failed to get fstab item from mount point " /m…
23 <14>[ 3.820153] [pid=1][BEGET][INFO][fstab.c:511]Mount point not found, try to get path by devic…
24 <14>[ 3.820954] [pid=1][Init][INFO][init_group_manager.c:201]boot start device.boot.group
[all …]
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/
DBUILD.gn46 "src/cert_manager.c",
47 "src/cert_manager_app_cert_process.c",
48 "src/cert_manager_auth_list_mgr.c",
49 "src/cert_manager_auth_mgr.c",
50 "src/cert_manager_check.c",
51 "src/cert_manager_crypto_operation.c",
52 "src/cert_manager_double_list.c",
53 "src/cert_manager_file.c",
54 "src/cert_manager_file_operator.c",
55 "src/cert_manager_key_operation.c",
[all …]
/base/security/huks/interfaces/inner_api/huks_lite/
DBUILD.gn2 # Copyright (c) 2021-2024 Huawei Device Co., Ltd.
128 "../../../frameworks/huks_standard/main/crypto_engine/mbedtls/src/hks_crypto_ed25519.c",
129 "../../../frameworks/huks_standard/main/crypto_engine/mbedtls/src/hks_mbedtls_ability.c",
130 "../../../frameworks/huks_standard/main/crypto_engine/mbedtls/src/hks_mbedtls_aes.c",
131 "../../../frameworks/huks_standard/main/crypto_engine/mbedtls/src/hks_mbedtls_bn.c",
132 "../../../frameworks/huks_standard/main/crypto_engine/mbedtls/src/hks_mbedtls_common.c",
133 "../../../frameworks/huks_standard/main/crypto_engine/mbedtls/src/hks_mbedtls_ecc.c",
134 "../../../frameworks/huks_standard/main/crypto_engine/mbedtls/src/hks_mbedtls_ecdh.c",
135 "../../../frameworks/huks_standard/main/crypto_engine/mbedtls/src/hks_mbedtls_ecdsa.c",
136 "../../../frameworks/huks_standard/main/crypto_engine/mbedtls/src/hks_mbedtls_engine.c",
[all …]
/base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest008/
Dlast_kmsg2 * Copyright (c) 2022 Huawei Device Co., Ltd.
15 <11>[ 3.762358] [pid=1][BEGET][ERROR][fstab_mount.c:384]Unsupported file system " none "
16 <14>[ 3.762478] [pid=1][Init][INFO][init.c:211]Start init second stage.
17 <14>[ 3.770177] [pid=1][Init][INFO][switch_root.c:186]SwitchRoot to /usr finish
19 <14>[ 3.819124] [pid=1][LoopEvent][INFO][le_signal.c:75]LE_AddSignal 17 0
20 <14>[ 3.819317] [pid=1][LoopEvent][INFO][le_signal.c:75]LE_AddSignal 15 1
21 <14>[ 3.819747] [pid=1][Init][INFO][init.c:90]Init fd holder socket done
22 <11>[ 3.820134] [pid=1][BEGET][ERROR][fstab.c:330]Failed to get fstab item from mount point " /m…
23 <14>[ 3.820153] [pid=1][BEGET][INFO][fstab.c:511]Mount point not found, try to get path by devic…
24 <14>[ 3.820954] [pid=1][Init][INFO][init_group_manager.c:201]boot start device.boot.group
[all …]
/base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest014/
Dlast_kmsg2 * Copyright (c) 2022 Huawei Device Co., Ltd.
15 <11>[ 3.762358] [pid=1][BEGET][ERROR][fstab_mount.c:384]Unsupported file system " none "
16 <14>[ 3.762478] [pid=1][Init][INFO][init.c:211]Start init second stage.
17 <14>[ 3.770177] [pid=1][Init][INFO][switch_root.c:186]SwitchRoot to /usr finish
19 <14>[ 3.819124] [pid=1][LoopEvent][INFO][le_signal.c:75]LE_AddSignal 17 0
20 <14>[ 3.819317] [pid=1][LoopEvent][INFO][le_signal.c:75]LE_AddSignal 15 1
21 <14>[ 3.819747] [pid=1][Init][INFO][init.c:90]Init fd holder socket done
22 <11>[ 3.820134] [pid=1][BEGET][ERROR][fstab.c:330]Failed to get fstab item from mount point " /m…
23 <14>[ 3.820153] [pid=1][BEGET][INFO][fstab.c:511]Mount point not found, try to get path by devic…
24 <14>[ 3.820954] [pid=1][Init][INFO][init_group_manager.c:201]boot start device.boot.group
[all …]
/base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest004/
Dlast_kmsg2 * Copyright (c) 2022 Huawei Device Co., Ltd.
15 <11>[ 3.762358] [pid=1][BEGET][ERROR][fstab_mount.c:384]Unsupported file system " none "
16 <14>[ 3.762478] [pid=1][Init][INFO][init.c:211]Start init second stage.
17 <14>[ 3.770177] [pid=1][Init][INFO][switch_root.c:186]SwitchRoot to /usr finish
19 <14>[ 3.819124] [pid=1][LoopEvent][INFO][le_signal.c:75]LE_AddSignal 17 0
20 <14>[ 3.819317] [pid=1][LoopEvent][INFO][le_signal.c:75]LE_AddSignal 15 1
21 <14>[ 3.819747] [pid=1][Init][INFO][init.c:90]Init fd holder socket done
22 <11>[ 3.820134] [pid=1][BEGET][ERROR][fstab.c:330]Failed to get fstab item from mount point " /m…
23 <14>[ 3.820153] [pid=1][BEGET][INFO][fstab.c:511]Mount point not found, try to get path by devic…
24 <14>[ 3.820954] [pid=1][Init][INFO][init_group_manager.c:201]boot start device.boot.group
[all …]
/base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest015/
Dlast_kmsg2 * Copyright (c) 2022 Huawei Device Co., Ltd.
15 <11>[ 3.762358] [pid=1][BEGET][ERROR][fstab_mount.c:384]Unsupported file system " none "
16 <14>[ 3.762478] [pid=1][Init][INFO][init.c:211]Start init second stage.
17 <14>[ 3.770177] [pid=1][Init][INFO][switch_root.c:186]SwitchRoot to /usr finish
19 <14>[ 3.819124] [pid=1][LoopEvent][INFO][le_signal.c:75]LE_AddSignal 17 0
20 <14>[ 3.819317] [pid=1][LoopEvent][INFO][le_signal.c:75]LE_AddSignal 15 1
21 <14>[ 3.819747] [pid=1][Init][INFO][init.c:90]Init fd holder socket done
22 <11>[ 3.820134] [pid=1][BEGET][ERROR][fstab.c:330]Failed to get fstab item from mount point " /m…
23 <14>[ 3.820153] [pid=1][BEGET][INFO][fstab.c:511]Mount point not found, try to get path by devic…
24 <14>[ 3.820954] [pid=1][Init][INFO][init_group_manager.c:201]boot start device.boot.group
[all …]
/base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest005/
Dlast_kmsg2 * Copyright (c) 2022 Huawei Device Co., Ltd.
15 <11>[ 3.762358] [pid=1][BEGET][ERROR][fstab_mount.c:384]Unsupported file system " none "
16 <14>[ 3.762478] [pid=1][Init][INFO][init.c:211]Start init second stage.
17 <14>[ 3.770177] [pid=1][Init][INFO][switch_root.c:186]SwitchRoot to /usr finish
19 <14>[ 3.819124] [pid=1][LoopEvent][INFO][le_signal.c:75]LE_AddSignal 17 0
20 <14>[ 3.819317] [pid=1][LoopEvent][INFO][le_signal.c:75]LE_AddSignal 15 1
21 <14>[ 3.819747] [pid=1][Init][INFO][init.c:90]Init fd holder socket done
22 <11>[ 3.820134] [pid=1][BEGET][ERROR][fstab.c:330]Failed to get fstab item from mount point " /m…
23 <14>[ 3.820153] [pid=1][BEGET][INFO][fstab.c:511]Mount point not found, try to get path by devic…
24 <14>[ 3.820954] [pid=1][Init][INFO][init_group_manager.c:201]boot start device.boot.group
[all …]
/base/security/device_auth/test/unittest/deviceauth/
DBUILD.gn42 sources -= [ "${common_lib_path}/impl/src/json_utils.c" ]
44 "${key_management_adapter_path}/impl/src/huks_adapter.c",
45 "${key_management_adapter_path}/impl/src/mbedtls_ec_adapter.c",
46 "${key_management_adapter_path}/impl/src/standard/crypto_hash_to_point.c",
47 "${key_management_adapter_path}/impl/src/standard/huks_adapter_diff_impl.c",
48 "${os_adapter_path}/impl/src/hc_log.c",
49 "${os_adapter_path}/impl/src/linux/hc_condition.c",
50 "${os_adapter_path}/impl/src/linux/hc_file.c",
51 "${os_adapter_path}/impl/src/linux/hc_init_protection.c",
52 "${os_adapter_path}/impl/src/linux/hc_thread.c",
[all …]
/base/hiviewdfx/hievent_lite/frameworks/
Dhiview_output_event.c99 static void GetEventCache(uint8 type, HiviewCache **c, HiviewFile **f);
173 HiviewCache *c = NULL; in CloseEventOutputFile() local
175 GetEventCache(type, &c, &f); in CloseEventOutputFile()
176 if (c != NULL && c->usedSize > 0) { in CloseEventOutputFile()
231 HiviewCache *c = NULL; in OutputEvent() local
233 GetEventCache(event->type, &c, &f); in OutputEvent()
234 if (c == NULL) { in OutputEvent()
243 if ((c->usedSize + sizeof(HiEventCommon) + event->common.len) > EVENT_CACHE_SIZE) { in OutputEvent()
246 …} else if (WriteToCache(c, (uint8 *)&(event->common), sizeof(HiEventCommon)) == sizeof(HiEventComm… in OutputEvent()
247 WriteToCache(c, event->payload, event->common.len); in OutputEvent()
[all …]
/base/startup/init/services/init/standard/
DBUILD.gn1 # Copyright (c) 2022 Huawei Device Co., Ltd.
16 "../init_capability.c",
17 "../init_common_cmds.c",
18 "../init_common_service.c",
19 "../init_config.c",
20 "../init_group_manager.c",
21 "../init_service_file.c",
22 "../init_service_manager.c",
23 "../init_service_socket.c",
24 "../main.c",
[all …]
/base/telephony/cellular_call/services/common/include/
Dstandardize_utils.h75 static bool IsDtmfKey(char c) in IsDtmfKey() argument
77 return (c >= '0' && c <= '9') || (c >= 'A' && c <= 'D') || c == '*' || c == '#'; in IsDtmfKey()
80 static bool IsPauseKey(char c) in IsPauseKey() argument
82 return c == ','; in IsPauseKey()
85 static bool IsWaitKey(char c) in IsWaitKey() argument
87 return c == ';'; in IsWaitKey()
/base/security/device_auth/services/key_agree_sdk/
Dkey_agree_sdk.gni33 "${protocol_path}/src/protocol_common.c",
34 "${protocol_path}/src/pake_protocol/pake_common.c",
35 "${protocol_path}/src/pake_protocol/pake_v2_protocol/pake_v2_protocol_common.c",
36 "${protocol_path}/src/pake_protocol/pake_protocol_dl_common/pake_protocol_dl_common.c",
37 "${protocol_path}/src/pake_protocol/pake_protocol_ec_common/pake_protocol_ec_common.c",
41 "${key_agree_sdk_path}/src/key_agree_sdk.c",
42 "${key_agree_sdk_path}/src/key_agree_session_manager.c",
43 "${key_agree_sdk_path}/src/key_agree_session.c",
47 "${common_lib_path}/impl/src/hc_parcel.c",
48 "${common_lib_path}/impl/src/hc_string.c",
[all …]

12345678910>>...181