Home
last modified time | relevance | path

Searched refs:mset (Results 1 – 11 of 11) sorted by relevance

/NextBSD/contrib/compiler-rt/lib/tsan/tests/unit/
HDtsan_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 …]
/NextBSD/contrib/file/src/
HDapprentice.c1063 struct magic_entry_set *mset) in addentry() argument
1066 if (mset[i].count == mset[i].max) { in addentry()
1069 mset[i].max += ALLOC_INCR; in addentry()
1071 realloc(mset[i].me, sizeof(*mp) * mset[i].max))) == in addentry()
1073 file_oomem(ms, sizeof(*mp) * mset[i].max); in addentry()
1076 (void)memset(&mp[mset[i].count], 0, sizeof(*mp) * in addentry()
1078 mset[i].me = mp; in addentry()
1080 mset[i].me[mset[i].count++] = *me; in addentry()
1090 struct magic_entry_set *mset) in load_1() argument
1157 (void)addentry(ms, &me, mset); in load_1()
[all …]
/NextBSD/contrib/compiler-rt/lib/tsan/rtl/
HDtsan_rtl_report.cc159 const MutexSet *mset) { in AddMemoryAccess() argument
171 for (uptr i = 0; i < mset->Size(); i++) { in AddMemoryAccess()
172 MutexSet::Desc d = mset->Get(i); in AddMemoryAccess()
175 mop->mset.PushBack(mtx); in AddMemoryAccess()
368 MutexSet *mset) { in RestoreStack() argument
397 if (mset) in RestoreStack()
398 *mset = hdr->mset0; in RestoreStack()
414 if (mset) { in RestoreStack()
416 mset->Add(pc, true, epoch0 + i); in RestoreStack()
418 mset->Del(pc, true); in RestoreStack()
[all …]
HDtsan_report.cc67 : mset(MBlockReportMutex) { in ReportMop()
130 static void PrintMutexSet(Vector<ReportMopMutex> const& mset) { in PrintMutexSet() argument
131 for (uptr i = 0; i < mset.Size(); i++) { in PrintMutexSet()
134 const ReportMopMutex m = mset[i]; in PrintMutexSet()
136 Printf(i == mset.Size() - 1 ? ")" : ","); in PrintMutexSet()
155 PrintMutexSet(mop->mset); in PrintMop()
HDtsan_rtl_mutex.cc139 thr->mset.Remove(mid); in MutexDestroy()
170 thr->mset.Add(s->GetId(), true, thr->fast_state.epoch()); in MutexLock()
213 thr->mset.Del(s->GetId(), true); in MutexUnlock()
248 thr->mset.Add(s->GetId(), false, thr->fast_state.epoch()); in MutexReadLock()
289 thr->mset.Del(mid, false); in MutexReadUnlock()
329 thr->mset.Del(s->GetId(), write); in MutexReadOrWriteUnlock()
HDtsan_report.h58 Vector<ReportMopMutex> mset; member
HDtsan_rtl.h359 MutexSet mset; member
520 const MutexSet *mset);
546 MutexSet *mset);
HDtsan_rtl.cc499 hdr->mset0 = thr->mset; in TraceSwitch()
/NextBSD/share/doc/papers/newvm/
HDspell.ok42 mset
/NextBSD/lib/libasl/
HDasl_core.c590 asl_core_str_match(const char *target, const char *mset, uint32_t mincount, uint32_t maxcount, uint… in asl_core_str_match() argument
604 if (mset == NULL) continue; in asl_core_str_match()
606 s = strchr(mset, *x); in asl_core_str_match()
/NextBSD/share/doc/psd/05.sysman/
HDspell.ok200 mset