Home
last modified time | relevance | path

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

/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/json/benchmarks/thirdparty/benchmark/src/
Dreporter.cc76 double new_time = real_accumulated_time * GetTimeUnitMultiplier(time_unit); in GetAdjustedRealTime() local
77 if (iterations != 0) new_time /= static_cast<double>(iterations); in GetAdjustedRealTime()
78 return new_time; in GetAdjustedRealTime()
82 double new_time = cpu_accumulated_time * GetTimeUnitMultiplier(time_unit); in GetAdjustedCPUTime() local
83 if (iterations != 0) new_time /= static_cast<double>(iterations); in GetAdjustedCPUTime()
84 return new_time; in GetAdjustedCPUTime()
/third_party/benchmark/src/
Dreporter.cc94 double new_time = real_accumulated_time * GetTimeUnitMultiplier(time_unit); in GetAdjustedRealTime() local
95 if (iterations != 0) new_time /= static_cast<double>(iterations); in GetAdjustedRealTime()
96 return new_time; in GetAdjustedRealTime()
100 double new_time = cpu_accumulated_time * GetTimeUnitMultiplier(time_unit); in GetAdjustedCPUTime() local
101 if (iterations != 0) new_time /= static_cast<double>(iterations); in GetAdjustedCPUTime()
102 return new_time; in GetAdjustedCPUTime()
/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/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/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/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/boost/boost/filesystem/
Doperations.hpp142 void last_write_time(const path& p, const std::time_t new_time,
431 void last_write_time(const path& p, const std::time_t new_time) in last_write_time() argument
432 {detail::last_write_time(p, new_time);} in last_write_time()
434 void last_write_time(const path& p, const std::time_t new_time, in last_write_time() argument
436 {detail::last_write_time(p, new_time, &ec);} in last_write_time()
/third_party/libuv/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/gstreamer/gstplugins_bad/gst/mpegdemux/
Dgstmpegdemux.c169 GstClockTime new_time);
670 GstClockTime new_time = demux->base_time + demux->src_segment.position; in gst_ps_demux_send_data() local
672 if (stream->last_ts == GST_CLOCK_TIME_NONE || stream->last_ts < new_time) { in gst_ps_demux_send_data()
675 GST_PAD_NAME (stream->pad), GST_TIME_ARGS (new_time)); in gst_ps_demux_send_data()
676 stream->last_ts = new_time; in gst_ps_demux_send_data()
679 gst_ps_demux_send_gap_updates (demux, new_time); in gst_ps_demux_send_data()
/third_party/boost/libs/filesystem/src/
Doperations.cpp1832 void last_write_time(const path& p, const std::time_t new_time, in last_write_time() argument
1843 times[1].tv_sec = new_time; in last_write_time()
1859 buf.modtime = new_time; in last_write_time()
1877 to_FILETIME(new_time, lwt); in last_write_time()
/third_party/python/Modules/
D_datetimemodule.c1018 #define new_time(hh, mm, ss, us, tzinfo, fold) \ macro
4612 t = new_time(hour, minute, second, microsecond, tzinfo, 0); in time_fromisoformat()
6223 return new_time(DATE_GET_HOUR(self), in datetime_gettime()
6234 return new_time(DATE_GET_HOUR(self), in datetime_gettimetz()
6598 x = new_time(0, 0, 0, 0, Py_None, 0); in PyInit__datetime()
6603 x = new_time(23, 59, 59, 999999, Py_None, 0); in PyInit__datetime()