Lines Matching refs:old
13690 // old binaryheap failed this test
14207 // both the old and new memory allocation are valid for reads and writes for `old_size`
14208 // bytes. Also, because the old allocation wasn't yet deallocated, it cannot overlap
14295 // both the old and new memory allocation are valid for reads and writes for `new_size`
14296 // bytes. Also, because the old allocation wasn't yet deallocated, it cannot overlap
15225 /// let s = "this is old";
15227 /// assert_eq!("this is new", s.replace("old", "new"));
15233 /// let s = "this is old";
15272 /// let s = "this is old";
19906 // so don't run the destructor for our old weak reference.
22960 let old = *ptr;
22962 old
23678 // so don't run the destructor for our old weak reference.
24163 Err(old) => cur = old,
25100 Err(old) => n = old,
30596 /// If the map did have this key present, the value is updated, and the old
35501 /// and returns the entry's old value.
39241 /// of the parent, while pushing the old parent key-value pair into the right child.
39253 /// of the parent, while pushing the old parent key-value pair onto the left child.
44847 // SAFETY: child is now either the old child or the old child+1
45989 let old = self.ptr;
45992 Some(unsafe { ptr::read(old) })