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