/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_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_clock.h | 22 u64 epoch : kClkBits; member in struct:__tsan::ClockElem 54 return elem(tid).epoch; 89 return clk_[tid].epoch; 95 DCHECK_GE(v, clk_[tid_].epoch); 96 clk_[tid_].epoch = v; 100 clk_[tid_].epoch++;
|
tsan_clock.cc | 125 u64 epoch = src->elem(tid).epoch; local 126 if (clk_[tid].epoch < epoch) { 127 clk_[tid].epoch = epoch; 134 last_acquire_ = clk_[tid_].epoch; 144 u64 epoch = src->elem(i).epoch; local 145 if (clk_[i].epoch < epoch) [all...] |
tsan_rtl_mutex.cc | 127 RestoreStack(last.tid(), last.epoch(), &trace, 0); 170 thr->mset.Add(s->GetId(), true, thr->fast_state.epoch()); 248 thr->mset.Add(s->GetId(), false, thr->fast_state.epoch()); 366 thr->clock.set(tctx->tid, tctx->thr->fast_state.epoch()); 386 // Can't increment epoch w/o writing to the trace as well. 398 // Can't increment epoch w/o writing to the trace as well. 409 thr->last_sleep_clock.set(tctx->tid, tctx->thr->fast_state.epoch()); 428 thr->clock.set(thr->fast_state.epoch()); 436 thr->clock.set(thr->fast_state.epoch()); 437 thr->fast_synch_epoch = thr->fast_state.epoch(); [all...] |
tsan_rtl_report.cc | 367 void RestoreStack(int tid, const u64 epoch, VarSizeStackTrace *stk, 369 // This function restores stack trace and mutex set for the thread/epoch. 371 // trace part, and then replaying the trace till the given epoch. 374 const int partidx = (epoch / kTracePartSize) % TraceParts(); 376 if (epoch < hdr->epoch0 || epoch >= hdr->epoch0 + kTracePartSize) 378 CHECK_EQ(RoundDown(epoch, kTracePartSize), hdr->epoch0); 379 const u64 epoch0 = RoundDown(epoch, TraceSize()); 380 const u64 eend = epoch % TraceSize(); 382 DPrintf("#%d: RestoreStack epoch=%zu ebegin=%zu eend=%zu partidx=%d\n" [all...] |
tsan_rtl.h | 90 // epoch : kClkBits 93 FastState(u64 tid, u64 epoch) { 95 x_ |= epoch; 97 DCHECK_EQ(epoch, this->epoch()); 119 u64 epoch() const { function in class:__tsan::FastState 125 u64 old_epoch = epoch(); 127 DCHECK_EQ(old_epoch + 1, epoch()); 155 return epoch() & mask; 175 // epoch : kClkBit [all...] |
tsan_rtl.cc | 110 ThreadState::ThreadState(Context *ctx, int tid, int unique_id, u64 epoch, 114 : fast_state(tid, epoch) 501 unsigned trace = (thr->fast_state.epoch() / kTracePartSize) % TraceParts(); 503 hdr->epoch0 = thr->fast_state.epoch(); 568 return thr->clock.get(old.TidWithIgnore()) >= old.epoch(); 620 StoreShadow(shadow_mem + (cur.epoch() % kShadowCnt), store_word); 656 old.epoch() > sync_epoch && 698 // epoch[0:31] = sync_epoch[0:31] 699 // epoch[32:63] = sync_epoch[0:31] 700 // epoch[64:95] = sync_epoch[0:31 702 const m128 epoch = SHUF(epoch1, epoch1, 0, 0, 0, 0); local [all...] |
/external/jemalloc/test/unit/ |
stats.c | 39 uint64_t epoch; local 48 assert_d_eq(mallctl("epoch", NULL, NULL, &epoch, sizeof(epoch)), 0, 79 uint64_t epoch; local 103 assert_d_eq(mallctl("epoch", NULL, NULL, &epoch, sizeof(epoch)), 0, 147 uint64_t epoch, nmalloc, ndalloc, nrequests; local 162 assert_d_eq(mallctl("epoch", NULL, NULL, &epoch, sizeof(epoch)), 0 196 uint64_t epoch, nmalloc, ndalloc, nrequests; local 240 uint64_t epoch, nmalloc, ndalloc; local 280 uint64_t epoch, nmalloc, ndalloc, nrequests, nfills, nflushes; local 353 uint64_t epoch, nmalloc, ndalloc, nrequests; local 397 uint64_t epoch, nmalloc, ndalloc; 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...] |
decay.c | 204 uint64_t epoch; local 234 assert_d_eq(mallctl("epoch", NULL, NULL, &epoch, sizeof(uint64_t)), 0, 275 assert_d_eq(mallctl("epoch", NULL, NULL, &epoch, 296 uint64_t epoch; local 310 assert_d_eq(mallctl("epoch", NULL, NULL, &epoch, sizeof(uint64_t)), 0, 338 assert_d_eq(mallctl("epoch", NULL, NULL, &epoch, sizeof(uint64_t)), 0 [all...] |
/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 | 56 long epoch = System.currentTimeMillis(); local 57 while (System.currentTimeMillis() - epoch <= 10 * 1000) {
|
/external/boringssl/src/ssl/ |
dtls_record.c | 203 uint16_t epoch = (((uint16_t)sequence[0]) << 8) | sequence[1]; local 204 if (epoch != ssl->d1->r_epoch || 206 /* Drop this record. It's from the wrong epoch or is a replay. Note that if 207 * |epoch| is the next epoch, the record could be buffered for later. For 251 /* Determine the parameters for the current epoch. */ 252 uint16_t epoch = ssl->d1->w_epoch; local 259 epoch = ssl->d1->w_epoch - 1; 281 out[3] = epoch >> 8; 282 out[4] = epoch & 0xff [all...] |
/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}
|
/build/tools/releasetools/ |
add_img_to_target_files | 129 epoch = datetime.datetime.fromtimestamp(0) 130 timestamp = (datetime.datetime(2009, 1, 1) - epoch).total_seconds() 181 epoch = datetime.datetime.fromtimestamp(0) 182 timestamp = (datetime.datetime(2009, 1, 1) - epoch).total_seconds() 231 epoch = datetime.datetime.fromtimestamp(0) 232 timestamp = (datetime.datetime(2009, 1, 1) - epoch).total_seconds()
|
add_img_to_target_files.py | 129 epoch = datetime.datetime.fromtimestamp(0) 130 timestamp = (datetime.datetime(2009, 1, 1) - epoch).total_seconds() 181 epoch = datetime.datetime.fromtimestamp(0) 182 timestamp = (datetime.datetime(2009, 1, 1) - epoch).total_seconds() 231 epoch = datetime.datetime.fromtimestamp(0) 232 timestamp = (datetime.datetime(2009, 1, 1) - epoch).total_seconds()
|
/external/fio/ |
time.c | 91 if (utime_since(&td->epoch, &tv) >= td->o.ramp_time) {
|
/system/update_engine/ |
update_attempter_unittest.cc | 881 Time epoch = Time::FromInternalValue(0); local [all...] |
/libcore/luni/src/test/java/libcore/java/text/ |
SimpleDateFormatTest.java | 271 Date epoch = new Date(0); local 277 assertEquals("1969-12-31 18:00:00 -0600", sdf.format(epoch)); 280 assertEquals("1969-12-31 16:00:00 -0800", sdf.format(epoch)); 282 assertEquals("1970-01-01 00:00:00 +0000", sdf.format(epoch)); 289 assertEquals("1969-12-31 18:00:00 -0600", sdf.format(epoch)); 292 assertEquals("1969-12-31 16:00:00 -0800", sdf.format(epoch)); 294 assertEquals("1970-01-01 00:00:00 +0000", sdf.format(epoch));
|
/external/autotest/client/site_tests/platform_BootPerf/ |
platform_BootPerf.py | 364 values measured as seconds since the epoch. The three "t" 368 epoch. Also estimate the worst-case error based on the time 377 boot" into "seconds since the epoch". 379 measured as "seconds since the epoch". 381 measured as "seconds since the epoch". 386 as seconds since the epoch, rounded to the
|
/external/google-benchmark/src/ |
walltime.cc | 100 const unsigned __int64 epoch = 116444736000000000LL; local 107 tv.tv_sec = (long)((ularge.QuadPart - epoch) / (10L * 1000 * 1000));
|