Home
last modified time | relevance | path

Searched refs:JoinString (Results 1 – 5 of 5) sorted by relevance

/external/libchrome/base/strings/
Dstring_util_unittest.cc712 TEST(StringUtilTest, JoinString) { in TEST() argument
715 EXPECT_EQ(std::string(), JoinString(parts, separator)); in TEST()
718 EXPECT_EQ(std::string(), JoinString(parts, separator)); in TEST()
722 EXPECT_EQ("a", JoinString(parts, separator)); in TEST()
726 EXPECT_EQ("a, b, c", JoinString(parts, separator)); in TEST()
729 EXPECT_EQ("a, b, c, ", JoinString(parts, separator)); in TEST()
731 EXPECT_EQ("a|b|c|| ", JoinString(parts, "|")); in TEST()
737 EXPECT_EQ(string16(), JoinString(parts, separator)); in TEST()
740 EXPECT_EQ(string16(), JoinString(parts, separator)); in TEST()
744 EXPECT_EQ(ASCIIToUTF16("a"), JoinString(parts, separator)); in TEST()
[all …]
Dstring_util.h440 BASE_EXPORT std::string JoinString(const std::vector<std::string>& parts,
442 BASE_EXPORT string16 JoinString(const std::vector<string16>& parts,
444 BASE_EXPORT std::string JoinString(const std::vector<StringPiece>& parts,
446 BASE_EXPORT string16 JoinString(const std::vector<StringPiece16>& parts,
451 BASE_EXPORT std::string JoinString(std::initializer_list<StringPiece> parts,
453 BASE_EXPORT string16 JoinString(std::initializer_list<StringPiece16> parts,
Dstring_util.cc977 std::string JoinString(const std::vector<std::string>& parts, in JoinString() function
982 string16 JoinString(const std::vector<string16>& parts, in JoinString() function
992 std::string JoinString(const std::vector<StringPiece>& parts, in JoinString() function
997 string16 JoinString(const std::vector<StringPiece16>& parts, in JoinString() function
1002 std::string JoinString(std::initializer_list<StringPiece> parts, in JoinString() function
1007 string16 JoinString(std::initializer_list<StringPiece16> parts, in JoinString() function
/external/libchrome/base/test/
Dscoped_feature_list.cc199 std::string enabled = JoinString(merged_features.enabled_feature_list, ","); in InitWithFeaturesAndFieldTrials()
200 std::string disabled = JoinString(merged_features.disabled_feature_list, ","); in InitWithFeaturesAndFieldTrials()
/external/libchrome/base/
Dfeature_list_unittest.cc40 return JoinString(features, ","); in SortFeatureListString()