Lines Matching defs:timeval
25 #include <pulse/timeval.h>
53 struct timeval timeval;
278 const struct timeval *tv,
296 e->timeval = *tv;
302 if (pa_timeval_cmp(tv, &g->cached_next_time_event->timeval) < 0)
316 static void glib_time_restart(pa_time_event*e, const struct timeval *tv) {
327 e->timeval = *tv;
335 if (pa_timeval_cmp(tv, &e->mainloop->cached_next_time_event->timeval) < 0)
446 if (!n || pa_timeval_cmp(&t->timeval, &n->timeval) < 0) {
450 if (n->timeval.tv_sec <= 0)
486 struct timeval tvnow;
495 if (pa_timeval_cmp(&t->timeval, &tvnow) <= 0) {
499 usec = pa_timeval_diff(&t->timeval, &tvnow);
517 struct timeval tvnow;
525 if (pa_timeval_cmp(&t->timeval, &tvnow) <= 0)
560 struct timeval tvnow;
569 if (pa_timeval_cmp(&t->timeval, &tvnow) <= 0) {
574 t->callback(&g->api, t, &t->timeval, t->userdata);