Home
last modified time | relevance | path

Searched refs:StrSplit (Results 1 - 15 of 15) sorted by relevance

/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
H A Dstr_split_test.cc72 // This tests the overall split API, which is made up of the absl::StrSplit()
79 std::vector<std::string> v = absl::StrSplit("a,b,c", ","); // NOLINT in TEST()
84 v = absl::StrSplit("a,b,c", ByString(",")); in TEST()
88 EXPECT_THAT(absl::StrSplit("a,b,c", ByString(",")), in TEST()
94 std::vector<std::string> v = absl::StrSplit("a,b,c", ','); in TEST()
99 v = absl::StrSplit("a,b,c", ByChar(',')); in TEST()
105 const std::vector<std::string> v = absl::StrSplit("a=>b=>c", "=>"); in TEST()
111 std::vector<absl::string_view> v = absl::StrSplit("a,b,c", ','); in TEST()
117 std::vector<std::string> v = absl::StrSplit(",a,b,c,", ','); in TEST()
123 std::vector<std::string> v = absl::StrSplit("ab in TEST()
[all...]
H A Dstr_split_benchmark.cc41 std::vector<absl::string_view> result = absl::StrSplit(test, ';'); in BM_Split2StringView()
59 // Measure StrSplit with ByAnyChar with four delimiters to choose from.
64 absl::StrSplit(test, absl::ByAnyChar(kDelimiters)); in BM_Split2StringViewByAnyChar()
74 result = absl::StrSplit(test, ';'); in BM_Split2StringViewLifted()
83 std::vector<std::string> result = absl::StrSplit(test, ';'); in BM_Split2String()
96 absl::StrSplit(test, ';', absl::SkipEmpty()); in BM_Split2SplitStringUsing()
110 absl::StrSplit(test, ':', absl::SkipEmpty()); in BM_SplitStringToUnorderedSet()
124 absl::StrSplit(test, ':', absl::SkipEmpty()); in BM_SplitStringToUnorderedMap()
137 std::vector<std::string> result = absl::StrSplit(test, ';'); in BM_SplitStringAllowEmpty()
157 pieces = absl::StrSplit("Th in BM_SplitStringWithOneChar()
[all...]
H A Dstr_split.h21 // `StrSplit()` function, several delimiters for determining the boundaries on
23 // `StrSplit()` adapts the returned collection to the type specified by the
30 // std::vector<std::string> v = absl::StrSplit("a,b,c", ',');
34 // See StrSplit() below for more information.
59 // `StrSplit()` uses delimiters to define the boundaries between elements in the
62 // an explicit `Delimiter` object, `StrSplit()` treats it the same way as if it
68 // The following `Delimiter` types are available for use within `StrSplit()`:
109 // A sub-string delimiter. If `StrSplit()` is passed a string in place of a
118 // std::vector<std::string> v1 = absl::StrSplit("a, b, c", ", ");
121 // std::vector<std::string> v2 = absl::StrSplit("
500 StrSplit(strings_internal::ConvertibleToStringView text, Delimiter d) { StrSplit() function
513 StrSplit(StringType&& text, Delimiter d) { StrSplit() function
524 StrSplit(strings_internal::ConvertibleToStringView text, Delimiter d, StrSplit() function
538 StrSplit(StringType&& text, Delimiter d, Predicate p) { StrSplit() function
[all...]
H A Dstr_replace_test.cc186 auto splitter = absl::StrSplit(c.data, ':'); in get()
H A Dstr_join_test.cc126 // Shows absl::StrSplit and absl::StrJoin working together. This example is in TEST()
129 EXPECT_EQ("a-b-c-d", absl::StrJoin(absl::StrSplit(s, "="), "-")); in TEST()
/third_party/benchmark/src/
H A Dcommandlineflags.cc90 for (const auto& kvpair : StrSplit(str, ',')) { in ParseKvPairs()
91 const auto kv = StrSplit(kvpair, '='); in ParseKvPairs()
267 for (const auto& kvpair : StrSplit(value_str, ',')) { in ParseKeyValueFlag()
268 const auto kv = StrSplit(kvpair, '='); in ParseKeyValueFlag()
H A Dstring_util.h46 std::vector<std::string> StrSplit(const std::string& str, char delim);
H A Dstring_util.cc155 std::vector<std::string> StrSplit(const std::string& str, char delim) { in StrSplit() function
H A Dbenchmark.cc384 StrSplit(FLAGS_benchmark_perf_counters, ',')); in RunBenchmarks()
/third_party/benchmark/test/
H A Dstring_util_gtest.cc156 TEST(StringUtilTest, StrSplit) { in TEST()
157 EXPECT_EQ(benchmark::StrSplit("", ','), std::vector<std::string>{}); in TEST()
158 EXPECT_EQ(benchmark::StrSplit("hello", ','), in TEST()
160 EXPECT_EQ(benchmark::StrSplit("hello,there,is,more", ','), in TEST()
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/
H A Dmarshalling.cc158 *dst = absl::StrSplit(text, ',', absl::AllowEmpty()); in AbslParseFlag()
H A Dreflection_test.cc101 absl::StrSplit(in, ':', absl::SkipWhitespace()); in AbslParseFlag()
H A Dflag_test.cc706 absl::StrSplit(in, ':', absl::SkipWhitespace()); in AbslParseFlag()
/third_party/libphonenumber/cpp/src/phonenumbers/
H A Dstringutil.cc71 for (absl::string_view split_piece : absl::StrSplit( in SplitStringUsing()
/third_party/skia/third_party/externals/abseil-cpp/absl/container/
H A Dbtree_test.cc1705 const absl::btree_set<std::string> split_set = absl::StrSplit("a,b,c", ','); in TEST()

Completed in 13 milliseconds