Lines Matching defs:lazycell
355 let lazycell: LazyCell<usize> = LazyCell::new(); in test_borrow_from_empty() localVariable
366 let lazycell = LazyCell::new(); in test_fill_and_borrow() localVariable
381 let mut lazycell = LazyCell::new(); in test_borrow_mut() localVariable
397 let lazycell = LazyCell::new(); in test_already_filled_error() localVariable
405 let lazycell = LazyCell::new(); in test_borrow_with() localVariable
413 let lazycell = LazyCell::new(); in test_borrow_with_already_filled() localVariable
422 let lazycell = LazyCell::new(); in test_borrow_with_not_called_when_filled() localVariable
435 let lazycell: LazyCell<Box<i32>> = LazyCell::new(); in test_borrow_with_sound_with_reentrancy() localVariable
448 let mut lazycell = LazyCell::new(); in test_borrow_mut_with() localVariable
460 let mut lazycell = LazyCell::new(); in test_borrow_mut_with_already_filled() localVariable
469 let mut lazycell = LazyCell::new(); in test_borrow_mut_with_not_called_when_filled() localVariable
479 let lazycell = LazyCell::new(); in test_try_borrow_with_ok() localVariable
486 let lazycell = LazyCell::<()>::new(); in test_try_borrow_with_err() localVariable
493 let lazycell = LazyCell::new(); in test_try_borrow_with_already_filled() localVariable
502 let lazycell: LazyCell<Box<i32>> = LazyCell::new(); in test_try_borrow_with_sound_with_reentrancy() localVariable
515 let mut lazycell = LazyCell::new(); in test_try_borrow_mut_with_ok() localVariable
526 let mut lazycell = LazyCell::<()>::new(); in test_try_borrow_mut_with_err() localVariable
533 let mut lazycell = LazyCell::new(); in test_try_borrow_mut_with_already_filled() localVariable
541 let lazycell = LazyCell::new(); in test_into_inner() localVariable
550 let lazycell: AtomicLazyCell<usize> = AtomicLazyCell::new(); in test_atomic_borrow_from_empty() localVariable
561 let lazycell = AtomicLazyCell::new(); in test_atomic_fill_and_borrow() localVariable
576 let lazycell = AtomicLazyCell::new(); in test_atomic_already_filled_panic() localVariable
584 let lazycell = AtomicLazyCell::new(); in test_atomic_into_inner() localVariable