| /rust-libc-0.2.174/src/unix/linux_like/linux/musl/ |
| H A D | lfs64.rs | 11 fd: c_int, in fallocate64() 59 fd: c_int, in fstatat64() 69 crate::fstatfs(fd, buf as *mut _) in fstatfs64() 84 crate::ftruncate(fd, length) in ftruncate64() 94 crate::lseek(fd, offset, whence) in lseek64() 108 fd: c_int, in mmap64() 124 fd: c_int, in posix_fadvise64() 139 fd: c_int, in pread64() 149 fd: c_int, in preadv64() 169 fd: c_int, in pwrite64() [all …]
|
| /rust-libc-0.2.174/src/unix/linux_like/emscripten/ |
| H A D | lfs64.rs | 51 fd: c_int, in fstatat64() 61 crate::fstatfs(fd, buf as *mut _) in fstatfs64() 66 crate::fstatvfs(fd, buf as *mut _) in fstatvfs64() 76 crate::ftruncate(fd, length) in ftruncate64() 86 crate::lseek(fd, offset, whence) in lseek64() 100 fd: c_int, in mmap64() 116 fd: c_int, in posix_fadvise64() 131 fd: c_int, in pread64() 141 fd: c_int, in preadv64() 151 fd: c_int, in pwrite64() [all …]
|
| /rust-libc-0.2.174/src/wasi/ |
| H A D | mod.rs | 142 pub fd: c_int, 458 pub fn FD_SET(fd: c_int, set: *mut fd_set) -> () { 461 if !set.__fds[..n].iter().any(|p| *p == fd) { 463 set.__fds[n] = fd; 637 pub fn fcntl(fd: c_int, cmd: c_int, ...) -> c_int; in fcntl() 639 pub fn fdopendir(fd: c_int) -> *mut crate::DIR; in fdopendir() 673 pub fn close(fd: c_int) -> c_int; in close() 676 pub fn isatty(fd: c_int) -> c_int; in isatty() 688 pub fn fsync(fd: c_int) -> c_int; in fsync() 689 pub fn fdatasync(fd: c_int) -> c_int; in fdatasync() [all …]
|
| /rust-libc-0.2.174/src/unix/newlib/ |
| H A D | mod.rs | 121 pub fd: c_int, 839 pub fn FD_CLR(fd: c_int, set: *mut fd_set) -> () { 841 let fd = fd as usize; localVariable 842 (*set).fds_bits[fd / bits] &= !(1 << (fd % bits)); 846 pub fn FD_ISSET(fd: c_int, set: *const fd_set) -> bool { 848 let fd = fd as usize; localVariable 849 return ((*set).fds_bits[fd / bits] & (1 << (fd % bits))) != 0; 852 pub fn FD_SET(fd: c_int, set: *mut fd_set) -> () { 854 let fd = fd as usize; localVariable 855 (*set).fds_bits[fd / bits] |= 1 << (fd % bits); [all …]
|
| /rust-libc-0.2.174/src/unix/bsd/ |
| H A D | mod.rs | 583 pub fn FD_CLR(fd: c_int, set: *mut fd_set) -> () { 585 let fd = fd as usize; localVariable 586 (*set).fds_bits[fd / bits] &= !(1 << (fd % bits)); 590 pub fn FD_ISSET(fd: c_int, set: *const fd_set) -> bool { 592 let fd = fd as usize; localVariable 593 return ((*set).fds_bits[fd / bits] & (1 << (fd % bits))) != 0; 596 pub fn FD_SET(fd: c_int, set: *mut fd_set) -> () { 598 let fd = fd as usize; localVariable 599 (*set).fds_bits[fd / bits] |= 1 << (fd % bits); 662 pub fn ioctl(fd: c_int, request: c_ulong, ...) -> c_int; in ioctl() [all …]
|
| /rust-libc-0.2.174/src/ |
| H A D | trusty.rs | 56 pub fn write(fd: c_int, buf: *const c_void, count: size_t) -> ssize_t; in write() 57 pub fn writev(fd: c_int, iov: *const crate::iovec, iovcnt: c_int) -> ssize_t; in writev() 58 pub fn close(fd: c_int) -> c_int; in close() 66 fd: c_int, in mmap()
|
| H A D | hermit.rs | 59 pub fd: i32, 433 pub fn fstat(fd: i32, stat: *mut stat) -> i32; in fstat() 451 pub fn read(fd: i32, buf: *mut u8, len: usize) -> isize; in read() 454 pub fn write(fd: i32, buf: *const u8, len: usize) -> isize; in write() 457 pub fn readv(fd: i32, iov: *const iovec, iovcnt: usize) -> isize; in readv() 460 pub fn writev(fd: i32, iov: *const iovec, iovcnt: usize) -> isize; in writev() 463 pub fn close(fd: i32) -> i32; in close() 466 pub fn dup(fd: i32) -> i32; in dup() 469 pub fn fcntl(fd: i32, cmd: i32, arg: i32) -> i32; in fcntl() 472 pub fn getdents64(fd: i32, dirp: *mut dirent64, count: usize) -> isize; in getdents64()
|
| /rust-libc-0.2.174/src/unix/solarish/ |
| H A D | illumos.rs | 285 pub fn epoll_ctl(epfd: c_int, op: c_int, fd: c_int, event: *mut crate::epoll_event) -> c_int; in epoll_ctl() 313 pub fn posix_fadvise(fd: c_int, offset: off_t, len: off_t, advice: c_int) -> c_int; in posix_fadvise() 314 pub fn preadv(fd: c_int, iov: *const crate::iovec, iovcnt: c_int, offset: off_t) -> ssize_t; in preadv() 315 pub fn pwritev(fd: c_int, iov: *const crate::iovec, iovcnt: c_int, offset: off_t) -> ssize_t; in pwritev() 320 fd: c_int, in posix_spawn_file_actions_addfchdir_np() 325 pub fn syncfs(fd: c_int) -> c_int; in syncfs() 336 pub fn timerfd_gettime(fd: c_int, curr_value: *mut crate::itimerspec) -> c_int; in timerfd_gettime() 338 fd: c_int, in timerfd_settime()
|
| H A D | mod.rs | 2440 pub fn FD_CLR(fd: c_int, set: *mut fd_set) -> () { 2442 let fd = fd as usize; localVariable 2443 (*set).fds_bits[fd / bits] &= !(1 << (fd % bits)); 2449 let fd = fd as usize; localVariable 2450 return ((*set).fds_bits[fd / bits] & (1 << (fd % bits))) != 0; 2455 let fd = fd as usize; localVariable 2456 (*set).fds_bits[fd / bits] |= 1 << (fd % bits); 2569 pub fn fdatasync(fd: c_int) -> c_int; in fdatasync() 2684 fd: c_int, in posix_spawn_file_actions_addfchdir() 2788 fd: c_int, in accept4() [all …]
|
| /rust-libc-0.2.174/src/unix/redox/ |
| H A D | mod.rs | 1033 pub fn FD_CLR(fd: c_int, set: *mut fd_set) -> () { 1034 let fd = fd as usize; localVariable 1036 (*set).fds_bits[fd / size] &= !(1 << (fd % size)); 1040 pub fn FD_ISSET(fd: c_int, set: *const fd_set) -> bool { 1041 let fd = fd as usize; localVariable 1043 return ((*set).fds_bits[fd / size] & (1 << (fd % size))) != 0; 1046 pub fn FD_SET(fd: c_int, set: *mut fd_set) -> () { 1047 let fd = fd as usize; localVariable 1049 (*set).fds_bits[fd / size] |= 1 << (fd % size); 1229 pub fn ioctl(fd: c_int, request: c_ulong, ...) -> c_int; in ioctl() [all …]
|
| /rust-libc-0.2.174/src/unix/linux_like/ |
| H A D | mod.rs | 1812 let fd = fd as usize; localVariable 1814 (*set).fds_bits[fd / size] &= !(1 << (fd % size)); 1819 let fd = fd as usize; localVariable 1821 return ((*set).fds_bits[fd / size] & (1 << (fd % size))) != 0; 1825 let fd = fd as usize; localVariable 1827 (*set).fds_bits[fd / size] |= 1 << (fd % size); 2102 fd: c_int, 2108 fd: c_int, 2115 fd: c_int, 2141 fd: c_int, [all …]
|
| /rust-libc-0.2.174/src/fuchsia/ |
| H A D | mod.rs | 226 pub fd: c_int, 3252 let fd = fd as usize; localVariable 3254 (*set).fds_bits[fd / size] &= !(1 << (fd % size)); 3259 let fd = fd as usize; localVariable 3261 return ((*set).fds_bits[fd / size] & (1 << (fd % size))) != 0; 3265 let fd = fd as usize; localVariable 3267 (*set).fds_bits[fd / size] |= 1 << (fd % size); 3649 pub fn dup(fd: c_int) -> c_int; in dup() 3721 fd: c_int, in mmap() 3975 fd: c_int, in accept4() [all …]
|
| /rust-libc-0.2.174/src/unix/ |
| H A D | mod.rs | 158 pub fd: c_int, 1025 pub fn close(fd: c_int) -> c_int; in close() 1026 pub fn dup(fd: c_int) -> c_int; in dup() 1061 pub fn isatty(fd: c_int) -> c_int; in isatty() 1096 pub fn tcgetpgrp(fd: c_int) -> pid_t; in tcgetpgrp() 1098 pub fn ttyname(fd: c_int) -> *mut c_char; in ttyname() 1168 fd: c_int, in mmap() 1200 pub fn fsync(fd: c_int) -> c_int; in fsync() 1573 pub fn tcdrain(fd: c_int) -> c_int; in tcdrain() 1601 pub fn grantpt(fd: c_int) -> c_int; in grantpt() [all …]
|
| /rust-libc-0.2.174/src/unix/cygwin/ |
| H A D | mod.rs | 1776 let fd = fd as usize; localVariable 1778 (*set).fds_bits[fd / size] &= !(1 << (fd % size)); 1782 let fd = fd as usize; localVariable 1784 ((*set).fds_bits[fd / size] & (1 << (fd % size))) != 0 1788 let fd = fd as usize; localVariable 1790 (*set).fds_bits[fd / size] |= 1 << (fd % size); 2407 fd: c_int, in posix_spawn_file_actions_addopen() 2414 fd: c_int, in posix_spawn_file_actions_addclose() 2418 fd: c_int, in posix_spawn_file_actions_adddup2() 2427 fd: c_int, in posix_spawn_file_actions_addfchdir() [all …]
|
| /rust-libc-0.2.174/src/unix/newlib/rtems/ |
| H A D | mod.rs | 125 pub fn futimens(fd: c_int, times: *const crate::timespec) -> c_int; in futimens() 126 pub fn writev(fd: c_int, iov: *const crate::iovec, iovcnt: c_int) -> ssize_t; in writev() 127 pub fn readv(fd: c_int, iov: *const crate::iovec, iovcnt: c_int) -> ssize_t; in readv()
|
| /rust-libc-0.2.174/src/unix/aix/ |
| H A D | mod.rs | 332 pub fd: c_int, 545 pub fd: c_int, 578 && self.fd == other.fd 2481 let fd = fd as usize; localVariable 2482 (*set).fds_bits[fd / bits] |= 1 << (fd % bits); 2488 let fd = fd as usize; localVariable 2489 (*set).fds_bits[fd / bits] &= !(1 << (fd % bits)); 2495 let fd = fd as usize; localVariable 3118 fd: c_int, in posix_spawn_file_actions_addclose() 3122 fd: c_int, in posix_spawn_file_actions_adddup2() [all …]
|
| H A D | powerpc64.rs | 266 pub fd: c_int, 352 self.fd == other.fd 361 self.fd.hash(state);
|
| /rust-libc-0.2.174/src/windows/ |
| H A D | mod.rs | 430 pub fn fdopen(fd: c_int, mode: *const c_char) -> *mut crate::FILE; in fdopen() 444 pub fn close(fd: c_int) -> c_int; in close() 446 pub fn dup(fd: c_int) -> c_int; in dup() 504 pub fn isatty(fd: c_int) -> c_int; in isatty() 506 pub fn lseek(fd: c_int, offset: c_long, origin: c_int) -> c_long; in lseek() 508 pub fn lseek64(fd: c_int, offset: c_longlong, origin: c_int) -> c_longlong; in lseek64() 512 pub fn read(fd: c_int, buf: *mut c_void, count: c_uint) -> c_int; in read() 518 pub fn write(fd: c_int, buf: *const c_void, count: c_uint) -> c_int; in write() 520 pub fn commit(fd: c_int) -> c_int; in commit() 522 pub fn get_osfhandle(fd: c_int) -> intptr_t; in get_osfhandle()
|
| /rust-libc-0.2.174/src/unix/haiku/ |
| H A D | mod.rs | 1548 pub fn FD_CLR(fd: c_int, set: *mut fd_set) -> () { 1549 let fd = fd as usize; localVariable 1551 (*set).fds_bits[fd / size] &= !(1 << (fd % size)); 1555 pub fn FD_ISSET(fd: c_int, set: *const fd_set) -> bool { 1556 let fd = fd as usize; localVariable 1558 return ((*set).fds_bits[fd / size] & (1 << (fd % size))) != 0; 1561 pub fn FD_SET(fd: c_int, set: *mut fd_set) -> () { 1562 let fd = fd as usize; localVariable 1564 (*set).fds_bits[fd / size] |= 1 << (fd % size); 1623 fd: c_int, in utimensat() [all …]
|
| /rust-libc-0.2.174/src/unix/nto/ |
| H A D | mod.rs | 2652 let fd = fd as usize; localVariable 2654 (*set).fds_bits[fd / size] &= !(1 << (fd % size)); 2659 let fd = fd as usize; localVariable 2661 return ((*set).fds_bits[fd / size] & (1 << (fd % size))) != 0; 2665 let fd = fd as usize; localVariable 2667 (*set).fds_bits[fd / size] |= 1 << (fd % size); 2802 pub fn fdatasync(fd: c_int) -> c_int; in fdatasync() 2895 pub fn login_tty(fd: c_int) -> c_int; in login_tty() 3176 fd: c_int, in posix_spawn_file_actions_addopen() 3183 fd: c_int, in posix_spawn_file_actions_addclose() [all …]
|
| /rust-libc-0.2.174/src/vxworks/ |
| H A D | mod.rs | 208 pub fd: c_int, 1217 pub fn fdopen(fd: c_int, mode: *const c_char) -> *mut crate::FILE; in fdopen() 1237 pub fn ttyname(fd: c_int) -> *mut c_char; in ttyname() 1250 fd: c_int, in mmap() 1431 pub fn ftruncate(fd: c_int, length: off_t) -> c_int; in ftruncate() 1666 pub fn ioctl(fd: c_int, request: c_int, ...) -> c_int; in ioctl() 1669 pub fn fcntl(fd: c_int, cmd: c_int, ...) -> c_int; in fcntl() 1677 pub fn close(fd: c_int) -> c_int; in close() 1689 pub fn isatty(fd: c_int) -> c_int; in isatty() 1709 pub fn lseek(fd: c_int, offset: off_t, whence: c_int) -> off_t; in lseek() [all …]
|
| /rust-libc-0.2.174/src/unix/newlib/vita/ |
| H A D | mod.rs | 174 pub fn futimens(fd: c_int, times: *const crate::timespec) -> c_int; in futimens() 175 pub fn writev(fd: c_int, iov: *const crate::iovec, iovcnt: c_int) -> ssize_t; in writev() 176 pub fn readv(fd: c_int, iov: *const crate::iovec, iovcnt: c_int) -> ssize_t; in readv()
|
| /rust-libc-0.2.174/src/unix/hurd/ |
| H A D | mod.rs | 3518 let fd = fd as usize; localVariable 3520 (*set).fds_bits[fd / size] &= !(1 << (fd % size)); 3525 let fd = fd as usize; localVariable 3531 let fd = fd as usize; localVariable 3533 (*set).fds_bits[fd / size] |= 1 << (fd % size); 3619 fd: c_int, in pwritev64() 3698 fd: c_int, in accept4() 4229 fd: c_int, in posix_spawn_file_actions_addopen() 4236 fd: c_int, in posix_spawn_file_actions_addclose() 4240 fd: c_int, in posix_spawn_file_actions_adddup2() [all …]
|
| /rust-libc-0.2.174/src/unix/bsd/netbsdlike/ |
| H A D | mod.rs | 696 pub fn pwritev(fd: c_int, iov: *const crate::iovec, iovcnt: c_int, offset: off_t) -> ssize_t; in pwritev() 697 pub fn preadv(fd: c_int, iov: *const crate::iovec, iovcnt: c_int, offset: off_t) -> ssize_t; in preadv() 698 pub fn futimens(fd: c_int, times: *const crate::timespec) -> c_int; in futimens() 705 pub fn fdatasync(fd: c_int) -> c_int; in fdatasync() 706 pub fn login_tty(fd: c_int) -> c_int; in login_tty() 829 fd: c_int, in posix_spawn_file_actions_addopen() 836 fd: c_int, in posix_spawn_file_actions_addclose() 840 fd: c_int, in posix_spawn_file_actions_adddup2()
|
| /rust-libc-0.2.174/src/unix/bsd/freebsdlike/ |
| H A D | mod.rs | 1511 pub fn chflagsat(fd: c_int, path: *const c_char, flags: c_ulong, atflag: c_int) -> c_int; in chflagsat() 1530 pub fn fchflags(fd: c_int, flags: c_ulong) -> c_int; in fchflags() 1533 pub fn fexecve(fd: c_int, argv: *const *const c_char, envp: *const *const c_char) -> c_int; in fexecve() 1535 pub fn futimens(fd: c_int, times: *const crate::timespec) -> c_int; in futimens() 1605 pub fn posix_fallocate(fd: c_int, offset: off_t, len: off_t) -> c_int; in posix_fallocate() 1606 pub fn posix_fadvise(fd: c_int, offset: off_t, len: off_t, advise: c_int) -> c_int; in posix_fadvise() 1706 fd: c_int, in sendfile() 1860 fd: c_int, in posix_spawn_file_actions_addopen() 1867 fd: c_int, in posix_spawn_file_actions_addclose() 1871 fd: c_int, in posix_spawn_file_actions_adddup2() [all …]
|