HomeSort by relevance Sort by last modified time
    Searched refs:mset (Results 1 - 25 of 27) sorted by null

1 2

  /external/compiler-rt/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...]
  /external/compiler-rt/lib/tsan/rtl/
tsan_report.h 59 Vector<ReportMopMutex> mset; member in struct:__tsan::ReportMop
tsan_report.cc 67 : mset(MBlockReportMutex) {
138 static void PrintMutexSet(Vector<ReportMopMutex> const& mset) {
139 for (uptr i = 0; i < mset.Size(); i++) {
142 const ReportMopMutex m = mset[i];
144 Printf(i == mset.Size() - 1 ? ")" : ",");
163 PrintMutexSet(mop->mset);
tsan_rtl_report.cc 164 const MutexSet *mset) {
176 for (uptr i = 0; i < mset->Size(); i++) {
177 MutexSet::Desc d = mset->Get(i);
180 mop->mset.PushBack(mtx);
373 MutexSet *mset) {
395 if (mset)
396 *mset = hdr->mset0;
414 if (mset) {
416 mset->Add(pc, true, epoch0 + i);
418 mset->Del(pc, true)
    [all...]
tsan_rtl_mutex.cc 131 thr->mset.Remove(mid);
171 thr->mset.Add(s->GetId(), true, thr->fast_state.epoch());
214 thr->mset.Del(s->GetId(), true);
249 thr->mset.Add(s->GetId(), false, thr->fast_state.epoch());
290 thr->mset.Del(mid, false);
330 thr->mset.Del(s->GetId(), write);
tsan_rtl.h 390 MutexSet mset; member in struct:__tsan::ThreadState
562 const MutexSet *mset);
588 MutexSet *mset);
tsan_rtl.cc 513 hdr->mset0 = thr->mset;
  /prebuilts/go/darwin-x86/src/go/types/
methodset.go 101 var mset methodSet
121 mset = mset.add(e.typ.methods, e.index, e.indirect, e.multiples)
147 mset = mset.add(t.allMethods, e.index, true, e.multiples)
153 for k, m := range mset {
example_test.go 132 mset := types.NewMethodSet(t)
133 for i := 0; i < mset.Len(); i++ {
134 fmt.Println(mset.At(i))
call.go 419 mset := NewMethodSet(typ)
420 if m := mset.Lookup(check.pkg, sel); m == nil || m.obj != obj {
422 check.dump("%s\n", mset)
type.go 245 allMethods []*Func // ordered list of methods declared with or embedded in this interface (TODO(gri): replace with mset)
252 var mset objset
254 if mset.insert(m) != nil {
decl.go 267 var mset objset
275 assert(mset.insert(fld) == nil)
285 assert(mset.insert(m) == nil)
293 if alt := mset.insert(m); alt != nil {
typexpr.go 488 mset objset
515 if check.declareInSet(&mset, pos, m) {
554 if check.declareInSet(&mset, pos, m) {
  /prebuilts/go/linux-x86/src/go/types/
methodset.go 101 var mset methodSet
121 mset = mset.add(e.typ.methods, e.index, e.indirect, e.multiples)
147 mset = mset.add(t.allMethods, e.index, true, e.multiples)
153 for k, m := range mset {
example_test.go 132 mset := types.NewMethodSet(t)
133 for i := 0; i < mset.Len(); i++ {
134 fmt.Println(mset.At(i))
call.go 419 mset := NewMethodSet(typ)
420 if m := mset.Lookup(check.pkg, sel); m == nil || m.obj != obj {
422 check.dump("%s\n", mset)
type.go 245 allMethods []*Func // ordered list of methods declared with or embedded in this interface (TODO(gri): replace with mset)
252 var mset objset
254 if mset.insert(m) != nil {
decl.go 267 var mset objset
275 assert(mset.insert(fld) == nil)
285 assert(mset.insert(m) == nil)
293 if alt := mset.insert(m); alt != nil {
typexpr.go 488 mset objset
515 if check.declareInSet(&mset, pos, m) {
554 if check.declareInSet(&mset, pos, m) {
  /prebuilts/go/darwin-x86/src/go/doc/
reader.go 38 // set creates the corresponding Func for f and adds it to mset.
42 func (mset methodSet) set(f *ast.FuncDecl) {
44 if g := mset[name]; g != nil && g.Doc != "" {
62 mset[name] = &Func{
76 func (mset methodSet) add(m *Func) {
77 old := mset[m.Name]
79 mset[m.Name] = m
84 mset[m.Name] = &Func{
599 // collectEmbeddedMethods collects the embedded methods of typ in mset.
601 func (r *reader) collectEmbeddedMethods(mset methodSet, typ *namedType, recvTypeName string, embeddedIsPtr bool, level int, visited embeddedSet (…)
    [all...]
  /prebuilts/go/linux-x86/src/go/doc/
reader.go 38 // set creates the corresponding Func for f and adds it to mset.
42 func (mset methodSet) set(f *ast.FuncDecl) {
44 if g := mset[name]; g != nil && g.Doc != "" {
62 mset[name] = &Func{
76 func (mset methodSet) add(m *Func) {
77 old := mset[m.Name]
79 mset[m.Name] = m
84 mset[m.Name] = &Func{
599 // collectEmbeddedMethods collects the embedded methods of typ in mset.
601 func (r *reader) collectEmbeddedMethods(mset methodSet, typ *namedType, recvTypeName string, embeddedIsPtr bool, level int, visited embeddedSet (…)
    [all...]
  /prebuilts/go/darwin-x86/src/cmd/api/
goapi.go 761 mset := types.NewMethodSet(typ)
762 for i, n := 0, mset.Len(); i < n; i++ {
763 m := mset.At(i).Obj().(*types.Func)
  /prebuilts/go/linux-x86/src/cmd/api/
goapi.go 761 mset := types.NewMethodSet(typ)
762 for i, n := 0, mset.Len(); i < n; i++ {
763 m := mset.At(i).Obj().(*types.Func)
  /prebuilts/go/darwin-x86/src/go/internal/gcimporter/
gcimporter_test.go 298 mset := types.NewMethodSet(types.NewPointer(mutex)) // methods of *sync.Mutex
299 sel := mset.Lookup(nil, "Lock")
  /prebuilts/go/linux-x86/src/go/internal/gcimporter/
gcimporter_test.go 298 mset := types.NewMethodSet(types.NewPointer(mutex)) // methods of *sync.Mutex
299 sel := mset.Lookup(nil, "Lock")

Completed in 388 milliseconds

1 2