Lines Matching refs:ptr_
88 strings_internal::memmatch(ptr_ + pos, length_ - pos, s.ptr_, s.length_); in find()
89 return result ? result - ptr_ : npos; in find()
97 static_cast<const char*>(memchr(ptr_ + pos, c, length_ - pos)); in find()
98 return result != nullptr ? result - ptr_ : npos; in find()
105 const char* last = ptr_ + std::min(length_ - s.length_, pos) + s.length_; in rfind()
106 const char* result = std::find_end(ptr_, last, s.ptr_, s.ptr_ + s.length_); in rfind()
107 return result != last ? result - ptr_ : npos; in rfind()
116 if (ptr_[i] == c) { in rfind()
131 if (s.length_ == 1) return find_first_of(s.ptr_[0], pos); in find_first_of()
134 if (tbl[ptr_[i]]) { in find_first_of()
146 if (s.length_ == 1) return find_first_not_of(s.ptr_[0], pos); in find_first_not_of()
149 if (!tbl[ptr_[i]]) { in find_first_not_of()
161 if (ptr_[pos] != c) { in find_first_not_of()
172 if (s.length_ == 1) return find_last_of(s.ptr_[0], pos); in find_last_of()
175 if (tbl[ptr_[i]]) { in find_last_of()
190 if (s.length_ == 1) return find_last_not_of(s.ptr_[0], pos); in find_last_not_of()
193 if (!tbl[ptr_[i]]) { in find_last_not_of()
207 if (ptr_[i] != c) { in find_last_not_of()