Lines Matching refs:ptr_
25 target->assign(ptr_, length_); in CopyToString()
30 memcpy(buf, ptr_ + pos, ret); in copy()
38 const char* result = std::search(ptr_ + pos, ptr_ + length_, in find()
39 s.ptr_, s.ptr_ + s.length_); in find()
40 const size_type xpos = result - ptr_; in find()
45 int r = memcmp(ptr_, x.ptr_, std::min(length_, x.length_)); in compare()
57 const char* result = std::find(ptr_ + pos, ptr_ + length_, c); in find()
58 return result != ptr_ + length_ ? result - ptr_ : npos; in find()
66 const char* last = ptr_ + std::min(ulen - s.length_, pos) + s.length_; in rfind()
67 const char* result = std::find_end(ptr_, last, s.ptr_, s.ptr_ + s.length_); in rfind()
68 return result != last ? result - ptr_ : npos; in rfind()
75 if (ptr_[i] == c) { in rfind()
85 return StringPiece(ptr_ + pos, n); in substr()