• Home
  • Raw
  • Download

Lines Matching defs:lazycell

373         let lazycell: LazyCell<usize> = LazyCell::new();  in test_borrow_from_empty()  localVariable
384 let lazycell = LazyCell::new(); in test_fill_and_borrow() localVariable
399 let mut lazycell = LazyCell::new(); in test_borrow_mut() localVariable
415 let lazycell = LazyCell::new(); in test_already_filled_error() localVariable
423 let lazycell = LazyCell::new(); in test_borrow_with() localVariable
431 let lazycell = LazyCell::new(); in test_borrow_with_already_filled() localVariable
440 let lazycell = LazyCell::new(); in test_borrow_with_not_called_when_filled() localVariable
453 let lazycell: LazyCell<Box<i32>> = LazyCell::new(); in test_borrow_with_sound_with_reentrancy() localVariable
466 let mut lazycell = LazyCell::new(); in test_borrow_mut_with() localVariable
478 let mut lazycell = LazyCell::new(); in test_borrow_mut_with_already_filled() localVariable
487 let mut lazycell = LazyCell::new(); in test_borrow_mut_with_not_called_when_filled() localVariable
497 let lazycell = LazyCell::new(); in test_try_borrow_with_ok() localVariable
504 let lazycell = LazyCell::<()>::new(); in test_try_borrow_with_err() localVariable
511 let lazycell = LazyCell::new(); in test_try_borrow_with_already_filled() localVariable
520 let lazycell: LazyCell<Box<i32>> = LazyCell::new(); in test_try_borrow_with_sound_with_reentrancy() localVariable
533 let mut lazycell = LazyCell::new(); in test_try_borrow_mut_with_ok() localVariable
544 let mut lazycell = LazyCell::<()>::new(); in test_try_borrow_mut_with_err() localVariable
551 let mut lazycell = LazyCell::new(); in test_try_borrow_mut_with_already_filled() localVariable
559 let lazycell = LazyCell::new(); in test_into_inner() localVariable
568 let lazycell: AtomicLazyCell<usize> = AtomicLazyCell::new(); in test_atomic_borrow_from_empty() localVariable
579 let lazycell = AtomicLazyCell::new(); in test_atomic_fill_and_borrow() localVariable
594 let lazycell = AtomicLazyCell::new(); in test_atomic_already_filled_panic() localVariable
602 let lazycell = AtomicLazyCell::new(); in test_atomic_into_inner() localVariable