Searched defs:tv1 (Results 1 - 4 of 4) sorted by relevance

/dovecot/src/lib/
H A Dtest-time-util.c11 struct timeval tv1, tv2; member in struct:__anon70
15 .tv1 = { 0, 0 },
19 .tv1 = { INT_MAX, 999999 },
23 .tv1 = { 0, 0 },
27 .tv1 = { 0, 0 },
31 .tv1 = { 0, 999999 },
35 .tv1 = { 1, 0 },
39 .tv1 = { -INT_MAX, 0 },
48 const struct timeval *tv1 = &tests[i].tv1, *tv local
60 struct timeval tv1, tv2; member in struct:__anon71
184 const struct timeval *tv1 = &tests[i].tv1, *tv2 = &tests[i].tv2; local
[all...]
H A Dtime-util.c10 int timeval_cmp(const struct timeval *tv1, const struct timeval *tv2) argument
12 if (tv1->tv_sec < tv2->tv_sec)
14 if (tv1->tv_sec > tv2->tv_sec)
16 if (tv1->tv_usec < tv2->tv_usec)
18 if (tv1->tv_usec > tv2->tv_usec)
23 int timeval_cmp_margin(const struct timeval *tv1, const struct timeval *tv2, argument
29 if (tv1->tv_sec < tv2->tv_sec) {
31 if ((tv2->tv_sec - tv1->tv_sec) > sec_margin)
33 usecs_diff = (tv2->tv_sec - tv1->tv_sec) * 1000000ULL +
34 (tv2->tv_usec - tv1
53 timeval_diff_msecs(const struct timeval *tv1, const struct timeval *tv2) argument
58 timeval_diff_usecs(const struct timeval *tv1, const struct timeval *tv2) argument
[all...]
/dovecot/src/lib-old-stats/
H A Dstats-parser.c82 const struct timeval *tv1 = src1, *tv2 = src2; local
87 (long)tv1->tv_sec, (int)tv1->tv_usec);
/dovecot/src/login-common/
H A Dlogin-proxy.c94 struct timeval tv1, tv2, tv3, tv4; local
96 i_stream_get_last_read_time(proxy->client_input, &tv1);
100 return I_MAX(tv1.tv_sec, I_MAX(tv2.tv_sec, I_MAX(tv3.tv_sec, tv4.tv_sec)));

Completed in 21 milliseconds