Lines Matching refs:fd
128 php_socket_t fd; member
168 static inline int php_pollfd_for(php_socket_t fd, int events, struct timeval *timeouttv) in php_pollfd_for() argument
173 p.fd = fd; in php_pollfd_for()
186 static inline int php_pollfd_for_ms(php_socket_t fd, int events, int timeout) in php_pollfd_for_ms() argument
191 p.fd = fd; in php_pollfd_for_ms()
229 # define PHP_SAFE_FD_SET(fd, set) FD_SET(fd, set) argument
230 # define PHP_SAFE_FD_CLR(fd, set) FD_CLR(fd, set) argument
231 # define PHP_SAFE_FD_ISSET(fd, set) FD_ISSET(fd, set) argument
234 # define PHP_SAFE_FD_SET(fd, set) do { if (fd < FD_SETSIZE) FD_SET(fd, set); } while(0) argument
235 # define PHP_SAFE_FD_CLR(fd, set) do { if (fd < FD_SETSIZE) FD_CLR(fd, set); } while(0) argument
236 # define PHP_SAFE_FD_ISSET(fd, set) ((fd < FD_SETSIZE) && FD_ISSET(fd, set)) argument