| /openbsd/src/gnu/llvm/compiler-rt/lib/tsan/tests/unit/ |
| D | tsan_vector_clock_test.cpp | 25 vc->Set(static_cast<Sid>(i), static_cast<Epoch>(i)); in TEST() 27 ASSERT_EQ(vc->Get(static_cast<Sid>(i)), static_cast<Epoch>(i)); in TEST() 49 vc1->Set(static_cast<Sid>(i), static_cast<Epoch>(i)); in TEST() 50 vc2->Set(static_cast<Sid>(i), static_cast<Epoch>(kThreadSlotCount - i)); in TEST() 55 static_cast<Epoch>(i < kThreadSlotCount / 2 ? kThreadSlotCount - i in TEST() 58 static_cast<Epoch>(kThreadSlotCount - i)); in TEST() 63 static_cast<Epoch>(kThreadSlotCount - i)); in TEST() 65 static_cast<Epoch>(kThreadSlotCount - i)); in TEST() 71 vc1->Set(static_cast<Sid>(i), static_cast<Epoch>(i)); in TEST() 72 vc2->Set(static_cast<Sid>(i), static_cast<Epoch>(kThreadSlotCount - i)); in TEST() [all …]
|
| D | tsan_shadow_test.cpp | 23 void CheckShadow(const Shadow *s, Sid sid, Epoch epoch, uptr addr, uptr size, in CheckShadow() 38 Epoch epoch = static_cast<Epoch>(22); in TEST()
|
| /openbsd/src/gnu/llvm/compiler-rt/lib/tsan/rtl/ |
| D | tsan_defs.h | 62 enum class Epoch : u16 {}; enum 64 constexpr Epoch kEpochZero = static_cast<Epoch>(0); 65 constexpr Epoch kEpochOver = static_cast<Epoch>(1 << kEpochBits); 66 constexpr Epoch kEpochLast = static_cast<Epoch>((1 << kEpochBits) - 1); 68 inline Epoch EpochInc(Epoch epoch) { in EpochInc() 69 return static_cast<Epoch>(static_cast<u16>(epoch) + 1); in EpochInc() 72 inline bool EpochOverflow(Epoch epoch) { return epoch == kEpochOver; } in EpochOverflow()
|
| D | tsan_vector_clock.h | 24 Epoch Get(Sid sid) const; 25 void Set(Sid sid, Epoch v); 37 Epoch clk_[kThreadSlotCount] VECTOR_ALIGNED; 40 ALWAYS_INLINE Epoch VectorClock::Get(Sid sid) const { in Get() 44 ALWAYS_INLINE void VectorClock::Set(Sid sid, Epoch v) { in Set()
|
| D | tsan_shadow.h | 32 Epoch epoch() const { return static_cast<Epoch>(part_.epoch_); } in epoch() 34 void SetEpoch(Epoch epoch) { part_.epoch_ = static_cast<u16>(epoch); } in SetEpoch() 81 Epoch epoch() const { return static_cast<Epoch>(part_.epoch_); } in epoch() 140 static RawShadow FreedInfo(Sid sid, Epoch epoch) { in FreedInfo()
|
| D | tsan_vector_clock.cpp | 20 const uptr kVectorClockSize = kThreadSlotCount * sizeof(Epoch) / sizeof(m128); 89 Epoch tmp = dst->clk_[i]; in ReleaseStoreAcquire()
|
| D | tsan_rtl.h | 136 Epoch epoch; 147 Epoch epoch() const { in epoch() 148 return static_cast<Epoch>(atomic_load(&raw_epoch, memory_order_relaxed)); in epoch() 151 void SetEpoch(Epoch v) { in SetEpoch() 694 bool RestoreStack(EventType type, Sid sid, Epoch epoch, uptr addr, uptr size,
|
| D | tsan_rtl_report.cpp | 356 Epoch epoch, Func f) { in TraceReplay() 359 Epoch ev_epoch = kEpochOver; in TraceReplay() 376 ev_epoch = static_cast<Epoch>(ev->epoch); in TraceReplay() 432 bool RestoreStack(EventType type, Sid sid, Epoch epoch, uptr addr, uptr size, in RestoreStack() 488 [&](Sid ev_sid, Epoch ev_epoch, Event *evp) { in RestoreStack()
|
| D | tsan_rtl_mutex.cpp | 505 Epoch epoch = EpochInc(thr->fast_state.epoch()); in IncrementEpoch()
|
| D | tsan_rtl.cpp | 302 Epoch epoch = EpochInc(slot->epoch()); in SlotAttachAndLock()
|
| /openbsd/src/gnu/llvm/llvm/include/llvm/ADT/ |
| D | EpochTracker.h | 37 uint64_t Epoch = 0; variable 44 void incrementEpoch() { ++Epoch; } in incrementEpoch() 66 : EpochAddress(&Parent->Epoch), EpochAtCreation(Parent->Epoch) {} in HandleBase()
|
| D | DenseMap.h | 465 DebugEpochBase &Epoch, 469 return iterator(B, E, Epoch, NoAdvance); 471 return iterator(P, E, Epoch, NoAdvance); 475 const DebugEpochBase &Epoch, 479 return const_iterator(B, E, Epoch, NoAdvance); 481 return const_iterator(P, E, Epoch, NoAdvance); 1212 DenseMapIterator(pointer Pos, pointer E, const DebugEpochBase &Epoch, 1214 : DebugEpochBase::HandleBase(&Epoch), Ptr(Pos), End(E) {
|
| D | SmallPtrSet.h | 279 const DebugEpochBase &Epoch) in SmallPtrSetIterator() argument 280 : SmallPtrSetIteratorImpl(BP, E), DebugEpochBase::HandleBase(&Epoch) {} in SmallPtrSetIterator()
|
| /openbsd/src/gnu/llvm/compiler-rt/lib/fuzzer/ |
| D | FuzzerIOPosix.cpp | 55 void ListFilesInDirRecursive(const std::string &Dir, long *Epoch, in ListFilesInDirRecursive() argument 58 if (Epoch) in ListFilesInDirRecursive() 59 if (E && *Epoch >= E) return; in ListFilesInDirRecursive() 74 ListFilesInDirRecursive(Path, Epoch, V, false); in ListFilesInDirRecursive() 77 if (Epoch && TopDir) in ListFilesInDirRecursive() 78 *Epoch = E; in ListFilesInDirRecursive()
|
| D | FuzzerIO.cpp | 101 void ReadDirToVectorOfUnits(const char *Path, std::vector<Unit> *V, long *Epoch, in ReadDirToVectorOfUnits() argument 104 long E = Epoch ? *Epoch : 0; in ReadDirToVectorOfUnits() 106 ListFilesInDirRecursive(Path, Epoch, &Files, /*TopDir*/true); in ReadDirToVectorOfUnits() 110 if (Epoch && GetEpoch(X) < E) continue; in ReadDirToVectorOfUnits()
|
| D | FuzzerIOWindows.cpp | 113 void ListFilesInDirRecursive(const std::string &Dir, long *Epoch, in ListFilesInDirRecursive() argument 116 if (Epoch) in ListFilesInDirRecursive() 117 if (E && *Epoch >= E) return; in ListFilesInDirRecursive() 146 ListFilesInDirRecursive(FileName, Epoch, V, false); in ListFilesInDirRecursive() 158 if (Epoch && TopDir) in ListFilesInDirRecursive() 159 *Epoch = E; in ListFilesInDirRecursive()
|
| D | FuzzerIO.h | 35 void ReadDirToVectorOfUnits(const char *Path, std::vector<Unit> *V, long *Epoch, 72 void ListFilesInDirRecursive(const std::string &Dir, long *Epoch,
|
| /openbsd/src/gnu/usr.bin/perl/cpan/Time-Piece/t/ |
| D | 02core_dst.t | 135 is ($lt->strftime("%s"), 1373371631, 'Epoch output is the same with EDT'); 141 is ($lt->strftime("%s"), 1357733231, 'Epoch output is the same with EST');
|
| /openbsd/src/usr.bin/calendar/calendars/ |
| D | calendar.computer | 10 01/01 The Epoch (Time 0 for UNIX systems, Midnight GMT, 1970)
|
| /openbsd/src/gnu/usr.bin/perl/cpan/Test-Simple/lib/Test/ |
| D | Tutorial.pod | 371 is( $t1->epoch, 0, "Epoch time of 0" ); 398 is( $t1->epoch, 0, "Epoch time of 0" ); 424 ok 1 - Epoch time of 0
|
| /openbsd/src/gnu/llvm/clang/lib/Frontend/ |
| D | CompilerInvocation.cpp | 4334 StringRef Epoch = A->getValue(); in ParsePreprocessorArgs() local 4341 if (Epoch.getAsInteger(10, V) || V > MaxTimestamp) { in ParsePreprocessorArgs() 4343 << Epoch << MaxTimestamp; in ParsePreprocessorArgs()
|
| /openbsd/src/gnu/llvm/clang/include/clang/Basic/ |
| D | DiagnosticDriverKinds.td | 488 "'-fbuild-session-timestamp=<seconds since Epoch>' or '-fbuild-session-file=<file>'">;
|
| /openbsd/src/lib/libc/time/ |
| D | Theory | 202 of the POSIX Epoch (1970-01-01 00:00:00 UTC). For each such region,
|
| /openbsd/src/gnu/gcc/libgomp/ |
| D | libgomp.texi | 773 the seconds since the Epoch (00:00:00 UTC, January 1, 1970) are returned.
|
| /openbsd/src/gnu/llvm/clang/lib/Driver/ToolChains/ |
| D | Clang.cpp | 1379 if (const char *Epoch = std::getenv("SOURCE_DATE_EPOCH")) { in AddPreprocessingOptions() local 1381 CmdArgs.push_back(Args.MakeArgString(Epoch)); in AddPreprocessingOptions()
|