Home
last modified time | relevance | path

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

12

/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/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Date/
D15.9.4.3.js41 function utc( year, month, date, hours, minutes, seconds, ms ) { function
95 utc(1970,0,1,0,0,0,0) );
99 utc(1969,11,31,23,59,59,999) );
102 utc(1972,1,29,23,59,59,999) );
105 utc(1972,2,1,23,59,59,999) );
108 utc(1968,1,29,23,59,59,999) );
111 utc(1968,2,1,23,59,59,999) );
114 utc(1969,0,1,0,0,0,0) );
117 utc(1970,0,1,0,0,0,0) );
120 utc(1969,Number.NaN,31,23,59,59,999) );
[all …]
/external/smack/src/org/jivesoftware/smackx/packet/
DTime.java68 private String utc = null; field in Time
90 utc = utcFormat.format(new Date( in Time()
100 if (utc == null) { in getTime()
107 cal.setTime(new Date(utcFormat.parse(utc).getTime() + in getTime()
124 utc = utcFormat.format(new Date( in setTime()
134 return utc; in getUtc()
142 public void setUtc(String utc) { in setUtc() argument
143 this.utc = utc; in setUtc()
186 if (utc != null) { in getChildElementXML()
187 buf.append("<utc>").append(utc).append("</utc>"); in getChildElementXML()
/external/smack/src/org/jivesoftware/smack/util/
DStringUtils.java86 TimeZone utc = TimeZone.getTimeZone("UTC");
87 XEP_0082_UTC_FORMAT.setTimeZone(utc);
88 dateFormatter.setTimeZone(utc);
89 timeFormatter.setTimeZone(utc);
90 timeNoZoneFormatter.setTimeZone(utc);
91 timeNoMillisFormatter.setTimeZone(utc);
92 timeNoMillisNoZoneFormatter.setTimeZone(utc);
93 dateTimeFormatter.setTimeZone(utc);
94 dateTimeNoMillisFormatter.setTimeZone(utc);
96 xep0091Formatter.setTimeZone(utc);
[all …]
/external/webkit/Source/JavaScriptCore/wtf/
DCurrentTime.cpp186 double utc = syncLowResUTCTime + highResElapsed; in currentTime() local
196 if (utc < lastUTCTime && (lastUTCTime - utc) < backwardTimeLimit) in currentTime()
198 lastUTCTime = utc; in currentTime()
199 return utc / 1000.0; in currentTime()
/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/srtp/include/
Dut_sim.h69 ut_init(ut_connection *utc);
77 ut_next_index(ut_connection *utc);
/external/icu4c/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()
Dutxttest.cpp443 UChar32 utc; // code point from UText in TestCopyMove() local
447 utc = utext_next32(targetUT); in TestCopyMove()
448 if (utc < 0) { in TestCopyMove()
452 TEST_ASSERT(utc == usc); in TestCopyMove()
519 UChar32 utc; // code point from UText in TestReplace() local
524 utc = utext_next32(targetUT); in TestReplace()
525 if (utc < 0) { in TestReplace()
529 TEST_ASSERT(utc == usc); in TestReplace()
Dtzbdtest.cpp291 TimeZone* utc = TimeZone::createTimeZone("UTC"); in TestBoundaries() local
292 Calendar* utccal = Calendar::createInstance(utc, status); in TestBoundaries()
Dtzrulets.cpp2113 TimeZone *utc = TimeZone::createTimeZone("Etc/GMT"); in TestT6216() local
2114 GregorianCalendar cal(utc, status); in TestT6216()
2317 UDate utc = cal->getTime(status); in getUTCMillis() local
2324 return utc; in getUTCMillis()
Dcaltest.cpp902 int32_t utc = ((cal->get(UCAL_HOUR_OF_DAY, status) * 60 + in test4064654() local
908 if (utc != expected) errln(UnicodeString("FAIL: Discrepancy of ") + (utc - expected) + in test4064654()
909 " millis = " + ((utc - expected) / 1000 / 60 / 60.0) + " hr"); in test4064654()
/external/qemu/telephony/
Dandroid_modem.c1888 struct tm utc, local; in amodem_addTimeUpdate() local
1895 utc = *gmtime( &now ); in amodem_addTimeUpdate()
1899 e_utc = utc.tm_min + 60*(utc.tm_hour + 24*utc.tm_yday); in amodem_addTimeUpdate()
1901 if ( utc.tm_year < local.tm_year ) in amodem_addTimeUpdate()
1903 else if ( utc.tm_year > local.tm_year ) in amodem_addTimeUpdate()
1936 (utc.tm_year + 1900) % 100, utc.tm_mon + 1, utc.tm_mday, in amodem_addTimeUpdate()
1937 utc.tm_hour, utc.tm_min, utc.tm_sec, in amodem_addTimeUpdate()
/external/v8/src/
Dplatform-cygwin.cc112 time_t utc = time(NULL); in LocalTimeOffset() local
113 ASSERT(utc != -1); in LocalTimeOffset()
114 struct tm* loc = localtime(&utc); in LocalTimeOffset()
117 return static_cast<double>((mktime(loc) - utc) * msPerSecond - in LocalTimeOffset()
Dplatform-solaris.cc141 time_t utc = time(NULL); in LocalTimeOffset() local
142 ASSERT(utc != -1); in LocalTimeOffset()
143 struct tm* loc = localtime(&utc); in LocalTimeOffset()
145 return static_cast<double>((mktime(loc) - utc) * msPerSecond); in LocalTimeOffset()
/external/srtp/googlepatches/
Dgoogle-11-srtp-replay-fix.patch59 ut_init(&utc);
64 ircvd = ut_next_index(&utc);
Dvidyo-3-srtp-ws.patch740 ut_connection utc;
/external/libusb_aah/msvc/
Dlibusb_sources21 # (compiler file 'f:\dd\vctools\compiler\utc\src\p2\p2symtab.c', line 1823)"
/external/icu4c/test/cintltst/
Dutmstest.c443 static const UChar utc[] = { 0x45, 0x74, 0x63, 0x2f, 0x47, 0x4d, 0x54, 0 }; /* "Etc/GMT" */ in TestDotNet() local
455 cal = ucal_open(utc, -1, "", UCAL_GREGORIAN, &errorCode); in TestDotNet()
Dccaltst.c1249 int32_t offset,utc, expected; in testZones() local
1306 utc = ((ucal_get(cal, UCAL_HOUR_OF_DAY, &status) * 60 + in testZones()
1316 if (utc != expected) { in testZones()
1317 temp=(double)(utc - expected)/ 1000 / 60 / 60.0; in testZones()
1318 log_err("FAIL: Discrepancy of %d millis = %fhr\n", utc-expected, temp ); in testZones()
1476 static const UChar utc[] = { 0x45, 0x74, 0x63, 0x2f, 0x47, 0x4d, 0x54, 0 }; /* "Etc/GMT" */ in TestGregorianChange() local
1484 cal = ucal_open(utc, -1, "", UCAL_GREGORIAN, &errorCode); in TestGregorianChange()
1502 cal = ucal_open(utc, -1, "th@calendar=buddhist", UCAL_TRADITIONAL, &errorCode); in TestGregorianChange()
Dreapits.c96 UChar32 utc = 0; in equals_utf8_utext() local
101 utc = utext_next32(utext); in equals_utf8_utext()
102 if (u8c == 0 && utc == U_SENTINEL) { in equals_utf8_utext()
105 if (u8c != utc || u8c == 0) { in equals_utf8_utext()
/external/iptables/tests/
Doptions-most.rules13 …n,Fri,Sun --datestart 2001-02-03T04:05:06 --datestop 2012-09-08T09:06:05 --utc -m tos --tos 0xff/0…
/external/icu4c/data/misc/
DtimezoneTypes.txt452 "Etc:GMT"{"utc"}

12