Lines Matching refs:cast
23 initMutex(cast(Mutex*)&gcs.mtx);
30 // and therefore is single threaded so the following cast is fine.
31 auto h = cast()head;
33 destroyMutex(cast(Mutex*)&p.mtx);
39 ensureMutex(cast(shared(D_CRITICAL_SECTION*)) cs);
45 if (atomicLoad!(MemoryOrder.acq)(*cast(shared) pcs) is null)
47 lockMutex(cast(Mutex*)&gcs.mtx);
48 if (atomicLoad!(MemoryOrder.raw)(*cast(shared) pcs) is null)
51 initMutex(cast(Mutex*)&cs.mtx);
52 atomicStore!(MemoryOrder.rel)(*cast(shared) pcs, cs);
54 unlockMutex(cast(Mutex*)&gcs.mtx);
80 lockMutex(cast(Mutex*)&gcs.mtx);
83 initMutex(cast(Mutex*)&cs.mtx);
88 unlockMutex(cast(Mutex*)&gcs.mtx);