Home
last modified time | relevance | path

Searched refs:ReplaceStringPlaceholders (Results 1 – 4 of 4) sorted by relevance

/external/libchrome/base/strings/
Dstring_util_unittest.cc944 ReplaceStringPlaceholders(ASCIIToUTF16("Hello, $1. Your number is $2."), in TEST()
952 ReplaceStringPlaceholders(ASCIIToUTF16("Hello, $2. Your number is $1."), in TEST()
970 ReplaceStringPlaceholders( in TEST()
976 TEST(StringUtilTest, ReplaceStringPlaceholders) { in TEST() argument
989 ReplaceStringPlaceholders( in TEST()
1013 EXPECT_EQ(expected, ReplaceStringPlaceholders(original, subst, nullptr)); in TEST()
1016 EXPECT_EQ(expected, ReplaceStringPlaceholders(original, subst, &offsets)); in TEST()
1038 ReplaceStringPlaceholders(ASCIIToUTF16("$3_$4$2$1$5"), subst, nullptr); in TEST()
1047 ReplaceStringPlaceholders(ASCIIToUTF16(" $16 "), subst, nullptr); in TEST()
1055 ReplaceStringPlaceholders(ASCIIToUTF16("+$-+$A+$1+"), subst, nullptr); in TEST()
[all …]
Dstring_util.h460 BASE_EXPORT string16 ReplaceStringPlaceholders(
465 BASE_EXPORT std::string ReplaceStringPlaceholders(
471 BASE_EXPORT string16 ReplaceStringPlaceholders(const string16& format_string,
Dstring_util.cc1067 string16 ReplaceStringPlaceholders(const string16& format_string, in ReplaceStringPlaceholders() function
1073 std::string ReplaceStringPlaceholders(StringPiece format_string, in ReplaceStringPlaceholders() function
1079 string16 ReplaceStringPlaceholders(const string16& format_string, in ReplaceStringPlaceholders() function
1085 string16 result = ReplaceStringPlaceholders(format_string, subst, &offsets); in ReplaceStringPlaceholders()
/external/libchrome/base/test/
Dfontconfig_util_linux.cc398 std::string fonts_conf = ReplaceStringPlaceholders( in SetUpFontconfig()