Home
last modified time | relevance | path

Searched refs:utc (Results 1 – 25 of 45) 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/chromium_org/third_party/libsrtp/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/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/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_org/third_party/libsrtp/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.c141 ut_connection utc; in test_rdb_db() local
170 ut_init(&utc); in test_rdb_db()
173 ircvd = ut_next_index(&utc); in test_rdb_db()
Drdbx_driver.c227 ut_connection utc; in test_replay_dbx() local
281 ut_init(&utc); in test_replay_dbx()
285 ircvd = ut_next_index(&utc); in test_replay_dbx()
/external/chromium_org/third_party/libsrtp/srtp/include/
Dut_sim.h69 ut_init(ut_connection *utc);
77 ut_next_index(ut_connection *utc);
/external/srtp/include/
Dut_sim.h69 ut_init(ut_connection *utc);
77 ut_next_index(ut_connection *utc);
/external/chromium_org/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/chromium_org/third_party/sqlite/src/test/
Ddate.test242 # localtime->utc and utc->localtime conversions. These tests only work
317 datetest 6.5 {datetime('2000-10-29 01:59:00','utc')} {2000-10-29 05:59:00}
318 datetest 6.5.1 {datetime('2006-10-29 01:59:00','utc')} {2006-10-29 05:59:00}
319 datetest 6.5.2 {datetime('2007-11-04 01:59:00','utc')} {2007-11-04 05:59:00}
323 datetest 6.6 {datetime('2000-10-29 02:00:00','utc')} {2000-10-29 07:00:00}
324 datetest 6.6.1 {datetime('2006-10-29 02:00:00','utc')} {2006-10-29 07:00:00}
326 datetest 6.6.2 {datetime('2007-11-04 02:00:00','utc')} {2007-11-04 07:00:00}
330 datetest 6.7 {datetime('2000-04-02 01:59:00','utc')} {2000-04-02 06:59:00}
331 datetest 6.7.1 {datetime('2006-04-02 01:59:00','utc')} {2006-04-02 06:59:00}
333 datetest 6.7.2 {datetime('2007-03-11 01:59:00','utc')} {2007-03-11 06:59:00}
[all …]
/external/chromium_org/v8/src/base/platform/
Dplatform-cygwin.cc40 time_t utc = time(NULL); in LocalTimeOffset() local
41 DCHECK(utc != -1); in LocalTimeOffset()
42 struct tm* loc = localtime(&utc); in LocalTimeOffset()
45 return static_cast<double>((mktime(loc) - utc) * msPerSecond - in LocalTimeOffset()
/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()
Dutxttest.cpp445 UChar32 utc; // code point from UText in TestCopyMove() local
449 utc = utext_next32(targetUT); in TestCopyMove()
450 if (utc < 0) { in TestCopyMove()
454 TEST_ASSERT(utc == usc); in TestCopyMove()
521 UChar32 utc; // code point from UText in TestReplace() local
526 utc = utext_next32(targetUT); in TestReplace()
527 if (utc < 0) { in TestReplace()
531 TEST_ASSERT(utc == usc); in TestReplace()
/external/chromium_org/third_party/icu/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()
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()
/external/qemu/telephony/
Dandroid_modem.c1892 struct tm utc, local; in amodem_addTimeUpdate() local
1899 utc = *gmtime( &now ); in amodem_addTimeUpdate()
1903 e_utc = utc.tm_min + 60*(utc.tm_hour + 24*utc.tm_yday); in amodem_addTimeUpdate()
1905 if ( utc.tm_year < local.tm_year ) in amodem_addTimeUpdate()
1907 else if ( utc.tm_year > local.tm_year ) in amodem_addTimeUpdate()
1940 (utc.tm_year + 1900) % 100, utc.tm_mon + 1, utc.tm_mday, in amodem_addTimeUpdate()
1941 utc.tm_hour, utc.tm_min, utc.tm_sec, in amodem_addTimeUpdate()
/external/srtp/googlepatches/
Dgoogle-11-srtp-replay-fix.patch59 ut_init(&utc);
64 ircvd = ut_next_index(&utc);
/external/libexif/
DMakefile.am40 (cd "$(srcdir)" && cvs2cl $${usermap} --utc --domain users.sourceforge.net -f "ChangeLog.cvs")
/external/chromium_org/components/autofill/content/browser/risk/
Dfingerprint.cc60 const base::Time utc = base::Time::Now(); in GetTimezoneOffset() local
63 utc.LocalExplode(&local); in GetTimezoneOffset()
65 return base::Time::FromUTCExploded(local) - utc; in GetTimezoneOffset()
/external/chromium_org/third_party/icu/source/test/cintltst/
Dutmstest.c445 static const UChar utc[] = { 0x45, 0x74, 0x63, 0x2f, 0x47, 0x4d, 0x54, 0 }; /* "Etc/GMT" */ in TestDotNet() local
457 cal = ucal_open(utc, -1, "", UCAL_GREGORIAN, &errorCode); in TestDotNet()
/external/icu/icu4c/source/test/cintltst/
Dutmstest.c445 static const UChar utc[] = { 0x45, 0x74, 0x63, 0x2f, 0x47, 0x4d, 0x54, 0 }; /* "Etc/GMT" */ in TestDotNet() local
457 cal = ucal_open(utc, -1, "", UCAL_GREGORIAN, &errorCode); in TestDotNet()

12