Lines Matching refs:prev

137     prev: *mut ListLinksFields,  field
167 prev: ptr::null_mut(), in new()
225 prev: ptr::null_mut(), in new()
268 (*item).prev = item; in push_back()
274 let prev = unsafe { (*next).prev }; in push_back() localVariable
280 (*item).prev = prev; in push_back()
281 (*prev).next = item; in push_back()
282 (*next).prev = item; in push_back()
307 (*item).prev = item; in push_front()
312 let prev = unsafe { (*next).prev }; in push_front() localVariable
318 (*item).prev = prev; in push_front()
319 (*prev).next = item; in push_front()
320 (*next).prev = item; in push_front()
333 let last = unsafe { (*self.first).prev }; in pop_back()
367 let ListLinksFields { next, prev } = unsafe { *item }; in remove()
369 debug_assert_eq!(next.is_null(), prev.is_null()); in remove()
379 debug_assert_eq!(item, (*next).prev); in remove()
380 item = (*next).prev; in remove()
385 Some(unsafe { self.remove_internal_inner(item, next, prev) }) in remove()
399 let ListLinksFields { next, prev } = unsafe { *item }; in remove_internal()
401 unsafe { self.remove_internal_inner(item, next, prev) } in remove_internal()
414 prev: *mut ListLinksFields, in remove_internal_inner()
426 (*next).prev = prev; in remove_internal_inner()
427 (*prev).next = next; in remove_internal_inner()
432 (*item).prev = ptr::null_mut(); in remove_internal_inner()
447 self.first = unsafe { (*prev).next }; in remove_internal_inner()
471 let other_last = unsafe { (*other_first).prev }; in push_all_back()
474 let self_last = unsafe { (*self_first).prev }; in push_all_back()
480 (*self_first).prev = other_last; in push_all_back()
483 (*other_first).prev = self_last; in push_all_back()
624 pub fn prev(self) -> Option<Cursor<'a, T, ID>> { in prev() method
626 let prev = unsafe { (*self.current).prev }; in prev() localVariable
634 current: prev, in prev()