Searched refs:wrapper_ptr (Results 1 – 2 of 2) sorted by relevance
140 pub(crate) unsafe fn wrapper_ptr(this: *mut Self) -> NonNull<RequestDataWrapper> { in wrapper_ptr() method144 let wrapper_ptr = in wrapper_ptr() localVariable148 unsafe { NonNull::new_unchecked(wrapper_ptr) } in wrapper_ptr()158 unsafe { Self::wrapper_ptr(self as *const Self as *mut Self).as_ref() } in wrapper_ref()249 let wrapper_ptr = unsafe { Self::wrapper_ptr(obj.as_ptr()).as_ptr() }; in dec_ref() localVariable252 let refcount = unsafe { &*RequestDataWrapper::refcount_ptr(wrapper_ptr) }; in dec_ref()
186 let pdu = unsafe { Request::wrapper_ptr(rq.cast::<Request<T>>()) }; in init_request_callback()