• Home
  • Raw
  • Download

Lines Matching refs:StringPiece

13 typedef StringPiece::size_type size_type;
15 bool operator==(const StringPiece& x, const StringPiece& y) { in operator ==()
19 return StringPiece::wordmemcmp(x.data(), y.data(), x.size()) == 0; in operator ==()
22 void StringPiece::CopyToString(std::string* target) const { in CopyToString()
26 void StringPiece::AppendToString(std::string* target) const { in AppendToString()
31 size_type StringPiece::copy(char* buf, size_type n, size_type pos) const { in copy()
37 size_type StringPiece::find(const StringPiece& s, size_type pos) const { in find()
47 size_type StringPiece::find(char c, size_type pos) const { in find()
55 size_type StringPiece::rfind(const StringPiece& s, size_type pos) const { in rfind()
67 size_type StringPiece::rfind(char c, size_type pos) const { in rfind()
88 static inline void BuildLookupTable(const StringPiece& characters_wanted, in BuildLookupTable()
97 size_type StringPiece::find_first_of(const StringPiece& s, in find_first_of()
116 size_type StringPiece::find_first_not_of(const StringPiece& s, in find_first_not_of()
138 size_type StringPiece::find_first_not_of(char c, size_type pos) const { in find_first_not_of()
150 size_type StringPiece::find_last_of(const StringPiece& s, size_type pos) const { in find_last_of()
169 size_type StringPiece::find_last_not_of(const StringPiece& s, in find_last_not_of()
193 size_type StringPiece::find_last_not_of(char c, size_type pos) const { in find_last_not_of()
206 StringPiece StringPiece::substr(size_type pos, size_type n) const { in substr()
209 return StringPiece(ptr_ + pos, n); in substr()
212 const StringPiece::size_type StringPiece::npos = size_type(-1);