/external/strace/tests/ |
pselect6.c | 45 static fd_set set[3][0x1000000 / sizeof(fd_set)]; 76 FD_SET(fds[0], set[0]); 77 FD_SET(fds[1], set[0]); 78 FD_SET(fds[0], set[1]); 79 FD_SET(fds[1], set[1]); 80 FD_SET(1, set[2]); 81 FD_SET(2, set[2]); 93 FD_SET(1, set[1]); 94 FD_SET(2, set[1]) [all...] |
xselect.c | 46 static fd_set set[0x1000000 / sizeof(fd_set)]; 66 FD_SET(fds[0], set); 67 FD_SET(fds[1], set); 77 FD_SET(1, set); 78 FD_SET(2, set); 79 FD_SET(fds[0], set); 80 FD_SET(fds[1], set); 95 FD_SET(fds[1],set); 105 FD_SET(fds[0],set) [all...] |
oldselect.c | 44 fd_set r = {}, w = {}; 56 FD_SET(0, &w); 57 FD_SET(1, &r);
|
/external/c-ares/ |
ares_fds.c | 27 int ares_fds(ares_channel channel, fd_set *read_fds, fd_set *write_fds) 45 FD_SET(server->udp_socket, read_fds); 55 FD_SET(server->tcp_socket, read_fds); 57 FD_SET(server->tcp_socket, write_fds);
|
ares_nowarn.h | 30 int aresx_FD_ISSET(int fd, fd_set *fdset); 32 void aresx_FD_SET(int fd, fd_set *fdset); 34 void aresx_FD_ZERO(fd_set *fdset); 43 # undef FD_SET 44 # define FD_SET(a,b) aresx_FD_SET((a),(b))
|
/bionic/tests/ |
sys_select_test.cpp | 29 fd_set fds; 36 FD_SET(0, &fds); 39 FD_SET(1, &fds); 78 fd_set r; 80 fd_set w; 82 fd_set e; 85 FD_SET(STDIN_FILENO, &r); 86 FD_SET(STDOUT_FILENO, &w); 87 FD_SET(STDERR_FILENO, &w); 119 FD_SET(fd, &r) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/psdk_inc/ |
_fd_types.h | 17 /* fd_set may have been defined by the newlib <sys/types.h> 21 typedef struct fd_set struct 25 } fd_set; typedef in typeref:struct:fd_set 31 int WINAPI __WSAFDIsSet(SOCKET,fd_set *); 41 for(__i = 0; __i < ((fd_set *)(set))->fd_count; __i++) { \ 42 if (((fd_set *)(set))->fd_array[__i] == fd) { \ 43 while (__i < ((fd_set *)(set))->fd_count - 1) { \ 44 ((fd_set *)(set))->fd_array[__i] = \ 45 ((fd_set *)(set))->fd_array[__i + 1]; \ 48 ((fd_set *)(set))->fd_count--; [all...] |
/hardware/invensense/6515/libsensors_iio/software/simple_apps/common/ |
console_helper.c | 30 fd_set read_fd; 35 FD_SET(0, &read_fd);
|
/external/curl/docs/examples/ |
sendrecv.c | 35 fd_set infd, outfd, errfd; 45 FD_SET(sockfd, &errfd); /* always check for error */ 48 FD_SET(sockfd, &infd); 51 FD_SET(sockfd, &outfd);
|
/bionic/libc/include/sys/ |
select.h | 45 } fd_set; typedef in typeref:struct:__anon216 49 #define __FDS_BITS(set) (((fd_set*)(set))->fds_bits) 60 extern void __FD_CLR_chk(int, fd_set*, size_t); 61 extern void __FD_SET_chk(int, fd_set*, size_t); 62 extern int __FD_ISSET_chk(int, fd_set*, size_t); 66 #define FD_SET(fd, set) __FD_SET_chk(fd, set, __bos(set)) 70 #define FD_SET(fd, set) (__FDS_BITS(set)[__FDELT(fd)] |= __FDMASK(fd)) 74 extern int select(int, fd_set*, fd_set*, fd_set*, struct timeval*) [all...] |
/development/ndk/platforms/android-21/include/sys/ |
select.h | 46 } fd_set; typedef in typeref:struct:__anon2165 50 #define __FDS_BITS(set) (((fd_set*)(set))->fds_bits) 52 #define FD_ZERO(set) (memset(set, 0, sizeof(*(fd_set*)(set)))) 55 extern void __FD_CLR_chk(int, fd_set*, size_t); 56 extern void __FD_SET_chk(int, fd_set*, size_t); 57 extern int __FD_ISSET_chk(int, fd_set*, size_t); 59 #define FD_SET(fd, set) __FD_SET_chk(fd, set, __bos(set)) 63 #define FD_SET(fd, set) (__FDS_BITS(set)[__FDELT(fd)] |= __FDMASK(fd)) 67 extern int select(int, fd_set*, fd_set*, fd_set*, struct timeval*) [all...] |
/prebuilts/ndk/current/platforms/android-21/arch-arm/usr/include/sys/ |
select.h | 46 } fd_set; typedef in typeref:struct:__anon56242 50 #define __FDS_BITS(set) (((fd_set*)(set))->fds_bits) 52 #define FD_ZERO(set) (memset(set, 0, sizeof(*(fd_set*)(set)))) 55 extern void __FD_CLR_chk(int, fd_set*, size_t); 56 extern void __FD_SET_chk(int, fd_set*, size_t); 57 extern int __FD_ISSET_chk(int, fd_set*, size_t); 59 #define FD_SET(fd, set) __FD_SET_chk(fd, set, __bos(set)) 63 #define FD_SET(fd, set) (__FDS_BITS(set)[__FDELT(fd)] |= __FDMASK(fd)) 67 extern int select(int, fd_set*, fd_set*, fd_set*, struct timeval*) [all...] |
/prebuilts/ndk/current/platforms/android-21/arch-arm64/usr/include/sys/ |
select.h | 46 } fd_set; typedef in typeref:struct:__anon57010 50 #define __FDS_BITS(set) (((fd_set*)(set))->fds_bits) 52 #define FD_ZERO(set) (memset(set, 0, sizeof(*(fd_set*)(set)))) 55 extern void __FD_CLR_chk(int, fd_set*, size_t); 56 extern void __FD_SET_chk(int, fd_set*, size_t); 57 extern int __FD_ISSET_chk(int, fd_set*, size_t); 59 #define FD_SET(fd, set) __FD_SET_chk(fd, set, __bos(set)) 63 #define FD_SET(fd, set) (__FDS_BITS(set)[__FDELT(fd)] |= __FDMASK(fd)) 67 extern int select(int, fd_set*, fd_set*, fd_set*, struct timeval*) [all...] |
/prebuilts/ndk/current/platforms/android-21/arch-mips/usr/include/sys/ |
select.h | 46 } fd_set; typedef in typeref:struct:__anon57788 50 #define __FDS_BITS(set) (((fd_set*)(set))->fds_bits) 52 #define FD_ZERO(set) (memset(set, 0, sizeof(*(fd_set*)(set)))) 55 extern void __FD_CLR_chk(int, fd_set*, size_t); 56 extern void __FD_SET_chk(int, fd_set*, size_t); 57 extern int __FD_ISSET_chk(int, fd_set*, size_t); 59 #define FD_SET(fd, set) __FD_SET_chk(fd, set, __bos(set)) 63 #define FD_SET(fd, set) (__FDS_BITS(set)[__FDELT(fd)] |= __FDMASK(fd)) 67 extern int select(int, fd_set*, fd_set*, fd_set*, struct timeval*) [all...] |
/prebuilts/ndk/current/platforms/android-21/arch-mips64/usr/include/sys/ |
select.h | 46 } fd_set; typedef in typeref:struct:__anon58566 50 #define __FDS_BITS(set) (((fd_set*)(set))->fds_bits) 52 #define FD_ZERO(set) (memset(set, 0, sizeof(*(fd_set*)(set)))) 55 extern void __FD_CLR_chk(int, fd_set*, size_t); 56 extern void __FD_SET_chk(int, fd_set*, size_t); 57 extern int __FD_ISSET_chk(int, fd_set*, size_t); 59 #define FD_SET(fd, set) __FD_SET_chk(fd, set, __bos(set)) 63 #define FD_SET(fd, set) (__FDS_BITS(set)[__FDELT(fd)] |= __FDMASK(fd)) 67 extern int select(int, fd_set*, fd_set*, fd_set*, struct timeval*) [all...] |
/prebuilts/ndk/current/platforms/android-21/arch-x86/usr/include/sys/ |
select.h | 46 } fd_set; typedef in typeref:struct:__anon59343 50 #define __FDS_BITS(set) (((fd_set*)(set))->fds_bits) 52 #define FD_ZERO(set) (memset(set, 0, sizeof(*(fd_set*)(set)))) 55 extern void __FD_CLR_chk(int, fd_set*, size_t); 56 extern void __FD_SET_chk(int, fd_set*, size_t); 57 extern int __FD_ISSET_chk(int, fd_set*, size_t); 59 #define FD_SET(fd, set) __FD_SET_chk(fd, set, __bos(set)) 63 #define FD_SET(fd, set) (__FDS_BITS(set)[__FDELT(fd)] |= __FDMASK(fd)) 67 extern int select(int, fd_set*, fd_set*, fd_set*, struct timeval*) [all...] |
/prebuilts/ndk/current/platforms/android-21/arch-x86_64/usr/include/sys/ |
select.h | 46 } fd_set; typedef in typeref:struct:__anon60121 50 #define __FDS_BITS(set) (((fd_set*)(set))->fds_bits) 52 #define FD_ZERO(set) (memset(set, 0, sizeof(*(fd_set*)(set)))) 55 extern void __FD_CLR_chk(int, fd_set*, size_t); 56 extern void __FD_SET_chk(int, fd_set*, size_t); 57 extern int __FD_ISSET_chk(int, fd_set*, size_t); 59 #define FD_SET(fd, set) __FD_SET_chk(fd, set, __bos(set)) 63 #define FD_SET(fd, set) (__FDS_BITS(set)[__FDELT(fd)] |= __FDMASK(fd)) 67 extern int select(int, fd_set*, fd_set*, fd_set*, struct timeval*) [all...] |
/prebuilts/ndk/current/platforms/android-23/arch-arm/usr/include/sys/ |
select.h | 46 } fd_set; typedef in typeref:struct:__anon60889 50 #define __FDS_BITS(set) (((fd_set*)(set))->fds_bits) 52 #define FD_ZERO(set) (memset(set, 0, sizeof(*(fd_set*)(set)))) 55 extern void __FD_CLR_chk(int, fd_set*, size_t); 56 extern void __FD_SET_chk(int, fd_set*, size_t); 57 extern int __FD_ISSET_chk(int, fd_set*, size_t); 59 #define FD_SET(fd, set) __FD_SET_chk(fd, set, __bos(set)) 63 #define FD_SET(fd, set) (__FDS_BITS(set)[__FDELT(fd)] |= __FDMASK(fd)) 67 extern int select(int, fd_set*, fd_set*, fd_set*, struct timeval*) [all...] |
/prebuilts/ndk/current/platforms/android-23/arch-arm64/usr/include/sys/ |
select.h | 46 } fd_set; typedef in typeref:struct:__anon61657 50 #define __FDS_BITS(set) (((fd_set*)(set))->fds_bits) 52 #define FD_ZERO(set) (memset(set, 0, sizeof(*(fd_set*)(set)))) 55 extern void __FD_CLR_chk(int, fd_set*, size_t); 56 extern void __FD_SET_chk(int, fd_set*, size_t); 57 extern int __FD_ISSET_chk(int, fd_set*, size_t); 59 #define FD_SET(fd, set) __FD_SET_chk(fd, set, __bos(set)) 63 #define FD_SET(fd, set) (__FDS_BITS(set)[__FDELT(fd)] |= __FDMASK(fd)) 67 extern int select(int, fd_set*, fd_set*, fd_set*, struct timeval*) [all...] |
/prebuilts/ndk/current/platforms/android-23/arch-mips/usr/include/sys/ |
select.h | 46 } fd_set; typedef in typeref:struct:__anon62435 50 #define __FDS_BITS(set) (((fd_set*)(set))->fds_bits) 52 #define FD_ZERO(set) (memset(set, 0, sizeof(*(fd_set*)(set)))) 55 extern void __FD_CLR_chk(int, fd_set*, size_t); 56 extern void __FD_SET_chk(int, fd_set*, size_t); 57 extern int __FD_ISSET_chk(int, fd_set*, size_t); 59 #define FD_SET(fd, set) __FD_SET_chk(fd, set, __bos(set)) 63 #define FD_SET(fd, set) (__FDS_BITS(set)[__FDELT(fd)] |= __FDMASK(fd)) 67 extern int select(int, fd_set*, fd_set*, fd_set*, struct timeval*) [all...] |
/prebuilts/ndk/current/platforms/android-23/arch-mips64/usr/include/sys/ |
select.h | 46 } fd_set; typedef in typeref:struct:__anon63213 50 #define __FDS_BITS(set) (((fd_set*)(set))->fds_bits) 52 #define FD_ZERO(set) (memset(set, 0, sizeof(*(fd_set*)(set)))) 55 extern void __FD_CLR_chk(int, fd_set*, size_t); 56 extern void __FD_SET_chk(int, fd_set*, size_t); 57 extern int __FD_ISSET_chk(int, fd_set*, size_t); 59 #define FD_SET(fd, set) __FD_SET_chk(fd, set, __bos(set)) 63 #define FD_SET(fd, set) (__FDS_BITS(set)[__FDELT(fd)] |= __FDMASK(fd)) 67 extern int select(int, fd_set*, fd_set*, fd_set*, struct timeval*) [all...] |
/prebuilts/ndk/current/platforms/android-23/arch-x86/usr/include/sys/ |
select.h | 46 } fd_set; typedef in typeref:struct:__anon63990 50 #define __FDS_BITS(set) (((fd_set*)(set))->fds_bits) 52 #define FD_ZERO(set) (memset(set, 0, sizeof(*(fd_set*)(set)))) 55 extern void __FD_CLR_chk(int, fd_set*, size_t); 56 extern void __FD_SET_chk(int, fd_set*, size_t); 57 extern int __FD_ISSET_chk(int, fd_set*, size_t); 59 #define FD_SET(fd, set) __FD_SET_chk(fd, set, __bos(set)) 63 #define FD_SET(fd, set) (__FDS_BITS(set)[__FDELT(fd)] |= __FDMASK(fd)) 67 extern int select(int, fd_set*, fd_set*, fd_set*, struct timeval*) [all...] |
/prebuilts/ndk/current/platforms/android-23/arch-x86_64/usr/include/sys/ |
select.h | 46 } fd_set; typedef in typeref:struct:__anon64768 50 #define __FDS_BITS(set) (((fd_set*)(set))->fds_bits) 52 #define FD_ZERO(set) (memset(set, 0, sizeof(*(fd_set*)(set)))) 55 extern void __FD_CLR_chk(int, fd_set*, size_t); 56 extern void __FD_SET_chk(int, fd_set*, size_t); 57 extern int __FD_ISSET_chk(int, fd_set*, size_t); 59 #define FD_SET(fd, set) __FD_SET_chk(fd, set, __bos(set)) 63 #define FD_SET(fd, set) (__FDS_BITS(set)[__FDELT(fd)] |= __FDMASK(fd)) 67 extern int select(int, fd_set*, fd_set*, fd_set*, struct timeval*) [all...] |
/prebuilts/ndk/current/platforms/android-24/arch-arm/usr/include/sys/ |
select.h | 46 } fd_set; typedef in typeref:struct:__anon65536 50 #define __FDS_BITS(set) (((fd_set*)(set))->fds_bits) 52 #define FD_ZERO(set) (memset(set, 0, sizeof(*(fd_set*)(set)))) 55 extern void __FD_CLR_chk(int, fd_set*, size_t); 56 extern void __FD_SET_chk(int, fd_set*, size_t); 57 extern int __FD_ISSET_chk(int, fd_set*, size_t); 59 #define FD_SET(fd, set) __FD_SET_chk(fd, set, __bos(set)) 63 #define FD_SET(fd, set) (__FDS_BITS(set)[__FDELT(fd)] |= __FDMASK(fd)) 67 extern int select(int, fd_set*, fd_set*, fd_set*, struct timeval*) [all...] |
/prebuilts/ndk/current/platforms/android-24/arch-arm64/usr/include/sys/ |
select.h | 46 } fd_set; typedef in typeref:struct:__anon66304 50 #define __FDS_BITS(set) (((fd_set*)(set))->fds_bits) 52 #define FD_ZERO(set) (memset(set, 0, sizeof(*(fd_set*)(set)))) 55 extern void __FD_CLR_chk(int, fd_set*, size_t); 56 extern void __FD_SET_chk(int, fd_set*, size_t); 57 extern int __FD_ISSET_chk(int, fd_set*, size_t); 59 #define FD_SET(fd, set) __FD_SET_chk(fd, set, __bos(set)) 63 #define FD_SET(fd, set) (__FDS_BITS(set)[__FDELT(fd)] |= __FDMASK(fd)) 67 extern int select(int, fd_set*, fd_set*, fd_set*, struct timeval*) [all...] |