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

1 2

  /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
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_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.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.cc 110 ThreadState::ThreadState(Context *ctx, int tid, int unique_id, u64 epoch,
114 : fast_state(tid, epoch)
509 unsigned trace = (thr->fast_state.epoch() / kTracePartSize) % TraceParts();
511 hdr->epoch0 = thr->fast_state.epoch();
576 return thr->clock.get(old.TidWithIgnore()) >= old.epoch();
628 StoreShadow(shadow_mem + (cur.epoch() % kShadowCnt), store_word);
664 old.epoch() > sync_epoch &&
706 // epoch[0:31] = sync_epoch[0:31]
707 // epoch[32:63] = sync_epoch[0:31]
708 // epoch[64:95] = sync_epoch[0:31
710 const m128 epoch = SHUF(epoch1, epoch1, 0, 0, 0, 0); local
    [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...]
  /external/boringssl/src/ssl/
dtls_record.c 204 uint16_t epoch = (((uint16_t)sequence[0]) << 8) | sequence[1]; local
205 if (epoch != ssl->d1->r_epoch ||
207 /* Drop this record. It's from the wrong epoch or is a replay. Note that if
208 * |epoch| is the next epoch, the record could be buffered for later. For
285 /* Determine the parameters for the current epoch. */
286 uint16_t epoch = ssl->d1->w_epoch; local
293 epoch = ssl->d1->w_epoch - 1;
309 out[3] = epoch >> 8;
310 out[4] = epoch & 0xff
    [all...]
  /external/compiler-rt/lib/tsan/tests/unit/
tsan_clock_test.cc 367 u64 epoch = thr0[tid]->clock[tid] + 1; local
371 thr0[tid]->clock[tid] = epoch;
374 thr1[tid]->set(epoch);
  /external/eigen/unsupported/Eigen/CXX11/src/ThreadPool/
EventCount.h 55 // Initialize epoch to something close to overflow to test overflow.
68 w->epoch = state_.fetch_add(kWaiterInc, std::memory_order_relaxed);
75 // Modification epoch of this waiter.
76 uint64_t epoch = local
77 (w->epoch & kEpochMask) +
78 (((w->epoch & kWaiterMask) >> kWaiterShift) << kEpochShift);
81 if (int64_t((state & kEpochMask) - epoch) < 0) {
89 if (int64_t((state & kEpochMask) - epoch) > 0) return;
107 uint64_t epoch = local
108 (w->epoch & kEpochMask)
176 uint64_t epoch; member in class:Eigen::EventCount::Waiter
    [all...]
  /external/jemalloc/test/unit/
decay.c 212 uint64_t epoch; local
242 assert_d_eq(mallctl("epoch", NULL, NULL, (void *)&epoch,
286 assert_d_eq(mallctl("epoch", NULL, NULL, (void *)&epoch,
307 uint64_t epoch; local
321 assert_d_eq(mallctl("epoch", NULL, NULL, (void *)&epoch,
351 assert_d_eq(mallctl("epoch", NULL, NULL, (void *)&epoch,
    [all...]
stats.c 39 uint64_t epoch; local
48 assert_d_eq(mallctl("epoch", NULL, NULL, (void *)&epoch, sizeof(epoch)),
79 uint64_t epoch; local
103 assert_d_eq(mallctl("epoch", NULL, NULL, (void *)&epoch, sizeof(epoch)),
147 uint64_t epoch, nmalloc, ndalloc, nrequests; local
162 assert_d_eq(mallctl("epoch", NULL, NULL, (void *)&epoch, sizeof(epoch))
198 uint64_t epoch, nmalloc, ndalloc, nrequests; local
244 uint64_t epoch, nmalloc, ndalloc; local
284 uint64_t epoch, nmalloc, ndalloc, nrequests, nfills, nflushes; local
358 uint64_t epoch, nmalloc, ndalloc, nrequests; local
403 uint64_t epoch, nmalloc, ndalloc; local
    [all...]
mallctl.c 5 uint64_t epoch; local
15 assert_d_eq(mallctl("epoch", NULL, NULL, (void *)&epoch,
16 sizeof(epoch)-1), EINVAL,
18 assert_d_eq(mallctl("epoch", NULL, NULL, (void *)&epoch,
19 sizeof(epoch)+1), EINVAL,
22 sz = sizeof(epoch)-1;
23 assert_d_eq(mallctl("epoch", (void *)&epoch, &sz, NULL, 0), EINVAL
44 uint64_t epoch; local
    [all...]
  /system/update_engine/
payload_state_unittest.cc 1547 Time epoch = Time::FromInternalValue(1000000); local
    [all...]
update_attempter_unittest.cc 877 Time epoch = Time::FromInternalValue(0); local
    [all...]
  /external/libchrome/base/time/
time_unittest.cc 146 Time epoch = Time::FromJsTime(0.0); local
147 EXPECT_EQ(epoch, Time::UnixEpoch());
314 // Test some of edge cases around epoch, etc.
318 // time_t == epoch == 0
330 // time_t == 1 second after epoch == 1
342 // time_t == 2 seconds after epoch == 2
354 // time_t == 1 second before epoch == -1
365 // before epoch.
377 // time_t == 2 seconds before epoch == -2
389 // time_t before Epoch, in 196
    [all...]
  /external/jemalloc/src/
stats.c 1068 uint64_t epoch; local
1085 epoch = 1;
1087 err = je_mallctl("epoch", (void *)&epoch, &u64sz, (void *)&epoch,
    [all...]
  /cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
BaseDevicePolicyTest.java 672 long epoch = System.currentTimeMillis(); local
673 while (System.currentTimeMillis() - epoch <= timeoutMillis) {
    [all...]
  /external/icu/icu4c/source/i18n/
astro.cpp 527 // Parameters of the Sun's orbit as of the epoch Jan 0.0 1990
530 #define JD_EPOCH 2447891.5 // Julian day of epoch
532 #define SUN_ETA_G (279.403303 * CalendarAstronomer::PI/180) // Ecliptic longitude at epoch
539 // given above for an arbitrary epoch (whatever time the object is
568 // // constant he gives for the 1990 EPOCH.
643 double day = jDay - JD_EPOCH; // Days since epoch
646 // circular orbit has travelled since the epoch.
649 // The epoch wasn't at the sun's perigee; find the angular distance
916 // // Compute day number for 0.0 Jan 2000 epoch
1418 const double epoch = 2451545.0; \/\/ 2000 AD, January 1.5 local
    [all...]
  /external/icu/icu4c/source/test/intltest/
dtfmrgts.cpp 539 UDate epoch = date(0, 0, 0); local
543 calA->setTime(epoch, status);
545 calB->setTime(epoch, status);
    [all...]
  /external/jemalloc/include/jemalloc/internal/
arena.h 289 * not actually advance to a new epoch until sometime after it starts
291 * to completely skip epochs. In all cases, during epoch advancement we
292 * merge all relevant activity into the most recently recorded epoch.
294 nstime_t epoch; member in struct:arena_decay_s
298 * Deadline for current epoch. This is the sum of interval and per
299 * epoch jitter which is a uniform random variable in [0..interval).
306 * Number of dirty pages at beginning of current epoch. During epoch
315 * element is the most recent epoch. Corresponding epoch times ar
    [all...]
  /external/tcpdump/
print-rx.c 76 uint32_t epoch; member in struct:rx_header
816 #define UBIK_VERSIONOUT() {int32_t epoch; int32_t counter; \
818 epoch = EXTRACT_32BITS(bp); \
822 ND_PRINT((ndo, " %d.%d", epoch, counter)); \
    [all...]
  /libcore/luni/src/test/java/libcore/java/text/
SimpleDateFormatTest.java 286 Date epoch = new Date(0); local
295 assertEquals("1969-12-31 18:00:00 -0600", sdf.format(epoch));
298 assertEquals("1969-12-31 16:00:00 -0800", sdf.format(epoch));
300 assertEquals("1970-01-01 00:00:00 +0000", sdf.format(epoch));
311 assertEquals("1969-12-31 18:00:00 -0600", sdf.format(epoch));
314 assertEquals("1969-12-31 16:00:00 -0800", sdf.format(epoch));
316 assertEquals("1970-01-01 00:00:00 +0000", sdf.format(epoch));
  /external/fio/
fio.h 262 struct timeval epoch; /* time job was started */ member in struct:thread_data
  /libcore/ojluni/src/test/java/time/test/java/time/chrono/
TestUmmAlQuraChronology.java 113 // Test to verify the epoch days for given Hijrah & ISO date instances
491 // Data sample to get the epoch days of a date instance
505 // Test to verify the number of epoch days of a date instance
507 public void test_epochDays(int y, long epoch) {
509 assertEquals(date.toEpochDay(), epoch); local
    [all...]
  /cts/tests/tests/text/src/android/text/format/cts/
TimeTest.java 2008 final int epoch = Time.EPOCH_JULIAN_DAY; \/\/ a Thursday local
    [all...]

Completed in 882 milliseconds

1 2