Lines Matching refs:StringPiece
8 using re2::StringPiece;
10 std::ostream& operator<<(std::ostream& o, const StringPiece& piece) { in operator <<()
15 bool StringPiece::_equal(const StringPiece& x, const StringPiece& y) { in _equal()
32 void StringPiece::CopyToString(string* target) const { in CopyToString()
36 int StringPiece::copy(char* buf, size_type n, size_type pos) const { in copy()
42 int StringPiece::find(const StringPiece& s, size_type pos) const { in find()
52 int StringPiece::find(char c, size_type pos) const { in find()
60 int StringPiece::rfind(const StringPiece& s, size_type pos) const { in rfind()
70 int StringPiece::rfind(char c, size_type pos) const { in rfind()
81 StringPiece StringPiece::substr(size_type pos, size_type n) const { in substr()
84 return StringPiece(ptr_ + pos, n); in substr()
87 const StringPiece::size_type StringPiece::npos = size_type(-1);