• Home
  • Raw
  • Download

Lines Matching refs:StringPiece

31 typedef StringPiece::size_type size_type;
33 bool operator==(const StringPiece& x, const StringPiece& y) { in operator ==()
44 return StringPiece::wordmemcmp(x.data(), y.data(), len) == 0; in operator ==()
47 void StringPiece::CopyToString(std::string* target) const { in CopyToString()
51 void StringPiece::AppendToString(std::string* target) const { in AppendToString()
56 size_type StringPiece::copy(char* buf, size_type n, size_type pos) const { in copy()
62 size_type StringPiece::find(const StringPiece& s, size_type pos) const { in find()
72 size_type StringPiece::find(char c, size_type pos) const { in find()
80 size_type StringPiece::rfind(const StringPiece& s, size_type pos) const { in rfind()
92 size_type StringPiece::rfind(char c, size_type pos) const { in rfind()
113 static inline void BuildLookupTable(const StringPiece& characters_wanted, in BuildLookupTable()
122 size_type StringPiece::find_first_of(const StringPiece& s, in find_first_of()
141 size_type StringPiece::find_first_not_of(const StringPiece& s, in find_first_not_of()
163 size_type StringPiece::find_first_not_of(char c, size_type pos) const { in find_first_not_of()
175 size_type StringPiece::find_last_of(const StringPiece& s, size_type pos) const { in find_last_of()
194 size_type StringPiece::find_last_not_of(const StringPiece& s, in find_last_not_of()
218 size_type StringPiece::find_last_not_of(char c, size_type pos) const { in find_last_not_of()
231 StringPiece StringPiece::substr(size_type pos, size_type n) const { in substr()
234 return StringPiece(ptr_ + pos, n); in substr()
237 const StringPiece::size_type StringPiece::npos = size_type(-1);