/external/llvm/unittests/Support/ |
H A D | 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/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/compiler-rt/lib/tsan/rtl/ |
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); 55 void MutexSet::Add(u64 id, bool write, u64 epoch) {} argument
|
H A D | tsan_rtl_mutex.cc | 73 RestoreStack(last.tid(), last.epoch(), &trace, 0); 103 thr->clock.set(thr->tid, thr->fast_state.epoch()); 112 thr->mset.Add(s->GetId(), true, thr->fast_state.epoch()); 143 thr->clock.set(thr->tid, thr->fast_state.epoch()); 144 thr->fast_synch_epoch = thr->fast_state.epoch(); 169 thr->clock.set(thr->tid, thr->fast_state.epoch()); 173 thr->mset.Add(s->GetId(), false, thr->fast_state.epoch()); 191 thr->clock.set(thr->tid, thr->fast_state.epoch()); 192 thr->fast_synch_epoch = thr->fast_state.epoch(); 212 thr->clock.set(thr->tid, thr->fast_state.epoch()); [all...] |
H A D | tsan_rtl.h | 147 // epoch : kClkBits 152 FastState(u64 tid, u64 epoch) { argument 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 [all...] |
H A D | tsan_rtl_thread.cc | 60 // Can't increment epoch w/o writing to the trace as well. 62 args->thr->clock.set(args->thr->tid, args->thr->fast_state.epoch()); 63 args->thr->fast_synch_epoch = args->thr->fast_state.epoch(); 119 DPrintf("#%d: ThreadStart epoch=%zu stk_addr=%zx stk_size=%zx " 129 // Can't increment epoch w/o writing to the trace as well. 131 thr->clock.set(thr->tid, thr->fast_state.epoch()); 132 thr->fast_synch_epoch = thr->fast_state.epoch(); 136 epoch1 = thr->fast_state.epoch();
|
H A D | tsan_rtl.cc | 81 ThreadState::ThreadState(Context *ctx, int tid, int unique_id, u64 epoch, argument 84 : fast_state(tid, epoch) 319 unsigned trace = (thr->fast_state.epoch() / kTracePartSize) % TraceParts(); 321 hdr->epoch0 = thr->fast_state.epoch(); 385 return old.epoch() >= thr->fast_synch_epoch; 389 return thr->clock.get(old.TidWithIgnore()) >= old.epoch(); 458 StoreShadow(shadow_mem + (cur.epoch() % kShadowCnt), store_word);
|
H A D | tsan_rtl_report.cc | 388 void RestoreStack(int tid, const u64 epoch, StackTrace *stk, MutexSet *mset) { argument 389 // This function restores stack trace and mutex set for the thread/epoch. 391 // trace part, and then replaying the trace till the given epoch. 404 const int partidx = (epoch / kTracePartSize) % TraceParts(); 406 if (epoch < hdr->epoch0) 408 const u64 epoch0 = RoundDown(epoch, TraceSize()); 409 const u64 eend = epoch % TraceSize(); 411 DPrintf("#%d: RestoreStack epoch=%zu ebegin=%zu eend=%zu partidx=%d\n", 412 tid, (uptr)epoch, (uptr)ebegin, (uptr)eend, partidx); 672 RestoreStack(s2.tid(), s2.epoch(), [all...] |
/external/chromium_org/net/cookies/ |
H A D | cookie_util_unittest.cc | 29 const time_t epoch; member in struct:__anon9285 109 EXPECT_EQ(tests[i].epoch, parsed_time.ToTimeT()) << tests[i].str;
|
/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/media/video/capture/mac/ |
H A D | coremedia_glue.h | 29 CMTimeEpoch epoch; member in struct:CoreMediaGlue::__anon9016
|
/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/chromium_org/third_party/openssl/openssl/include/openssl/ |
H A D | 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/openssl/openssl/ssl/ |
H A D | 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 */
|
H A D | d1_both.c | 1193 frag->msg_header.saved_retransmit_state.epoch = s->d1->w_epoch; 1270 saved_state.epoch = s->d1->w_epoch; 1271 saved_state.epoch = s->d1->w_epoch; 1280 s->d1->w_epoch = frag->msg_header.saved_retransmit_state.epoch; 1282 if (frag->msg_header.saved_retransmit_state.epoch == saved_state.epoch - 1) 1296 s->d1->w_epoch = saved_state.epoch; 1298 if (frag->msg_header.saved_retransmit_state.epoch == saved_state.epoch - 1)
|
H A D | d1_pkt.c | 287 /* retrieve a buffered record that belongs to the new epoch, i.e., not processed 293 /* retrieve a buffered record that belongs to the current epoch, ie, processed */ 306 /* Check if epoch is current. */ 307 if (s->d1->unprocessed_rcds.epoch != s->d1->r_epoch) 321 /* sync epoch numbers once all the unprocessed records 323 s->d1->processed_rcds.epoch = s->d1->r_epoch; 324 s->d1->unprocessed_rcds.epoch = s->d1->r_epoch + 1; 563 /* The epoch may have changed. If so, process all the 598 /* sequence number is 64 bits, with top 2 bytes = epoch */ 599 n2s(p,rr->epoch); [all...] |
/external/openssl/include/openssl/ |
H A D | 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/openssl/ssl/ |
H A D | 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 */
|
H A D | d1_both.c | 1193 frag->msg_header.saved_retransmit_state.epoch = s->d1->w_epoch; 1270 saved_state.epoch = s->d1->w_epoch; 1271 saved_state.epoch = s->d1->w_epoch; 1280 s->d1->w_epoch = frag->msg_header.saved_retransmit_state.epoch; 1282 if (frag->msg_header.saved_retransmit_state.epoch == saved_state.epoch - 1) 1296 s->d1->w_epoch = saved_state.epoch; 1298 if (frag->msg_header.saved_retransmit_state.epoch == saved_state.epoch - 1)
|
/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/tcpdump/ |
H A D | rx.h | 60 u_int32_t epoch; member in struct:rx_header
|
/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...] |