Home
last modified time | relevance | path

Searched refs:__fd (Results 1 – 25 of 31) sorted by relevance

12

/bionic/libc/include/
Dtermios.h96 int tcdrain(int __fd);
105 int tcflow(int __fd, int __action);
115 int tcflush(int __fd, int __queue);
123 int tcgetattr(int __fd, struct termios* _Nonnull __t);
132 pid_t tcgetsid(int __fd);
140 int tcsendbreak(int __fd, int __duration);
148 int tcsetattr(int __fd, int __optional_actions, const struct termios* _Nonnull __t);
161 int tcgetwinsize(int __fd, struct winsize* _Nonnull __size);
168 int tcsetwinsize(int __fd, const struct winsize* _Nonnull __size);
Dunistd.h148 int fexecve(int __fd, char* _Nullable const* _Nullable __argv, char* _Nullable const* _Nullable __e…
251 long fpathconf(int __fd, int __name);
261 int fchdir(int __fd);
273 int fchown(int __fd, uid_t __owner, gid_t __group);
280 int syncfs(int __fd) __INTRODUCED_IN(28);
283 int close(int __fd);
295 ssize_t read(int __fd, void* __BIONIC_COMPLICATED_NULLNESS __buf, size_t __count);
307 ssize_t write(int __fd, const void* __BIONIC_COMPLICATED_NULLNESS __buf, size_t __count);
312 int fsync(int __fd);
313 int fdatasync(int __fd);
[all …]
Dfcntl.h172 ssize_t vmsplice(int __fd, const struct iovec* _Nonnull __iov, size_t __count, unsigned int __flags…
185 int fallocate(int __fd, int __mode, off_t __offset, off_t __length) __RENAME_IF_FILE_OFFSET64(fallo…
187 int fallocate64(int __fd, int __mode, off64_t __offset, off64_t __length);
199 int posix_fadvise(int __fd, off_t __offset, off_t __length, int __advice) __RENAME_IF_FILE_OFFSET64…
201 int posix_fadvise64(int __fd, off64_t __offset, off64_t __length, int __advice);
209 int posix_fallocate(int __fd, off_t __offset, off_t __length) __RENAME_IF_FILE_OFFSET64(posix_fallo…
211 int posix_fallocate64(int __fd, off64_t __offset, off64_t __length);
221 ssize_t readahead(int __fd, off64_t __offset, size_t __length);
232 int sync_file_range(int __fd, off64_t __offset, off64_t __length, unsigned int __flags) __INTRODUCE…
Dspawn.h86 …ons_addopen(posix_spawn_file_actions_t _Nonnull * _Nonnull __actions, int __fd, const char* _Nonnu…
87 …ns_addclose(posix_spawn_file_actions_t _Nonnull * _Nonnull __actions, int __fd) __INTRODUCED_IN(28…
88 …ons_adddup2(posix_spawn_file_actions_t _Nonnull * _Nonnull __actions, int __fd, int __new_fd) __IN…
91 …ddfchdir_np(posix_spawn_file_actions_t _Nonnull * _Nonnull __actions, int __fd) __INTRODUCED_IN(34…
Dstdlib.h142 char* _Nullable ptsname(int __fd);
143 int ptsname_r(int __fd, char* _Nonnull __buf, size_t __n);
144 int unlockpt(int __fd);
206 int grantpt(int __fd);
/bionic/libc/include/sys/
Duio.h49 ssize_t readv(int __fd, const struct iovec* _Nonnull __iov, int __count);
58 ssize_t writev(int __fd, const struct iovec* _Nonnull __iov, int __count);
72 ssize_t preadv(int __fd, const struct iovec* _Nonnull __iov, int __count, off_t __offset) __RENAME_…
84 ssize_t pwritev(int __fd, const struct iovec* _Nonnull __iov, int __count, off_t __offset) __RENAME…
91 ssize_t preadv64(int __fd, const struct iovec* _Nonnull __iov, int __count, off64_t __offset) __INT…
98 ssize_t pwritev64(int __fd, const struct iovec* _Nonnull __iov, int __count, off64_t __offset) __IN…
110 ssize_t preadv2(int __fd, const struct iovec* _Nonnull __iov, int __count, off_t __offset, int __fl…
122 ssize_t pwritev2(int __fd, const struct iovec* _Nonnull __iov, int __count, off_t __offset, int __f…
129 ssize_t preadv64v2(int __fd, const struct iovec* _Nonnull __iov, int __count, off64_t __offset, int…
136 ssize_t pwritev64v2(int __fd, const struct iovec* _Nonnull __iov, int __count, off64_t __offset, in…
Dsocket.h286 __socketcall int accept(int __fd, struct sockaddr* _Nullable __addr, socklen_t* _Nullable __addr_le…
287 __socketcall int accept4(int __fd, struct sockaddr* _Nullable __addr, socklen_t* _Nullable __addr_l…
288 __socketcall int bind(int __fd, const struct sockaddr* _Nonnull __addr, socklen_t __addr_length);
289 __socketcall int connect(int __fd, const struct sockaddr* _Nonnull __addr, socklen_t __addr_length);
290 __socketcall int getpeername(int __fd, struct sockaddr* _Nonnull __addr, socklen_t* _Nonnull __addr…
291 __socketcall int getsockname(int __fd, struct sockaddr* _Nonnull __addr, socklen_t* _Nonnull __addr…
292 __socketcall int getsockopt(int __fd, int __level, int __option, void* _Nullable __value, socklen_t…
293 __socketcall int listen(int __fd, int __backlog);
294 __socketcall int recvmmsg(int __fd, struct mmsghdr* _Nonnull __msgs, unsigned int __msg_count, int …
295 __socketcall ssize_t recvmsg(int __fd, struct msghdr* _Nonnull __msg, int __flags);
[all …]
Dxattr.h55 int fsetxattr(int __fd, const char* _Nonnull __name, const void* _Nullable __value, size_t __size, …
96 ssize_t fgetxattr(int __fd, const char* _Nonnull __name, void* _Nullable __value, size_t __size);
131 ssize_t flistxattr(int __fd, char* _Nullable __list, size_t __size);
163 int fremovexattr(int __fd, const char* _Nonnull __name);
Dsignalfd.h49 int signalfd(int __fd, const sigset_t* _Nonnull __mask, int __flags);
54 int signalfd64(int __fd, const sigset64_t* _Nonnull __mask, int __flags) __INTRODUCED_IN(28);
Dinotify.h45 int inotify_add_watch(int __fd, const char* _Nonnull __path, uint32_t __mask);
46 int inotify_rm_watch(int __fd, uint32_t __watch_descriptor);
Deventfd.h65 int eventfd_read(int __fd, eventfd_t* _Nonnull __value);
73 int eventfd_write(int __fd, eventfd_t __value);
Dtimerfd.h67 int timerfd_settime(int __fd, int __flags, const struct itimerspec* _Nonnull __new_value, struct it…
75 int timerfd_gettime(int __fd, struct itimerspec* _Nonnull __current_value);
Dmman.h53 void* _Nonnull mmap(void* _Nullable __addr, size_t __size, int __prot, int __flags, int __fd, off_t…
55 void* _Nonnull mmap(void* _Nullable __addr, size_t __size, int __prot, int __flags, int __fd, off_t…
63 void* _Nonnull mmap64(void* _Nullable __addr, size_t __size, int __prot, int __flags, int __fd, off…
Dstatvfs.h108 int fstatvfs(int __fd, struct statvfs* _Nonnull __buf);
114 int fstatvfs64(int __fd, struct statvfs64* _Nonnull __buf);
Dstat.h140 int fchmod(int __fd, mode_t __mode);
143 int fstat(int __fd, struct stat* _Nonnull __buf);
144 int fstat64(int __fd, struct stat64* _Nonnull __buf);
204 int futimens(int __fd, const struct timespec __times[_Nullable 2]);
Dvfs.h109 int fstatfs(int __fd, struct statfs* _Nonnull __buf);
110 int fstatfs64(int __fd, struct statfs64* _Nonnull __buf);
Dfile.h49 int flock(int __fd, int __op);
/bionic/libc/private/
Dbionic_fdtrack.h50 int __fd = (fd_value); \
51 if (__fd != -1 && __predict_false(__android_fdtrack_hook) && \
60 event.fd = __fd; \
67 __fd; \
81 int __fd = (fd_value); \
82 if (__fd != -1 && __predict_false(__android_fdtrack_hook) && \
90 event.fd = __fd; \
97 __fd; \
/bionic/libc/bionic/
Drecvmsg.cpp36 extern "C" ssize_t __recvmsg(int __fd, struct msghdr* __msg, int __flags);
37 extern "C" int __recvmmsg(int __fd, struct mmsghdr* __msgs, unsigned int __msg_count, int __flags,
68 ssize_t recvmsg(int __fd, struct msghdr* __msg, int __flags) { in recvmsg() argument
69 ssize_t rc = __recvmsg(__fd, __msg, __flags); in recvmsg()
77 int recvmmsg(int __fd, struct mmsghdr* __msgs, unsigned int __msg_count, int __flags, in recvmmsg() argument
79 int rc = __recvmmsg(__fd, __msgs, __msg_count, __flags, __timeout); in recvmmsg()
/bionic/libc/include/bits/
Dtermios_winsize_inlines.h44 __BIONIC_TERMIOS_WINSIZE_INLINE int tcgetwinsize(int __fd, struct winsize* _Nonnull __size) { in tcgetwinsize() argument
45 return ioctl(__fd, TIOCGWINSZ, __size); in tcgetwinsize()
48 __BIONIC_TERMIOS_WINSIZE_INLINE int tcsetwinsize(int __fd, const struct winsize* _Nonnull __size) { in tcsetwinsize() argument
49 return ioctl(__fd, TIOCSWINSZ, __size); in tcsetwinsize()
Dioctl.h43 int ioctl(int __fd, int __op, ...);
60 int ioctl(int __fd, unsigned __op, ...) __overloadable __enable_if(1, "") __RENAME(ioctl);
Dlockf.h59 int lockf(int __fd, int __op, off_t __length) __RENAME_IF_FILE_OFFSET64(lockf64) __INTRODUCED_IN(24…
65 int lockf64(int __fd, int __op, off64_t __length) __INTRODUCED_IN(24);
Dfcntl.h46 int fcntl(int __fd, int __op, ...);
/bionic/tools/versioner/tests/preprocessor_file_offset_bits/expected/
Dfoo.h26 ssize_t pread(int __fd, void* __buf, size_t __count, off_t __offset) __RENAME(pread64)
31 ssize_t pread(int __fd, void* __buf, size_t __count, off_t __offset);
35 off_t lseek(int __fd, off_t __offset, int __whence) __RENAME(lseek64);
37 off_t lseek(int __fd, off_t __offset, int __whence);
/bionic/tools/versioner/tests/preprocessor_file_offset_bits/headers/
Dfoo.h24 ssize_t pread(int __fd, void* __buf, size_t __count, off_t __offset) __RENAME(pread64)
27 ssize_t pread(int __fd, void* __buf, size_t __count, off_t __offset);
31 off_t lseek(int __fd, off_t __offset, int __whence) __RENAME(lseek64);
33 off_t lseek(int __fd, off_t __offset, int __whence);

12