Home
last modified time | relevance | path

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

12

/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/llvm-project/compiler-rt/lib/tsan/tests/unit/
Dtsan_mutexset_test.cpp17 static void Expect(const MutexSet &mset, uptr i, u64 id, bool write, u64 epoch, in Expect() argument
19 MutexSet::Desc d = mset.Get(i); in Expect()
27 MutexSet mset; in TEST() local
28 EXPECT_EQ(mset.Size(), (uptr)0); in TEST()
30 mset.Add(1, true, 2); in TEST()
31 EXPECT_EQ(mset.Size(), (uptr)1); in TEST()
32 Expect(mset, 0, 1, true, 2, 1); in TEST()
33 mset.Del(1, true); in TEST()
34 EXPECT_EQ(mset.Size(), (uptr)0); in TEST()
36 mset.Add(3, true, 4); in TEST()
[all …]
/external/llvm-project/compiler-rt/lib/tsan/rtl/
Dtsan_rtl_report.cpp167 StackTrace stack, const MutexSet *mset) { in AddMemoryAccess() argument
180 for (uptr i = 0; i < mset->Size(); i++) { in AddMemoryAccess()
181 MutexSet::Desc d = mset->Get(i); in AddMemoryAccess()
184 mop->mset.PushBack(mtx); in AddMemoryAccess()
380 MutexSet *mset, uptr *tag) { in RestoreStack() argument
402 if (mset) in RestoreStack()
403 *mset = hdr->mset0; in RestoreStack()
421 if (mset) { in RestoreStack()
423 mset->Add(pc, true, epoch0 + i); in RestoreStack()
425 mset->Del(pc, true); in RestoreStack()
[all …]
Dtsan_report.cpp61 : mset() { in ReportMop()
140 static void PrintMutexSet(Vector<ReportMopMutex> const& mset) { in PrintMutexSet() argument
141 for (uptr i = 0; i < mset.Size(); i++) { in PrintMutexSet()
144 const ReportMopMutex m = mset[i]; in PrintMutexSet()
146 Printf(i == mset.Size() - 1 ? ")" : ","); in PrintMutexSet()
178 PrintMutexSet(mop->mset); in PrintMop()
Dtsan_rtl_mutex.cpp129 thr->mset.Remove(mid); in MutexDestroy()
191 thr->mset.Add(s->GetId(), true, thr->fast_state.epoch()); in MutexPostLock()
238 thr->mset.Del(s->GetId(), true); in MutexUnlock()
286 thr->mset.Add(s->GetId(), false, thr->fast_state.epoch()); in MutexPostReadLock()
331 thr->mset.Del(mid, false); in MutexReadUnlock()
371 thr->mset.Del(s->GetId(), write); in MutexReadOrWriteUnlock()
Dtsan_report.h61 Vector<ReportMopMutex> mset; member
Dtsan_rtl.h400 MutexSet mset; member
589 const MutexSet *mset);
629 MutexSet *mset, uptr *tag = nullptr);
/external/compiler-rt/lib/tsan/rtl/
Dtsan_rtl_report.cc164 const MutexSet *mset) { in AddMemoryAccess() argument
176 for (uptr i = 0; i < mset->Size(); i++) { in AddMemoryAccess()
177 MutexSet::Desc d = mset->Get(i); in AddMemoryAccess()
180 mop->mset.PushBack(mtx); in AddMemoryAccess()
373 MutexSet *mset) { in RestoreStack() argument
395 if (mset) in RestoreStack()
396 *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 …]
Dtsan_report.cc67 : mset(MBlockReportMutex) { in ReportMop()
138 static void PrintMutexSet(Vector<ReportMopMutex> const& mset) { in PrintMutexSet() argument
139 for (uptr i = 0; i < mset.Size(); i++) { in PrintMutexSet()
142 const ReportMopMutex m = mset[i]; in PrintMutexSet()
144 Printf(i == mset.Size() - 1 ? ")" : ","); in PrintMutexSet()
163 PrintMutexSet(mop->mset); in PrintMop()
Dtsan_rtl_mutex.cc131 thr->mset.Remove(mid); in MutexDestroy()
171 thr->mset.Add(s->GetId(), true, thr->fast_state.epoch()); in MutexLock()
214 thr->mset.Del(s->GetId(), true); in MutexUnlock()
249 thr->mset.Add(s->GetId(), false, thr->fast_state.epoch()); in MutexReadLock()
290 thr->mset.Del(mid, false); in MutexReadUnlock()
330 thr->mset.Del(s->GetId(), write); in MutexReadOrWriteUnlock()
Dtsan_report.h59 Vector<ReportMopMutex> mset; member
Dtsan_rtl.h390 MutexSet mset; member
562 const MutexSet *mset);
588 MutexSet *mset);
Dtsan_rtl.cc513 hdr->mset0 = thr->mset; in TraceSwitch()
/external/webrtc/third_party/abseil-cpp/absl/container/
Dbtree_test.cc1195 absl::btree_multiset<int> mset({1, 1, 4}); in TEST() local
1196 EXPECT_EQ(mset.count(1), 2); in TEST()
1197 EXPECT_EQ(mset.count(4), 1); in TEST()
1219 absl::btree_multiset<int> mset; in TEST() local
1220 mset.insert({1, 1, 4}); in TEST()
1221 EXPECT_EQ(mset.count(1), 2); in TEST()
1222 EXPECT_EQ(mset.count(4), 1); in TEST()
1288 absl::btree_multiset<MovableOnlyInstance> mset; in TEST() local
1291 mset.insert(std::move(zero)); in TEST()
1292 mset.insert(mset.find(MovableOnlyInstance(0)), std::move(zero2)); in TEST()
[all …]
/external/abseil-cpp/absl/container/
Dbtree_test.cc1195 absl::btree_multiset<int> mset({1, 1, 4}); in TEST() local
1196 EXPECT_EQ(mset.count(1), 2); in TEST()
1197 EXPECT_EQ(mset.count(4), 1); in TEST()
1219 absl::btree_multiset<int> mset; in TEST() local
1220 mset.insert({1, 1, 4}); in TEST()
1221 EXPECT_EQ(mset.count(1), 2); in TEST()
1222 EXPECT_EQ(mset.count(4), 1); in TEST()
1288 absl::btree_multiset<MovableOnlyInstance> mset; in TEST() local
1291 mset.insert(std::move(zero)); in TEST()
1292 mset.insert(mset.find(MovableOnlyInstance(0)), std::move(zero2)); in TEST()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/container/
Dbtree_test.cc1201 absl::btree_multiset<int> mset({1, 1, 4}); in TEST() local
1202 EXPECT_EQ(mset.count(1), 2); in TEST()
1203 EXPECT_EQ(mset.count(4), 1); in TEST()
1225 absl::btree_multiset<int> mset; in TEST() local
1226 mset.insert({1, 1, 4}); in TEST()
1227 EXPECT_EQ(mset.count(1), 2); in TEST()
1228 EXPECT_EQ(mset.count(4), 1); in TEST()
1296 absl::btree_multiset<MovableOnlyInstance> mset; in TEST() local
1299 mset.insert(std::move(zero)); in TEST()
1300 mset.insert(mset.find(MovableOnlyInstance(0)), std::move(zero2)); in TEST()
[all …]
/external/libtextclassifier/abseil-cpp/absl/container/
Dbtree_test.cc1201 absl::btree_multiset<int> mset({1, 1, 4}); in TEST() local
1202 EXPECT_EQ(mset.count(1), 2); in TEST()
1203 EXPECT_EQ(mset.count(4), 1); in TEST()
1225 absl::btree_multiset<int> mset; in TEST() local
1226 mset.insert({1, 1, 4}); in TEST()
1227 EXPECT_EQ(mset.count(1), 2); in TEST()
1228 EXPECT_EQ(mset.count(4), 1); in TEST()
1296 absl::btree_multiset<MovableOnlyInstance> mset; in TEST() local
1299 mset.insert(std::move(zero)); in TEST()
1300 mset.insert(mset.find(MovableOnlyInstance(0)), std::move(zero2)); in TEST()
[all …]
/external/angle/third_party/abseil-cpp/absl/container/
Dbtree_test.cc1299 absl::btree_multiset<int> mset({1, 1, 4}); in TEST() local
1300 EXPECT_EQ(mset.count(1), 2); in TEST()
1301 EXPECT_EQ(mset.count(4), 1); in TEST()
1323 absl::btree_multiset<int> mset; in TEST() local
1324 mset.insert({1, 1, 4}); in TEST()
1325 EXPECT_EQ(mset.count(1), 2); in TEST()
1326 EXPECT_EQ(mset.count(4), 1); in TEST()
1394 absl::btree_multiset<MovableOnlyInstance> mset; in TEST() local
1397 mset.insert(std::move(zero)); in TEST()
1398 mset.insert(mset.find(MovableOnlyInstance(0)), std::move(zero2)); in TEST()
[all …]
/external/openscreen/third_party/abseil/src/absl/container/
Dbtree_test.cc1299 absl::btree_multiset<int> mset({1, 1, 4}); in TEST() local
1300 EXPECT_EQ(mset.count(1), 2); in TEST()
1301 EXPECT_EQ(mset.count(4), 1); in TEST()
1323 absl::btree_multiset<int> mset; in TEST() local
1324 mset.insert({1, 1, 4}); in TEST()
1325 EXPECT_EQ(mset.count(1), 2); in TEST()
1326 EXPECT_EQ(mset.count(4), 1); in TEST()
1394 absl::btree_multiset<MovableOnlyInstance> mset; in TEST() local
1397 mset.insert(std::move(zero)); in TEST()
1398 mset.insert(mset.find(MovableOnlyInstance(0)), std::move(zero2)); in TEST()
[all …]
/external/protobuf/src/google/protobuf/
Dwire_format_unittest.cc631 const proto2_wireformat_unittest::TestMessageSet& mset,
647 const proto2_wireformat_unittest::TestMessageSet& mset, in SerializeReverseOrder() argument
649 if (!mset.HasExtension( in SerializeReverseOrder()
657 auto& message = mset.GetExtension( in SerializeReverseOrder()
672 proto2_wireformat_unittest::TestMessageSet* mset = &message_set; in TEST() local
674 auto m = mset->MutableExtension( in TEST()
677 mset = m->mutable_recursive(); in TEST()
Dunittest_custom_options.proto336 optional AggregateMessageSet mset = 5; field
366 mset {
/external/protobuf/python/compatibility_tests/v2.5.0/protos/src/proto/google/protobuf/
Dunittest_custom_options.proto320 optional AggregateMessageSet mset = 5; field
350 mset {
/external/protobuf/java/compatibility_tests/v2.5.0/protos/src/proto/google/protobuf/
Dunittest_custom_options.proto320 optional AggregateMessageSet mset = 5; field
350 mset {
/external/protobuf/java/compatibility_tests/v2.5.0/more_protos/src/proto/google/protobuf/
Dunittest_custom_options.proto320 optional AggregateMessageSet mset = 5; field
350 mset {
/external/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/
Ddescriptor_test.py339 self.assertEqual("EmbeddedMessageSetElement", file_options.mset.Extensions[

12