Home
last modified time | relevance | path

Searched refs:borrow_raw (Results 1 – 15 of 15) sorted by relevance

/third_party/rust/crates/io-lifetimes/src/
Dimpls_tokio.rs20 unsafe { BorrowedFd::borrow_raw(self.as_raw_fd()) } in as_fd()
28 unsafe { BorrowedHandle::borrow_raw(self.as_raw_handle()) } in as_handle()
68 unsafe { BorrowedFd::borrow_raw(self.as_raw_fd()) } in as_fd()
76 unsafe { BorrowedSocket::borrow_raw(self.as_raw_socket()) } in as_socket()
84 unsafe { BorrowedFd::borrow_raw(self.as_raw_fd()) } in as_fd()
92 unsafe { BorrowedSocket::borrow_raw(self.as_raw_socket()) } in as_socket()
100 unsafe { BorrowedFd::borrow_raw(self.as_raw_fd()) } in as_fd()
108 unsafe { BorrowedSocket::borrow_raw(self.as_raw_socket()) } in as_socket()
116 unsafe { BorrowedFd::borrow_raw(self.as_raw_fd()) } in as_fd()
124 unsafe { BorrowedHandle::borrow_raw(self.as_raw_handle()) } in as_handle()
[all …]
Dimpls_std.rs24 unsafe { BorrowedFd::borrow_raw(self.as_raw_fd()) } in as_fd()
32 unsafe { BorrowedHandle::borrow_raw(self.as_raw_handle()) } in as_handle()
40 unsafe { BorrowedSocket::borrow_raw(self.as_raw_socket()) } in as_socket()
48 unsafe { BorrowedFd::borrow_raw(self.as_raw_fd()) } in as_fd()
56 unsafe { BorrowedHandle::borrow_raw(self.as_raw_handle()) } in as_handle()
64 unsafe { BorrowedSocket::borrow_raw(self.as_raw_socket()) } in as_socket()
136 unsafe { BorrowedFd::borrow_raw(self.as_raw_fd()) } in as_fd()
144 unsafe { BorrowedHandle::borrow_raw(self.as_raw_handle()) } in as_handle()
216 unsafe { BorrowedFd::borrow_raw(self.as_raw_fd()) } in as_fd()
224 unsafe { BorrowedSocket::borrow_raw(self.as_raw_socket()) } in as_socket()
[all …]
Dimpls_async_std.rs27 unsafe { BorrowedFd::borrow_raw(self.as_raw_fd()) } in as_fd()
35 unsafe { BorrowedHandle::borrow_raw(self.as_raw_handle()) } in as_handle()
107 unsafe { BorrowedFd::borrow_raw(self.as_raw_fd()) } in as_fd()
115 unsafe { BorrowedSocket::borrow_raw(self.as_raw_socket()) } in as_socket()
187 unsafe { BorrowedFd::borrow_raw(self.as_raw_fd()) } in as_fd()
195 unsafe { BorrowedSocket::borrow_raw(self.as_raw_socket()) } in as_socket()
267 unsafe { BorrowedFd::borrow_raw(self.as_raw_fd()) } in as_fd()
275 unsafe { BorrowedSocket::borrow_raw(self.as_raw_socket()) } in as_socket()
347 unsafe { BorrowedFd::borrow_raw(self.as_raw_fd()) } in as_fd()
355 unsafe { BorrowedHandle::borrow_raw(self.as_raw_handle()) } in as_handle()
[all …]
Dimpls_mio.rs20 unsafe { BorrowedFd::borrow_raw(self.as_raw_fd()) } in as_fd()
28 unsafe { BorrowedSocket::borrow_raw(self.as_raw_socket()) } in as_socket()
100 unsafe { BorrowedFd::borrow_raw(self.as_raw_fd()) } in as_fd()
108 unsafe { BorrowedSocket::borrow_raw(self.as_raw_socket()) } in as_socket()
180 unsafe { BorrowedFd::borrow_raw(self.as_raw_fd()) } in as_fd()
188 unsafe { BorrowedSocket::borrow_raw(self.as_raw_socket()) } in as_socket()
260 unsafe { BorrowedFd::borrow_raw(self.as_raw_fd()) } in as_fd()
300 unsafe { BorrowedFd::borrow_raw(self.as_raw_fd()) } in as_fd()
340 unsafe { BorrowedFd::borrow_raw(self.as_raw_fd()) } in as_fd()
380 unsafe { BorrowedFd::borrow_raw(self.as_raw_fd()) } in as_fd()
[all …]
Dimpls_os_pipe.rs20 unsafe { BorrowedFd::borrow_raw(self.as_raw_fd()) } in as_fd()
28 unsafe { BorrowedHandle::borrow_raw(self.as_raw_handle()) } in as_handle()
100 unsafe { BorrowedFd::borrow_raw(self.as_raw_fd()) } in as_fd()
108 unsafe { BorrowedHandle::borrow_raw(self.as_raw_handle()) } in as_handle()
Dimpls_fs_err.rs20 unsafe { BorrowedFd::borrow_raw(self.as_raw_fd()) } in as_fd()
28 unsafe { BorrowedHandle::borrow_raw(self.as_raw_handle()) } in as_handle()
Dimpls_socket2.rs20 unsafe { BorrowedFd::borrow_raw(self.as_raw_fd()) } in as_fd()
28 unsafe { BorrowedSocket::borrow_raw(self.as_raw_socket()) } in as_socket()
Dtypes.rs439 pub const unsafe fn borrow_raw(fd: RawFd) -> Self { in borrow_raw() method
467 pub const unsafe fn borrow_raw(handle: RawHandle) -> Self { in borrow_raw() method
485 pub const unsafe fn borrow_raw(socket: RawSocket) -> Self { in borrow_raw() method
/third_party/rust/crates/rustix/src/io/
Dstdio.rs42 BorrowedFd::borrow_raw(backend::io::types::STDIN_FILENO as RawFd) in stdin()
103 BorrowedFd::borrow_raw(backend::io::types::STDOUT_FILENO as RawFd) in stdout()
163 BorrowedFd::borrow_raw(backend::io::types::STDERR_FILENO as RawFd) in stderr()
Dcontext.rs97 Ref::new(BorrowedFd::<'a>::borrow_raw(raw as RawFd)) in decode()
142 unsafe { Ref::new(BorrowedFd::<'context>::borrow_raw(raw_fd)) } in acquire()
152 Ref::new(BorrowedFd::<'context>::borrow_raw(raw as RawFd)) in decode()
/third_party/rust/crates/rustix/src/backend/libc/fs/
Ddir.rs137 fstat(unsafe { BorrowedFd::borrow_raw(c::dirfd(self.0.as_ptr())) }) in stat()
151 fstatfs(unsafe { BorrowedFd::borrow_raw(c::dirfd(self.0.as_ptr())) }) in statfs()
164 fstatvfs(unsafe { BorrowedFd::borrow_raw(c::dirfd(self.0.as_ptr())) }) in statvfs()
171 fchdir(unsafe { BorrowedFd::borrow_raw(c::dirfd(self.0.as_ptr())) }) in chdir()
/third_party/rust/crates/rustix/src/backend/libc/io/
Dpoll_fd.rs124 unsafe { BorrowedFd::borrow_raw(self.pollfd.fd) } in as_fd()
134 unsafe { BorrowedFd::borrow_raw(self.pollfd.fd as RawFd) } in as_socket()
/third_party/rust/crates/rustix/src/io/fd/
Downed.rs73 pub const unsafe fn borrow_raw(fd: RawFd) -> Self { in borrow_raw() method
250 unsafe { BorrowedFd::borrow_raw(self.as_raw_fd()) } in as_fd()
/third_party/rust/crates/rustix/src/fs/
Dcwd.rs31 unsafe { BorrowedFd::<'static>::borrow_raw(at_fdcwd) } in cwd()
/third_party/rust/crates/rustix/src/
Dio_uring.rs560 unsafe { BorrowedFd::<'static>::borrow_raw(files_skip) } in io_uring_register_files_skip()