Home
last modified time | relevance | path

Searched refs:time0 (Results 1 - 15 of 15) sorted by relevance

/third_party/tzdata/
H A 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()
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 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/ltp/testcases/open_posix_testsuite/conformance/interfaces/difftime/
H A 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/
H A 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/musl/libc-test/src/functionalext/supplement/time/time_gtest/
H A Dtime_test.cpp22 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 Dsys_clock_test.cpp316 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 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/
H A 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/lame/libmp3lame/
H A Dutil.c592 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 Dcanon.h303 time_t time0; /* modification for FB620S */ member
H A Dcanon-sane.c861 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 Dcanon.c1104 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 Dtest_socket.rs2217 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 Dmod.rs1257 pub fn difftime(time1: time_t, time0: time_t) -> ::c_double; in difftime()
/third_party/rust/crates/libc/src/unix/
H A Dmod.rs1267 pub fn difftime(time1: time_t, time0: time_t) -> ::c_double; in difftime()

Completed in 25 milliseconds