• Home
  • Raw
  • Download

Lines Matching refs:splitter

259   auto splitter = absl::StrSplit("a,b", ',');  in TEST()  local
260 auto it = splitter.begin(); in TEST()
261 auto end = splitter.end(); in TEST()
284 auto splitter = absl::StrSplit("a,b,c", ',', Skip("b")); in TEST() local
285 auto it = splitter.begin(); in TEST()
286 auto end = splitter.end(); in TEST()
315 auto splitter = absl::StrSplit(spec.in, ','); in TEST() local
316 auto it = splitter.begin(); in TEST()
317 auto end = splitter.end(); in TEST()
327 const auto splitter = absl::StrSplit("a,b,c", ','); in TEST() local
328 EXPECT_THAT(splitter, ElementsAre("a", "b", "c")); in TEST()
343 auto splitter = absl::StrSplit("a,b,c", ','); in TEST() local
344 auto it = splitter.begin(); in TEST()
368 auto splitter = absl::StrSplit("a,b,c", ','); in TEST() local
370 for (const absl::string_view p : splitter) { in TEST()
378 void TestConversionOperator(const Splitter& splitter) { in TestConversionOperator() argument
379 ContainerType output = splitter; in TestConversionOperator()
384 void TestMapConversionOperator(const Splitter& splitter) { in TestMapConversionOperator() argument
385 MapType m = splitter; in TestMapConversionOperator()
390 void TestPairConversionOperator(const Splitter& splitter) { in TestPairConversionOperator() argument
391 std::pair<FirstType, SecondType> p = splitter; in TestPairConversionOperator()
396 auto splitter = absl::StrSplit("a,b,c,d", ','); in TEST() local
398 TestConversionOperator<std::vector<absl::string_view>>(splitter); in TEST()
399 TestConversionOperator<std::vector<std::string>>(splitter); in TEST()
400 TestConversionOperator<std::list<absl::string_view>>(splitter); in TEST()
401 TestConversionOperator<std::list<std::string>>(splitter); in TEST()
402 TestConversionOperator<std::deque<absl::string_view>>(splitter); in TEST()
403 TestConversionOperator<std::deque<std::string>>(splitter); in TEST()
404 TestConversionOperator<std::set<absl::string_view>>(splitter); in TEST()
405 TestConversionOperator<std::set<std::string>>(splitter); in TEST()
406 TestConversionOperator<std::multiset<absl::string_view>>(splitter); in TEST()
407 TestConversionOperator<std::multiset<std::string>>(splitter); in TEST()
408 TestConversionOperator<std::unordered_set<std::string>>(splitter); in TEST()
413 splitter); in TEST()
414 TestMapConversionOperator<std::map<absl::string_view, std::string>>(splitter); in TEST()
415 TestMapConversionOperator<std::map<std::string, absl::string_view>>(splitter); in TEST()
416 TestMapConversionOperator<std::map<std::string, std::string>>(splitter); in TEST()
418 std::multimap<absl::string_view, absl::string_view>>(splitter); in TEST()
420 splitter); in TEST()
422 splitter); in TEST()
423 TestMapConversionOperator<std::multimap<std::string, std::string>>(splitter); in TEST()
425 splitter); in TEST()
427 absl::node_hash_map<absl::string_view, absl::string_view>>(splitter); in TEST()
429 absl::node_hash_map<absl::string_view, std::string>>(splitter); in TEST()
431 absl::node_hash_map<std::string, absl::string_view>>(splitter); in TEST()
433 absl::flat_hash_map<absl::string_view, absl::string_view>>(splitter); in TEST()
435 absl::flat_hash_map<absl::string_view, std::string>>(splitter); in TEST()
437 absl::flat_hash_map<std::string, absl::string_view>>(splitter); in TEST()
441 TestPairConversionOperator<absl::string_view, absl::string_view>(splitter); in TEST()
442 TestPairConversionOperator<absl::string_view, std::string>(splitter); in TEST()
443 TestPairConversionOperator<std::string, absl::string_view>(splitter); in TEST()
444 TestPairConversionOperator<std::string, std::string>(splitter); in TEST()
497 auto splitter = absl::StrSplit(kTestChars, ','); in TEST() local
498 std::vector<std::string> v = splitter; in TEST()
504 auto splitter = absl::StrSplit(kTestChars, ',', AllowEmpty()); in TEST() local
505 std::vector<std::string> v_allowempty = splitter; in TEST()
516 auto splitter = absl::StrSplit(kTestChars, ',', SkipEmpty()); in TEST() local
517 std::vector<std::string> v = splitter; in TEST()
523 auto splitter = absl::StrSplit(kTestChars, ',', SkipWhitespace()); in TEST() local
524 std::vector<std::string> v = splitter; in TEST()
589 auto splitter = absl::StrSplit(std::string(input), ','); in TEST() local
591 for (absl::string_view letter : splitter) { in TEST()