Home | History | Annotate | Download | only in marisa

Lines Matching defs:ptr_

10   String() : ptr_(NULL), length_(0) {}
11 explicit String(const char *str) : ptr_(str), length_(0) {
17 : ptr_(ptr), length_(length) {}
18 String(const String &str) : ptr_(str.ptr_), length_(str.length_) {}
22 return String(ptr_ + pos, length);
26 ptr_ = str.ptr_;
33 return ptr_[i];
37 return ptr_;
44 const char *ptr_;
83 : ptr_(static_cast<const char *>(NULL) - 1), length_(0) {}
85 : ptr_(str.ptr() + str.length() - 1), length_(str.length()) {}
87 : ptr_(str.ptr_), length_(str.length_) {}
92 str.ptr_ -= pos;
98 ptr_ = str.ptr_;
105 return *(ptr_ - i);
109 return ptr_ - length_ + 1;
116 const char *ptr_;