Lines Matching defs:lazycell
374 let lazycell: LazyCell<usize> = LazyCell::new(); in test_borrow_from_empty() localVariable
385 let lazycell = LazyCell::new(); in test_fill_and_borrow() localVariable
400 let mut lazycell = LazyCell::new(); in test_borrow_mut() localVariable
416 let lazycell = LazyCell::new(); in test_already_filled_error() localVariable
424 let lazycell = LazyCell::new(); in test_borrow_with() localVariable
432 let lazycell = LazyCell::new(); in test_borrow_with_already_filled() localVariable
441 let lazycell = LazyCell::new(); in test_borrow_with_not_called_when_filled() localVariable
454 let lazycell: LazyCell<Box<i32>> = LazyCell::new(); in test_borrow_with_sound_with_reentrancy() localVariable
467 let mut lazycell = LazyCell::new(); in test_borrow_mut_with() localVariable
479 let mut lazycell = LazyCell::new(); in test_borrow_mut_with_already_filled() localVariable
488 let mut lazycell = LazyCell::new(); in test_borrow_mut_with_not_called_when_filled() localVariable
498 let lazycell = LazyCell::new(); in test_try_borrow_with_ok() localVariable
505 let lazycell = LazyCell::<()>::new(); in test_try_borrow_with_err() localVariable
512 let lazycell = LazyCell::new(); in test_try_borrow_with_already_filled() localVariable
521 let lazycell: LazyCell<Box<i32>> = LazyCell::new(); in test_try_borrow_with_sound_with_reentrancy() localVariable
534 let mut lazycell = LazyCell::new(); in test_try_borrow_mut_with_ok() localVariable
545 let mut lazycell = LazyCell::<()>::new(); in test_try_borrow_mut_with_err() localVariable
552 let mut lazycell = LazyCell::new(); in test_try_borrow_mut_with_already_filled() localVariable
560 let lazycell = LazyCell::new(); in test_into_inner() localVariable
569 let lazycell: AtomicLazyCell<usize> = AtomicLazyCell::new(); in test_atomic_borrow_from_empty() localVariable
580 let lazycell = AtomicLazyCell::new(); in test_atomic_fill_and_borrow() localVariable
595 let lazycell = AtomicLazyCell::new(); in test_atomic_already_filled_panic() localVariable
603 let lazycell = AtomicLazyCell::new(); in test_atomic_into_inner() localVariable