HomeSort by relevance Sort by last modified time
    Searched defs:utc (Results 1 - 25 of 38) sorted by null

1 2

  /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...]
  /libcore/benchmarks/src/benchmarks/regression/
DateIntervalFormatBenchmark.java 29 TimeZone utc = TimeZone.getTimeZone("UTC"); local
33 formatDateRange(l, utc, 0L, 0L, flags);
39 TimeZone utc = TimeZone.getTimeZone("UTC"); local
43 formatDateRange(l, utc, 0L, 0L, flags);
49 TimeZone utc = TimeZone.getTimeZone("UTC"); local
53 formatDateRange(l, utc, 0L, 0L, flags);
  /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);
  /libcore/luni/src/test/java/libcore/java/util/
FormatterTest.java 166 TimeZone utc = TimeZone.getTimeZone("UTC"); local
168 Calendar c = new GregorianCalendar(utc);
  /external/chromium_org/third_party/icu/source/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;
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 814 int32_t utc = ((cal->get(UCAL_HOUR_OF_DAY, status) * 60 + local
820 if (utc != expected) errln(UnicodeString("FAIL: Discrepancy of ") + (utc - expected) +
821 " millis = " + ((utc - expected) / 1000 / 60 / 60.0) + " hr");
    [all...]
utxttest.cpp 445 UChar32 utc; // code point from UText local
449 utc = utext_next32(targetUT);
450 if (utc < 0) {
454 TEST_ASSERT(utc == usc);
521 UChar32 utc; // code point from UText local
526 utc = utext_next32(targetUT);
527 if (utc < 0) {
531 TEST_ASSERT(utc == usc);
    [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;
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
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...]
  /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...]
  /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/chromium_org/third_party/icu/source/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 1126 int32_t offset,utc, expected; local
1353 static const UChar utc[] = { 0x45, 0x74, 0x63, 0x2f, 0x47, 0x4d, 0x54, 0 }; \/* "Etc\/GMT" *\/ local
    [all...]
  /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));
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...]
  /libcore/luni/src/test/java/libcore/icu/
DateIntervalFormatTest.java 187 TimeZone utc = TimeZone.getTimeZone("UTC"); local
191 // The Unix epoch is UTC, so 0 is 1970-01-01T00:00Z...
192 assertEquals("Jan 1, 1970, 00:00 ? Jan 2, 1970, 00:00", formatDateRange(l, utc, 0, DAY + 1, flags));
209 TimeZone utc = TimeZone.getTimeZone("UTC"); local
212 assertEquals("00:00", formatDateRange(l, utc, midnight, midnight, time24));
213 assertEquals("12:00 AM", formatDateRange(l, utc, midnight, midnight, time12));
214 assertEquals("16:00", formatDateRange(l, utc, teaTime, teaTime, time24));
215 assertEquals("4:00 PM", formatDateRange(l, utc, teaTime, teaTime, time12))
236 TimeZone utc = TimeZone.getTimeZone("UTC"); local
260 TimeZone utc = TimeZone.getTimeZone("UTC"); local
272 TimeZone utc = TimeZone.getTimeZone("UTC"); local
295 TimeZone utc = TimeZone.getTimeZone("UTC"); local
    [all...]
  /packages/apps/Exchange/src/com/android/exchange/eas/
EasSync.java 283 String utc = formatDateTime(calendar); local
284 s.data(Tags.TASK_START_DATE, utc).data(Tags.TASK_UTC_START_DATE, utc);
287 utc = formatDateTime(calendar);
288 s.data(Tags.TASK_DUE_DATE, utc).data(Tags.TASK_UTC_DUE_DATE, utc);
  /external/chromium_org/components/autofill/content/browser/risk/
fingerprint.cc 54 // Returns the delta between the local timezone and UTC.
56 const base::Time utc = base::Time::Now(); local
59 utc.LocalExplode(&local);
61 return base::Time::FromUTCExploded(local) - utc;
  /external/chromium_org/v8/src/
platform-cygwin.cc 69 time_t utc = time(NULL); local
70 ASSERT(utc != -1);
71 struct tm* loc = localtime(&utc);
74 return static_cast<double>((mktime(loc) - utc) * msPerSecond -
  /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...]
  /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 ) );

Completed in 914 milliseconds

1 2