/external/llvm/unittests/Support/ |
H A D | 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/ |
H A D | 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++;
|
H A D | 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 < epoc [all...] |
H A D | tsan_mutexset.cc | 25 void MutexSet::Add(u64 id, bool write, u64 epoch) { argument 30 descs_[i].epoch = epoch; 39 if (descs_[i].epoch < minepoch) { 40 minepoch = descs_[i].epoch; 50 descs_[size_].epoch = epoch;
|
H A D | 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) {} argument
|
H A D | tsan_rtl.h | 83 // epoch : kClkBits 86 FastState(u64 tid, u64 epoch) { argument 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 [all...] |
H A D | tsan_rtl_mutex.cc | 131 RestoreStack(last.tid(), last.epoch(), &trace, 0); 174 thr->mset.Add(s->GetId(), true, thr->fast_state.epoch()); 251 thr->mset.Add(s->GetId(), false, thr->fast_state.epoch()); 369 thr->clock.set(tctx->tid, tctx->thr->fast_state.epoch()); 389 // Can't increment epoch w/o writing to the trace as well. 401 // Can't increment epoch w/o writing to the trace as well. 412 thr->last_sleep_clock.set(tctx->tid, tctx->thr->fast_state.epoch()); 431 thr->clock.set(thr->fast_state.epoch()); 439 thr->clock.set(thr->fast_state.epoch()); 440 thr->fast_synch_epoch = thr->fast_state.epoch(); [all...] |
H A D | tsan_rtl_report.cc | 390 void RestoreStack(int tid, const u64 epoch, StackTrace *stk, MutexSet *mset) { argument 391 // This function restores stack trace and mutex set for the thread/epoch. 393 // trace part, and then replaying the trace till the given epoch. 405 const int partidx = (epoch / kTracePartSize) % TraceParts(); 407 if (epoch < hdr->epoch0) 409 const u64 epoch0 = RoundDown(epoch, TraceSize()); 410 const u64 eend = epoch % TraceSize(); 412 DPrintf("#%d: RestoreStack epoch=%zu ebegin=%zu eend=%zu partidx=%d\n", 413 tid, (uptr)epoch, (uptr)ebegin, (uptr)eend, partidx); 682 RestoreStack(s2.tid(), s2.epoch(), [all...] |
/external/chromium_org/ppapi/shared_impl/ |
H A D | 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); 67 EXPECT_GE(kTimeSecondsSlop, fabs(ppapi::TimeToPPTime(epoch) - 0.0)); 70 (ppapi::PPTimeToTime(0.0) - epoch).ToInternalValue())));
|
/external/jemalloc/test/unit/ |
H A D | 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", NUL 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...] |
H A D | 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, 42 uint64_t epoch; local [all...] |
/external/compiler-rt/lib/tsan/tests/unit/ |
H A D | 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);
|
H A D | tsan_mutexset_test.cc | 18 static void Expect(const MutexSet &mset, uptr i, u64 id, bool write, u64 epoch, argument 23 EXPECT_EQ(epoch, d.epoch);
|
/external/chromium_org/third_party/cld/base/ |
H A D | 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 115 Site(int level, int epoch) argument [all...] |
/external/jemalloc/include/jemalloc/internal/ |
H A D | 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/third_party/boringssl/src/include/openssl/ |
H A D | dtls1.h | 127 unsigned short epoch; member in struct:dtls1_retransmit_state 161 unsigned short epoch; member in struct:record_pqueue_st 182 * The current data and handshake epoch. This is initially 189 /* records being received in the current epoch */
|
/external/openssl/include/openssl/ |
H A D | 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/ |
H A D | 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/ |
H A D | libogg.spec | 13 # We're forced to use an epoch since both Red Hat and Ximian use it in their 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/ |
H A D | libvorbis.spec | 13 # We're forced to use an epoch since both Red Hat and Ximian use it in their 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/ |
H A D | CF.cpp | 31 time_t epoch = GetOSXEpoch(); local 32 epoch = epoch + (time_t)valobj.GetValueAsUnsigned(0); 33 tm *tm_date = localtime(&epoch);
|
/external/tcpdump/ |
H A D | rx.h | 60 u_int32_t epoch; member in struct:rx_header
|
/external/chromium_org/media/base/mac/ |
H A D | coremedia_glue.h | 28 CMTimeEpoch epoch; member in struct:CoreMediaGlue::__anon8566
|
/external/fio/ |
H A D | time.c | 79 if (utime_since(&td->epoch, &tv) >= td->o.ramp_time) {
|
/external/chromium_org/net/third_party/nss/ssl/ |
H A D | dtlscon.c | 103 dtls_AllocQueuedMessage(PRUint16 epoch, SSL3ContentType type, argument 120 msg->epoch = epoch; 461 msg = dtls_AllocQueuedMessage(ss->ssl3.cwSpec->epoch, type, pIn, nIn); 620 sent = ssl3_SendRecord(ss, msg->epoch, msg->type, 697 sent = ssl3_SendRecord(ss, msg->epoch, msg->type, 761 * the epoch using epoch value. If use_epoch is PR_TRUE then 762 * we use the provided epoch. If use_epoch is PR_FALSE then 769 DTLSEpoch epoch, 768 dtls_CompressMACEncryptRecord(sslSocket * ss, DTLSEpoch epoch, PRBool use_epoch, SSL3ContentType type, const SSL3Opaque * pIn, PRUint32 contentLen, sslBuffer * wrBuf) argument [all...] |