Lines Matching refs:fd
116 php_socket_t fd; member
156 static inline int php_pollfd_for(php_socket_t fd, int events, struct timeval *timeouttv) in php_pollfd_for() argument
161 p.fd = fd; in php_pollfd_for()
174 static inline int php_pollfd_for_ms(php_socket_t fd, int events, int timeout) in php_pollfd_for_ms() argument
179 p.fd = fd; in php_pollfd_for_ms()
198 # define PHP_SAFE_FD_SET(fd, set) FD_SET(fd, set) argument
199 # define PHP_SAFE_FD_CLR(fd, set) FD_CLR(fd, set) argument
200 # define PHP_SAFE_FD_ISSET(fd, set) FD_ISSET(fd, set) argument
203 # define PHP_SAFE_FD_SET(fd, set) do { if (fd < FD_SETSIZE) FD_SET(fd, set); } while(0) argument
204 # define PHP_SAFE_FD_CLR(fd, set) do { if (fd < FD_SETSIZE) FD_CLR(fd, set); } while(0) argument
205 # define PHP_SAFE_FD_ISSET(fd, set) ((fd < FD_SETSIZE) && FD_ISSET(fd, set)) argument