/bionic/libc/include/sys/ |
D | select.h | 48 #define __FDELT(fd) ((fd) / NFDBITS) argument 49 #define __FDMASK(fd) (1UL << ((fd) % NFDBITS)) argument 66 #define FD_CLR(fd, set) __FD_CLR_chk(fd, set, __bos(set)) argument 67 #define FD_SET(fd, set) __FD_SET_chk(fd, set, __bos(set)) argument 68 #define FD_ISSET(fd, set) __FD_ISSET_chk(fd, set, __bos(set)) argument 70 #define FD_CLR(fd, set) (__FDS_BITS(set)[__FDELT(fd)] &= ~__FDMASK(fd)) argument 71 #define FD_SET(fd, set) (__FDS_BITS(set)[__FDELT(fd)] |= __FDMASK(fd)) argument 72 #define FD_ISSET(fd, set) ((__FDS_BITS(set)[__FDELT(fd)] & __FDMASK(fd)) != 0) argument
|
/bionic/libc/include/bits/ |
D | termios_inlines.h | 79 __BIONIC_TERMIOS_INLINE int tcdrain(int fd) { in tcdrain() 85 __BIONIC_TERMIOS_INLINE int tcflow(int fd, int action) { in tcflow() 89 __BIONIC_TERMIOS_INLINE int tcflush(int fd, int queue) { in tcflush() 93 __BIONIC_TERMIOS_INLINE int tcgetattr(int fd, struct termios* s) { in tcgetattr() 97 __BIONIC_TERMIOS_INLINE pid_t tcgetsid(int fd) { in tcgetsid() 102 __BIONIC_TERMIOS_INLINE int tcsendbreak(int fd, int duration) { in tcsendbreak() 106 __BIONIC_TERMIOS_INLINE int tcsetattr(int fd, int optional_actions, const struct termios* s) { in tcsetattr()
|
/bionic/libc/bionic/ |
D | legacy_32_bit_support.cpp | 51 int fcntl(int fd, int cmd, ...) { in fcntl() 63 off64_t lseek64(int fd, off64_t off, int whence) { in lseek64() 74 ssize_t pread(int fd, void* buf, size_t byte_count, off_t offset) { in pread() 79 ssize_t pwrite(int fd, const void* buf, size_t byte_count, off_t offset) { in pwrite() 87 ssize_t preadv(int fd, const struct iovec* ios, int count, off_t offset) { in preadv() 90 ssize_t preadv64(int fd, const struct iovec* ios, int count, off64_t offset) { in preadv64() 93 ssize_t pwritev(int fd, const struct iovec* ios, int count, off_t offset) { in pwritev() 96 ssize_t pwritev64(int fd, const struct iovec* ios, int count, off64_t offset) { in pwritev64() 101 int fallocate(int fd, int mode, off_t offset, off_t length) { in fallocate()
|
D | pty.cpp | 53 char* ptsname(int fd) { in ptsname() 60 int ptsname_r(int fd, char* buf, size_t len) { in ptsname_r() 80 char* ttyname(int fd) { in ttyname() 87 int ttyname_r(int fd, char* buf, size_t len) { in ttyname_r() 112 int unlockpt(int fd) { in unlockpt() 183 int login_tty(int fd) { in login_tty()
|
D | posix_fadvise.cpp | 37 int posix_fadvise(int fd, off_t offset, off_t length, int advice) { in posix_fadvise() 42 int posix_fadvise64(int fd, off64_t offset, off64_t length, int advice) { in posix_fadvise64() 47 int posix_fadvise64(int fd, off64_t offset, off64_t length, int advice) { in posix_fadvise64()
|
D | termios.cpp | 38 pid_t tcgetpgrp(int fd) { in tcgetpgrp() 44 int tcsetpgrp(int fd, pid_t pid) { in tcsetpgrp()
|
D | sys_time.cpp | 37 static int futimesat(int fd, const char* path, const timeval tv[2], int flags) { in futimesat() 54 int futimesat(int fd, const char* path, const timeval tv[2]) { in futimesat() 58 int futimes(int fd, const timeval tv[2]) { in futimes()
|
D | lockf.cpp | 35 int lockf64(int fd, int cmd, off64_t length) { in lockf64() 71 int lockf(int fd, int cmd, off_t length) { in lockf()
|
D | posix_fallocate.cpp | 33 int posix_fallocate(int fd, off_t offset, off_t length) { in posix_fallocate() 38 int posix_fallocate64(int fd, off64_t offset, off64_t length) { in posix_fallocate64()
|
D | statvfs.cpp | 26 # define __fstatfs64(fd,size,buf) __fstatfs(fd,buf) argument 51 int fstatfs(int fd, struct statfs* result) { in fstatfs() 82 int fstatvfs(int fd, struct statvfs* result) { in fstatvfs()
|
D | pthread_setname_np.cpp | 62 int fd = __open_task_comm_fd(t, O_RDONLY); in pthread_getname_np() local 94 int fd = __open_task_comm_fd(t, O_WRONLY); in pthread_setname_np() local
|
D | dirent.cpp | 59 static DIR* __allocate_DIR(int fd) { in __allocate_DIR() 76 DIR* fdopendir(int fd) { in fdopendir() 91 int fd = open(path, O_CLOEXEC | O_DIRECTORY | O_RDONLY); in opendir() local 152 int fd = d->fd_; in closedir() local
|
D | isatty.c | 34 isatty (int fd) in isatty()
|
D | close.cpp | 34 int close(int fd) { in close()
|
D | futimens.cpp | 32 int futimens(int fd, const struct timespec times[2]) { in futimens()
|
D | eventfd_read.cpp | 32 int eventfd_read(int fd, eventfd_t* value) { in eventfd_read()
|
D | eventfd_write.cpp | 32 int eventfd_write(int fd, eventfd_t value) { in eventfd_write()
|
D | mmap.cpp | 44 void* mmap64(void* addr, size_t size, int prot, int flags, int fd, off64_t offset) { in mmap64() 75 void* mmap(void* addr, size_t size, int prot, int flags, int fd, off_t offset) { in mmap()
|
/bionic/libc/kernel/uapi/linux/ |
D | kcm.h | 22 int fd; member 26 int fd; member 29 int fd; member
|
/bionic/tests/ |
D | sys_socket_test.cpp | 37 int fd = socket(PF_UNIX, SOCK_SEQPACKET | SOCK_CLOEXEC | SOCK_NONBLOCK, 0); in ConnectFn() local 63 bool (*callback_fn)(int fd), const char* sock_path) { in RunTest() 64 int fd = socket(PF_UNIX, SOCK_SEQPACKET, 0); in RunTest() local 104 static void TestAccept4(struct sockaddr_un* addr, int fd) { in TestAccept4() 126 static bool SendMultiple(int fd) { in SendMultiple() 137 static void TestRecvMMsg(struct sockaddr_un *addr, int fd) { in TestRecvMMsg() 186 static bool SendMMsg(int fd) { in SendMMsg() 205 static void TestSendMMsg(struct sockaddr_un *addr, int fd) { in TestSendMMsg()
|
D | sys_select_test.cpp | 52 static void DelayedWrite(int* pid, int* fd) { in DelayedWrite() 69 static void DelayedWriteCleanup(int pid, int fd) { in DelayedWriteCleanup() 115 int pid, fd; in TEST() local 170 int pid, fd; in TEST() local
|
D | sys_statvfs_test.cpp | 54 int fd = open("/proc", O_RDONLY); in TEST() local 62 int fd = open("/proc", O_RDONLY); in TEST() local
|
D | sys_vfs_test.cpp | 55 int fd = open("/proc", O_RDONLY); in TEST() local 63 int fd = open("/proc", O_RDONLY); in TEST() local
|
/bionic/libc/include/ |
D | unistd.h | 325 ssize_t pread(int fd, void* const __pass_object_size0 buf, size_t count, in pread() 346 ssize_t pread64(int fd, void* const __pass_object_size0 buf, size_t count, in pread64() 371 ssize_t pwrite(int fd, const void* const __pass_object_size0 buf, size_t count, in pwrite() 394 ssize_t pwrite64(int fd, const void* const __pass_object_size0 buf, in pwrite64() 417 ssize_t read(int fd, void* const __pass_object_size0 buf, size_t count) in read() 440 ssize_t write(int fd, const void* const __pass_object_size0 buf, size_t count) in write() 551 ssize_t pread(int fd, void* buf, size_t count, off_t offset) { in pread() 574 ssize_t pread64(int fd, void* buf, size_t count, off64_t offset) { in pread64() 599 ssize_t pwrite(int fd, const void* buf, size_t count, off_t offset) { in pwrite() 622 ssize_t pwrite64(int fd, const void* buf, size_t count, off64_t offset) { in pwrite64() [all …]
|
/bionic/libc/upstream-openbsd/lib/libc/gen/ |
D | daemon.c | 39 int fd; in daemon() local
|