/external/llvm/unittests/Support/ |
TimeValueTest.cpp | 26 sys::TimeValue epoch; local 30 epoch.fromWin32Time(ft1970); 33 EXPECT_EQ(0u, epoch.toEpochTime()); 34 EXPECT_EQ(ns, static_cast<uint32_t>(epoch.nanoseconds())); 37 EXPECT_EQ(ft1970, epoch.toWin32Time());
|
/external/compiler-rt/lib/tsan/rtl/ |
tsan_clock.h | 22 u64 epoch : kClkBits; member in struct:__tsan::ClockElem 37 return clk_[tid].epoch; 61 return clk_[tid].epoch; 67 DCHECK_GE(v, clk_[tid_].epoch); 68 clk_[tid_].epoch = v; 72 clk_[tid_].epoch++;
|
tsan_clock.cc | 126 u64 epoch = src->clk_[tid].epoch; local 127 if (clk_[tid].epoch < epoch) { 128 clk_[tid].epoch = epoch; 135 last_acquire_ = clk_[tid_].epoch; 145 u64 epoch = src->clk_[i].epoch; local 146 if (clk_[i].epoch < epoch) [all...] |
tsan_mutexset.cc | 25 void MutexSet::Add(u64 id, bool write, u64 epoch) { 30 descs_[i].epoch = epoch; 39 if (descs_[i].epoch < minepoch) { 40 minepoch = descs_[i].epoch; 50 descs_[size_].epoch = epoch;
|
tsan_mutexset.h | 28 u64 epoch; member in struct:__tsan::MutexSet::Desc 35 void Add(u64 id, bool write, u64 epoch); 60 void MutexSet::Add(u64 id, bool write, u64 epoch) {}
|
tsan_rtl.h | 83 // epoch : kClkBits 86 FastState(u64 tid, u64 epoch) { 88 x_ |= epoch; 90 DCHECK_EQ(epoch, this->epoch()); 112 u64 epoch() const { function in class:__tsan::FastState 118 u64 old_epoch = epoch(); 120 DCHECK_EQ(old_epoch + 1, epoch()); 148 return epoch() & mask; 168 // epoch : kClkBit [all...] |
/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/jemalloc/test/unit/ |
stats.c | 61 uint64_t epoch; local 70 assert_d_eq(mallctl("epoch", NULL, NULL, &epoch, sizeof(epoch)), 0, 101 uint64_t epoch; local 119 assert_d_eq(mallctl("epoch", NULL, NULL, &epoch, sizeof(epoch)), 0, 166 uint64_t epoch, nmalloc, ndalloc, nrequests; local 181 assert_d_eq(mallctl("epoch", NULL, NULL, &epoch, sizeof(epoch)), 0 215 uint64_t epoch, nmalloc, ndalloc, nrequests; local 259 uint64_t epoch, nmalloc, ndalloc, nrequests, nfills, nflushes; local 331 uint64_t epoch, nmalloc, ndalloc, nrequests; local [all...] |
mallctl.c | 5 uint64_t epoch; local 15 assert_d_eq(mallctl("epoch", NULL, NULL, &epoch, sizeof(epoch)-1), 17 assert_d_eq(mallctl("epoch", NULL, NULL, &epoch, sizeof(epoch)+1), 20 sz = sizeof(epoch)-1; 21 assert_d_eq(mallctl("epoch", &epoch, &sz, NULL, 0), EINVAL 42 uint64_t epoch; local [all...] |
/external/chromium_org/net/cookies/ |
cookie_util_unittest.cc | 29 const time_t epoch; member in struct:__anon13147 109 EXPECT_EQ(tests[i].epoch, parsed_time.ToTimeT()) << tests[i].str;
|
/external/compiler-rt/lib/tsan/tests/unit/ |
tsan_shadow_test.cc | 22 EXPECT_EQ(s.epoch(), (u64)22); 31 EXPECT_EQ(s.epoch(), (u64)23); 33 EXPECT_EQ(s.epoch(), (u64)24);
|
tsan_mutexset_test.cc | 18 static void Expect(const MutexSet &mset, uptr i, u64 id, bool write, u64 epoch, 23 EXPECT_EQ(epoch, d.epoch);
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
WipeDataTest.java | 62 long epoch = System.currentTimeMillis(); local 63 while (System.currentTimeMillis() - epoch <= 10 * 1000) {
|
/external/chromium_org/third_party/cld/base/ |
vlog_is_on.h | 50 // We pack an int16 verbosity level and an int16 epoch into an 52 // whether the site should log, and the epoch determines whether the 59 // with a stale epoch and a verbosity level of kUseFlag. 91 // comparing its epoch to this global epoch. Whenever the program's 93 // global epoch is advanced, invalidating all site epochs. 99 // Log sites use FLAGS_v by default, and have an initial epoch of 0. 102 // The global epoch is the least significant half of an Atomic32, and 108 // The least significant half of a site is the epoch. 114 // Construct a logging site from a logging level and epoch [all...] |
/external/jemalloc/include/jemalloc/internal/ |
prof.h | 109 * 1) Increment epoch to an odd number. 111 * 3) Increment epoch to an even number. 113 * The reader must assure 1) that the epoch is even while it reads the 114 * counters, and 2) that the epoch doesn't change between the time it 117 unsigned epoch; member in struct:prof_thr_cnt_s 367 cnt->epoch++; 380 cnt->epoch++; 452 told_cnt->epoch++; 455 cnt->epoch++; 477 told_cnt->epoch++ [all...] |
/external/chromium_org/media/video/capture/mac/ |
coremedia_glue.h | 29 CMTimeEpoch epoch; member in struct:CoreMediaGlue::__anon12770
|
/external/chromium_org/third_party/openssl/openssl/include/openssl/ |
dtls1.h | 139 unsigned short epoch; member in struct:dtls1_retransmit_state 173 unsigned short epoch; member in struct:record_pqueue_st 192 * The current data and handshake epoch. This is initially 199 /* records being received in the current epoch */
|
/external/chromium_org/third_party/openssl/openssl/ssl/ |
dtls1.h | 139 unsigned short epoch; member in struct:dtls1_retransmit_state 173 unsigned short epoch; member in struct:record_pqueue_st 192 * The current data and handshake epoch. This is initially 199 /* records being received in the current epoch */
|
/external/openssl/include/openssl/ |
dtls1.h | 139 unsigned short epoch; member in struct:dtls1_retransmit_state 173 unsigned short epoch; member in struct:record_pqueue_st 192 * The current data and handshake epoch. This is initially 199 /* records being received in the current epoch */
|
/external/openssl/ssl/ |
dtls1.h | 139 unsigned short epoch; member in struct:dtls1_retransmit_state 173 unsigned short epoch; member in struct:record_pqueue_st 192 * The current data and handshake epoch. This is initially 199 /* records being received in the current epoch */
|
/external/libogg/ |
libogg.spec | 13 # We're forced to use an epoch since both Red Hat and Ximian use it in their 15 Epoch: 2 18 Provides: %{name} = %{epoch}:1.0rc3-%{release} 19 Provides: %{name} = %{epoch}:1.0beta4-%{release} 31 Provides: %{name}-devel = %{epoch}:1.0rc3-%{release} 32 Provides: %{name}-devel = %{epoch}:1.0beta4-%{release}
|
/external/libvorbis/ |
libvorbis.spec | 13 # We're forced to use an epoch since both Red Hat and Ximian use it in their 15 Epoch: 2 18 Provides: %{name} = %{epoch}:1.0rc3-%{release} 19 Provides: %{name} = %{epoch}:1.0beta4-%{release} 36 Provides: %{name}-devel = %{epoch}:1.0rc3-%{release} 37 Provides: %{name}-devel = %{epoch}:1.0beta4-%{release}
|
/external/lldb/source/DataFormatters/ |
CF.cpp | 31 time_t epoch = GetOSXEpoch(); local 32 epoch = epoch + (time_t)valobj.GetValueAsUnsigned(0); 33 tm *tm_date = localtime(&epoch);
|
/external/tcpdump/ |
rx.h | 60 u_int32_t epoch; member in struct:rx_header
|
/libcore/luni/src/test/java/libcore/java/text/ |
SimpleDateFormatTest.java | 245 Date epoch = new Date(0); local 251 assertEquals("1969-12-31 18:00:00 -0600", sdf.format(epoch)); 254 assertEquals("1969-12-31 16:00:00 -0800", sdf.format(epoch)); 256 assertEquals("1970-01-01 00:00:00 +0000", sdf.format(epoch)); 263 assertEquals("1969-12-31 18:00:00 -0600", sdf.format(epoch)); 266 assertEquals("1969-12-31 16:00:00 -0800", sdf.format(epoch)); 268 assertEquals("1970-01-01 00:00:00 +0000", sdf.format(epoch));
|