/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/ |
D | abseil-faster-strsplit-delimiter.cpp | 29 class ByAnyChar { class 31 explicit ByAnyChar(absl::string_view); 32 ~ByAnyChar(); 72 absl::StrSplit("ABC", absl::ByAnyChar("\n")); in SplitDelimiters() 83 absl::StrSplit("ABC", absl::ByAnyChar("")); in SplitDelimiters() 84 absl::StrSplit("ABC", absl::ByAnyChar(" \t")); in SplitDelimiters() 99 auto delim = absl::MaxSplits(absl::ByAnyChar(" "), 1); in SplitDelimiters() 123 FunctionTemplate<absl::ByAnyChar>(); in FunctionTemplateCaller()
|
/external/llvm-project/clang-tools-extra/docs/clang-tidy/checks/ |
D | abseil-faster-strsplit-delimiter.rst | 9 It will also catch code using ``absl::ByAnyChar()`` for just a single character 27 // Original - the argument is a string literal inside absl::ByAnyChar call. 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
|
/external/libtextclassifier/abseil-cpp/absl/strings/ |
D | str_split.cc | 113 ByAnyChar::ByAnyChar(absl::string_view sp) : delimiters_(sp) {} in ByAnyChar() function in absl::ByAnyChar 115 absl::string_view ByAnyChar::Find(absl::string_view text, size_t pos) const { in Find()
|
D | str_split.h | 182 class ByAnyChar { 184 explicit ByAnyChar(absl::string_view sp);
|
D | str_split_test.cc | 168 using absl::ByAnyChar; in TEST() 169 std::vector<std::string> v = absl::StrSplit("a,b;c", ByAnyChar(",;")); in TEST() 686 absl::StrSplit(u8"Foo h\u00E4llo th\u4E1Ere", absl::ByAnyChar(" \t")); in TEST() 858 TEST(Delimiter, ByAnyChar) { in TEST() argument 859 using absl::ByAnyChar; in TEST() 860 ByAnyChar one_delim(","); in TEST() 873 ByAnyChar two_delims(",;"); in TEST() 895 ByAnyChar empty(""); in TEST()
|
/external/abseil-cpp/absl/strings/ |
D | str_split.cc | 113 ByAnyChar::ByAnyChar(absl::string_view sp) : delimiters_(sp) {} in ByAnyChar() function in absl::ByAnyChar 115 absl::string_view ByAnyChar::Find(absl::string_view text, size_t pos) const { in Find()
|
D | str_split.h | 181 class ByAnyChar { 183 explicit ByAnyChar(absl::string_view sp);
|
D | str_split_test.cc | 166 using absl::ByAnyChar; in TEST() 167 std::vector<std::string> v = absl::StrSplit("a,b;c", ByAnyChar(",;")); in TEST() 672 absl::StrSplit(u8"Foo h\u00E4llo th\u4E1Ere", absl::ByAnyChar(" \t")); in TEST() 844 TEST(Delimiter, ByAnyChar) { in TEST() argument 845 using absl::ByAnyChar; in TEST() 846 ByAnyChar one_delim(","); in TEST() 859 ByAnyChar two_delims(",;"); in TEST() 881 ByAnyChar empty(""); in TEST()
|
/external/openscreen/third_party/abseil/src/absl/strings/ |
D | str_split.cc | 113 ByAnyChar::ByAnyChar(absl::string_view sp) : delimiters_(sp) {} in ByAnyChar() function in absl::ByAnyChar 115 absl::string_view ByAnyChar::Find(absl::string_view text, size_t pos) const { in Find()
|
D | str_split_test.cc | 168 using absl::ByAnyChar; in TEST() 169 std::vector<std::string> v = absl::StrSplit("a,b;c", ByAnyChar(",;")); in TEST() 686 absl::StrSplit(u8"Foo h\u00E4llo th\u4E1Ere", absl::ByAnyChar(" \t")); in TEST() 858 TEST(Delimiter, ByAnyChar) { in TEST() argument 859 using absl::ByAnyChar; in TEST() 860 ByAnyChar one_delim(","); in TEST() 873 ByAnyChar two_delims(",;"); in TEST() 895 ByAnyChar empty(""); in TEST()
|
D | str_split.h | 182 class ByAnyChar { 184 explicit ByAnyChar(absl::string_view sp);
|
D | str_split_benchmark.cc | 64 absl::StrSplit(test, absl::ByAnyChar(kDelimiters)); in BM_Split2StringViewByAnyChar()
|
/external/webrtc/third_party/abseil-cpp/absl/strings/ |
D | str_split.cc | 113 ByAnyChar::ByAnyChar(absl::string_view sp) : delimiters_(sp) {} in ByAnyChar() function in absl::ByAnyChar 115 absl::string_view ByAnyChar::Find(absl::string_view text, size_t pos) const { in Find()
|
D | str_split.h | 181 class ByAnyChar { 183 explicit ByAnyChar(absl::string_view sp);
|
D | str_split_test.cc | 166 using absl::ByAnyChar; in TEST() 167 std::vector<std::string> v = absl::StrSplit("a,b;c", ByAnyChar(",;")); in TEST() 672 absl::StrSplit(u8"Foo h\u00E4llo th\u4E1Ere", absl::ByAnyChar(" \t")); in TEST() 844 TEST(Delimiter, ByAnyChar) { in TEST() argument 845 using absl::ByAnyChar; in TEST() 846 ByAnyChar one_delim(","); in TEST() 859 ByAnyChar two_delims(",;"); in TEST() 881 ByAnyChar empty(""); in TEST()
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/ |
D | str_split.cc | 113 ByAnyChar::ByAnyChar(absl::string_view sp) : delimiters_(sp) {} in ByAnyChar() function in absl::ByAnyChar 115 absl::string_view ByAnyChar::Find(absl::string_view text, size_t pos) const { in Find()
|
D | str_split.h | 182 class ByAnyChar { 184 explicit ByAnyChar(absl::string_view sp);
|
D | str_split_test.cc | 168 using absl::ByAnyChar; in TEST() 169 std::vector<std::string> v = absl::StrSplit("a,b;c", ByAnyChar(",;")); in TEST() 686 absl::StrSplit(u8"Foo h\u00E4llo th\u4E1Ere", absl::ByAnyChar(" \t")); in TEST() 858 TEST(Delimiter, ByAnyChar) { in TEST() argument 859 using absl::ByAnyChar; in TEST() 860 ByAnyChar one_delim(","); in TEST() 873 ByAnyChar two_delims(",;"); in TEST() 895 ByAnyChar empty(""); in TEST()
|
/external/llvm-project/clang-tools-extra/clang-tidy/abseil/ |
D | FasterStrsplitDelimiterCheck.cpp | 114 if (const auto *ByAnyChar = Result.Nodes.getNodeAs<Expr>("ByAnyChar")) in check() local 115 Range = ByAnyChar->getSourceRange(); in check()
|
/external/tensorflow/tensorflow/core/platform/ |
D | str_util.h | 134 : absl::StrSplit(text, absl::ByAnyChar(delims)); in Split() 140 : absl::StrSplit(text, absl::ByAnyChar(delims), p); in Split()
|
/external/libtextclassifier/abseil-cpp/absl/flags/internal/ |
D | usage.cc | 124 for (auto line : absl::StrSplit(str, absl::ByAnyChar("\n\r"))) { in Write() 130 absl::StrSplit(line, absl::ByAnyChar(" \t"), absl::SkipEmpty())) { in Write()
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/flags/internal/ |
D | usage.cc | 124 for (auto line : absl::StrSplit(str, absl::ByAnyChar("\n\r"))) { in Write() 130 absl::StrSplit(line, absl::ByAnyChar(" \t"), absl::SkipEmpty())) { in Write()
|
/external/webrtc/third_party/abseil-cpp/absl/flags/internal/ |
D | usage.cc | 142 for (auto line : absl::StrSplit(str, absl::ByAnyChar("\n\r"))) { in Write() 148 absl::StrSplit(line, absl::ByAnyChar(" \t"), absl::SkipEmpty())) { in Write()
|
/external/abseil-cpp/absl/flags/internal/ |
D | usage.cc | 142 for (auto line : absl::StrSplit(str, absl::ByAnyChar("\n\r"))) { in Write() 148 absl::StrSplit(line, absl::ByAnyChar(" \t"), absl::SkipEmpty())) { in Write()
|
/external/openscreen/third_party/abseil/src/absl/flags/internal/ |
D | usage.cc | 127 for (auto line : absl::StrSplit(str, absl::ByAnyChar("\n\r"))) { in Write() 133 absl::StrSplit(line, absl::ByAnyChar(" \t"), absl::SkipEmpty())) { in Write()
|