Lines Matching refs:StringPiece
21 using base::StringPiece;
30 const StringPiece& str,
39 while (pos_ != StringPiece::npos) {
42 if (pos_ == StringPiece::npos)
53 StringPiece::size_type footer_pos = str_.find(it->footer, pos_);
54 if (footer_pos == StringPiece::npos) {
55 pos_ = StringPiece::npos;
60 StringPiece::size_type data_begin = pos_ + it->header.size();
64 StringPiece encoded = str_.substr(data_begin,
88 const StringPiece& str,