Lines Matching refs:fd
130 php_socket_t fd; member
170 static inline int php_pollfd_for(php_socket_t fd, int events, struct timeval *timeouttv) in php_pollfd_for() argument
175 p.fd = fd; in php_pollfd_for()
188 static inline int php_pollfd_for_ms(php_socket_t fd, int events, int timeout) in php_pollfd_for_ms() argument
193 p.fd = fd; in php_pollfd_for_ms()
212 # define PHP_SAFE_FD_SET(fd, set) FD_SET(fd, set) argument
213 # define PHP_SAFE_FD_CLR(fd, set) FD_CLR(fd, set) argument
214 # define PHP_SAFE_FD_ISSET(fd, set) FD_ISSET(fd, set) argument
217 # define PHP_SAFE_FD_SET(fd, set) do { if (fd < FD_SETSIZE) FD_SET(fd, set); } while(0) argument
218 # define PHP_SAFE_FD_CLR(fd, set) do { if (fd < FD_SETSIZE) FD_CLR(fd, set); } while(0) argument
219 # define PHP_SAFE_FD_ISSET(fd, set) ((fd < FD_SETSIZE) && FD_ISSET(fd, set)) argument