Home
last modified time | relevance | path

Searched refs:mset (Results 1 – 10 of 10) 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() argument
20 MutexSet::Desc d = mset.Get(i); in Expect()
28 MutexSet mset; in TEST() local
29 EXPECT_EQ(mset.Size(), (uptr)0); in TEST()
31 mset.Add(1, true, 2); in TEST()
32 EXPECT_EQ(mset.Size(), (uptr)1); in TEST()
33 Expect(mset, 0, 1, true, 2, 1); in TEST()
34 mset.Del(1, true); in TEST()
35 EXPECT_EQ(mset.Size(), (uptr)0); in TEST()
37 mset.Add(3, true, 4); in TEST()
[all …]
/external/stlport/test/unit/
Dmultiset_test.cpp15 typedef multiset<int, less<int> > mset; typedef in MultisetTest
46 mset s; in mset1()
53 mset::iterator i = s.find(40); in mset1()
66 mset s(array, array + 9); in mset3()
67 mset::iterator i; in mset3()
72 pair<mset::iterator, mset::iterator> p = s.equal_range(5); in mset3()
77 mset::const_iterator ci; in mset3()
82 pair<mset::const_iterator, mset::const_iterator> cp; in mset3()
90 mset const& crs = s; in mset3()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_report.cc29 : mset(MBlockReportMutex) { in ReportMop()
79 static void PrintMutexSet(Vector<ReportMopMutex> const& mset) { in PrintMutexSet() argument
80 for (uptr i = 0; i < mset.Size(); i++) { in PrintMutexSet()
83 const ReportMopMutex m = mset[i]; in PrintMutexSet()
85 Printf(i == mset.Size() - 1 ? ")" : ","); in PrintMutexSet()
102 PrintMutexSet(mop->mset); in PrintMop()
Dtsan_rtl_report.cc146 const StackTrace *stack, const MutexSet *mset) { in AddMemoryAccess() argument
156 for (uptr i = 0; i < mset->Size(); i++) { in AddMemoryAccess()
157 MutexSet::Desc d = mset->Get(i); in AddMemoryAccess()
166 mop->mset.PushBack(mtx); in AddMemoryAccess()
170 mop->mset.PushBack(mtx); in AddMemoryAccess()
372 void RestoreStack(int tid, const u64 epoch, StackTrace *stk, MutexSet *mset) { in RestoreStack() argument
409 if (mset) in RestoreStack()
410 *mset = hdr->mset0; in RestoreStack()
426 if (mset) { in RestoreStack()
428 mset->Add(pc, true, epoch0 + i); in RestoreStack()
[all …]
Dtsan_rtl_mutex.cc78 thr->mset.Remove(s->GetId()); in MutexDestroy()
111 thr->mset.Add(s->GetId(), true, thr->fast_state.epoch()); in MutexLock()
148 thr->mset.Del(s->GetId(), true); in MutexUnlock()
169 thr->mset.Add(s->GetId(), false, thr->fast_state.epoch()); in MutexReadLock()
192 thr->mset.Del(s->GetId(), false); in MutexReadUnlock()
237 thr->mset.Del(s->GetId(), write); in MutexReadOrWriteUnlock()
Dtsan_report.h52 Vector<ReportMopMutex> mset; member
Dtsan_rtl.h416 MutexSet mset; member
555 const MutexSet *mset);
573 void RestoreStack(int tid, const u64 epoch, StackTrace *stk, MutexSet *mset);
Dtsan_interface_java.cc50 thr->mset.Remove(s->GetId()); in ~BlockDesc()
Dtsan_rtl.cc293 hdr->mset0 = thr->mset; in TraceSwitch()
/external/harfbuzz_ng/
DNEWS213 - Enable 'dlig' and 'mset' features in Arabic shaper.