/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
H A D | str_split_test.cc | 72 // 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 D | str_split_benchmark.cc | 41 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 D | str_split.h | 21 // `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 D | str_replace_test.cc | 186 auto splitter = absl::StrSplit(c.data, ':'); in get()
|
H A D | str_join_test.cc | 126 // 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 D | commandlineflags.cc | 90 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 D | string_util.h | 46 std::vector<std::string> StrSplit(const std::string& str, char delim);
|
H A D | string_util.cc | 155 std::vector<std::string> StrSplit(const std::string& str, char delim) { in StrSplit() function
|
H A D | benchmark.cc | 384 StrSplit(FLAGS_benchmark_perf_counters, ',')); in RunBenchmarks()
|
/third_party/benchmark/test/ |
H A D | string_util_gtest.cc | 156 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 D | marshalling.cc | 158 *dst = absl::StrSplit(text, ',', absl::AllowEmpty()); in AbslParseFlag()
|
H A D | reflection_test.cc | 101 absl::StrSplit(in, ':', absl::SkipWhitespace()); in AbslParseFlag()
|
H A D | flag_test.cc | 706 absl::StrSplit(in, ':', absl::SkipWhitespace()); in AbslParseFlag()
|
/third_party/libphonenumber/cpp/src/phonenumbers/ |
H A D | stringutil.cc | 71 for (absl::string_view split_piece : absl::StrSplit( in SplitStringUsing()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/container/ |
H A D | btree_test.cc | 1705 const absl::btree_set<std::string> split_set = absl::StrSplit("a,b,c", ','); in TEST()
|