Lines Matching full:safety
42 /// # Safety
58 /// # Safety
62 // SAFETY: The pointer to `state` is valid for the duration of this call, and both `name` in init()
122 // SAFETY: The same thread-safety rules as `LockedBy` apply to `GlobalLockedBy`.
131 // SAFETY: The same thread-safety rules as `LockedBy` apply to `GlobalLockedBy`.
157 // SAFETY: The lock is globally unique, so there can only be one guard. in as_ref()
165 // SAFETY: The lock is globally unique, so there can only be one guard. in as_mut()
191 /// // SAFETY: Initialized in module initializer before first use.
203 /// // SAFETY: Called exactly once.
221 /// // SAFETY: Initialized in module initializer before first use.
243 /// // SAFETY: Called exactly once.
283 // SAFETY: