Home
last modified time | relevance | path

Searched refs:tvnow (Results 1 – 10 of 10) sorted by relevance

/third_party/pulseaudio/src/pulse/
Dohos_glib-mainloop.c487 struct timeval tvnow; in prepare_func() local
494 pa_timeval_store(&tvnow, now); in prepare_func()
495 tvnow.tv_sec = now / 1000000; in prepare_func()
496 tvnow.tv_usec = now % 1000000; in prepare_func()
498 if (pa_timeval_cmp(&t->timeval, &tvnow) <= 0) { in prepare_func()
502 usec = pa_timeval_diff(&t->timeval, &tvnow); in prepare_func()
520 struct timeval tvnow; in check_func() local
525 pa_timeval_store(&tvnow, now); in check_func()
526 tvnow.tv_sec = now / 1000000; in check_func()
527 tvnow.tv_usec = now % 1000000; in check_func()
[all …]
Dglib-mainloop.c486 struct timeval tvnow; in prepare_func() local
493 pa_timeval_store(&tvnow, now); in prepare_func()
495 if (pa_timeval_cmp(&t->timeval, &tvnow) <= 0) { in prepare_func()
499 usec = pa_timeval_diff(&t->timeval, &tvnow); in prepare_func()
517 struct timeval tvnow; in check_func() local
523 pa_timeval_store(&tvnow, now); in check_func()
525 if (pa_timeval_cmp(&t->timeval, &tvnow) <= 0) in check_func()
560 struct timeval tvnow; in dispatch_func() local
567 pa_timeval_store(&tvnow, now); in dispatch_func()
569 if (pa_timeval_cmp(&t->timeval, &tvnow) <= 0) { in dispatch_func()
/third_party/curl/src/
Dtool_util.c37 struct timeval tvnow(void) in tvnow() function
66 struct timeval tvnow(void) in tvnow() function
100 struct timeval tvnow(void) in tvnow() function
114 struct timeval tvnow(void) in tvnow() function
Dtool_util.h28 struct timeval tvnow(void);
Dtool_cb_rea.c59 struct timeval now = tvnow(); in tool_read_cb()
Dtool_operate.c342 per->start = tvnow(); in pre_transfer()
459 (tvdiff(tvnow(), per->retrystart) < in post_per_transfer()
564 curl_off_t seconds = tvdiff(tvnow(), per->retrystart)/1000; in post_per_transfer()
2193 per->retrystart = tvnow(); in single_transfer()
2324 struct timeval start = tvnow(); in parallel_transfers()
2480 start = tvnow(); in serial_transfers()
2514 long milli = tvdiff(tvnow(), start); in serial_transfers()
Dtool_cb_prg.c135 struct timeval now = tvnow(); in tool_progress_cb()
Dtool_cb_dbg.c113 tv = tvnow(); in tool_debug_cb()
Dtool_progress.c169 now = tvnow(); in progress_meter()
/third_party/curl/tests/server/
Dutil.c58 static struct timeval tvnow(void);
104 tv = tvnow(); in logmsg()
253 initial_tv = tvnow(); in wait_ms()
268 pending_ms = timeout_ms - (int)timediff(tvnow(), initial_tv); in wait_ms()
371 static struct timeval tvnow(void) in tvnow() function
396 static struct timeval tvnow(void) in tvnow() function
430 static struct timeval tvnow(void) in tvnow() function
444 static struct timeval tvnow(void) in tvnow() function