/third_party/rust/crates/rustix/src/net/ |
D | sockopt.rs | 56 pub fn set_socket_reuseaddr<Fd: AsFd>(fd: Fd, value: bool) -> io::Result<()> { in set_socket_reuseaddr() 78 pub fn set_socket_broadcast<Fd: AsFd>(fd: Fd, broadcast: bool) -> io::Result<()> { in set_socket_broadcast() 122 pub fn set_socket_linger<Fd: AsFd>(fd: Fd, linger: Option<Duration>) -> io::Result<()> { in set_socket_linger() 159 pub fn set_socket_passcred<Fd: AsFd>(fd: Fd, passcred: bool) -> io::Result<()> { in set_socket_passcred() 198 pub fn set_socket_timeout<Fd: AsFd>( in set_socket_timeout() 225 pub fn get_socket_timeout<Fd: AsFd>(fd: Fd, id: Timeout) -> io::Result<Option<Duration>> { in get_socket_timeout() 246 pub fn set_ip_ttl<Fd: AsFd>(fd: Fd, ttl: u32) -> io::Result<()> { in set_ip_ttl() 290 pub fn set_ipv6_v6only<Fd: AsFd>(fd: Fd, only_v6: bool) -> io::Result<()> { in set_ipv6_v6only() 334 pub fn set_ip_multicast_loop<Fd: AsFd>(fd: Fd, multicast_loop: bool) -> io::Result<()> { in set_ip_multicast_loop() 378 pub fn set_ip_multicast_ttl<Fd: AsFd>(fd: Fd, multicast_ttl: u32) -> io::Result<()> { in set_ip_multicast_ttl() [all …]
|
D | socket.rs | 84 pub fn bind<Fd: AsFd>(sockfd: Fd, addr: &SocketAddr) -> io::Result<()> { in bind() 108 pub fn bind_any<Fd: AsFd>(sockfd: Fd, addr: &SocketAddrAny) -> io::Result<()> { in bind_any() 136 pub fn bind_v4<Fd: AsFd>(sockfd: Fd, addr: &SocketAddrV4) -> io::Result<()> { in bind_v4() 155 pub fn bind_v6<Fd: AsFd>(sockfd: Fd, addr: &SocketAddrV6) -> io::Result<()> { in bind_v6() 175 pub fn bind_unix<Fd: AsFd>(sockfd: Fd, addr: &SocketAddrUnix) -> io::Result<()> { in bind_unix() 191 pub fn connect<Fd: AsFd>(sockfd: Fd, addr: &SocketAddr) -> io::Result<()> { in connect() 215 pub fn connect_any<Fd: AsFd>(sockfd: Fd, addr: &SocketAddrAny) -> io::Result<()> { in connect_any() 243 pub fn connect_v4<Fd: AsFd>(sockfd: Fd, addr: &SocketAddrV4) -> io::Result<()> { in connect_v4() 262 pub fn connect_v6<Fd: AsFd>(sockfd: Fd, addr: &SocketAddrV6) -> io::Result<()> { in connect_v6() 282 pub fn connect_unix<Fd: AsFd>(sockfd: Fd, addr: &SocketAddrUnix) -> io::Result<()> { in connect_unix() [all …]
|
D | send_recv.rs | 24 pub fn recv<Fd: AsFd>(fd: Fd, buf: &mut [u8], flags: RecvFlags) -> io::Result<usize> { in recv() 41 pub fn send<Fd: AsFd>(fd: Fd, buf: &[u8], flags: SendFlags) -> io::Result<usize> { in send() 59 pub fn recvfrom<Fd: AsFd>( in recvfrom() 80 pub fn sendto<Fd: AsFd>( in sendto() 114 pub fn sendto_any<Fd: AsFd>( in sendto_any() 152 pub fn sendto_v4<Fd: AsFd>( in sendto_v4() 176 pub fn sendto_v6<Fd: AsFd>( in sendto_v6() 201 pub fn sendto_unix<Fd: AsFd>( in sendto_unix()
|
/third_party/rust/crates/rustix/src/io/ |
D | read_write.rs | 29 pub fn read<Fd: AsFd>(fd: Fd, buf: &mut [u8]) -> io::Result<usize> { in read() 44 pub fn write<Fd: AsFd>(fd: Fd, buf: &[u8]) -> io::Result<usize> { in write() 59 pub fn pread<Fd: AsFd>(fd: Fd, buf: &mut [u8], offset: u64) -> io::Result<usize> { in pread() 78 pub fn pwrite<Fd: AsFd>(fd: Fd, buf: &[u8], offset: u64) -> io::Result<usize> { in pwrite() 93 pub fn readv<Fd: AsFd>(fd: Fd, bufs: &mut [IoSliceMut<'_>]) -> io::Result<usize> { in readv() 108 pub fn writev<Fd: AsFd>(fd: Fd, bufs: &[IoSlice<'_>]) -> io::Result<usize> { in writev() 121 pub fn preadv<Fd: AsFd>(fd: Fd, bufs: &mut [IoSliceMut<'_>], offset: u64) -> io::Result<usize> { in preadv() 138 pub fn pwritev<Fd: AsFd>(fd: Fd, bufs: &[IoSlice<'_>], offset: u64) -> io::Result<usize> { in pwritev() 152 pub fn preadv2<Fd: AsFd>( in preadv2() 171 pub fn pwritev2<Fd: AsFd>( in pwritev2()
|
D | fcntl.rs | 40 pub fn fcntl_setfd<Fd: AsFd>(fd: Fd, flags: FdFlags) -> io::Result<()> { in fcntl_setfd() 62 pub fn fcntl_dupfd_cloexec<Fd: AsFd>(fd: Fd, min: RawFd) -> io::Result<OwnedFd> { in fcntl_dupfd_cloexec() 83 pub fn fcntl_dupfd<Fd: AsFd>(fd: Fd, min: RawFd) -> io::Result<OwnedFd> { in fcntl_dupfd()
|
D | dup.rs | 59 pub fn dup2<Fd: AsFd>(fd: Fd, new: &mut OwnedFd) -> io::Result<()> { in dup2() 78 pub fn dup3<Fd: AsFd>(fd: Fd, new: &mut OwnedFd, flags: DupFlags) -> io::Result<()> { in dup3()
|
D | ioctl.rs | 63 pub fn ioctl_fionbio<Fd: AsFd>(fd: Fd, value: bool) -> io::Result<()> { in ioctl_fionbio()
|
/third_party/rust/crates/rustix/src/fs/ |
D | fd.rs | 91 pub fn seek<Fd: AsFd>(fd: Fd, pos: SeekFrom) -> io::Result<u64> { in seek() 126 pub fn fchmod<Fd: AsFd>(fd: Fd, mode: Mode) -> io::Result<()> { in fchmod() 140 pub fn fchown<Fd: AsFd>(fd: Fd, owner: Option<Uid>, group: Option<Gid>) -> io::Result<()> { in fchown() 219 pub fn futimens<Fd: AsFd>(fd: Fd, times: &Timestamps) -> io::Result<()> { in futimens() 249 pub fn fallocate<Fd: AsFd>(fd: Fd, mode: FallocateFlags, offset: u64, len: u64) -> io::Result<()> { in fallocate() 336 pub fn ftruncate<Fd: AsFd>(fd: Fd, length: u64) -> io::Result<()> { in ftruncate() 348 pub fn flock<Fd: AsFd>(fd: Fd, operation: FlockOperation) -> io::Result<()> { in flock()
|
D | at.rs | 57 dirfd: Fd, in openat() 78 pub fn readlinkat<P: path::Arg, Fd: AsFd, B: Into<Vec<u8>>>( in readlinkat() 116 pub fn mkdirat<P: path::Arg, Fd: AsFd>(dirfd: Fd, path: P, mode: Mode) -> io::Result<()> { in mkdirat() argument 163 pub fn unlinkat<P: path::Arg, Fd: AsFd>(dirfd: Fd, path: P, flags: AtFlags) -> io::Result<()> { in unlinkat() argument 236 new_dirfd: Fd, in symlinkat() 261 pub fn statat<P: path::Arg, Fd: AsFd>(dirfd: Fd, path: P, flags: AtFlags) -> io::Result<Stat> { in statat() argument 278 dirfd: Fd, in accessat() 296 dirfd: Fd, in utimensat() 321 pub fn chmodat<P: path::Arg, Fd: AsFd>(dirfd: Fd, path: P, mode: Mode) -> io::Result<()> { in chmodat() argument 333 pub fn fclonefileat<Fd: AsFd, DstFd: AsFd, P: path::Arg>( in fclonefileat() [all …]
|
D | fcntl.rs | 41 pub fn fcntl_setfl<Fd: AsFd>(fd: Fd, flags: OFlags) -> io::Result<()> { in fcntl_setfl() 85 pub fn fcntl_add_seals<Fd: AsFd>(fd: Fd, seals: SealFlags) -> io::Result<()> { in fcntl_add_seals()
|
D | fadvise.rs | 17 pub fn fadvise<Fd: AsFd>(fd: Fd, offset: u64, len: u64, advice: Advice) -> io::Result<()> { in fadvise()
|
D | fcntl_darwin.rs | 11 pub fn fcntl_rdadvise<Fd: AsFd>(fd: Fd, offset: u64, len: u64) -> io::Result<()> { in fcntl_rdadvise()
|
D | openat2.rs | 13 pub fn openat2<Fd: AsFd, P: path::Arg>( in openat2()
|
D | statx.rs | 24 dirfd: Fd, in statx()
|
/third_party/rust/crates/rustix/src/termios/ |
D | tc.rs | 73 pub fn tcsetpgrp<Fd: AsFd>(fd: Fd, pid: Pid) -> io::Result<()> { in tcsetpgrp() 91 pub fn tcsetattr<Fd: AsFd>( in tcsetattr() 149 pub fn tcflush<Fd: AsFd>(fd: Fd, queue_selector: QueueSelector) -> io::Result<()> { in tcflush() 165 pub fn tcflow<Fd: AsFd>(fd: Fd, action: Action) -> io::Result<()> { in tcflow() 194 pub fn tcsetwinsize<Fd: AsFd>(fd: Fd, winsize: Winsize) -> io::Result<()> { in tcsetwinsize()
|
D | tty.rs | 46 pub fn ttyname<Fd: AsFd, B: Into<Vec<u8>>>(dirfd: Fd, reuse: B) -> io::Result<CString> { in ttyname()
|
/third_party/rust/crates/io-lifetimes/examples/ |
D | flexible-apis.rs | 28 fn use_fd_b<Fd: AsFd>(fd: Fd) { in use_fd_b() 54 fn consume_fd_b<Fd: Into<OwnedFd>>(fd: Fd) { in consume_fd_b()
|
/third_party/json/tests/thirdparty/Fuzzer/ |
D | FuzzerIOPosix.cpp | 62 FILE* OpenFile(int Fd, const char* Mode) { in OpenFile() 70 int DuplicateFile(int Fd) { in DuplicateFile()
|
D | FuzzerIOWindows.cpp | 126 FILE* OpenFile(int Fd, const char* Mode) { in OpenFile() 130 int CloseFile(int Fd) { in CloseFile() 134 int DuplicateFile(int Fd) { in DuplicateFile()
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/runtime/ |
D | wasm-runtime.cpp | 300 int Fd = VarArgs[0]; in env$$__syscall3() local 310 int Fd = VarArgs[0]; in env$$__syscall4() local 331 int Fd = VarArgs[0]; in env$$__syscall6() local 366 int Fd = VarArgs[0]; in env$$__syscall54() local 390 int Fd = VarArgs[0]; in env$$__syscall145() local 410 int Fd = VarArgs[0]; in env$$__syscall146() local
|
/third_party/rust/crates/rustix/src/backend/linux_raw/io/ |
D | poll_fd.rs | 49 pub fn new<Fd: AsFd>(fd: &'fd Fd, events: PollFlags) -> Self { in new() 55 pub fn set_fd<Fd: AsFd>(&mut self, fd: &'fd Fd) { in set_fd()
|
/third_party/rust/crates/rustix/src/backend/libc/io/ |
D | poll_fd.rs | 76 pub fn new<Fd: AsFd>(fd: &'fd Fd, events: PollFlags) -> Self { in new() 82 pub fn set_fd<Fd: AsFd>(&mut self, fd: &'fd Fd) { in set_fd()
|
/third_party/rust/crates/rustix/src/time/ |
D | timerfd.rs | 24 pub fn timerfd_settime<Fd: AsFd>( in timerfd_settime()
|
/third_party/rust/crates/rustix/src/backend/linux_raw/thread/ |
D | futex.rs | 24 Fd = linux_raw_sys::general::FUTEX_FD, enumerator
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/pnacl-llvm/ |
D | DataStream.cpp | 55 int Fd; member in __anonb4016f450111::DataFileStreamer
|