Home
last modified time | relevance | path

Searched refs:new_time (Results 1 – 22 of 22) sorted by relevance

/third_party/node/deps/ngtcp2/ngtcp2/lib/
Dngtcp2_window_filter.c46 uint64_t new_time) { in ngtcp2_window_filter_update() argument
48 new_time - wf->estimates[2].time > wf->window_length) { in ngtcp2_window_filter_update()
49 ngtcp2_window_filter_reset(wf, new_sample, new_time); in ngtcp2_window_filter_update()
55 wf->estimates[1].time = new_time; in ngtcp2_window_filter_update()
59 wf->estimates[2].time = new_time; in ngtcp2_window_filter_update()
62 if (new_time - wf->estimates[0].time > wf->window_length) { in ngtcp2_window_filter_update()
66 wf->estimates[2].time = new_time; in ngtcp2_window_filter_update()
68 if (new_time - wf->estimates[0].time > wf->window_length) { in ngtcp2_window_filter_update()
76 new_time - wf->estimates[1].time > wf->window_length >> 2) { in ngtcp2_window_filter_update()
78 wf->estimates[2].time = new_time; in ngtcp2_window_filter_update()
[all …]
Dngtcp2_window_filter.h58 uint64_t new_time);
61 uint64_t new_time);
/third_party/ltp/testcases/kernel/syscalls/stime/
Dstime01.c27 time_t new_time; in run() local
33 new_time = real_time_tv.tv_sec + 30; in run()
35 if (do_stime(&new_time) < 0) { in run()
36 tst_res(TFAIL | TERRNO, "stime(%ld) failed", new_time); in run()
43 switch (pres_time_tv.tv_sec - new_time) { in run()
47 tst_res(TPASS, "system time was set to %ld", new_time); in run()
51 new_time, pres_time_tv.tv_sec); in run()
Dstime02.c25 static time_t new_time; variable
29 TEST(do_stime(&new_time)); in run()
58 new_time = curr_time + 10; in setup()
/third_party/benchmark/src/
Dreporter.cc103 double new_time = real_accumulated_time * GetTimeUnitMultiplier(time_unit); in GetAdjustedRealTime() local
104 if (iterations != 0) new_time /= static_cast<double>(iterations); in GetAdjustedRealTime()
105 return new_time; in GetAdjustedRealTime()
109 double new_time = cpu_accumulated_time * GetTimeUnitMultiplier(time_unit); in GetAdjustedCPUTime() local
110 if (iterations != 0) new_time /= static_cast<double>(iterations); in GetAdjustedCPUTime()
111 return new_time; in GetAdjustedCPUTime()
/third_party/musl/libc-test/src/functionalext/supplement/unistd/
Dsleep.c31 struct timespec new_time; in sleep_0100() local
32 clock_gettime(CLOCK_MONOTONIC, &new_time); in sleep_0100()
36 long int difference = new_time.tv_sec - old_time.tv_sec - 2000; in sleep_0100()
Dusleep.c31 struct timespec new_time; in usleep_0100() local
32 clock_gettime(CLOCK_MONOTONIC, &new_time); in usleep_0100()
36 long int difference = new_time.tv_sec - old_time.tv_sec - 2000; in usleep_0100()
/third_party/openssl/crypto/ts/
Dts_rsp_utils.c133 ASN1_GENERALIZEDTIME *new_time; in TS_TST_INFO_set_time() local
137 new_time = ASN1_STRING_dup(gtime); in TS_TST_INFO_set_time()
138 if (new_time == NULL) { in TS_TST_INFO_set_time()
143 a->time = new_time; in TS_TST_INFO_set_time()
/third_party/node/deps/openssl/openssl/crypto/ts/
Dts_rsp_utils.c133 ASN1_GENERALIZEDTIME *new_time; in TS_TST_INFO_set_time() local
137 new_time = ASN1_STRING_dup(gtime); in TS_TST_INFO_set_time()
138 if (new_time == NULL) { in TS_TST_INFO_set_time()
143 a->time = new_time; in TS_TST_INFO_set_time()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DTimeValue.h106 explicit TimeValue( double new_time ) in TimeValue() argument
108 SecondsType integer_part = static_cast<SecondsType>( new_time ); in TimeValue()
110 nanos_ = static_cast<NanoSecondsType>( (new_time - in TimeValue()
/third_party/gstreamer/gstplugins_bad/ext/resindvd/
Dgstmpegdemux.c130 GstClockTime new_time, gboolean no_threshold);
868 gst_flups_demux_send_gap_updates (GstFluPSDemux * demux, GstClockTime new_time, in gst_flups_demux_send_gap_updates() argument
875 if (new_time > demux->src_segment.stop) in gst_flups_demux_send_gap_updates()
888 if (stream->last_ts + gap_threshold < new_time) { in gst_flups_demux_send_gap_updates()
892 GST_TIME_ARGS (stream->last_ts), GST_TIME_ARGS (new_time)); in gst_flups_demux_send_gap_updates()
893 event = gst_event_new_gap (stream->last_ts, new_time - stream->last_ts); in gst_flups_demux_send_gap_updates()
895 stream->last_ts = new_time; in gst_flups_demux_send_gap_updates()
1302 GstClockTime new_time; in gst_flups_demux_parse_pack_start() local
1507 new_time = MPEGTIME_TO_GSTTIME (scr_adjusted); in gst_flups_demux_parse_pack_start()
1508 if (new_time != GST_CLOCK_TIME_NONE) { in gst_flups_demux_parse_pack_start()
[all …]
/third_party/gstreamer/gstreamer/libs/gst/check/
Dgsttestclock.c717 gst_test_clock_set_time (GstTestClock * test_clock, GstClockTime new_time) in gst_test_clock_set_time() argument
725 g_assert_cmpuint (new_time, !=, GST_CLOCK_TIME_NONE); in gst_test_clock_set_time()
729 g_assert_cmpuint (new_time, >=, priv->internal_time); in gst_test_clock_set_time()
731 priv->internal_time = new_time; in gst_test_clock_set_time()
733 "clock set to %" GST_TIME_FORMAT, GST_TIME_ARGS (new_time)); in gst_test_clock_set_time()
Dgsttestclock.h89 GstClockTime new_time);
/third_party/node/deps/uv/src/win/
Dcore.c326 uint64_t new_time = uv__hrtime(1000); in uv_update_time() local
327 assert(new_time >= loop->time); in uv_update_time()
328 loop->time = new_time; in uv_update_time()
/third_party/libuv/src/win/
Dcore.c327 uint64_t new_time = uv__hrtime(1000); in uv_update_time() local
328 assert(new_time >= loop->time); in uv_update_time()
329 loop->time = new_time; in uv_update_time()
/third_party/ltp/testcases/lib/
Dtst_net.sh794 local new_time=$2
798 if [ -z "$base_time" -o -z "$new_time" -o -z "$threshold_low" ]; then
802 local res=$(((base_time - new_time) * 100 / base_time))
/third_party/openssl/ssl/
Dssl_sess.c932 time_t new_time = (time_t)t; in SSL_SESSION_set_time() local
939 s->time = new_time; in SSL_SESSION_set_time()
944 s->time = new_time; in SSL_SESSION_set_time()
/third_party/node/deps/openssl/openssl/ssl/
Dssl_sess.c932 time_t new_time = (time_t)t; in SSL_SESSION_set_time() local
939 s->time = new_time; in SSL_SESSION_set_time()
944 s->time = new_time; in SSL_SESSION_set_time()
/third_party/python/Modules/
D_datetimemodule.c1009 #define new_time(hh, mm, ss, us, tzinfo, fold) \ macro
4603 t = new_time(hour, minute, second, microsecond, tzinfo, 0); in time_fromisoformat()
6214 return new_time(DATE_GET_HOUR(self), in datetime_gettime()
6225 return new_time(DATE_GET_HOUR(self), in datetime_gettimetz()
6572 DATETIME_ADD_MACRO(d, "min", new_time(0, 0, 0, 0, Py_None, 0)); in _datetime_exec()
6573 DATETIME_ADD_MACRO(d, "max", new_time(23, 59, 59, 999999, Py_None, 0)); in _datetime_exec()
/third_party/gstreamer/gstplugins_bad/gst/mpegdemux/
Dgstmpegdemux.c178 GstClockTime new_time);
/third_party/libabigail/tests/data/test-read-dwarf/
Dtest9-pr18818-clang.so.abi4343 …<parameter type-id='type-id-89' name='new_time' filepath='src/third_party/boost-1.56.0/libs/filesy…
Dtest10-pr18818-gcc.so.abi6088 …<parameter type-id='type-id-153' name='new_time' filepath='src/third_party/boost-1.56.0/libs/files…