Lines Matching refs:fd
114 php_socket_t fd; member
154 static inline int php_pollfd_for(php_socket_t fd, int events, struct timeval *timeouttv) in php_pollfd_for() argument
159 p.fd = fd; in php_pollfd_for()
172 static inline int php_pollfd_for_ms(php_socket_t fd, int events, int timeout) in php_pollfd_for_ms() argument
177 p.fd = fd; in php_pollfd_for_ms()
196 # define PHP_SAFE_FD_SET(fd, set) FD_SET(fd, set) argument
197 # define PHP_SAFE_FD_CLR(fd, set) FD_CLR(fd, set) argument
198 # define PHP_SAFE_FD_ISSET(fd, set) FD_ISSET(fd, set) argument
201 # define PHP_SAFE_FD_SET(fd, set) do { if (fd < FD_SETSIZE) FD_SET(fd, set); } while(0) argument
202 # define PHP_SAFE_FD_CLR(fd, set) do { if (fd < FD_SETSIZE) FD_CLR(fd, set); } while(0) argument
203 # define PHP_SAFE_FD_ISSET(fd, set) ((fd < FD_SETSIZE) && FD_ISSET(fd, set)) argument