Home
last modified time | relevance | path

Searched refs:StartWith (Results 1 - 19 of 19) sorted by relevance

/base/msdp/device_status/test/unittest/utils/src/
H A Dutility_test.cpp928 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 Dutility.h40 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 Ddump_common_utils.h55 static bool StartWith(const std::string& str, const std::string& head);
/base/hiviewdfx/hidumper/frameworks/native/src/common/
H A Ddumper_opts.cpp139 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 Dvcard_sip_data.cpp50 if (VCardUtils::StartWith(rawSip, "sip:")) { in InitSipData()
/base/msdp/device_status/utils/common/src/
H A Dutility.cpp74 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 Dvcard_decoder_v21.cpp223 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 Dvcard_contact.cpp630 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 Dvcard_utils.cpp133 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 Dvcard_constructor.cpp436 if (!VCardUtils::StartWith(address, "sip:")) { in ConstructSipAddresses()
/base/telephony/core_service/utils/vcard/include/
H A Dvcard_utils.h30 static bool StartWith(const std::string &str, const std::string &prefix);
/base/hiviewdfx/hidumper/services/native/src/
H A Ddump_common_utils.cpp122 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 Dservice_checker.cpp135 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 Dstring_util.h162 bool StartWith(const std::string& str, const std::string& sub);
/base/hiviewdfx/hiview/framework/native/unified_collection/collector/
H A Dmemory_collector_impl.cpp191 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 Dconfig_utils.cpp703 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 Dstring_util.cpp462 bool StartWith(const std::string& str, const std::string& sub) in StartWith() function
/base/telephony/core_service/test/fuzztest/vcard_fuzzer/
H A Dvcard_fuzzer.cpp309 VCardUtils::StartWith(fuzzdata, fuzzdata); in VCardUtilsTest()
/base/telephony/core_service/test/unittest/core_service_gtest/
H A Dvcard_test.cpp1442 EXPECT_FALSE(VCardUtils::StartWith(propValue, "sip:")); in HWTEST_F()

Completed in 17 milliseconds