Home
last modified time | relevance | path

Searched refs:Epoch (Results 1 – 25 of 31) sorted by relevance

12

/openbsd/src/gnu/llvm/compiler-rt/lib/tsan/tests/unit/
Dtsan_vector_clock_test.cpp25 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 …]
Dtsan_shadow_test.cpp23 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/
Dtsan_defs.h62 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()
Dtsan_vector_clock.h24 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()
Dtsan_shadow.h32 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()
Dtsan_vector_clock.cpp20 const uptr kVectorClockSize = kThreadSlotCount * sizeof(Epoch) / sizeof(m128);
89 Epoch tmp = dst->clk_[i]; in ReleaseStoreAcquire()
Dtsan_rtl.h136 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,
Dtsan_rtl_report.cpp356 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()
Dtsan_rtl_mutex.cpp505 Epoch epoch = EpochInc(thr->fast_state.epoch()); in IncrementEpoch()
Dtsan_rtl.cpp302 Epoch epoch = EpochInc(slot->epoch()); in SlotAttachAndLock()
/openbsd/src/gnu/llvm/llvm/include/llvm/ADT/
DEpochTracker.h37 uint64_t Epoch = 0; variable
44 void incrementEpoch() { ++Epoch; } in incrementEpoch()
66 : EpochAddress(&Parent->Epoch), EpochAtCreation(Parent->Epoch) {} in HandleBase()
DDenseMap.h465 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) {
DSmallPtrSet.h279 const DebugEpochBase &Epoch) in SmallPtrSetIterator() argument
280 : SmallPtrSetIteratorImpl(BP, E), DebugEpochBase::HandleBase(&Epoch) {} in SmallPtrSetIterator()
/openbsd/src/gnu/llvm/compiler-rt/lib/fuzzer/
DFuzzerIOPosix.cpp55 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()
DFuzzerIO.cpp101 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()
DFuzzerIOWindows.cpp113 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()
DFuzzerIO.h35 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/
D02core_dst.t135 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/
Dcalendar.computer10 01/01 The Epoch (Time 0 for UNIX systems, Midnight GMT, 1970)
/openbsd/src/gnu/usr.bin/perl/cpan/Test-Simple/lib/Test/
DTutorial.pod371 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/
DCompilerInvocation.cpp4334 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/
DDiagnosticDriverKinds.td488 "'-fbuild-session-timestamp=<seconds since Epoch>' or '-fbuild-session-file=<file>'">;
/openbsd/src/lib/libc/time/
DTheory202 of the POSIX Epoch (1970-01-01 00:00:00 UTC). For each such region,
/openbsd/src/gnu/gcc/libgomp/
Dlibgomp.texi773 the seconds since the Epoch (00:00:00 UTC, January 1, 1970) are returned.
/openbsd/src/gnu/llvm/clang/lib/Driver/ToolChains/
DClang.cpp1379 if (const char *Epoch = std::getenv("SOURCE_DATE_EPOCH")) { in AddPreprocessingOptions() local
1381 CmdArgs.push_back(Args.MakeArgString(Epoch)); in AddPreprocessingOptions()

12