Lines Matching defs:piece
35 size_t FindFirstOf(std::string_view piece, char c, size_t pos) {
36 return piece.find(c, pos);
38 size_t FindFirstOf(std::u16string_view piece, char16_t c, size_t pos) {
39 return piece.find(c, pos);
41 size_t FindFirstOf(std::string_view piece,
44 return piece.find_first_of(one_of, pos);
46 size_t FindFirstOf(std::u16string_view piece,
49 return piece.find_first_of(one_of, pos);
56 // DelimiterType is either a character (Str::value_type) or a string piece of
77 ViewType piece;
79 piece = str.substr(start);
82 piece = str.substr(start, end - start);
87 piece = TrimString(piece, WhitespaceForType<char_type>(), TRIM_ALL);
89 if (result_type == SPLIT_WANT_ALL || !piece.empty())
90 result.emplace_back(piece);