Lines Matching refs:tv
20 #define SETUP(fd, rfds, tv) do { \
23 (tv).tv_sec = 0; \
24 (tv).tv_usec = 0; \
63 struct timeval tv;
76 SETUP(fd, rfds, tv);
77 if (select(fd + 1, &rfds, NULL, NULL, &tv) < 0)
107 SETUP(fd, rfds, tv);
108 if (select(fd + 1, &rfds, NULL, NULL, &tv) < 0)
116 SETUP(fd, rfds, tv);
117 if (select(fd + 1, &rfds, NULL, NULL, &tv) < 0)
122 SETUP(fd, rfds, tv);
123 if (select(fd + 1, &rfds, NULL, NULL, &tv) < 0)
131 SETUP(fd, rfds, tv);
132 if (select(fd + 1, &rfds, NULL, NULL, &tv) < 0)
147 SETUP(fd, rfds, tv);
148 if (select(fd + 1, &rfds, NULL, NULL, &tv) < 0)
156 SETUP(fd, rfds, tv);
157 if (select(fd + 1, &rfds, NULL, NULL, &tv) < 0)
170 SETUP(fd, rfds, tv);
171 if (select(fd + 1, &rfds, NULL, NULL, &tv) < 0)
176 SETUP(fd, rfds, tv);
177 if (select(fd + 1, &rfds, NULL, NULL, &tv) < 0)
196 SETUP(fd, rfds, tv);
197 if (select(fd + 1, &rfds, NULL, NULL, &tv) < 0)
201 SETUP(fd, rfds, tv);
202 if (select(fd + 1, &rfds, NULL, NULL, &tv) < 0)
206 SETUP(fd, rfds, tv);
207 if (select(fd + 1, &rfds, NULL, NULL, &tv) < 0)