/external/srtp/crypto/replay/ |
ut_sim.c | 57 ut_init(ut_connection *utc) { 59 utc->index = 0; 62 utc->buffer[i] = i; 64 qsort(utc->buffer, UT_BUF, sizeof(uint32_t), ut_compar); 66 utc->index = UT_BUF - 1; 70 ut_next_index(ut_connection *utc) { 73 tmp = utc->buffer[0]; 74 utc->index++; 75 utc->buffer[0] = utc->index 91 ut_connection utc; local [all...] |
/external/srtp/include/ |
ut_sim.h | 69 ut_init(ut_connection *utc); 77 ut_next_index(ut_connection *utc);
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Date/ |
15.9.4.3.js | 26 var TITLE = "Date.UTC( year, month, date, hours, minutes, seconds, ms )"; 41 function utc( year, month, date, hours, minutes, seconds, ms ) { function 93 addNewTestCase( Date.UTC( 1970,0,1,0,0,0,0), 94 "Date.UTC( 1970,0,1,0,0,0,0)", 95 utc(1970,0,1,0,0,0,0) ); 97 addNewTestCase( Date.UTC( 1969,11,31,23,59,59,999), 98 "Date.UTC( 1969,11,31,23,59,59,999)", 99 utc(1969,11,31,23,59,59,999) ); 100 addNewTestCase( Date.UTC( 1972,1,29,23,59,59,999), 101 "Date.UTC( 1972,1,29,23,59,59,999)" [all...] |
/external/smack/src/org/jivesoftware/smackx/packet/ |
Time.java | 68 private String utc = null; field in class:Time 89 // Convert local time to the UTC time. 90 utc = utcFormat.format(new Date( 100 if (utc == null) { 106 // Convert the UTC time to local time. 107 cal.setTime(new Date(utcFormat.parse(utc).getTime() + 123 // Convert local time to UTC time. 124 utc = utcFormat.format(new Date( 129 * Returns the time as a UTC formatted String using the format CCYYMMDDThh:mm:ss. 131 * @return the time as a UTC formatted String [all...] |
/external/srtp/test/ |
roc_driver.c | 87 ut_connection utc; local 124 ut_init(&utc); 129 ircvd = ut_next_index(&utc);
|
replay_driver.c | 133 ut_connection utc; local 162 ut_init(&utc); 165 ircvd = ut_next_index(&utc);
|
rdbx_driver.c | 215 ut_connection utc; local 269 ut_init(&utc); 273 ircvd = ut_next_index(&utc);
|
/external/webkit/Source/JavaScriptCore/wtf/ |
CurrentTime.cpp | 186 double utc = syncLowResUTCTime + highResElapsed; local 196 if (utc < lastUTCTime && (lastUTCTime - utc) < backwardTimeLimit) 198 lastUTCTime = utc; 199 return utc / 1000.0; 274 // GETUTCSECONDS returns the number of seconds since 1980/01/06 00:00:00 UTC, 278 // since 1970/01/01 00:00:00 UTC.
|
/external/smack/src/org/jivesoftware/smack/util/ |
StringUtils.java | 47 * UTC. 86 TimeZone utc = TimeZone.getTimeZone("UTC"); typedefs 87 XEP_0082_UTC_FORMAT.setTimeZone(utc); typedefs 88 dateFormatter.setTimeZone(utc); typedefs 89 timeFormatter.setTimeZone(utc); typedefs 90 timeNoZoneFormatter.setTimeZone(utc); typedefs 91 timeNoMillisFormatter.setTimeZone(utc); typedefs 92 timeNoMillisNoZoneFormatter.setTimeZone(utc); typedefs 93 dateTimeFormatter.setTimeZone(utc); typedefs 94 dateTimeNoMillisFormatter.setTimeZone(utc); typedefs 96 xep0091Formatter.setTimeZone(utc); typedefs 97 xep0091Date6DigitFormatter.setTimeZone(utc); typedefs 98 xep0091Date7Digit1MonthFormatter.setTimeZone(utc); typedefs 100 xep0091Date7Digit2MonthFormatter.setTimeZone(utc); typedefs [all...] |
/external/icu4c/test/intltest/ |
tzoffloc.cpp | 121 TimeZone* utc = TimeZone::createTimeZone("UTC"); local 122 Calendar* cal = Calendar::createInstance(*utc, status); 198 df.setTimeZone(*utc); 325 delete utc;
|
utxttest.cpp | 443 UChar32 utc; // code point from UText local 447 utc = utext_next32(targetUT); 448 if (utc < 0) { 452 TEST_ASSERT(utc == usc); 519 UChar32 utc; // code point from UText local 524 utc = utext_next32(targetUT); 525 if (utc < 0) { 529 TEST_ASSERT(utc == usc); [all...] |
tzbdtest.cpp | 291 TimeZone* utc = TimeZone::createTimeZone("UTC"); local 292 Calendar* utccal = Calendar::createInstance(utc, status); 507 zone = TimeZone::createTimeZone("UTC"); // updated 12/3/99 aliu
|
caltest.cpp | 902 int32_t utc = ((cal->get(UCAL_HOUR_OF_DAY, status) * 60 + local 908 if (utc != expected) errln(UnicodeString("FAIL: Discrepancy of ") + (utc - expected) + 909 " millis = " + ((utc - expected) / 1000 / 60 / 60.0) + " hr"); [all...] |
tzrulets.cpp | 2113 TimeZone *utc = TimeZone::createTimeZone("Etc\/GMT"); local 2317 UDate utc = cal->getTime(status); local [all...] |
/cts/tests/tests/text/src/android/text/format/cts/ |
DateFormatTest.java | 192 TimeZone utc = TimeZone.getTimeZone("UTC"); local 194 Calendar c = new GregorianCalendar(utc); 198 sdf.setTimeZone(utc);
|
/external/qemu/telephony/ |
android_modem.c | 1888 struct tm utc, local; local [all...] |
/external/v8/src/ |
platform-cygwin.cc | 112 time_t utc = time(NULL); local 113 ASSERT(utc != -1); 114 struct tm* loc = localtime(&utc); 117 return static_cast<double>((mktime(loc) - utc) * msPerSecond -
|
platform-solaris.cc | 141 time_t utc = time(NULL); local 142 ASSERT(utc != -1); 143 struct tm* loc = localtime(&utc); 145 return static_cast<double>((mktime(loc) - utc) * msPerSecond);
|
/external/icu4c/test/cintltst/ |
utmstest.c | 443 static const UChar utc[] = { 0x45, 0x74, 0x63, 0x2f, 0x47, 0x4d, 0x54, 0 }; /* "Etc/GMT" */ local 455 cal = ucal_open(utc, -1, "", UCAL_GREGORIAN, &errorCode); 458 log_data_err("ucal_open(UTC/proleptic Gregorian) failed: %s - (Are you missing data?)\n", u_errorName(errorCode));
|
ccaltst.c | 1249 int32_t offset,utc, expected; local 1476 static const UChar utc[] = { 0x45, 0x74, 0x63, 0x2f, 0x47, 0x4d, 0x54, 0 }; \/* "Etc\/GMT" *\/ local [all...] |
reapits.c | 96 UChar32 utc = 0; local 101 utc = utext_next32(utext); 102 if (u8c == 0 && utc == U_SENTINEL) { 105 if (u8c != utc || u8c == 0) { [all...] |
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/ |
EmailSyncAdapter.java | [all...] |
/device/generic/goldfish/gps/ |
gps_qemu.c | 510 struct tm utc; local 528 gmtime_r( (time_t*) &r->fix.timestamp, &utc ); 529 p += snprintf(p, end-p, " time=%s", asctime( &utc ) );
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
CalendarDatabaseHelper.java | 411 CalendarContract.Instances.BEGIN + " INTEGER," + // UTC millis 412 CalendarContract.Instances.END + " INTEGER," + // UTC millis 463 CalendarContract.CalendarAlerts.BEGIN + " INTEGER NOT NULL," + // UTC millis 464 CalendarContract.CalendarAlerts.END + " INTEGER NOT NULL," + // UTC millis 465 CalendarContract.CalendarAlerts.ALARM_TIME + " INTEGER NOT NULL," + // UTC millis 466 // UTC millis 468 // UTC millis 470 // UTC millis 657 // sync time in UTC 2543 final String utc = Time.TIMEZONE_UTC; local [all...] |
/external/v8/test/mjsunit/ |
date.js | 168 // LayoutTests/fast/js/script-tests/date-utc-timeclip.js: 170 assertEquals(8639999999999999, Date.UTC(275760, 8, 12, 23, 59, 59, 999)); 171 assertEquals(8640000000000000, Date.UTC(275760, 8, 13)); 172 assertTrue(isNaN(Date.UTC(275760, 8, 13, 0, 0, 0, 1))); 173 assertTrue(isNaN(Date.UTC(275760, 8, 14))); 175 assertEquals(Date.UTC(-271821, 3, 20, 0, 0, 0, 1), -8639999999999999); 176 assertEquals(Date.UTC(-271821, 3, 20), -8640000000000000); 177 assertTrue(isNaN(Date.UTC(-271821, 3, 19, 23, 59, 59, 999))); 178 assertTrue(isNaN(Date.UTC(-271821, 3, 19))); 199 assertEquals(8640000000000000, Date.UTC(1970, 0, 1 + 100000001, -24)) [all...] |