Home
last modified time | relevance | path

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

12

/bionic/libc/include/
Dunistd.h100 int fexecve(int __fd, char* const* __argv, char* const* __envp) __INTRODUCED_IN(28);
203 long fpathconf(int __fd, int __name);
213 int fchdir(int __fd);
226 int fchown(int __fd, uid_t __owner, gid_t __group);
233 int syncfs(int __fd) __INTRODUCED_IN(28);
236 int close(int __fd);
238 ssize_t read(int __fd, void* __buf, size_t __count);
239 ssize_t write(int __fd, const void* __buf, size_t __count);
244 int fsync(int __fd);
245 int fdatasync(int __fd);
[all …]
Dtermios.h96 int tcdrain(int __fd) __INTRODUCED_IN(21);
105 int tcflow(int __fd, int __action) __INTRODUCED_IN(21);
115 int tcflush(int __fd, int __queue) __INTRODUCED_IN(21);
123 int tcgetattr(int __fd, struct termios* __t) __INTRODUCED_IN(21);
132 pid_t tcgetsid(int __fd) __INTRODUCED_IN(21);
140 int tcsendbreak(int __fd, int __duration) __INTRODUCED_IN(21);
148 int tcsetattr(int __fd, int __optional_actions, const struct termios* __t) __INTRODUCED_IN(21);
Dfcntl.h180 ssize_t vmsplice(int __fd, const struct iovec* __iov, size_t __count, unsigned int __flags) __INTRO…
195 int fallocate(int __fd, int __mode, off_t __offset, off_t __length) __RENAME_IF_FILE_OFFSET64(fallo…
197 int fallocate64(int __fd, int __mode, off64_t __offset, off64_t __length) __INTRODUCED_IN(21);
211 int posix_fadvise(int __fd, off_t __offset, off_t __length, int __advice) __RENAME_IF_FILE_OFFSET64…
213 int posix_fadvise64(int __fd, off64_t __offset, off64_t __length, int __advice) __INTRODUCED_IN(21);
223 int posix_fallocate(int __fd, off_t __offset, off_t __length) __RENAME_IF_FILE_OFFSET64(posix_fallo…
225 int posix_fallocate64(int __fd, off64_t __offset, off64_t __length) __INTRODUCED_IN(21);
235 ssize_t readahead(int __fd, off64_t __offset, size_t __length);
246 int sync_file_range(int __fd, off64_t __offset, off64_t __length, unsigned int __flags) __INTRODUCE…
Dspawn.h84 int posix_spawn_file_actions_addopen(posix_spawn_file_actions_t* __actions, int __fd, const char* _…
85 int posix_spawn_file_actions_addclose(posix_spawn_file_actions_t* __actions, int __fd) __INTRODUCED…
86 int posix_spawn_file_actions_adddup2(posix_spawn_file_actions_t* __actions, int __fd, int __new_fd)…
Dstdlib.h123 char* ptsname(int __fd);
124 int ptsname_r(int __fd, char* __buf, size_t __n);
125 int unlockpt(int __fd);
201 int grantpt(int __fd) __INTRODUCED_IN(21);
/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/include/sys/
Duio.h38 ssize_t readv(int __fd, const struct iovec* __iov, int __count);
39 ssize_t writev(int __fd, const struct iovec* __iov, int __count);
42 ssize_t preadv(int __fd, const struct iovec* __iov, int __count, off_t __offset) __RENAME_IF_FILE_O…
43 ssize_t pwritev(int __fd, const struct iovec* __iov, int __count, off_t __offset) __RENAME_IF_FILE_…
44 ssize_t preadv64(int __fd, const struct iovec* __iov, int __count, off64_t __offset) __INTRODUCED_I…
45 ssize_t pwritev64(int __fd, const struct iovec* __iov, int __count, off64_t __offset) __INTRODUCED_…
Dsocket.h296 __socketcall int accept(int __fd, struct sockaddr* __addr, socklen_t* __addr_length);
297 __socketcall int accept4(int __fd, struct sockaddr* __addr, socklen_t* __addr_length, int __flags) …
298 __socketcall int bind(int __fd, const struct sockaddr* __addr, socklen_t __addr_length);
299 __socketcall int connect(int __fd, const struct sockaddr* __addr, socklen_t __addr_length);
300 __socketcall int getpeername(int __fd, struct sockaddr* __addr, socklen_t* __addr_length);
301 __socketcall int getsockname(int __fd, struct sockaddr* __addr, socklen_t* __addr_length);
302 __socketcall int getsockopt(int __fd, int __level, int __option, void* __value, socklen_t* __value_…
303 __socketcall int listen(int __fd, int __backlog);
304 __socketcall int recvmmsg(int __fd, struct mmsghdr* __msgs, unsigned int __msg_count, int __flags, …
306 __socketcall ssize_t recvmsg(int __fd, struct msghdr* __msg, int __flags);
[all …]
Dxattr.h51 int fsetxattr(int __fd, const char* __name, const void* __value, size_t __size, int __flags);
82 ssize_t fgetxattr(int __fd, const char* __name, void* __value, size_t __size);
111 ssize_t flistxattr(int __fd, char* __list, size_t __size);
139 int fremovexattr(int __fd, const char* __name);
Dsignalfd.h51 int signalfd(int __fd, const sigset_t* __mask, int __flags) __INTRODUCED_IN(18);
56 int signalfd64(int __fd, const sigset64_t* __mask, int __flags) __INTRODUCED_IN(28);
Deventfd.h65 int eventfd_read(int __fd, eventfd_t* __value);
73 int eventfd_write(int __fd, eventfd_t __value);
Dinotify.h58 int inotify_add_watch(int __fd, const char* __path, uint32_t __mask);
59 int inotify_rm_watch(int __fd, uint32_t __watch_descriptor);
Dtimerfd.h71 int timerfd_settime(int __fd, int __flags, const struct itimerspec* __new_value, struct itimerspec*…
81 int timerfd_gettime(int __fd, struct itimerspec* __current_value) __INTRODUCED_IN(19);
Dmman.h53 void* mmap(void* __addr, size_t __size, int __prot, int __flags, int __fd, off_t __offset) __RENAME…
55 void* mmap(void* __addr, size_t __size, int __prot, int __flags, int __fd, off_t __offset);
67 void* mmap64(void* __addr, size_t __size, int __prot, int __flags, int __fd, off64_t __offset) __IN…
Dstatvfs.h132 int fstatvfs(int __fd, struct statvfs* __buf) __INTRODUCED_IN(19);
143 int fstatvfs64(int __fd, struct statvfs64* __buf) __INTRODUCED_IN(21);
Dvfs.h109 int fstatfs(int __fd, struct statfs* __buf);
110 int fstatfs64(int __fd, struct statfs64* __buf) __INTRODUCED_IN(21);
Dfile.h49 int flock(int __fd, int __op);
/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/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);
/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/libc/include/android/
Dlegacy_sys_mman_inlines.h47 static __inline void* mmap64(void* __addr, size_t __size, int __prot, int __flags, int __fd,
49 static __inline void* mmap64(void* __addr, size_t __size, int __prot, int __flags, int __fd, in mmap64() argument
64 extern void* __mmap2(void* __addr, size_t __size, int __prot, int __flags, int __fd, in mmap64()
66 return __mmap2(__addr, __size, __prot, __flags, __fd, __offset >> __mmap2_shift); in mmap64()
/bionic/libc/include/bits/
Dsys_statvfs_inlines.h66 __BIONIC_SYS_STATVFS_INLINE int fstatvfs(int __fd, in fstatvfs() argument
69 int __rc = fstatfs(__fd, &__tmp); in fstatvfs()
85 __BIONIC_SYS_STATVFS_INLINE int fstatvfs64(int __fd, in fstatvfs64() argument
87 return fstatvfs(__fd, __BIONIC_CAST(reinterpret_cast, struct statvfs*, in fstatvfs64()
Dioctl.h43 int ioctl(int __fd, int __request, ...);
60 int ioctl(int __fd, unsigned __request, ...) __overloadable __enable_if(1, "") __RENAME(ioctl);
Dlockf.h59 int lockf(int __fd, int __cmd, off_t __length) __RENAME_IF_FILE_OFFSET64(lockf64) __INTRODUCED_IN(2…
65 int lockf64(int __fd, int __cmd, off64_t __length) __INTRODUCED_IN(24);
Dfcntl.h46 int fcntl(int __fd, int __cmd, ...);

12