/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...] |
/external/jemalloc/test/unit/ |
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...] |
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...] |
/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/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);
|
/prebuilts/go/darwin-x86/src/syscall/ |
timestruct.go | 10 // nanoseconds since the Unix epoch. 13 // NsecToTimespec takes a number of nanoseconds since the Unix epoch 26 // since the Unix epoch. 29 // NsecToTimeval takes a number of nanoseconds since the Unix epoch
|
/prebuilts/go/darwin-x86/test/fixedbugs/ |
bug218.go | 22 <epoch>: fatal error: dowidth: unknown type: blank
|
bug332.go | 16 // 6g used to print <epoch> instead of bug332.go:111
|
/prebuilts/go/linux-x86/src/syscall/ |
timestruct.go | 10 // nanoseconds since the Unix epoch. 13 // NsecToTimespec takes a number of nanoseconds since the Unix epoch 26 // since the Unix epoch. 29 // NsecToTimeval takes a number of nanoseconds since the Unix epoch
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
bug218.go | 22 <epoch>: fatal error: dowidth: unknown type: blank
|
bug332.go | 16 // 6g used to print <epoch> instead of bug332.go:111
|
/external/tensorflow/tensorflow/python/keras/_impl/keras/ |
callbacks.py | 72 def on_epoch_begin(self, epoch, logs=None): 73 """Called at the start of an epoch. 76 epoch: integer, index of epoch. 81 callback.on_epoch_begin(epoch, logs) 86 def on_epoch_end(self, epoch, logs=None): 87 """Called at the end of an epoch. 90 epoch: integer, index of epoch. 95 callback.on_epoch_end(epoch, logs [all...] |
/external/autotest/client/common_lib/ |
time_utils.py | 56 """Parse a date time string into seconds since the epoch. 60 @return The number of seconds since the UNIX epoch, as a float. 67 """Convert epoch time (float) to a human readable date string. 69 @param epoch_time The number of seconds since the UNIX epoch, as 83 """Convert the given value to epoch time. 85 Convert the given value to epoch time if it is a datetime object or a string 87 If the given value is a number, this function assume the value is a epoch 91 @returns: epoch time if value is datetime.datetime, 113 epoch. 118 epoch = datetime.datetime(1970, 1, 1, tzinfo=pytz.utc [all...] |
/external/boringssl/src/ssl/ |
dtls_record.cc | 225 uint16_t epoch = (((uint16_t)sequence[0]) << 8) | sequence[1]; local 226 if (epoch != ssl->d1->r_epoch || 228 // Drop this record. It's from the wrong epoch or is a replay. Note that if 229 // |epoch| is the next epoch, the record could be buffered for later. For 304 // Determine the parameters for the current epoch. 305 uint16_t epoch = ssl->d1->w_epoch; local 310 epoch = ssl->d1->w_epoch - 1; 326 out[3] = epoch >> 8; 327 out[4] = epoch & 0xff [all...] |
/external/tensorflow/tensorflow/python/data/kernel_tests/ |
reader_dataset_ops_test.py | 346 for epoch in range(num_epochs): 349 if (epoch == epoch_break and f == file_break and 369 for epoch in range(num_epochs): 372 if (epoch < epoch_break or 373 (epoch == epoch_break and f < file_break) or 374 (epoch == epoch_break and f == file_break and 399 for epoch in range(num_epochs): 402 if (epoch == epoch_break and f == file_break and 423 for epoch in range(num_epochs): 426 if (epoch < epoch_break o [all...] |
/external/fio/ |
time.c | 120 if (utime_since(&td->epoch, &tv) >= td->o.ramp_time) { 164 fio_gettime(&td->epoch, NULL);
|
libfio.c | 147 memcpy(&td->start, &td->epoch, sizeof(struct timeval)); 148 memcpy(&td->iops_sample_time, &td->epoch, sizeof(struct timeval)); 149 memcpy(&td->bw_sample_time, &td->epoch, sizeof(struct timeval)); 150 memcpy(&td->ss.prev_time, &td->epoch, sizeof(struct timeval));
|
/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/toolchain-utils/deprecated/ |
sheriff_rotation.py | 35 epoch = datetime.datetime.utcfromtimestamp(0) 36 delta_since_epoch = day - epoch
|