Home
last modified time | relevance | path

Searched refs:time0 (Results 1 – 12 of 12) sorted by relevance

/third_party/tzdata/
Ddifftime.c20 difftime(time_t time1, time_t time0) in difftime() argument
27 double t1 = time1, t0 = time0; in difftime()
36 return time0 <= time1 ? time1 - time0 : dminus(time0 - time1); in difftime()
40 uintmax_t t1 = time1, t0 = time0; in difftime()
41 return time0 <= time1 ? t1 - t0 : dminus(t0 - t1); in difftime()
48 if ((time1 < 0) == (time0 < 0)) in difftime()
49 return time1 - time0; in difftime()
57 long double t1 = time1, t0 = time0; in difftime()
Dnewctime.3.txt16 double difftime(time_t time1, time_t time0);
99 times, (time1 - time0), expressed in seconds.
/third_party/freetype/src/tools/
Dtest_bbox.c140 long time0; in profile_outline() local
142 time0 = get_time(); in profile_outline()
146 time0 = get_time() - time0; in profile_outline()
148 ((double)time0/10000.0), in profile_outline()
157 time0 = get_time(); in profile_outline()
161 time0 = get_time() - time0; in profile_outline()
163 ((double)time0/10000.0), in profile_outline()
/third_party/skia/third_party/externals/freetype/src/tools/
Dtest_bbox.c140 long time0; in profile_outline() local
142 time0 = get_time(); in profile_outline()
146 time0 = get_time() - time0; in profile_outline()
148 ((double)time0/10000.0), in profile_outline()
157 time0 = get_time(); in profile_outline()
161 time0 = get_time() - time0; in profile_outline()
163 ((double)time0/10000.0), in profile_outline()
/third_party/flutter/skia/third_party/externals/freetype/src/tools/
Dtest_bbox.c141 long time0; in profile_outline() local
143 time0 = get_time(); in profile_outline()
147 time0 = get_time() - time0; in profile_outline()
149 ((double)time0/10000.0), in profile_outline()
158 time0 = get_time(); in profile_outline()
162 time0 = get_time() - time0; in profile_outline()
164 ((double)time0/10000.0), in profile_outline()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/difftime/
D1-1.c23 time_t time0; in main() local
26 time0 = time(NULL); in main()
27 time_diff = difftime(time0 + 1, time0); in main()
/third_party/mesa3d/src/intel/common/
Dintel_measure.c373 raw_timestamp_delta(uint64_t time0, uint64_t time1) in raw_timestamp_delta() argument
375 if (time0 > time1) { in raw_timestamp_delta()
376 return (1ULL << TIMESTAMP_BITS) + time1 - time0; in raw_timestamp_delta()
378 return time1 - time0; in raw_timestamp_delta()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_query.c271 iris_raw_timestamp_delta(uint64_t time0, uint64_t time1) in iris_raw_timestamp_delta() argument
273 if (time0 > time1) { in iris_raw_timestamp_delta()
274 return (1ULL << TIMESTAMP_BITS) + time1 - time0; in iris_raw_timestamp_delta()
276 return time1 - time0; in iris_raw_timestamp_delta()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_query.c299 crocus_raw_timestamp_delta(uint64_t time0, uint64_t time1) in crocus_raw_timestamp_delta() argument
301 if (time0 > time1) { in crocus_raw_timestamp_delta()
302 return (1ULL << TIMESTAMP_BITS) + time1 - time0; in crocus_raw_timestamp_delta()
304 return time1 - time0; in crocus_raw_timestamp_delta()
/third_party/rust/crates/nix/test/sys/
Dtest_socket.rs2217 let time0 = SystemTime::now(); in test_recvmsg_timestampns() localVariable
2241 assert!(time0.duration_since(UNIX_EPOCH).unwrap() <= rduration); in test_recvmsg_timestampns()
2272 let time0 = SystemTime::now(); in test_recvmmsg_timestampns() localVariable
2298 assert!(time0.duration_since(UNIX_EPOCH).unwrap() <= rduration); in test_recvmmsg_timestampns()
/third_party/rust/crates/libc/src/vxworks/
Dmod.rs1257 pub fn difftime(time1: time_t, time0: time_t) -> ::c_double; in difftime()
/third_party/rust/crates/libc/src/unix/
Dmod.rs1267 pub fn difftime(time1: time_t, time0: time_t) -> ::c_double; in difftime()