Home
last modified time | relevance | path

Searched refs:MutexSet (Results 1 – 6 of 6) sorted by relevance

/external/compiler-rt/lib/tsan/tests/unit/
Dtsan_mutexset_test.cc18 static void Expect(const MutexSet &mset, uptr i, u64 id, bool write, u64 epoch, in Expect()
20 MutexSet::Desc d = mset.Get(i); in Expect()
27 TEST(MutexSet, Basic) { in TEST() argument
28 MutexSet mset; in TEST()
48 TEST(MutexSet, DoubleAdd) { in TEST() argument
49 MutexSet mset; in TEST()
66 TEST(MutexSet, DoubleDel) { in TEST() argument
67 MutexSet mset; in TEST()
76 TEST(MutexSet, Remove) { in TEST() argument
77 MutexSet mset; in TEST()
[all …]
/external/compiler-rt/lib/tsan/rtl/
Dtsan_mutexset.h21 class MutexSet {
33 MutexSet();
41 void operator=(const MutexSet &other) {
52 MutexSet(const MutexSet&);
59 MutexSet::MutexSet() {} in MutexSet() function
60 void MutexSet::Add(u64 id, bool write, u64 epoch) {} in Add()
61 void MutexSet::Del(u64 id, bool write) {} in Del()
62 void MutexSet::Remove(u64 id) {} in Remove()
63 void MutexSet::RemovePos(uptr i) {} in RemovePos()
64 uptr MutexSet::Size() const { return 0; } in Size()
[all …]
Dtsan_mutexset.cc18 const uptr MutexSet::kMaxSize;
20 MutexSet::MutexSet() { in MutexSet() function in __tsan::MutexSet
25 void MutexSet::Add(u64 id, bool write, u64 epoch) { in Add()
55 void MutexSet::Del(u64 id, bool write) { in Del()
65 void MutexSet::Remove(u64 id) { in Remove()
74 void MutexSet::RemovePos(uptr i) { in RemovePos()
80 uptr MutexSet::Size() const { in Size()
84 MutexSet::Desc MutexSet::Get(uptr i) const { in Get()
Dtsan_trace.h51 MutexSet mset0;
Dtsan_rtl_report.cc164 const MutexSet *mset) { in AddMemoryAccess()
177 MutexSet::Desc d = mset->Get(i); in AddMemoryAccess()
373 MutexSet *mset) { in RestoreStack()
634 mset_buffer.Resize(sizeof(MutexSet) / sizeof(u64) + 1); in ReportRace()
635 MutexSet *mset2 = new(&mset_buffer[0]) MutexSet(); in ReportRace()
Dtsan_rtl.h390 MutexSet mset;
562 const MutexSet *mset);
588 MutexSet *mset);