Searched refs:kShared (Results 1 – 6 of 6) sorted by relevance
/third_party/skia/bench/ |
D | BulkRectBench.cpp | 22 kShared, // 1. One shared image referenced by every rectangle enumerator 49 inline static constexpr int kImageCount = kImageMode == ImageMode::kShared ? 75 if (kImageMode == ImageMode::kShared) { in computeName() 97 int imageIndex = kImageMode == ImageMode::kShared ? 0 : i; in drawImagesBatch() 121 int imageIndex = kImageMode == ImageMode::kShared ? 0 : i; in drawImagesRef() 270 ADD_BENCH(n, layout, ImageMode::kShared, DrawMode::kBatch) \ 271 ADD_BENCH(n, layout, ImageMode::kShared, DrawMode::kRef) \
|
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/ |
D | mutex.cc | 711 static const Mutex::MuHow kShared = &kSharedS; // shared lock variable 722 return how == kShared ? __tsan_mutex_read_lock : 0; in TsanFlags() 1497 this->LockSlow(kShared, nullptr, 0); in ReaderLock() 1528 this->LockSlow(kShared, &cond, 0); in ReaderLockWhen() 1542 bool res = LockSlowWithDeadline(kShared, &cond, KernelTimeout(deadline), 0); in ReaderLockWhenWithDeadline() 1581 (mu_.load(std::memory_order_relaxed) & kMuWriter) ? kExclusive : kShared; in AwaitCommon() 1596 EvalConditionAnnotated(&cond, this, true, false, how == kShared); in AwaitCommon() 1652 while ((v & kShared->slow_need_zero) == 0 && loop_limit != 0) { in ReaderTryLock() 1859 EvalConditionAnnotated(cond, this, true, false, how == kShared)) { in LockSlowWithDeadline() 1878 EvalConditionAnnotated(cond, this, true, false, how == kShared); in LockSlowWithDeadline() [all …]
|
/third_party/abseil-cpp/absl/synchronization/ |
D | mutex.cc | 700 static const Mutex::MuHow kShared = &kSharedS; // shared lock variable 711 return how == kShared ? __tsan_mutex_read_lock : 0; in TsanFlags() 1486 this->LockSlow(kShared, nullptr, 0); in ReaderLock() 1517 this->LockSlow(kShared, &cond, 0); in ReaderLockWhen() 1531 bool res = LockSlowWithDeadline(kShared, &cond, KernelTimeout(deadline), 0); in ReaderLockWhenWithDeadline() 1570 (mu_.load(std::memory_order_relaxed) & kMuWriter) ? kExclusive : kShared; in AwaitCommon() 1585 EvalConditionAnnotated(&cond, this, true, false, how == kShared); in AwaitCommon() 1641 while ((v & kShared->slow_need_zero) == 0 && loop_limit != 0) { in ReaderTryLock() 1848 EvalConditionAnnotated(cond, this, true, false, how == kShared)) { in LockSlowWithDeadline() 1867 EvalConditionAnnotated(cond, this, true, false, how == kShared); in LockSlowWithDeadline() [all …]
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/util/ |
D | btree.h | 184 enum class LockMode : char { kShared = 0, kExclusive = 1, kNone = 2 }; enumerator 196 } else if (lockmode == LockMode::kShared) { in path()
|
D | btree_impl.tpp | 342 ins_cb->LockNode(n, LockPathCB::LockMode::kShared);
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
D | cord_ring_test.cc | 62 enum InputShareMode { kPrivate, kShared, kSharedIndirect }; enumerator 91 : (input_share_mode == kShared) in ToString() 385 bool InputShared() const { return GetParam().input_share_mode == kShared; } in InputShared() 427 params.emplace_back(InputShareMode::kShared); in CreateTestParams() 466 params.emplace_back(InputShareMode::kShared); in CreateTestParams() 478 for (InputShareMode share_mode : {kPrivate, kShared, kSharedIndirect}) { in CreateTestParams()
|