Home | History | Annotate | Download | only in base

Lines Matching refs:StringPiece

17 #include "stringpiece.h"
24 void StringPiece::CopyToString(std::string* target) const {
28 int StringPiece::copy(char* buf, size_type n, size_type pos) const {
34 StringPiece::size_type StringPiece::find(const StringPiece& s, size_type pos) const {
44 int StringPiece::compare(const StringPiece& x) const {
53 StringPiece::size_type StringPiece::find(char c, size_type pos) const {
61 StringPiece::size_type StringPiece::rfind(const StringPiece& s, size_type pos) const {
71 StringPiece::size_type StringPiece::rfind(char c, size_type pos) const {
82 StringPiece StringPiece::substr(size_type pos, size_type n) const {
85 return StringPiece(ptr_ + pos, n);
88 const StringPiece::size_type StringPiece::npos = size_type(-1);
90 std::ostream& operator<<(std::ostream& o, const StringPiece& piece) {