Home
last modified time | relevance | path

Searched refs:utc (Results 1 – 25 of 56) sorted by relevance

123

/external/srtp/crypto/replay/
Dut_sim.c57 ut_init(ut_connection *utc) { in ut_init() argument
59 utc->index = 0; in ut_init()
62 utc->buffer[i] = i; in ut_init()
64 qsort(utc->buffer, UT_BUF, sizeof(uint32_t), ut_compar); in ut_init()
66 utc->index = UT_BUF - 1; in ut_init()
70 ut_next_index(ut_connection *utc) { in ut_next_index() argument
73 tmp = utc->buffer[0]; in ut_next_index()
74 utc->index++; in ut_next_index()
75 utc->buffer[0] = utc->index; in ut_next_index()
77 qsort(utc->buffer, UT_BUF, sizeof(uint32_t), ut_compar); in ut_next_index()
[all …]
/external/toybox/toys/other/
Dhwclock.c31 int utc;
66 if (toys.optflags & FLAG_u) TT.utc = 1; in hwclock_main()
73 free(s), s = 0) TT.utc += !strncmp(s, "UTC", 3); in hwclock_main()
92 if (TT.utc) s = xtzset("UTC0"); in hwclock_main()
94 if (TT.utc) { in hwclock_main()
103 if (!(TT.utc ? gmtime_r : localtime_r)(&timeval.tv_sec, &tm)) in hwclock_main()
104 error_exit(TT.utc ? "gmtime_r failed" : "localtime_r failed"); in hwclock_main()
122 if (!TT.utc) timeval.tv_sec += tzone.tz_minuteswest * 60; in hwclock_main()
/external/srtp/test/
Droc_driver.c87 ut_connection utc; in roc_test() local
124 ut_init(&utc); in roc_test()
129 ircvd = ut_next_index(&utc); in roc_test()
Dreplay_driver.c133 ut_connection utc; in test_rdb_db() local
162 ut_init(&utc); in test_rdb_db()
165 ircvd = ut_next_index(&utc); in test_rdb_db()
Drdbx_driver.c215 ut_connection utc; in test_replay_dbx() local
269 ut_init(&utc); in test_replay_dbx()
273 ircvd = ut_next_index(&utc); in test_replay_dbx()
/external/chromium-trace/catapult/third_party/flot/
Djquery.flot.time.js119 var utc = { variable
126 addProxyMethod(utc, "strftime", d, "strftime");
129 addProxyMethod(utc, "getTime", d, "getTime");
130 addProxyMethod(utc, "setTime", d, "setTime");
135 addProxyMethod(utc, "get" + props[p], d, "getUTC" + props[p]);
136 addProxyMethod(utc, "set" + props[p], d, "setUTC" + props[p]);
139 return utc;
Djquery.flot.time.min.js7utc={date:d};if(d.strftime!=undefined){addProxyMethod(utc,"strftime",d,"strftime")}addProxyMethod( variable
/external/v8/test/webkit/
Ddate-parse-comments-test-expected.txt31 PASS Date.parse("dec ((27) 26 (24)) 25 1995 1:30 pm utc") == 819898200000 is true
34 PASS Date.parse("dec 25 1995 1:30 pm utc (") == 819898200000 is true
37 PASS Date.parse("dec 25 1995 1:30 (pm)) utc") is NaN
91 PASS Date.parse("dec 25 1995 (pdt)utc(pst)") == 819849600000 is true
97 PASS Date.parse("dec 25 1995 (utc)pst(gmt)") == 819878400000 is true
100 PASS Date.parse("dec 25 1995 (utc)pdt(gmt)") == 819874800000 is true
103 PASS Date.parse("dec 25 1995 1:30 (pdt)utc(pst)") == 819855000000 is true
109 PASS Date.parse("dec 25 1995 1:30 (utc)pst(gmt)") == 819883800000 is true
112 PASS Date.parse("dec 25 1995 1:30 (utc)pdt(gmt)") == 819880200000 is true
115 PASS Date.parse("dec 25 1995 1:30 (am) pm (pst) utc") == 819898200000 is true
[all …]
/external/srtp/include/
Dut_sim.h69 ut_init(ut_connection *utc);
77 ut_next_index(ut_connection *utc);
/external/v8/src/base/platform/
Dplatform-aix.cc57 time_t utc = time(NULL); in LocalTimeOffset() local
58 DCHECK(utc != -1); in LocalTimeOffset()
59 struct tm* loc = localtime(&utc); // NOLINT(runtime/threadsafe_fn) in LocalTimeOffset()
61 return static_cast<double>((mktime(loc) - utc) * msPerSecond); in LocalTimeOffset()
Dplatform-cygwin.cc40 time_t utc = time(NULL); in LocalTimeOffset() local
41 DCHECK(utc != -1); in LocalTimeOffset()
42 struct tm* loc = localtime(&utc); // NOLINT(runtime/threadsafe_fn) in LocalTimeOffset()
45 return static_cast<double>((mktime(loc) - utc) * msPerSecond - in LocalTimeOffset()
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/timescale/
DEpochOffsets.java69 TimeZone utc = new SimpleTimeZone(0, "UTC"); in main() local
79 GregorianCalendar cal = new GregorianCalendar(utc, Locale.ENGLISH); in main()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timescale/
DTimeScaleDataTest.java211 TimeZone utc; in TestDotNet() local
226 utc = new SimpleTimeZone(0, "UTC"); in TestDotNet()
227 cal = new GregorianCalendar(utc, Locale.ENGLISH); in TestDotNet()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timescale/
DTimeScaleDataTest.java207 TimeZone utc; in TestDotNet() local
222 utc = new SimpleTimeZone(0, "UTC"); in TestDotNet()
223 cal = new GregorianCalendar(utc, Locale.ENGLISH); in TestDotNet()
/external/icu/icu4j/samples/src/com/ibm/icu/samples/util/timescale/
DPivotDemo.java43 TimeZone utc = new SimpleTimeZone(0, "UTC"); in main() local
44 Calendar cal = Calendar.getInstance(utc, Locale.ENGLISH); in main()
/external/icu/icu4c/source/test/intltest/
Dtzoffloc.cpp121 TimeZone* utc = TimeZone::createTimeZone("UTC"); in TestGetOffsetAroundTransition() local
122 Calendar* cal = Calendar::createInstance(*utc, status); in TestGetOffsetAroundTransition()
198 df.setTimeZone(*utc); in TestGetOffsetAroundTransition()
325 delete utc; in TestGetOffsetAroundTransition()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
DTimeZoneOffsetLocalTest.java113 TimeZone utc = TimeZone.getTimeZone("UTC"); in TestGetOffsetAroundTransition() local
114 Calendar cal = Calendar.getInstance(utc); in TestGetOffsetAroundTransition()
161 df.setTimeZone(utc); in TestGetOffsetAroundTransition()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneOffsetLocalTest.java109 TimeZone utc = TimeZone.getTimeZone("UTC"); in TestGetOffsetAroundTransition() local
110 Calendar cal = Calendar.getInstance(utc); in TestGetOffsetAroundTransition()
157 df.setTimeZone(utc); in TestGetOffsetAroundTransition()
/external/autotest/client/cros/
Drtc.py20 def get_seconds(utc=True, rtc_device='rtc0'): argument
/external/autotest/client/tests/kvm/unattended/
DFedora-14.ks11 timezone --utc America/New_York
DFedora-11.ks11 timezone --utc America/New_York
DFedora-12.ks11 timezone --utc America/New_York
DFedora-13.ks11 timezone --utc America/New_York
DFedora-8.ks12 timezone --utc America/New_York
DFedora-9.ks12 timezone --utc America/New_York

123