/third_party/abseil-cpp/absl/strings/ |
D | str_split_test.cc | 77 std::vector<std::string> v = absl::StrSplit("a,b,c", ","); // NOLINT in TEST() 82 v = absl::StrSplit("a,b,c", ByString(",")); in TEST() 86 EXPECT_THAT(absl::StrSplit("a,b,c", ByString(",")), in TEST() 92 std::vector<std::string> v = absl::StrSplit("a,b,c", ','); in TEST() 97 v = absl::StrSplit("a,b,c", ByChar(',')); in TEST() 103 const std::vector<std::string> v = absl::StrSplit("a=>b=>c", "=>"); in TEST() 109 std::vector<absl::string_view> v = absl::StrSplit("a,b,c", ','); in TEST() 115 std::vector<std::string> v = absl::StrSplit(",a,b,c,", ','); in TEST() 121 std::vector<std::string> v = absl::StrSplit("abc", ','); in TEST() 128 std::vector<std::string> v = absl::StrSplit("abc", ""); in TEST() [all …]
|
D | str_split_benchmark.cc | 41 std::vector<absl::string_view> result = absl::StrSplit(test, ';'); in BM_Split2StringView() 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("The quick brown fox jumps over the lazy dog", in BM_SplitStringWithOneChar() 171 auto splitter = absl::StrSplit( in BM_SplitStringWithOneCharNoVector()
|
D | str_split.h | 493 StrSplit(strings_internal::ConvertibleToStringView text, Delimiter d) { 503 StrSplit(strings_internal::ConvertibleToStringView text, Delimiter d,
|
D | str_replace_test.cc | 186 auto splitter = absl::StrSplit(c.data, ':'); in get()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
D | str_split_test.cc | 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("abc", ','); in TEST() 130 std::vector<std::string> v = absl::StrSplit("abc", ""); in TEST() [all …]
|
D | str_split_benchmark.cc | 41 std::vector<absl::string_view> result = absl::StrSplit(test, ';'); in BM_Split2StringView() 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("The quick brown fox jumps over the lazy dog", in BM_SplitStringWithOneChar() 171 auto splitter = absl::StrSplit( in BM_SplitStringWithOneCharNoVector()
|
D | str_split.h | 500 StrSplit(strings_internal::ConvertibleToStringView text, Delimiter d) { 513 StrSplit(StringType&& text, Delimiter d) { 524 StrSplit(strings_internal::ConvertibleToStringView text, Delimiter d, 538 StrSplit(StringType&& text, Delimiter d, Predicate p) {
|
D | str_replace_test.cc | 186 auto splitter = absl::StrSplit(c.data, ':'); in get()
|
/third_party/benchmark/test/ |
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()
|
/third_party/benchmark/src/ |
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()
|
D | string_util.h | 41 std::vector<std::string> StrSplit(const std::string& str, char delim);
|
D | string_util.cc | 166 std::vector<std::string> StrSplit(const std::string& str, char delim) { in StrSplit() function
|
/third_party/grpc/src/core/lib/uri/ |
D | uri_parser.cc | 132 for (absl::string_view query_param : absl::StrSplit(tmp_query, '&')) { in Parse() 134 absl::StrSplit(query_param, absl::MaxSplits('=', 1)); in Parse()
|
/third_party/mindspore/mindspore/lite/tools/converter/ |
D | converter_flags.cc | 174 auto shape_strs = lite::StrSplit(content, std::string(";")); in InitInTensorShape() 180 auto string_split = lite::StrSplit(shape_str, std::string(":")); in InitInTensorShape() 190 auto dims = lite::StrSplit(dim_strs, std::string(",")); in InitInTensorShape()
|
/third_party/grpc/test/cpp/interop/ |
D | xds_interop_client.cc | 297 absl::StrSplit(FLAGS_rpc, ',', absl::SkipEmpty()); in RunTestLoop() 304 absl::StrSplit(FLAGS_metadata, ',', absl::SkipEmpty()); in RunTestLoop() 309 absl::StrSplit(data, ':', absl::SkipEmpty()); in RunTestLoop()
|
/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()
|
/third_party/mindspore/mindspore/lite/tools/cropper/ |
D | cropper.cc | 130 auto files = StrSplit(this->flags_->model_file_, std::string(kDelimComma)); in GetModelFiles() 181 auto mapping = StrSplit(buf_str, kDelimComma); in GetOpMatchFiles()
|
/third_party/skia/third_party/externals/abseil-cpp/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()
|
/third_party/grpc/src/core/ext/filters/client_channel/resolver/sockaddr/ |
D | sockaddr_resolver.cc | 93 for (absl::string_view ith_path : absl::StrSplit(uri.path(), ',')) { in ParseUri()
|
/third_party/mindspore/mindspore/lite/src/common/ |
D | utils.cc | 81 std::vector<std::string> StrSplit(const std::string &str, const std::string &pattern) { in StrSplit() function
|
D | utils.h | 165 std::vector<std::string> StrSplit(const std::string &str, const std::string &pattern);
|
/third_party/grpc/src/core/lib/security/credentials/external/ |
D | url_external_account_credentials.cc | 63 absl::StrSplit(it->second.string_value(), absl::MaxSplits('/', 3)); in UrlExternalAccountCredentials()
|
D | aws_request_signer.cc | 184 absl::StrSplit(url_.authority(), absl::MaxSplits('.', 1)); in GetSignedRequestHeaders()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/ |
D | marshalling.cc | 158 *dst = absl::StrSplit(text, ',', absl::AllowEmpty()); in AbslParseFlag()
|
/third_party/abseil-cpp/absl/flags/ |
D | marshalling.cc | 158 *dst = absl::StrSplit(text, ',', absl::AllowEmpty()); in AbslParseFlag()
|