/development/ndk/platforms/android-21/include/sys/ |
D | select.h | 48 #define __FDELT(fd) ((fd) / NFDBITS) argument 49 #define __FDMASK(fd) (1UL << ((fd) % NFDBITS)) argument 58 #define FD_CLR(fd, set) __FD_CLR_chk(fd, set, __bos(set)) argument 59 #define FD_SET(fd, set) __FD_SET_chk(fd, set, __bos(set)) argument 60 #define FD_ISSET(fd, set) __FD_ISSET_chk(fd, set, __bos(set)) argument 62 #define FD_CLR(fd, set) (__FDS_BITS(set)[__FDELT(fd)] &= ~__FDMASK(fd)) argument 63 #define FD_SET(fd, set) (__FDS_BITS(set)[__FDELT(fd)] |= __FDMASK(fd)) argument 64 #define FD_ISSET(fd, set) ((__FDS_BITS(set)[__FDELT(fd)] & __FDMASK(fd)) != 0) argument
|
D | xattr.h | 38 extern int fsetxattr(int fd, const char *name, const void *value, size_t size, int flags); 42 extern ssize_t fgetxattr(int fd, const char *name, void *value, size_t size); 48 extern ssize_t flistxattr(int fd, char *list, size_t size); 52 extern int fremovexattr(int fd, const char *name);
|
D | eventfd.h | 45 extern int eventfd_read(int fd, eventfd_t* value); 46 extern int eventfd_write(int fd, eventfd_t value);
|
D | signalfd.h | 38 extern int signalfd(int fd, const sigset_t* mask, int flags) __nonnull((2));
|
D | socket.h | 301 ssize_t recvfrom(int fd, void* buf, size_t len, int flags, const struct sockaddr* src_addr, socklen… in recvfrom() argument 306 return __recvfrom_real(fd, buf, len, flags, src_addr, addr_len); in recvfrom() 310 return __recvfrom_real(fd, buf, len, flags, src_addr, addr_len); in recvfrom() 318 return __recvfrom_chk(fd, buf, len, bos, flags, src_addr, addr_len); in recvfrom()
|
/development/ndk/platforms/android-3/arch-arm/include/asm/ |
D | posix_types.h | 57 #define __FD_SET(fd, fdsetp) (((fd_set *)(fdsetp))->fds_bits[(fd) >> 5] |= (1<<((fd) & 31))) argument 60 #define __FD_CLR(fd, fdsetp) (((fd_set *)(fdsetp))->fds_bits[(fd) >> 5] &= ~(1<<((fd) & 31))) argument 63 #define __FD_ISSET(fd, fdsetp) ((((fd_set *)(fdsetp))->fds_bits[(fd) >> 5] & (1<<((fd) & 31))) !=… argument
|
D | poll.h | 31 int fd; member
|
/development/ndk/platforms/android-3/include/ |
D | termios.h | 49 static __inline__ int tcgetattr(int fd, struct termios *s) in tcgetattr() argument 51 return ioctl(fd, TCGETS, s); in tcgetattr() 54 static __inline__ int tcsetattr(int fd, int __opt, const struct termios *s) in tcsetattr() argument 56 return ioctl(fd, __opt, (void *)s); in tcsetattr() 59 static __inline__ int tcflow(int fd, int action) in tcflow() argument 61 return ioctl(fd, TCXONC, (void *)(intptr_t)action); in tcflow() 64 static __inline__ int tcflush(int fd, int __queue) in tcflush() argument 66 return ioctl(fd, TCFLSH, (void *)(intptr_t)__queue); in tcflush() 69 static __inline__ pid_t tcgetsid(int fd) in tcgetsid() argument 72 return ioctl(fd, TIOCGSID, &_pid) ? (pid_t)-1 : _pid; in tcgetsid() [all …]
|
D | fcntl.h | 47 extern int openat(int fd, const char* path, int mode, ...); 49 extern int fcntl(int fd, int command, ...);
|
/development/ndk/platforms/android-9/arch-mips/include/asm/ |
D | posix_types.h | 85 #define __FD_SET(fd, fdsetp) (((fd_set *)(fdsetp))->fds_bits[(fd) >> 5] |= (1<<((fd) & 31))) argument 87 #define __FD_CLR(fd, fdsetp) (((fd_set *)(fdsetp))->fds_bits[(fd) >> 5] &= ~(1<<((fd) & 31))) argument 90 #define __FD_ISSET(fd, fdsetp) ((((fd_set *)(fdsetp))->fds_bits[(fd) >> 5] & (1<<((fd) & 31))) != 0) argument
|
/development/ndk/platforms/android-3/include/linux/ |
D | time.h | 38 #define FD_SET(fd,fdsetp) __FD_SET(fd,fdsetp) argument 39 #define FD_CLR(fd,fdsetp) __FD_CLR(fd,fdsetp) argument 40 #define FD_ISSET(fd,fdsetp) __FD_ISSET(fd,fdsetp) argument
|
D | file.h | 33 struct file ** fd; member 58 #define fcheck(fd) fcheck_files(current->files, fd) argument
|
/development/tools/line_endings/ |
D | line_endings.c | 46 int fd; in main() local 52 fd = open(argv[i], O_RDWR); in main() 53 if (fd < 0) { in main() 58 len = lseek(fd, 0, SEEK_END); in main() 59 lseek(fd, 0, SEEK_SET); in main() 74 amt = read(fd, buf, amt2); in main() 91 ftruncate(fd, 0); in main() 92 lseek(fd, 0, SEEK_SET); in main() 96 ssize_t amt = write(fd, root->buf, amt2); in main() 107 close(fd); in main()
|
/development/ndk/platforms/android-9/arch-x86/include/asm/ |
D | posix_types_32.h | 67 #define __FD_SET(fd,fdsetp) __asm__ __volatile__("btsl %1,%0": "+m" (*(__kernel_fd_set *) (fdse… argument 70 #define __FD_CLR(fd,fdsetp) __asm__ __volatile__("btrl %1,%0": "+m" (*(__kernel_fd_set *) (fdse… argument 72 …FD_ISSET(fd,fdsetp) (__extension__ ({ unsigned char __result; __asm__ __volatile__("btl %1,%2 … argument
|
/development/ndk/platforms/android-21/include/linux/ |
D | if_pppol2tp.h | 25 int fd; member 34 int fd; member 42 int fd; member 51 int fd; member
|
D | fanotify.h | 71 __s32 fd; member 76 __s32 fd; member
|
/development/ndk/platforms/android-9/include/android/ |
D | looper.h | 159 typedef int (*ALooper_callbackFunc)(int fd, int events, void* data); 230 int ALooper_addFd(ALooper* looper, int fd, int ident, int events, 250 int ALooper_removeFd(ALooper* looper, int fd);
|
/development/ndk/platforms/android-21/include/ |
D | unistd.h | 184 extern pid_t tcgetpgrp(int fd); 185 extern int tcsetpgrp(int fd, pid_t _pid); 203 ssize_t read(int fd, void* buf, size_t count) { in read() argument 212 return __read_real(fd, buf, count); in read() 220 return __read_real(fd, buf, count); in read() 224 return __read_chk(fd, buf, count, bos); in read()
|
/development/ndk/platforms/android-9/include/sys/ |
D | eventfd.h | 45 extern int eventfd_read(int fd, eventfd_t *counter); 46 extern int eventfd_write(int fd, const eventfd_t counter);
|
/development/ndk/platforms/android-21/samples/native-codec/jni/ |
D | native-codec-jni.cpp | 51 int fd; member 220 int fd = open(utf8, O_RDONLY); in Java_com_example_nativecodec_NativeCodec_createStreamingMediaPlayer() local 222 if (fd < 0) { in Java_com_example_nativecodec_NativeCodec_createStreamingMediaPlayer() 223 LOGV("failed: %d (%s)", fd, strerror(errno)); in Java_com_example_nativecodec_NativeCodec_createStreamingMediaPlayer() 227 data.fd = fd; in Java_com_example_nativecodec_NativeCodec_createStreamingMediaPlayer() 232 media_status_t err = AMediaExtractor_setDataSourceFd(ex, d->fd, 0 , LONG_MAX); in Java_com_example_nativecodec_NativeCodec_createStreamingMediaPlayer() 233 close(d->fd); in Java_com_example_nativecodec_NativeCodec_createStreamingMediaPlayer()
|
/development/ndk/platforms/android-3/include/sys/ |
D | epoll.h | 54 int fd; member 66 int epoll_ctl(int epfd, int op, int fd, struct epoll_event *event);
|
/development/ndk/platforms/android-19/include/sys/ |
D | stat.h | 142 extern int utimensat(int fd, const char *path, const struct timespec times[2], int flags); 143 extern int futimens(int fd, const struct timespec times[2]);
|
/development/samples/BluetoothHDP/src/com/example/bluetooth/health/ |
D | BluetoothHDPService.java | 238 BluetoothDevice device, int prevState, int newState, ParcelFileDescriptor fd, 248 (new ReadThread(fd)).start(); 286 public ReadThread(ParcelFileDescriptor fd) { in ReadThread() argument 288 mFd = fd; in ReadThread()
|
/development/ndk/platforms/android-21/arch-mips/include/asm/ |
D | inst.h | 519 BITFIELD_FIELD(unsigned int fd : 5, 539 BITFIELD_FIELD(unsigned int fd : 5, 572 BITFIELD_FIELD(unsigned int fd : 5, 582 BITFIELD_FIELD(unsigned int fd : 5, 596 BITFIELD_FIELD(unsigned int fd : 5, 615 BITFIELD_FIELD(unsigned int fd : 5, 655 BITFIELD_FIELD(unsigned int fd : 5, 667 BITFIELD_FIELD(unsigned int fd : 5, 677 BITFIELD_FIELD(unsigned int fd : 5,
|
/development/ndk/platforms/android-21/arch-mips64/include/asm/ |
D | inst.h | 519 BITFIELD_FIELD(unsigned int fd : 5, 539 BITFIELD_FIELD(unsigned int fd : 5, 572 BITFIELD_FIELD(unsigned int fd : 5, 582 BITFIELD_FIELD(unsigned int fd : 5, 596 BITFIELD_FIELD(unsigned int fd : 5, 615 BITFIELD_FIELD(unsigned int fd : 5, 655 BITFIELD_FIELD(unsigned int fd : 5, 667 BITFIELD_FIELD(unsigned int fd : 5, 677 BITFIELD_FIELD(unsigned int fd : 5,
|