Lines Matching refs:init
4 // * init function can fail
187 fn initialize_or_wait(queue: &AtomicPtr<Waiter>, mut init: Option<&mut dyn FnMut() -> bool>) {
192 match (curr_state, &mut init) {
194 (INCOMPLETE, Some(init)) => {
206 if init() {
308 fn init(&self, f: impl FnOnce() -> T) {
318 O.init(|| a += 1);
320 O.init(|| a += 1);
337 O.init(|| {
348 O.init(|| {
366 O.init(|| panic!());
372 O.init(|| {
378 O.init(|| {});
387 O.init(|| panic!());
395 O.init(|| {
406 O.init(|| {