Lines Matching refs:pending_tv
80 struct timeval pending_tv;
105 pending_tv.tv_sec = pending_ms / 1000;
106 pending_tv.tv_usec = (pending_ms % 1000) * 1000;
107 r = select(0, NULL, NULL, NULL, &pending_tv);
155 struct timeval pending_tv;
286 ptimeout = (timeout_ms < 0) ? NULL : &pending_tv;
290 pending_tv.tv_sec = pending_ms / 1000;
291 pending_tv.tv_usec = (pending_ms % 1000) * 1000;
294 pending_tv.tv_sec = 0;
295 pending_tv.tv_usec = 0;
389 struct timeval pending_tv;
497 ptimeout = (timeout_ms < 0) ? NULL : &pending_tv;
501 pending_tv.tv_sec = pending_ms / 1000;
502 pending_tv.tv_usec = (pending_ms % 1000) * 1000;
505 pending_tv.tv_sec = 0;
506 pending_tv.tv_usec = 0;