Home
last modified time | relevance | path

Searched refs:JoinString (Results 1 – 12 of 12) 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/i18n/
Dbreak_iterator_unittest.cc124 const string16 str(UTF8ToUTF16(base::JoinString({term1, term2, term3}, ""))); in TEST()
152 const string16 str(UTF8ToUTF16(base::JoinString({term1, term2, term3}, ""))); in TEST()
173 const string16 str(UTF8ToUTF16(base::JoinString({term1, term2}, ""))); in TEST()
196 const string16 str(UTF8ToUTF16(base::JoinString( in TEST()
/external/libchrome/base/task_scheduler/
Dscheduler_worker_pool_impl.cc169 JoinString({kDetachDurationHistogramPrefix, histogram_label, in SchedulerWorkerPoolImpl()
180 JoinString({kNumTasksBeforeDetachHistogramPrefix, histogram_label,
192 JoinString({kNumTasksBetweenWaitsHistogramPrefix, histogram_label,
Dtask_scheduler_impl.cc55 JoinString( in TaskSchedulerImpl()
Dtask_tracker.cc93 const std::string histogram = JoinString( in GetLatencyHistogram()
/external/libchrome/base/test/launcher/
Dunit_test_launcher.cc147 JoinString(test_names, ":")); in GetCommandLineForChildGTestProcess()
Dtest_launcher.cc673 fprintf(stdout, "%s", base::JoinString(snippet_lines, "\n").c_str()); in OnTestFinished()
/external/libchrome/base/
Dfeature_list_unittest.cc40 return JoinString(features, ","); in SortFeatureListString()
/external/libchrome/base/trace_event/
Dtrace_log.cc1575 base::JoinString(labels, ",")); in AddMetadataEventsWhileLocked()