HomeSort by: relevance | last modified time | path
    Searched refs:mset (Results 1 - 21 of 21) sorted by relevancy

  /src/sys/external/bsd/compiler_rt/dist/lib/tsan/tests/unit/
tsan_mutexset_test.cc 18 static void Expect(const MutexSet &mset, uptr i, u64 id, bool write, u64 epoch,
20 MutexSet::Desc d = mset.Get(i);
28 MutexSet mset; local
29 EXPECT_EQ(mset.Size(), (uptr)0);
31 mset.Add(1, true, 2);
32 EXPECT_EQ(mset.Size(), (uptr)1);
33 Expect(mset, 0, 1, true, 2, 1);
34 mset.Del(1, true);
35 EXPECT_EQ(mset.Size(), (uptr)0);
37 mset.Add(3, true, 4)
49 MutexSet mset; local
67 MutexSet mset; local
77 MutexSet mset; local
90 MutexSet mset; local
109 MutexSet mset; local
    [all...]
  /src/external/gpl3/gcc/dist/libsanitizer/tsan/
tsan_rtl_report.cpp 179 const MutexSet *mset) {
194 for (uptr i = 0; i < mset->Size(); i++) {
195 MutexSet::Desc d = mset->Get(i);
198 mop->mset.PushBack(mtx);
409 Vector<uptr> *stack, MutexSet *mset, uptr pc,
412 *pmset = *mset;
477 DynamicMutexSet mset; local
492 mset->Reset();
512 RestoreStackMatch(pstk, pmset, &stack, mset, ev_pc, &found);
542 RestoreStackMatch(pstk, pmset, &stack, mset, ev->pc, &found)
762 MutexSet *mset[kMop] = {&thr->mset, mset1}; local
    [all...]
tsan_report.cpp 45 : mset() {
120 static void PrintMutexSet(Vector<ReportMopMutex> const& mset) {
121 for (uptr i = 0; i < mset.Size(); i++) {
124 const ReportMopMutex m = mset[i];
126 Printf(i == mset.Size() - 1 ? ")" : ",");
158 PrintMutexSet(mop->mset);
tsan_report.h 58 Vector<ReportMopMutex> mset; member in struct:__tsan::ReportMop
tsan_interface_ann.cpp 442 for (uptr i = 0; i < thr->mset.Size(); ++i) {
443 MutexSet::Desc desc = thr->mset.Get(i);
455 if (thr->mset.Size() == 0) {
tsan_rtl_mutex.cpp 77 thr->mset.AddAddr(addr, stack_id, write);
83 thr->mset.DelAddr(addr);
136 thr->mset.DelAddr(addr, true);
568 DynamicMutexSet mset; local
571 0, kAccessWrite, &tid, &trace, mset, &tag))
tsan_rtl.cpp 1000 for (uptr i = 0; i < thr->mset.Size(); i++) {
1001 MutexSet::Desc d = thr->mset.Get(i);
tsan_rtl.h 199 MutexSet mset; member in struct:__tsan::ThreadState
410 StackTrace stack, const MutexSet *mset);
  /src/external/gpl3/gcc.old/dist/libsanitizer/tsan/
tsan_rtl_report.cpp 178 StackTrace stack, const MutexSet *mset) {
190 for (uptr i = 0; i < mset->Size(); i++) {
191 MutexSet::Desc d = mset->Get(i);
194 mop->mset.PushBack(mtx);
391 MutexSet *mset, uptr *tag) {
413 if (mset)
414 *mset = hdr->mset0;
432 if (mset) {
434 mset->Add(pc, true, epoch0 + i);
436 mset->Del(pc, true)
563 DynamicMutexSet mset; local
    [all...]
tsan_report.cpp 45 : mset() {
124 static void PrintMutexSet(Vector<ReportMopMutex> const& mset) {
125 for (uptr i = 0; i < mset.Size(); i++) {
128 const ReportMopMutex m = mset[i];
130 Printf(i == mset.Size() - 1 ? ")" : ",");
162 PrintMutexSet(mop->mset);
tsan_report.h 57 Vector<ReportMopMutex> mset; member in struct:__tsan::ReportMop
tsan_rtl_mutex.cpp 131 thr->mset.Remove(mid);
193 thr->mset.Add(s->GetId(), true, thr->fast_state.epoch());
238 thr->mset.Del(s->GetId(), true);
291 thr->mset.Add(s->GetId(), false, thr->fast_state.epoch());
334 thr->mset.Del(mid, false);
374 thr->mset.Del(s->GetId(), write);
tsan_rtl.cpp 630 for (uptr i = 0; i < thr->mset.Size(); i++) {
631 MutexSet::Desc d = thr->mset.Get(i);
651 hdr->mset0 = thr->mset;
tsan_rtl.h 172 MutexSet mset; member in struct:__tsan::ThreadState
356 const MutexSet *mset);
397 MutexSet *mset, uptr *tag = nullptr);
  /src/external/bsd/file/dist/src/
apprentice.c 1304 struct magic_entry_set *mset)
1307 if (mset[i].me == NULL || mset[i].count == mset[i].max) {
1310 size_t incr = mset[i].max + ALLOC_INCR;
1312 realloc(mset[i].me, sizeof(*mp) * incr))) ==
1317 (void)memset(&mp[mset[i].count], 0, sizeof(*mp) *
1319 mset[i].me = mp;
1320 mset[i].max = CAST(uint32_t, incr);
1321 assert(mset[i].max == incr)
1540 struct magic_entry_set mset[MAGIC_SETS]; local
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/
tsan_rtl_report.cc 167 StackTrace stack, const MutexSet *mset) {
180 for (uptr i = 0; i < mset->Size(); i++) {
181 MutexSet::Desc d = mset->Get(i);
184 mop->mset.PushBack(mtx);
380 MutexSet *mset, uptr *tag) {
402 if (mset)
403 *mset = hdr->mset0;
421 if (mset) {
423 mset->Add(pc, true, epoch0 + i);
425 mset->Del(pc, true)
    [all...]
tsan_report.h 61 Vector<ReportMopMutex> mset; member in struct:__tsan::ReportMop
tsan_report.cc 62 : mset() {
137 static void PrintMutexSet(Vector<ReportMopMutex> const& mset) {
138 for (uptr i = 0; i < mset.Size(); i++) {
141 const ReportMopMutex m = mset[i];
143 Printf(i == mset.Size() - 1 ? ")" : ",");
175 PrintMutexSet(mop->mset);
tsan_rtl_mutex.cc 130 thr->mset.Remove(mid);
192 thr->mset.Add(s->GetId(), true, thr->fast_state.epoch());
239 thr->mset.Del(s->GetId(), true);
287 thr->mset.Add(s->GetId(), false, thr->fast_state.epoch());
332 thr->mset.Del(mid, false);
372 thr->mset.Del(s->GetId(), write);
tsan_rtl.h 406 MutexSet mset; member in struct:__tsan::ThreadState
585 const MutexSet *mset);
625 MutexSet *mset, uptr *tag = nullptr);
tsan_rtl.cc 566 hdr->mset0 = thr->mset;

Completed in 26 milliseconds