Searched refs:StrSplit (Results 1 – 7 of 7) sorted by relevance
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/abseil/ |
| H A D | faster-strsplit-delimiter.cpp | 42 absl::StrSplit("ABC", "A"); in SplitDelimiters() 46 absl::StrSplit("ABC", "\x01"); in SplitDelimiters() 50 absl::StrSplit("ABC", "\001"); in SplitDelimiters() 54 absl::StrSplit("ABC", R"(A)"); in SplitDelimiters() 58 absl::StrSplit("ABC", R"(')"); in SplitDelimiters() 62 absl::StrSplit("ABC", R"( in SplitDelimiters() 81 absl::StrSplit("ABC", "AB"); in SplitDelimiters() 86 absl::StrSplit("ABC", "'"); in SplitDelimiters() 90 absl::StrSplit("ABC", "\""); in SplitDelimiters() 112 absl::StrSplit("TTT", T("A")); in FunctionTemplate() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/abseil/ |
| H A D | faster-strsplit-delimiter.rst | 6 Finds instances of ``absl::StrSplit()`` or ``absl::MaxSplits()`` where the 20 for (auto piece : absl::StrSplit(str, "B")) { 23 // overload of absl::StrSplit() to be used. 24 for (auto piece : absl::StrSplit(str, 'B')) { 28 for (auto piece : absl::StrSplit(str, absl::ByAnyChar("B"))) { 31 // overload of absl::StrSplit() to be used and we do not need absl::ByAnyChar 33 for (auto piece : absl::StrSplit(str, 'B')) { 37 for (auto piece : absl::StrSplit(str, absl::MaxSplits("B", 1))) { 40 // overload of absl::StrSplit() to be used. 41 for (auto piece : absl::StrSplit(str, absl::MaxSplits('B', 1))) {
|
| /llvm-project-15.0.7/third-party/benchmark/test/ |
| H A D | string_util_gtest.cc | 144 TEST(StringUtilTest, StrSplit) { in TEST() argument 145 EXPECT_EQ(benchmark::StrSplit("", ','), std::vector<std::string>{}); in TEST() 146 EXPECT_EQ(benchmark::StrSplit("hello", ','), in TEST() 148 EXPECT_EQ(benchmark::StrSplit("hello,there,is,more", ','), in TEST()
|
| /llvm-project-15.0.7/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() 257 for (const auto& kvpair : StrSplit(value_str, ',')) { in ParseKeyValueFlag() 258 const auto kv = StrSplit(kvpair, '='); in ParseKeyValueFlag()
|
| H A D | string_util.h | 41 std::vector<std::string> StrSplit(const std::string& str, char delim);
|
| H A D | string_util.cc | 166 std::vector<std::string> StrSplit(const std::string& str, char delim) { in StrSplit() function
|
| H A D | benchmark_runner.cc | 156 PerfCounters::Create(StrSplit(FLAGS_benchmark_perf_counters, ','))), in BenchmarkRunner()
|