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

1 2

  /bionic/tests/
time_test.cpp 26 struct tm epoch; local
27 memset(&epoch, 0, sizeof(tm));
28 epoch.tm_year = 1970 - 1900;
29 epoch.tm_mon = 1;
30 epoch.tm_mday = 1;
33 ASSERT_EQ(2678400, mktime_tz(&epoch, "Africa/Abidjan"));
36 ASSERT_EQ(2678400, mktime_tz(&epoch, "Zulu"));
39 ASSERT_EQ(2707200, mktime_tz(&epoch, "America/Los_Angeles"));
42 ASSERT_EQ(2678400, mktime_tz(&epoch, "PST"));
  /external/chromium_org/net/cookies/
cookie_util_unittest.cc 29 const time_t epoch; member in struct:__anon11691
109 EXPECT_EQ(tests[i].epoch, parsed_time.ToTimeT()) << tests[i].str;
  /external/llvm/unittests/Support/
TimeValueTest.cpp 26 sys::TimeValue epoch; local
30 epoch.fromWin32Time(ft1970);
33 EXPECT_EQ(ns / 100, epoch.toPosixTime());
36 EXPECT_EQ(ft1970, epoch.toWin32Time());
  /external/chromium_org/media/video/capture/mac/
coremedia_glue.h 29 CMTimeEpoch epoch; member in struct:CoreMediaGlue::__anon11422
  /external/chromium_org/ppapi/shared_impl/
time_conversion_unittest.cc 54 // Should be able to round-trip from epoch time.
55 base::Time epoch = base::Time::UnixEpoch(); local
56 base::Time converted = ppapi::PPTimeToTime(TimeToPPTime(epoch));
58 abs(static_cast<int>((converted - epoch).ToInternalValue())));
61 base::Time one_second_from_epoch = epoch + base::TimeDelta::FromSeconds(1);
63 ppapi::TimeToPPTime(one_second_from_epoch) - ppapi::TimeToPPTime(epoch);
66 // Epoch time should be equal to a PP_Time of 0.0.
67 EXPECT_GE(kTimeSecondsSlop, fabs(ppapi::TimeToPPTime(epoch) - 0.0));
70 (ppapi::PPTimeToTime(0.0) - epoch).ToInternalValue())));
  /external/compiler-rt/lib/tsan/rtl/
tsan_mutexset.h 28 u64 epoch; member in struct:__tsan::MutexSet::Desc
35 void Add(u64 id, bool write, u64 epoch);
55 void MutexSet::Add(u64 id, bool write, u64 epoch) {}
tsan_rtl.h 147 // epoch : kClkBits
152 FastState(u64 tid, u64 epoch) {
154 x_ |= epoch << kClkShift;
156 DCHECK_EQ(epoch, this->epoch());
178 u64 epoch() const { function in class:__tsan::FastState
184 u64 old_epoch = epoch();
186 DCHECK_EQ(old_epoch + 1, epoch());
212 return epoch() & mask;
227 // epoch : kClkBit
    [all...]
  /external/chromium_org/base/time/
time_unittest.cc 95 Time epoch = Time::FromJsTime(0.0); local
96 EXPECT_EQ(epoch, Time::UnixEpoch());
260 // Test some of edge cases around epoch, etc.
264 // time_t == epoch == 0
276 // time_t == 1 second after epoch == 1
288 // time_t == 2 seconds after epoch == 2
300 // time_t == 1 second before epoch == -1
311 // before epoch.
323 // time_t == 2 seconds before epoch == -2
335 // time_t before Epoch, in 196
    [all...]
  /external/tcpdump/
rx.h 60 u_int32_t epoch; member in struct:rx_header
  /libcore/luni/src/test/java/libcore/java/text/
SimpleDateFormatTest.java 237 Date epoch = new Date(0); local
243 assertEquals("1969-12-31 18:00:00 -0600", sdf.format(epoch));
246 assertEquals("1969-12-31 16:00:00 -0800", sdf.format(epoch));
248 assertEquals("1970-01-01 00:00:00 +0000", sdf.format(epoch));
255 assertEquals("1969-12-31 18:00:00 -0600", sdf.format(epoch));
258 assertEquals("1969-12-31 16:00:00 -0800", sdf.format(epoch));
260 assertEquals("1970-01-01 00:00:00 +0000", sdf.format(epoch));
  /external/chromium/net/base/
cookie_monster_unittest.cc 704 const time_t epoch; member in struct:net::__anon5351::CookieDateParsingCase
    [all...]
  /external/chromium_org/third_party/openssl/openssl/include/openssl/
dtls1.h 137 unsigned short epoch; member in struct:dtls1_retransmit_state
171 unsigned short epoch; member in struct:record_pqueue_st
190 * The current data and handshake epoch. This is initially
197 /* records being received in the current epoch */
ssl3.h 356 /*r */ unsigned long epoch; /* epoch number, needed by DTLS1 */ member in struct:ssl3_record_st
  /external/chromium_org/third_party/openssl/openssl/ssl/
dtls1.h 137 unsigned short epoch; member in struct:dtls1_retransmit_state
171 unsigned short epoch; member in struct:record_pqueue_st
190 * The current data and handshake epoch. This is initially
197 /* records being received in the current epoch */
ssl3.h 356 /*r */ unsigned long epoch; /* epoch number, needed by DTLS1 */ member in struct:ssl3_record_st
  /external/openssl/include/openssl/
dtls1.h 137 unsigned short epoch; member in struct:dtls1_retransmit_state
171 unsigned short epoch; member in struct:record_pqueue_st
190 * The current data and handshake epoch. This is initially
197 /* records being received in the current epoch */
ssl3.h 356 /*r */ unsigned long epoch; /* epoch number, needed by DTLS1 */ member in struct:ssl3_record_st
  /external/openssl/ssl/
dtls1.h 137 unsigned short epoch; member in struct:dtls1_retransmit_state
171 unsigned short epoch; member in struct:record_pqueue_st
190 * The current data and handshake epoch. This is initially
197 /* records being received in the current epoch */
  /external/chromium_org/third_party/icu/source/i18n/
astro.cpp 526 // Parameters of the Sun's orbit as of the epoch Jan 0.0 1990
529 #define JD_EPOCH 2447891.5 // Julian day of epoch
531 #define SUN_ETA_G (279.403303 * CalendarAstronomer::PI/180) // Ecliptic longitude at epoch
538 // given above for an arbitrary epoch (whatever time the object is
567 // // constant he gives for the 1990 EPOCH.
642 double day = jDay - JD_EPOCH; // Days since epoch
645 // circular orbit has travelled since the epoch.
648 // The epoch wasn't at the sun's perigee; find the angular distance
909 // // Compute day number for 0.0 Jan 2000 epoch
1405 const double epoch = 2451545.0; \/\/ 2000 AD, January 1.5 local
    [all...]
  /external/chromium_org/third_party/icu/source/test/intltest/
dtfmrgts.cpp 528 UDate epoch = date(0, 0, 0); local
532 calA->setTime(epoch, status);
534 calB->setTime(epoch, status);
    [all...]
calregts.cpp 1228 UDate epoch = makeDate(1970, UCAL_JANUARY, 1); local
    [all...]
  /external/icu4c/i18n/
astro.cpp 525 // Parameters of the Sun's orbit as of the epoch Jan 0.0 1990
528 #define JD_EPOCH 2447891.5 // Julian day of epoch
530 #define SUN_ETA_G (279.403303 * CalendarAstronomer::PI/180) // Ecliptic longitude at epoch
537 // given above for an arbitrary epoch (whatever time the object is
566 // // constant he gives for the 1990 EPOCH.
641 double day = jDay - JD_EPOCH; // Days since epoch
644 // circular orbit has travelled since the epoch.
647 // The epoch wasn't at the sun's perigee; find the angular distance
914 // // Compute day number for 0.0 Jan 2000 epoch
1416 const double epoch = 2451545.0; \/\/ 2000 AD, January 1.5 local
    [all...]
  /external/icu4c/test/intltest/
dtfmrgts.cpp 532 UDate epoch = date(0, 0, 0); local
536 calA->setTime(epoch, status);
538 calB->setTime(epoch, status);
    [all...]
calregts.cpp 1273 UDate epoch = makeDate(1970, UCAL_JANUARY, 1); local
    [all...]
  /external/chromium_org/net/quic/
quic_framer.cc 686 // The new sequence number might have wrapped to the next epoch, or
687 // it might have reverse wrapped to the previous epoch, or it might
688 // remain in the same epoch. Select the sequence number closest to the
692 // with, so the correct value is likely the same epoch as the last sequence
693 // number or an adjacent epoch.
697 QuicPacketSequenceNumber epoch = last_sequence_number_ & ~(epoch_delta - 1); local
698 QuicPacketSequenceNumber prev_epoch = epoch - epoch_delta;
699 QuicPacketSequenceNumber next_epoch = epoch + epoch_delta;
702 epoch + packet_sequence_number,
    [all...]

Completed in 970 milliseconds

1 2