Searched refs:Owning (Results 1 - 5 of 5) sorted by relevance
/third_party/rust/crates/rustix/tests/io/ |
H A D | epoll.rs | 33 let epoll = Epoll::new(epoll::CreateFlags::CLOEXEC, epoll::Owning::<OwnedFd>::new()).unwrap(); in server() 37 let epoll: Epoll<epoll::Owning<OwnedFd>> = fd.into(); in server() 39 let epoll = unsafe { Epoll::<epoll::Owning<OwnedFd>>::from_raw_fd(fd) }; in server()
|
/third_party/rust/crates/rustix/src/backend/linux_raw/io/ |
H A D | epoll.rs | 27 //! // Create an epoll object. Using `Owning` here means the epoll object will 29 //! let epoll = Epoll::new(epoll::CreateFlags::CLOEXEC, epoll::Owning::new())?; 240 impl<'context, T: AsFd + Into<OwnedFd> + From<OwnedFd>> AsRawFd for Epoll<Owning<'context, T>> { 247 impl<'context, T: AsFd + Into<OwnedFd> + From<OwnedFd>> IntoRawFd for Epoll<Owning<'context, T>> { 254 impl<'context, T: AsFd + Into<OwnedFd> + From<OwnedFd>> FromRawFd for Epoll<Owning<'context, T>> { 258 context: Owning::new(), in from_raw_fd() 264 impl<'context, T: AsFd + Into<OwnedFd> + From<OwnedFd>> AsFd for Epoll<Owning<'context, T>> { 271 impl<'context, T: AsFd + Into<OwnedFd> + From<OwnedFd>> From<Epoll<Owning<'context, T>>> in as_fd() 274 fn from(epoll: Epoll<Owning<'context, T>>) -> Self { in as_fd() 281 for Epoll<Owning<'contex [all...] |
/third_party/rust/crates/rustix/src/backend/libc/io/ |
H A D | epoll.rs | 27 //! // Create an epoll object. Using `Owning` here means the epoll object will 29 //! let epoll = Epoll::new(epoll::CreateFlags::CLOEXEC, epoll::Owning::new())?; 249 impl<'context, T: AsFd + Into<OwnedFd> + From<OwnedFd>> AsRawFd for Epoll<Owning<'context, T>> { 256 impl<'context, T: AsFd + Into<OwnedFd> + From<OwnedFd>> IntoRawFd for Epoll<Owning<'context, T>> { 263 impl<'context, T: AsFd + Into<OwnedFd> + From<OwnedFd>> FromRawFd for Epoll<Owning<'context, T>> { 267 context: Owning::new(), in from_raw_fd() 273 impl<'context, T: AsFd + Into<OwnedFd> + From<OwnedFd>> AsFd for Epoll<Owning<'context, T>> { 280 impl<'context, T: AsFd + Into<OwnedFd> + From<OwnedFd>> From<Epoll<Owning<'context, T>>> in as_fd() 283 fn from(epoll: Epoll<Owning<'context, T>>) -> Self { in as_fd() 290 for Epoll<Owning<'contex [all...] |
/third_party/rust/crates/rustix/src/io/ |
H A D | context.rs | 112 pub struct Owning<'context, T: Into<OwnedFd> + From<OwnedFd>> { in release() structure names 117 impl<'context, T: Into<OwnedFd> + From<OwnedFd>> Owning<'context, T> { in release() 118 /// Creates a new empty `Owning`. in release() 129 impl<'context, T: AsFd + Into<OwnedFd> + From<OwnedFd>> Context for Owning<'context, T> {
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/ |
H A D | stylo.hpp | [all...] |
Completed in 36 milliseconds