Lines Matching refs:end_ptr
110 // guarantee that end_ptr.sub(needle.len()) won't result in UB. We could
135 let end_ptr = start_ptr.add(haystack.len());
136 let max_ptr = end_ptr.sub(min_haystack_len);
146 fwd, needle, ptr, end_ptr, rare1chunk, rare2chunk, !0,
153 if ptr < end_ptr {
154 let remaining = diff(end_ptr, ptr);
188 fwd, needle, ptr, end_ptr, rare1chunk, rare2chunk, mask,
198 /// pointed to by ptr, with the end of the haystack pointed to by end_ptr. When
215 /// loads on ptr up to (end_ptr - needle.len()).
221 end_ptr: *const u8,
236 if end_ptr.sub(needle.len()) < ptr {