Lines Matching defs:timeval
25 #include <pulse/timeval.h>
54 struct timeval timeval;
279 const struct timeval *tv,
297 e->timeval = *tv;
303 if (pa_timeval_cmp(tv, &g->cached_next_time_event->timeval) < 0)
317 static void glib_time_restart(pa_time_event*e, const struct timeval *tv) {
328 e->timeval = *tv;
336 if (pa_timeval_cmp(tv, &e->mainloop->cached_next_time_event->timeval) < 0)
447 if (!n || pa_timeval_cmp(&t->timeval, &n->timeval) < 0) {
451 if (n->timeval.tv_sec <= 0)
487 struct timeval tvnow;
498 if (pa_timeval_cmp(&t->timeval, &tvnow) <= 0) {
502 usec = pa_timeval_diff(&t->timeval, &tvnow);
520 struct timeval tvnow;
529 if (pa_timeval_cmp(&t->timeval, &tvnow) <= 0)
564 struct timeval tvnow;
574 if (pa_timeval_cmp(&t->timeval, &tvnow) <= 0) {
579 t->callback(&g->api, t, &t->timeval, t->userdata);