Home
last modified time | relevance | path

Searched refs:fdsetp (Results 1 – 4 of 4) sorted by relevance

/external/kernel-headers/original/asm-arm/
Dposix_types.h64 #define __FD_SET(fd, fdsetp) \ argument
65 (((fd_set *)(fdsetp))->fds_bits[(fd) >> 5] |= (1<<((fd) & 31)))
68 #define __FD_CLR(fd, fdsetp) \ argument
69 (((fd_set *)(fdsetp))->fds_bits[(fd) >> 5] &= ~(1<<((fd) & 31)))
72 #define __FD_ISSET(fd, fdsetp) \ argument
73 ((((fd_set *)(fdsetp))->fds_bits[(fd) >> 5] & (1<<((fd) & 31))) != 0)
76 #define __FD_ZERO(fdsetp) \ argument
77 (memset (fdsetp, 0, sizeof (*(fd_set *)(fdsetp))))
/external/kernel-headers/original/asm-x86/
Dposix_types_32.h52 #define __FD_SET(fd,fdsetp) \ argument
54 "+m" (*(__kernel_fd_set *) (fdsetp)):"r" ((int) (fd)))
57 #define __FD_CLR(fd,fdsetp) \ argument
59 "+m" (*(__kernel_fd_set *) (fdsetp)):"r" ((int) (fd)))
62 #define __FD_ISSET(fd,fdsetp) (__extension__ ({ \ argument
66 "m" (*(__kernel_fd_set *) (fdsetp))); \
70 #define __FD_ZERO(fdsetp) \ argument
74 :"=m" (*(__kernel_fd_set *) (fdsetp)), \
77 "2" ((__kernel_fd_set *) (fdsetp)) : "memory"); \
/external/kernel-headers/original/asm-mips/
Dposix_types.h75 #define __FD_SET(fd, fdsetp) (((fd_set *)(fdsetp))->fds_bits[(fd) >> 5] |= (1<<((fd) & 31))) argument
78 #define __FD_CLR(fd, fdsetp) (((fd_set *)(fdsetp))->fds_bits[(fd) >> 5] &= ~(1<<((fd) & 31))) argument
81 #define __FD_ISSET(fd, fdsetp) ((((fd_set *)(fdsetp))->fds_bits[(fd) >> 5] & (1<<((fd) & 31))) !=… argument
84 #define __FD_ZERO(fdsetp) (memset (fdsetp, 0, sizeof (*(fd_set *)(fdsetp)))) argument
/external/kernel-headers/original/linux/
Dtime.h182 #define FD_SET(fd,fdsetp) __FD_SET(fd,fdsetp) argument
183 #define FD_CLR(fd,fdsetp) __FD_CLR(fd,fdsetp) argument
184 #define FD_ISSET(fd,fdsetp) __FD_ISSET(fd,fdsetp) argument
185 #define FD_ZERO(fdsetp) __FD_ZERO(fdsetp) argument