Lines Matching refs:pending_ms
83 int pending_ms;
99 pending_ms = timeout_ms;
103 r = poll(NULL, 0, pending_ms);
105 pending_tv.tv_sec = pending_ms / 1000;
106 pending_tv.tv_usec = (pending_ms % 1000) * 1000;
114 pending_ms = timeout_ms - elapsed_ms;
115 if(pending_ms <= 0) {
163 int pending_ms = 0;
181 pending_ms = (int)timeout_ms;
209 pending_ms = -1;
211 pending_ms = 0;
212 r = poll(pfd, num, pending_ms);
219 pending_ms = (int)(timeout_ms - elapsed_ms);
220 if(pending_ms <= 0) {
290 pending_tv.tv_sec = pending_ms / 1000;
291 pending_tv.tv_usec = (pending_ms % 1000) * 1000;
334 pending_ms = timeout_ms - elapsed_ms;
335 if(pending_ms <= 0) {
399 int pending_ms = 0;
422 pending_ms = timeout_ms;
430 pending_ms = -1;
432 pending_ms = 0;
433 r = poll(ufds, nfds, pending_ms);
440 pending_ms = timeout_ms - elapsed_ms;
441 if(pending_ms <= 0) {
501 pending_tv.tv_sec = pending_ms / 1000;
502 pending_tv.tv_usec = (pending_ms % 1000) * 1000;
527 pending_ms = timeout_ms - elapsed_ms;
528 if(pending_ms <= 0) {