/third_party/tzdata/ |
H A D | difftime.c | 20 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() 45 ** Handle cases where both time1 and time0 have the same sign in difftime() 48 if ((time1 < 0) == (time0 < 0)) in difftime() 49 return time1 - time0; in difftime() [all...] |
/third_party/skia/third_party/externals/freetype/src/tools/ |
H A D | test_bbox.c | 140 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/ltp/testcases/open_posix_testsuite/conformance/interfaces/difftime/ |
H A D | 1-1.c | 23 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/ |
H A D | intel_measure.c | 373 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/musl/libc-test/src/functionalext/supplement/time/time_gtest/ |
H A D | time_test.cpp | 22 clock_t time0 = clock(); in HWTEST_F() local 26 EXPECT_GT(5 * (CLOCKS_PER_SEC / 1000), time1 - time0); in HWTEST_F() 464 time_t time0 = time(nullptr); in HWTEST_F() local 469 EXPECT_LE(static_cast<int>(1), time1 - time0); in HWTEST_F()
|
H A D | sys_clock_test.cpp | 316 auto time0 = std::chrono::steady_clock::now(); in HWTEST_F() local 321 EXPECT_GE(std::chrono::duration_cast<std::chrono::nanoseconds>(time1 - time0).count(), 5000000); in HWTEST_F()
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
H A D | iris_query.c | 271 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/ |
H A D | crocus_query.c | 299 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/lame/libmp3lame/ |
H A D | util.c | 592 double time0 = k * resample_ratio; /* time of k'th output sample */ in fill_buffer_resample() local 596 j = floor(time0 - esv->itime[ch]); in fill_buffer_resample() 603 /* but we want a window centered at time0. */ in fill_buffer_resample() 604 offset = (time0 - esv->itime[ch] - (j + .5 * (filter_l % 2))); in fill_buffer_resample()
|
/third_party/backends/backend/ |
H A D | canon.h | 303 time_t time0; /* modification for FB620S */ member
|
H A D | canon-sane.c | 861 DBG (11, "time0 = %ld\n", s->time0); in sane_control_option() 863 dtime = (s->time1) - (s->time0); in sane_control_option() 2140 if (s->time0 == -1) in sane_read() 2141 s->time0 = 0; in sane_read() 2143 time (&(s->time0)); in sane_read() 2145 DBG (11, "sane_read: time0 = %ld\n", s->time0); in sane_read()
|
H A D | canon.c | 1104 s->time0 = -1; in do_cancel() 1105 DBG (21, "time0 = %ld\n", s->time0); in do_cancel()
|
/third_party/rust/crates/nix/test/sys/ |
H A D | test_socket.rs | 2217 let time0 = SystemTime::now(); in test_recvmsg_timestampns() 2241 assert!(time0.duration_since(UNIX_EPOCH).unwrap() <= rduration); in test_recvmsg_timestampns() 2272 let time0 = SystemTime::now(); in test_recvmmsg_timestampns() 2298 assert!(time0.duration_since(UNIX_EPOCH).unwrap() <= rduration); in test_recvmmsg_timestampns()
|
/third_party/rust/crates/libc/src/vxworks/ |
H A D | mod.rs | 1257 pub fn difftime(time1: time_t, time0: time_t) -> ::c_double; in difftime()
|
/third_party/rust/crates/libc/src/unix/ |
H A D | mod.rs | 1267 pub fn difftime(time1: time_t, time0: time_t) -> ::c_double; in difftime()
|