Lines Matching refs:scope
103 scope: *const Entry, field
125 scope: &EMPTY_ENTRY.0, in empty()
133 unsafe fn create(mut ptr: *const Entry, scope: *const Entry) -> Self { in create()
139 if ptr::eq(ptr, scope) { in create()
147 scope, in create()
164 unsafe { Cursor::create(self.ptr.offset(1), self.scope) } in bump_ignore_group()
186 ptr::eq(self.ptr, self.scope) in eof()
254 let after_group = unsafe { Cursor::create(end_of_group, self.scope) }; in group()
270 let after_group = unsafe { Cursor::create(end_of_group, self.scope) }; in any_group()
280 let after_group = unsafe { Cursor::create(end_of_group, self.scope) }; in any_group_token()
315 let rest = unsafe { Cursor::create(self.ptr.add(len), self.scope) }; in token_tree()
370 Some(unsafe { Cursor::create(self.ptr.add(len), self.scope) }) in skip()
374 match unsafe { &*self.scope } { in scope_delimiter()
375 Entry::End(_, offset) => match unsafe { &*self.scope.offset(*offset) } { in scope_delimiter()
411 ptr::eq(a.scope, b.scope) in same_scope()
420 match &*cursor.scope { in start_of_buffer()
421 Entry::End(offset, _) => cursor.scope.offset(*offset), in start_of_buffer()