Lines Matching defs:size_type
39 typedef size_t size_type;
41 static constexpr size_type npos = size_type(-1);
62 size_type size() const { return length_; }
63 size_type length() const { return length_; }
70 void set(const char* data_in, size_type len) {
82 void set(const void* data_in, size_type len) {
88 char operator[](size_type i) const {
92 char operator[](size_type i) const;
95 void remove_prefix(size_type n) {
100 void remove_suffix(size_type n) {
142 size_type copy(char* buf, size_type n, size_type pos = 0) const;
144 size_type find(const StringPiece& s, size_type pos = 0) const;
145 size_type find(char c, size_type pos = 0) const;
146 size_type rfind(const StringPiece& s, size_type pos = npos) const;
147 size_type rfind(char c, size_type pos = npos) const;
149 StringPiece substr(size_type pos, size_type n = npos) const;
155 size_type length_;
162 StringPiece::size_type len = x.size();