| /NextBSD/contrib/compiler-rt/lib/tsan/rtl/ |
| HD | tsan_clock.cc | 127 u64 epoch = src->elem(tid).epoch; in acquire() local 128 if (clk_[tid].epoch < epoch) { in acquire() 129 clk_[tid].epoch = epoch; in acquire() 136 last_acquire_ = clk_[tid_].epoch; in acquire() 146 u64 epoch = src->elem(i).epoch; in acquire() local 147 if (clk_[i].epoch < epoch) { in acquire() 148 clk_[i].epoch = epoch; in acquire() 159 last_acquire_ = clk_[tid_].epoch; in acquire() 182 if (dst->elem(tid_).epoch > last_acquire_) { in release() 199 ce.epoch = max(ce.epoch, clk_[i].epoch); in release() [all …]
|
| HD | tsan_mutexset.cc | 25 void MutexSet::Add(u64 id, bool write, u64 epoch) { in Add() argument 30 descs_[i].epoch = epoch; in Add() 39 if (descs_[i].epoch < minepoch) { in Add() 40 minepoch = descs_[i].epoch; in Add() 50 descs_[size_].epoch = epoch; in Add()
|
| HD | tsan_clock.h | 22 u64 epoch : kClkBits; member 54 return elem(tid).epoch; in get() 89 return clk_[tid].epoch; in get() 95 DCHECK_GE(v, clk_[tid_].epoch); in set() 96 clk_[tid_].epoch = v; in set() 100 clk_[tid_].epoch++; in tick()
|
| HD | tsan_mutexset.h | 28 u64 epoch; member 35 void Add(u64 id, bool write, u64 epoch); 60 void MutexSet::Add(u64 id, bool write, u64 epoch) {} in Add() argument
|
| HD | tsan_rtl_mutex.cc | 127 RestoreStack(last.tid(), last.epoch(), &trace, 0); in MutexDestroy() 170 thr->mset.Add(s->GetId(), true, thr->fast_state.epoch()); in MutexLock() 248 thr->mset.Add(s->GetId(), false, thr->fast_state.epoch()); in MutexReadLock() 366 thr->clock.set(tctx->tid, tctx->thr->fast_state.epoch()); in UpdateClockCallback() 409 thr->last_sleep_clock.set(tctx->tid, tctx->thr->fast_state.epoch()); in UpdateSleepClockCallback() 428 thr->clock.set(thr->fast_state.epoch()); in AcquireImpl() 436 thr->clock.set(thr->fast_state.epoch()); in ReleaseImpl() 437 thr->fast_synch_epoch = thr->fast_state.epoch(); in ReleaseImpl() 445 thr->clock.set(thr->fast_state.epoch()); in ReleaseStoreImpl() 446 thr->fast_synch_epoch = thr->fast_state.epoch(); in ReleaseStoreImpl() [all …]
|
| HD | tsan_rtl.h | 92 FastState(u64 tid, u64 epoch) { in FastState() argument 94 x_ |= epoch; in FastState() 96 DCHECK_EQ(epoch, this->epoch()); in FastState() 118 u64 epoch() const { in epoch() function 124 u64 old_epoch = epoch(); in IncrementEpoch() 126 DCHECK_EQ(old_epoch + 1, epoch()); in IncrementEpoch() 154 return epoch() & mask; in GetTracePos() 406 explicit ThreadState(Context *ctx, int tid, int unique_id, u64 epoch, 545 void RestoreStack(int tid, const u64 epoch, VarSizeStackTrace *stk,
|
| HD | tsan_rtl_report.cc | 367 void RestoreStack(int tid, const u64 epoch, VarSizeStackTrace *stk, in RestoreStack() argument 383 const int partidx = (epoch / kTracePartSize) % TraceParts(); in RestoreStack() 385 if (epoch < hdr->epoch0) in RestoreStack() 387 const u64 epoch0 = RoundDown(epoch, TraceSize()); in RestoreStack() 388 const u64 eend = epoch % TraceSize(); in RestoreStack() 391 tid, (uptr)epoch, (uptr)ebegin, (uptr)eend, partidx); in RestoreStack() 619 RestoreStack(s2.tid(), s2.epoch(), &traces[1], mset2.data()); in ReportRace() 636 if (s.epoch() < tctx->epoch0 || s.epoch() > tctx->epoch1) in ReportRace() 646 if (s.epoch() <= thr->last_sleep_clock.get(s.tid())) in ReportRace()
|
| HD | tsan_rtl.cc | 108 ThreadState::ThreadState(Context *ctx, int tid, int unique_id, u64 epoch, in ThreadState() argument 112 : fast_state(tid, epoch) in ThreadState() 495 unsigned trace = (thr->fast_state.epoch() / kTracePartSize) % TraceParts(); in TraceSwitch() 497 hdr->epoch0 = thr->fast_state.epoch(); in TraceSwitch() 562 return thr->clock.get(old.TidWithIgnore()) >= old.epoch(); in HappensBefore() 614 StoreShadow(shadow_mem + (cur.epoch() % kShadowCnt), store_word); in MemoryAccessImpl1() 650 old.epoch() > sync_epoch && in ContainsSameAccessSlow() 696 const m128 epoch = SHUF(epoch1, epoch1, 0, 0, 0, 0); in ContainsSameAccessFast() local 704 const m128 epoch_res = _mm_cmpgt_epi32(epoch_vect, epoch); in ContainsSameAccessFast()
|
| /NextBSD/contrib/ntp/scripts/monitoring/ |
| HD | timelocal.pl | 27 @epoch = localtime(0); 28 $tzmin = $epoch[2] * 60 + $epoch[1]; # minutes east of GMT 31 $tzmin -= 24 * 60 if $epoch[5] == 70; # account for the date line 65 $year += $YearFix if $year < $epoch[5];
|
| /NextBSD/contrib/ntp/lib/isc/win32/ |
| HD | time.c | 50 static isc_time_t epoch = { { 0, 0 } }; variable 51 LIBISC_EXTERNAL_DATA isc_time_t *isc_time_epoch = &epoch; 85 SYSTEMTIME epoch = { 1970, 1, 4, 1, 0, 0, 0, 0 }; in isc_time_set() local 92 SystemTimeToFileTime(&epoch, &temp); in isc_time_set() 229 SYSTEMTIME epoch = { 1970, 1, 4, 1, 0, 0, 0, 0 }; in isc_time_seconds() local 234 SystemTimeToFileTime(&epoch, &temp); in isc_time_seconds()
|
| /NextBSD/contrib/compiler-rt/lib/tsan/tests/unit/ |
| HD | tsan_shadow_test.cc | 22 EXPECT_EQ(s.epoch(), (u64)22); in TEST() 31 EXPECT_EQ(s.epoch(), (u64)23); in TEST() 33 EXPECT_EQ(s.epoch(), (u64)24); in TEST()
|
| HD | tsan_mutexset_test.cc | 18 static void Expect(const MutexSet &mset, uptr i, u64 id, bool write, u64 epoch, in Expect() argument 23 EXPECT_EQ(epoch, d.epoch); in Expect()
|
| /NextBSD/contrib/tzdata/ |
| HD | leap-seconds.list | 17 # The first column shows an epoch as a number of seconds 19 # indicate the same epoch.) Both of these time stamp formats 25 # at or after that epoch. The value on each line is 27 # epoch given on the next one or indefinitely into the 30 # the corresponding initial epoch in the usual 31 # day-month-year format. The epoch always begins at 54 # time scales were in use before that epoch, and it can be 86 # some epoch (e.g., NTP timestamps), then the algorithm for 127 # with, since the difficulty of unambiguously representing the epoch 156 # The NTP timestamps are in units of seconds since the NTP epoch,
|
| /NextBSD/contrib/llvm/tools/lldb/source/DataFormatters/ |
| HD | CF.cpp | 29 time_t epoch = GetOSXEpoch(); in CFAbsoluteTimeSummaryProvider() local 30 epoch = epoch + (time_t)valobj.GetValueAsUnsigned(0); in CFAbsoluteTimeSummaryProvider() 31 tm *tm_date = localtime(&epoch); in CFAbsoluteTimeSummaryProvider()
|
| HD | Cocoa.cpp | 551 time_t epoch = GetOSXEpoch(); in NSDateSummaryProvider() local 552 epoch = epoch + (time_t)date_value; in NSDateSummaryProvider() 553 tm *tm_date = gmtime(&epoch); in NSDateSummaryProvider()
|
| /NextBSD/etc/ntp/ |
| HD | leap-seconds | 19 # The first column shows an epoch as a number of seconds 22 # any timestamp at or after that epoch. The value on 24 # until the epoch given on the next one or indefinitely 27 # the corresponding initial epoch in the usual 28 # day-month-year format. The epoch always begins at 51 # time scales were in use before than epoch, and it can be 85 # some epoch (e.g., NTP timestamps), then the algorithm for 123 # with, since the difficulty of unambiguously representing the epoch
|
| /NextBSD/contrib/ntp/ntpd/ |
| HD | refclock_wwv.c | 481 double epoch; /* accumulated epoch differences */ member 972 int epoch; /* comb filter index */ in wwv_rf() local 1095 epoch = up->mphase % WWV_SEC; in wwv_rf() 1205 if (sp->metric >= TTHR && epoch == sp->mepoch % WWV_SEC) in wwv_rf() 1212 up->repoch = up->yepoch = epoch; in wwv_rf() 1246 dtemp = (epobuf[epoch] += (mfsync - epobuf[epoch]) / in wwv_rf() 1252 epopos = epoch; in wwv_rf() 1253 j = epoch - 6 * MS; in wwv_rf() 1258 if (epoch == 0) { in wwv_rf() 1304 long epoch; in wwv_qrz() local [all …]
|
| /NextBSD/crypto/openssl/ssl/ |
| HD | dtls1.h | 144 unsigned short epoch; member 172 unsigned short epoch; member
|
| HD | d1_both.c | 1148 frag->msg_header.saved_retransmit_state.epoch = s->d1->w_epoch; in dtls1_buffer_message() 1227 saved_state.epoch = s->d1->w_epoch; in dtls1_retransmit_message() 1228 saved_state.epoch = s->d1->w_epoch; in dtls1_retransmit_message() 1237 s->d1->w_epoch = frag->msg_header.saved_retransmit_state.epoch; in dtls1_retransmit_message() 1239 if (frag->msg_header.saved_retransmit_state.epoch == in dtls1_retransmit_message() 1240 saved_state.epoch - 1) { in dtls1_retransmit_message() 1255 s->d1->w_epoch = saved_state.epoch; in dtls1_retransmit_message() 1257 if (frag->msg_header.saved_retransmit_state.epoch == in dtls1_retransmit_message() 1258 saved_state.epoch - 1) { in dtls1_retransmit_message()
|
| HD | d1_pkt.c | 326 if (s->d1->unprocessed_rcds.epoch != s->d1->r_epoch) in dtls1_process_buffered_records() 344 s->d1->processed_rcds.epoch = s->d1->r_epoch; in dtls1_process_buffered_records() 345 s->d1->unprocessed_rcds.epoch = s->d1->r_epoch + 1; in dtls1_process_buffered_records() 626 n2s(p, rr->epoch); in dtls1_get_record() 1290 if (rr->epoch != s->d1->r_epoch) { in dtls1_read_bytes() 1830 if (rr->epoch == s->d1->r_epoch) in dtls1_get_bitmap() 1834 else if (rr->epoch == (unsigned long)(s->d1->r_epoch + 1) && in dtls1_get_bitmap()
|
| /NextBSD/contrib/ntp/util/ |
| HD | ntp-keygen.c | 160 time_t epoch; /* Unix epoch (seconds) since 1970 */ variable 354 epoch = tv.tv_sec; in main() 355 fstamp = (u_int)(epoch + JAN_1970); in main() 480 RAND_add(&epoch, sizeof(epoch), 4.0); in main() 636 ctime(&epoch)); in main() 660 ctime(&epoch)); in main() 701 ctime(&epoch)); in main() 724 ctime(&epoch)); in main() 764 ctime(&epoch)); in main() 782 ctime(&epoch)); in main() [all …]
|
| /NextBSD/sbin/routed/ |
| HD | main.c | 73 struct timeval epoch; /* when started */ variable 129 epoch = clk; in main() 130 epoch.tv_sec -= EPOCH; in main() 394 epoch.tv_sec += dt; in main() 397 timevalsub(&now, &clk, &epoch); in main()
|
| /NextBSD/contrib/ldns/ldns/ |
| HD | util.h.in | 266 * Convert TM to seconds since epoch (midnight, January 1st, 1970). 269 * \return the seconds since epoch 276 * The function interprets time as the number of seconds since epoch 282 * \param[in] time number of seconds since epoch (midnight, January 1st, 1970) 284 * \param[in] now number of seconds since epoch (midnight, January 1st, 1970)
|
| /NextBSD/crypto/heimdal/kdc/ |
| HD | rx.h | 62 uint32_t epoch; member
|
| /NextBSD/contrib/jemalloc/src/ |
| HD | stats.c | 364 uint64_t epoch; in stats_print() local 380 epoch = 1; in stats_print() 382 err = je_mallctl("epoch", &epoch, &u64sz, &epoch, sizeof(uint64_t)); in stats_print()
|