Home
last modified time | relevance | path

Searched refs:difftime (Results 1 – 25 of 53) sorted by relevance

123

/external/icu/icu4c/source/tools/tzcode/
Dprivate.h262 # undef difftime
263 # define difftime tz_difftime macro
283 double difftime(time_t, time_t);
/external/libcxx/include/
Dctime35 double difftime(time_t time1, time_t time0);
66 using ::difftime;
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/
D9-1.c65 } while (difftime(t2, t1) <= 2); in child_process()
94 } while (difftime(t2, t1) <= 2); in test_process()
/external/dnsmasq/src/
Dlease.c204 (next_event == 0 || difftime(next_event, lease->expires + 10) > 0.0)) in lease_update_file()
208 if (next_event == 0 || difftime(next_event, LEASE_RETRY + now) > 0.0) in lease_update_file()
212 strerror(err), (unsigned int) difftime(next_event, now)); in lease_update_file()
215 if (next_event != 0) alarm((unsigned) difftime(next_event, now)); in lease_update_file()
240 if ((lease->expires != 0 && difftime(now, lease->expires) > 0) || lease == target) { in lease_prune()
Dforward.c236 difftime(now, daemon->forwardtime) > FORWARD_TIME) { in forward_query()
852 if (difftime(now, f->time) >= 4 * TIMEOUT) { in get_new_frec()
857 if (!oldest || difftime(f->time, oldest->time) <= 0) oldest = f; in get_new_frec()
867 if (oldest && ((int) difftime(now, oldest->time)) >= TIMEOUT) { in get_new_frec()
870 if (difftime(now, oldest->time) < 2 * TIMEOUT && count <= daemon->ftabsize && in get_new_frec()
Ddnsmasq.c536 if (daemon->last_resolv == 0 || difftime(now, daemon->last_resolv) > 1.0 || in main()
537 difftime(now, daemon->last_resolv) < -1.0) { in main()
756 if (difftime(statbuf.st_mtime, last_change) > 0.0) { in poll_resolv()
1056 for (now = start = dnsmasq_time(); difftime(now, start) < (float) PING_WAIT;) { in icmp_ping()
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/time_h/
D18-1-buildonly.c20 dummyvar = difftime; in dummyfcn()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/difftime/
Dcoverage.txt1 This file defines the coverage for the difftime() function testing.
D1-1.c27 time_diff = difftime(time0 + 1, time0); in main()
/external/llvm-project/libcxx/include/
Dctime34 double difftime(time_t time1, time_t time0);
79 using ::difftime;
/external/llvm-project/libcxx/test/std/depr/depr.c.headers/
Dtime_h.pass.cpp31 static_assert((std::is_same<decltype(difftime(t,t)), double>::value), ""); in main()
/external/libcxx/test/std/depr/depr.c.headers/
Dtime_h.pass.cpp30 static_assert((std::is_same<decltype(difftime(t,t)), double>::value), ""); in main()
/external/libcxx/test/std/utilities/time/date.time/
Dctime.pass.cpp51 static_assert((std::is_same<decltype(std::difftime(t,t)), double>::value), ""); in main()
/external/libcxx/test/std/language.support/support.runtime/
Dctime.pass.cpp45 static_assert((std::is_same<decltype(std::difftime(t,t)), double>::value), ""); in main()
/external/llvm-project/libcxx/test/std/utilities/time/date.time/
Dctime.pass.cpp50 static_assert((std::is_same<decltype(std::difftime(t,t)), double>::value), ""); in main()
/external/llvm-project/libcxx/test/std/language.support/support.runtime/
Dctime.pass.cpp44 static_assert((std::is_same<decltype(std::difftime(t,t)), double>::value), ""); in main()
/external/ltp/utils/benchmark/ebizzy-0.3/
Debizzy.c438 difftime(time(NULL), start_time)); in thread_run()
480 elapsed = difftime(time(NULL), start_time); in start_threads()
/external/igt-gpu-tools/tests/i915/
Dgem_reg_read.c144 } while(difftime(time(NULL), start) < 5); in test_timestamp_monotonic()
/external/ltp/testcases/kernel/syscalls/fsync/
Dfsync02.c133 difftime(time_end, time_start)) > TIME_LIMIT) in main()
/external/icu/icu4c/source/tools/toolutil/
Dfiletools.cpp119 diff = difftime(modtime1, modtime2); in whichFileModTimeIsLater()
/external/mesa3d/src/gallium/targets/haiku-softpipe/
DSoftwareRenderer.cpp66 difftime(end, beg)); in SoftwareRenderer()
87 __func__, difftime(end, beg)); in SoftwareRenderer()
/external/ltp/testcases/network/stress/ns-tools/
Dns-tcpclient.c330 if (timeout < difftime(time(NULL), start_time)) in main()
Dns-udpsender.c410 if (udp_p->timeout < difftime(time(NULL), start_time)) in send_udp_datagram()
Dns-mcast_receiver.c417 if (info_p->timeout < difftime(time(NULL), start_time)) in receive_mcast()
/external/toybox/toys/pending/
Dlast.c75 double diff = difftime(tm1, tm0); in seize_duration()

123