Home
last modified time | relevance | path

Searched refs:kShared (Results 1 – 25 of 28) sorted by relevance

12

/third_party/skia/bench/
DBulkRectBench.cpp22 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/
Dmutex.cc711 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/node/deps/v8/src/objects/
Djs-array-buffer.cc51 set_is_shared(shared == SharedFlag::kShared); in Setup()
53 set_is_detachable(shared != SharedFlag::kShared); in Setup()
65 if (shared == SharedFlag::kShared) { in Setup()
Dbacking-store.cc183 is_shared_(shared == SharedFlag::kShared), in BackingStore()
298 if (shared == SharedFlag::kShared) { in Allocate()
374 if (result && shared == SharedFlag::kShared) { in TryAllocateWasmMemory()
552 is_shared() ? SharedFlag::kShared : SharedFlag::kNotShared); in CopyWasmMemory()
Dbacking-store.h22 enum class SharedFlag : uint8_t { kNotShared, kShared }; enumerator
Dtransitions.cc238 base::SharedMutexGuardIf<base::kShared> scope( in SearchTransition()
248 base::SharedMutexGuardIf<base::kShared> scope( in SearchSpecial()
301 base::SharedMutexGuardIf<base::kShared> scope( in ForEachTransitionTo()
Delements.cc3040 enum IsSharedBuffer : bool { kShared = true, kUnshared = false }; enumerator
3091 auto is_shared = typed_array->buffer().is_shared() ? kShared : kUnshared; in SetImpl()
3150 auto is_shared = typed_array->buffer().is_shared() ? kShared : kUnshared; in GetInternalImpl()
3317 AccessorClass::SetImpl(first, scalar, kShared); in FillImpl()
3359 auto is_shared = typed_array.buffer().is_shared() ? kShared : kUnshared; in IncludesValueImpl()
3459 auto is_shared = typed_array.buffer().is_shared() ? kShared : kUnshared; in IndexOfValueImpl()
3515 auto is_shared = typed_array.buffer().is_shared() ? kShared : kUnshared; in LastIndexOfValueImpl()
3540 ElementType first_value = AccessorClass::GetImpl(first, kShared); in ReverseImpl()
3541 ElementType last_value = AccessorClass::GetImpl(last, kShared); in ReverseImpl()
3542 AccessorClass::SetImpl(first, last_value, kShared); in ReverseImpl()
[all …]
Dtransitions.h118 base::SharedMutexGuardIf<base::kShared> scope( in TraverseTransitionTree()
Dintl-objects.h62 enum class FormatRangeSource { kShared, kStartRange, kEndRange }; enumerator
Dshared-function-info-inl.h567 SharedMutexGuardIfOffThread<IsolateT, base::kShared> mutex_guard( in GetBytecodeArray()
Dintl-objects.cc2932 FormatRangeSource source = FormatRangeSource::kShared; in GetSource()
2950 case FormatRangeSource::kShared: in SourceString()
Dstring-inl.h91 base::Optional<base::SharedMutexGuard<base::kShared>> mutex_guard;
Dfeedback-vector.cc510 base::SharedMutexGuardIf<base::kShared> scope( in GetFeedbackPair()
/third_party/node/deps/v8/src/snapshot/
Dcontext-deserializer.cc65 bs && bs->is_shared() ? SharedFlag::kShared : SharedFlag::kNotShared; in SetupOffHeapArrayBufferBackingStores()
Dobject-deserializer.cc61 bs && bs->is_shared() ? SharedFlag::kShared : SharedFlag::kNotShared; in CommitPostProcessedObjects()
/third_party/node/deps/v8/src/heap/
Dheap-inl.h439 base::SharedMutexGuard<base::kShared> guard( in IsPendingAllocationInternal()
451 base::SharedMutexGuard<base::kShared> guard( in IsPendingAllocationInternal()
464 base::SharedMutexGuard<base::kShared> guard( in IsPendingAllocationInternal()
/third_party/node/deps/v8/src/base/platform/
Dmutex.h323 enum MutexSharedType : bool { kShared = true, kExclusive = false }; enumerator
Dplatform-posix.cc145 enum class PageType { kShared, kPrivate }; enumerator
150 flags |= (page_type == PageType::kShared) ? MAP_SHARED : MAP_PRIVATE; in GetFlagsForMemoryPermission()
430 return base::Allocate(nullptr, size, access, PageType::kShared); in AllocateShared()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
Dcord_ring_test.cc62 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()
/third_party/node/deps/v8/src/builtins/
Dbuiltins-arraybuffer.cc44 ? SharedFlag::kShared in ConstructBuffer()
/third_party/node/deps/v8/src/compiler/
Djs-heap-broker.h330 ParkedSharedMutexGuardIf<base::kShared> shared_mutex_guard_; in DEFINE_OPERATORS_FOR_FLAGS()
/third_party/node/deps/v8/src/wasm/
Dmodule-compiler.cc137 base::SharedMutexGuard<base::kShared> queues_guard(&queues_mutex_); in GetQueueForTask()
199 base::SharedMutexGuard<base::kShared> queues_guard(&queues_mutex_); in AddUnits()
233 base::SharedMutexGuard<base::kShared> queues_guard(&queues_mutex_); in AddTopTierPriorityUnit()
372 base::SharedMutexGuard<base::kShared> guard(&queues_mutex_); in GetNextUnitOfTier()
429 base::SharedMutexGuard<base::kShared> guard(&queues_mutex_); in GetTopTierPriorityUnit()
Dwasm-js.cc1267 shared = value->BooleanValue(isolate) ? i::SharedFlag::kShared in WebAssemblyMemory()
1275 if (shared == i::SharedFlag::kShared && maximum == -1) { in WebAssemblyMemory()
1302 if (shared == i::SharedFlag::kShared) { in WebAssemblyMemory()
Dwasm-objects.cc861 } else if (shared == SharedFlag::kShared) { in New()
877 (shared == SharedFlag::kShared) in New()
Dmodule-instantiate.cc1742 ? SharedFlag::kShared in AllocateMemory()

12