Lines Matching full:safety
39 // SAFETY: Safe as per the invariant of `Region`. in deref()
57 // SAFETY: Safe as per the invariant of `Region`. in drop()
62 // SAFETY: `Region` only holds a pointer to a C `struct resource`, which is safe to be used from
66 // SAFETY: `Region` only holds a pointer to a C `struct resource`, references to which are
81 /// # Safety
89 // SAFETY: Self is a transparent wrapper around `Opaque<bindings::resource>`. in from_raw()
105 // SAFETY: in request_region()
129 // SAFETY: Safe as per the invariants of `Resource`. in size()
136 // SAFETY: Safe as per the invariants of `Resource`. in start()
144 // SAFETY: Safe as per the invariants of `Resource`. in name()
151 // SAFETY: In the C code, `resource::name` either contains a null in name()
161 // SAFETY: Safe as per the invariants of `Resource`. in flags()
168 // SAFETY: `Resource` only holds a pointer to a C `struct resource`, which is
172 // SAFETY: `Resource` only holds a pointer to a C `struct resource`, references