/base/msdp/device_status/test/unittest/utils/src/ |
H A D | utility_test.cpp | 928 bool ret = Utility::StartWith(exampleStr, examplePrefix); in HWTEST_F() 943 bool ret = Utility::StartWith(exampleStr, examplePrefix); in HWTEST_F() 958 bool ret = Utility::StartWith(exampleStr, examplePrefix); in HWTEST_F() 973 bool ret = Utility::StartWith(exampleStr, examplePrefix); in HWTEST_F() 988 bool ret = Utility::StartWith(exampleStr, examplePrefix); in HWTEST_F() 1003 bool ret = Utility::StartWith(exampleStr, examplePrefix); in HWTEST_F() 1018 bool ret = Utility::StartWith(exampleStr, examplePrefix); in HWTEST_F() 1033 bool ret = Utility::StartWith(exampleStr, examplePrefix); in HWTEST_F() 1048 bool ret = Utility::StartWith(exampleStr, examplePrefix); in HWTEST_F() 1063 bool ret = Utility::StartWith(exampleSt in HWTEST_F() [all...] |
/base/msdp/device_status/utils/common/include/ |
H A D | utility.h | 40 static bool StartWith(const char *str, const char *prefix); 41 static bool StartWith(const std::string &str, const std::string &prefix);
|
/base/hiviewdfx/hidumper/interfaces/native/innerkits/include/ |
H A D | dump_common_utils.h | 55 static bool StartWith(const std::string& str, const std::string& head);
|
/base/hiviewdfx/hidumper/frameworks/native/src/common/ |
H A D | dumper_opts.cpp | 139 return DumpCommonUtils::StartWith(path_, PATH_SEPARATOR); in IsDumpZip() 193 if ((!path.empty()) && (!DumpCommonUtils::StartWith(path, PATH_SEPARATOR))) { in CheckOptions()
|
/base/telephony/core_service/utils/vcard/src/contact_data/ |
H A D | vcard_sip_data.cpp | 50 if (VCardUtils::StartWith(rawSip, "sip:")) { in InitSipData()
|
/base/msdp/device_status/utils/common/src/ |
H A D | utility.cpp | 74 bool Utility::StartWith(const char *str, const char *prefix) in StartWith() function in OHOS::Msdp::DeviceStatus::Utility 80 bool Utility::StartWith(const std::string &str, const std::string &prefix) in StartWith() function in OHOS::Msdp::DeviceStatus::Utility
|
/base/telephony/core_service/utils/vcard/src/ |
H A D | vcard_decoder_v21.cpp | 223 VCardUtils::StartWith(currentEncoding_, "X-"))) { in DealRawDataValue() 299 if (!(ContainValue(VCardUtils::ToUpper(name), GetSupportType()) || VCardUtils::StartWith(name, "X-"))) { in RecordUnknowParamType() 441 if (VCardUtils::StartWith(name, "X-")) { 464 if (!(ContainValue(VCardUtils::ToUpper(type), GetSupportParamType()) || VCardUtils::StartWith(type, "X-"))) { 477 if (!(ContainValue(VCardUtils::ToUpper(value), GetSupportParamValue()) || VCardUtils::StartWith(value, "X-"))) { in DealValueParam() 490 if (ContainValue(encoding, GetSupportParamEncoding()) || VCardUtils::StartWith(encoding, "X-")) { in DealEncodingParam()
|
H A D | vcard_contact.cpp | 630 if (VCardUtils::StartWith(propValue, "sip:")) { in HandleSipCase() 649 label = (VCardUtils::StartWith(typeStringUpperCase, "X-")) ? typeStringOrg.substr(VALUE_INDEX_TWO) in HandleSipCase() 884 if (VCardUtils::StartWith(propValue, "sip:")) { in AddPhonesData() 886 } else if (VCardUtils::StartWith(propValue, "tel:")) { in AddPhonesData() 986 label = (VCardUtils::StartWith(typeStringUpperCase, "X-")) ? typeStringOrg.substr(VALUE_INDEX_TWO) in AddEmailsData() 1047 label = (VCardUtils::StartWith(typeStringUpperCase, "X-")) ? typeStringOrg.substr(VALUE_INDEX_TWO) in AddPostalDatas() 1153 if (VCardUtils::StartWith(propValue, "sip:")) {
|
H A D | vcard_utils.cpp | 133 bool VCardUtils::StartWith(const std::string &str, const std::string &prefix) in StartWith() function in OHOS::Telephony::VCardUtils 443 if (StartWith(typeStringUpperCase, "X-") && type < 0) { in GetPhoneTypeFromStrings()
|
H A D | vcard_constructor.cpp | 436 if (!VCardUtils::StartWith(address, "sip:")) { in ConstructSipAddresses()
|
/base/telephony/core_service/utils/vcard/include/ |
H A D | vcard_utils.h | 30 static bool StartWith(const std::string &str, const std::string &prefix);
|
/base/hiviewdfx/hidumper/services/native/src/ |
H A D | dump_common_utils.cpp | 122 if (!StartWith(name, CPU_STR)) { in GetCpuInfos() 251 bool DumpCommonUtils::StartWith(const std::string& str, const std::string& head) in StartWith() function in OHOS::HiviewDFX::DumpCommonUtils
|
/base/security/selinux_adapter/framework/policycoreutils/src/ |
H A D | service_checker.cpp | 135 static bool StartWith(const std::string &dst, const std::string &prefix) in StartWith() function 150 if (StartWith(context, OBJECT_PREFIX)) { in DecodeString()
|
/base/hiviewdfx/hiview/base/utility/include/ |
H A D | string_util.h | 162 bool StartWith(const std::string& str, const std::string& sub);
|
/base/hiviewdfx/hiview/framework/native/unified_collection/collector/ |
H A D | memory_collector_impl.cpp | 191 if (!StringUtil::StartWith(fileName, filePrefix)) {
in DoClearFiles() 537 if ((!StringUtil::StartWith(ptr->d_name, "jsheap") && !StringUtil::EndWith(ptr->d_name, "heapsnapshot"))) {
in GetNewestSnapshotPath()
|
/base/hiviewdfx/hidumper/frameworks/native/src/util/ |
H A D | config_utils.cpp | 703 if (DumpCommonUtils::StartWith(groupCfg.list_[i], CONFIG_DUMPER_)) { in GetGroupSimple() 705 } else if (DumpCommonUtils::StartWith(groupCfg.list_[i], CONFIG_MINIGROUP_)) { in GetGroupSimple()
|
/base/hiviewdfx/hiview/base/utility/ |
H A D | string_util.cpp | 462 bool StartWith(const std::string& str, const std::string& sub) in StartWith() function
|
/base/telephony/core_service/test/fuzztest/vcard_fuzzer/ |
H A D | vcard_fuzzer.cpp | 309 VCardUtils::StartWith(fuzzdata, fuzzdata); in VCardUtilsTest()
|
/base/telephony/core_service/test/unittest/core_service_gtest/ |
H A D | vcard_test.cpp | 1442 EXPECT_FALSE(VCardUtils::StartWith(propValue, "sip:")); in HWTEST_F()
|