Searched defs:tv2 (Results 1 - 4 of 4) sorted by relevance
| /dovecot/src/lib/ |
| H A D | test-time-util.c | 11 struct timeval tv1, tv2; member in struct:__anon70 16 .tv2 = { 0, 0 }, 20 .tv2 = { INT_MAX, 999999 }, 24 .tv2 = { 0, 1 }, 28 .tv2 = { 1, 0 }, 32 .tv2 = { 1, 0 }, 36 .tv2 = { 1, 1 }, 40 .tv2 = { INT_MAX, 0 }, 48 const struct timeval *tv1 = &tests[i].tv1, *tv2 = &tests[i].tv2; 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 D | time-util.c | 10 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 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 D | stats-parser.c | 82 const struct timeval *tv1 = src1, *tv2 = src2; local 86 (long)tv2->tv_sec, (int)tv2->tv_usec,
|
| /dovecot/src/login-common/ |
| H A D | login-proxy.c | 94 struct timeval tv1, tv2, tv3, tv4; local 97 i_stream_get_last_read_time(proxy->server_input, &tv2); 100 return I_MAX(tv1.tv_sec, I_MAX(tv2.tv_sec, I_MAX(tv3.tv_sec, tv4.tv_sec)));
|
Completed in 103 milliseconds