Home
last modified time | relevance | path

Searched refs:newtime (Results 1 – 8 of 8) sorted by relevance

/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_timedreceive/
D8-1.c48 time_t oldtime, newtime; in main() local
84 newtime = ts.tv_sec; in main()
86 newtime = time(NULL); in main()
88 if ((newtime - oldtime) < TIMEOUT) { in main()
D5-2.c51 time_t oldtime, newtime; in main() local
79 newtime = time(NULL); in main()
80 if ((newtime - oldtime) < THRESHOLD) { in main()
/third_party/gstreamer/gstplugins_good/gst/multipart/
Dmultipartmux.c308 guint64 oldtime, newtime; in gst_multipart_mux_compare_pads() local
320 newtime = new->dts_timestamp; in gst_multipart_mux_compare_pads()
323 newtime = new->pts_timestamp; in gst_multipart_mux_compare_pads()
331 if (newtime == GST_CLOCK_TIME_NONE) in gst_multipart_mux_compare_pads()
335 if (newtime < oldtime) in gst_multipart_mux_compare_pads()
338 else if (newtime > oldtime) in gst_multipart_mux_compare_pads()
/third_party/icu/icu4c/source/i18n/
Dcalendar.cpp2035 double newtime; in roll() local
2040 newtime = uprv_fmod((internalGetTime() + delta - min2), oneYear); in roll()
2041 if (newtime < 0) newtime += oneYear; in roll()
2042 setTimeInMillis(newtime + min2, status); in roll()
2058 double newtime = uprv_fmod((internalGetTime() + delta - min2), kOneWeek); in roll() local
2059 if (newtime < 0) newtime += kOneWeek; in roll()
2060 setTimeInMillis(newtime + min2, status); in roll()
2080 double newtime = uprv_fmod((internalGetTime() + delta - min2), gap2); in roll() local
2081 if (newtime < 0) newtime += gap2; in roll()
2082 setTimeInMillis(newtime + min2, status); in roll()
/third_party/skia/third_party/externals/icu/source/i18n/
Dcalendar.cpp2035 double newtime; in roll() local
2040 newtime = uprv_fmod((internalGetTime() + delta - min2), oneYear); in roll()
2041 if (newtime < 0) newtime += oneYear; in roll()
2042 setTimeInMillis(newtime + min2, status); in roll()
2058 double newtime = uprv_fmod((internalGetTime() + delta - min2), kOneWeek); in roll() local
2059 if (newtime < 0) newtime += kOneWeek; in roll()
2060 setTimeInMillis(newtime + min2, status); in roll()
2080 double newtime = uprv_fmod((internalGetTime() + delta - min2), gap2); in roll() local
2081 if (newtime < 0) newtime += gap2; in roll()
2082 setTimeInMillis(newtime + min2, status); in roll()
/third_party/node/deps/icu-small/source/i18n/
Dcalendar.cpp2035 double newtime; in roll() local
2040 newtime = uprv_fmod((internalGetTime() + delta - min2), oneYear); in roll()
2041 if (newtime < 0) newtime += oneYear; in roll()
2042 setTimeInMillis(newtime + min2, status); in roll()
2058 double newtime = uprv_fmod((internalGetTime() + delta - min2), kOneWeek); in roll() local
2059 if (newtime < 0) newtime += kOneWeek; in roll()
2060 setTimeInMillis(newtime + min2, status); in roll()
2080 double newtime = uprv_fmod((internalGetTime() + delta - min2), gap2); in roll() local
2081 if (newtime < 0) newtime += gap2; in roll()
2082 setTimeInMillis(newtime + min2, status); in roll()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dcalendar.cpp2019 double newtime; in roll() local
2024 newtime = uprv_fmod((internalGetTime() + delta - min2), oneYear); in roll()
2025 if (newtime < 0) newtime += oneYear; in roll()
2026 setTimeInMillis(newtime + min2, status); in roll()
2042 double newtime = uprv_fmod((internalGetTime() + delta - min2), kOneWeek); in roll() local
2043 if (newtime < 0) newtime += kOneWeek; in roll()
2044 setTimeInMillis(newtime + min2, status); in roll()
2064 double newtime = uprv_fmod((internalGetTime() + delta - min2), gap2); in roll() local
2065 if (newtime < 0) newtime += gap2; in roll()
2066 setTimeInMillis(newtime + min2, status); in roll()
/third_party/gstreamer/gstreamer/libs/gst/base/
Dgstbaseparse.c4371 GstClockTime time, ltime, htime, newtime, dur; in gst_base_parse_locate_time() local
4466 ret = gst_base_parse_find_frame (parse, &newpos, &newtime, &dur); in gst_base_parse_locate_time()
4475 if (newtime == -1 || newpos == -1) { in gst_base_parse_locate_time()
4482 *_time = newtime; in gst_base_parse_locate_time()
4486 } else if (newtime > time) { in gst_base_parse_locate_time()
4489 htime = newtime; in gst_base_parse_locate_time()
4490 } else if (newtime + tolerance > time) { in gst_base_parse_locate_time()
4493 *_time = newtime; in gst_base_parse_locate_time()
4495 } else if (newtime < ltime) { in gst_base_parse_locate_time()
4503 ltime = newtime; in gst_base_parse_locate_time()