/third_party/node/deps/v8/src/base/ |
D | ring-buffer.h | 23 if (count_ == kSize) { in Push() 28 elements_[count_++] = value; in Push() 32 int Count() const { return count_; } in Count() 36 int j = start_ + count_ - 1; in Sum() 39 for (int i = 0; i < count_; i++) { in Sum() 46 void Reset() { start_ = count_ = 0; } in Reset() 51 int count_; variable
|
/third_party/gn/src/gn/ |
D | hash_table_base.h | 209 : count_(other.count_), size_(other.size_) { in HashTableBase() 227 : count_(other.count_), size_(other.size_), buckets_(other.buckets_) { in HashTableBase() 246 bool empty() const { return count_ == 0; } in empty() 249 size_t size() const { return count_; } in size() 434 count_ = 0; in NodeClear() 478 count_ += 1; in UpdateAfterInsert() 479 if (UNLIKELY(count_ * 4 >= size_ * 3)) { in UpdateAfterInsert() 491 count_ -= 1; in UpdateAfterRemoval() 536 size_t count_ = 0; variable
|
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/ |
D | AsyncRunner.cpp | 26 assert(count_ != std::numeric_limits<decltype(count_)>::max()); in Begin() 27 if (count_++ == 0) { in Begin() 33 assert(count_ > 0); in End() 34 count_--; in End() 52 if (count_ > 0) { in QueueTick()
|
/third_party/node/src/ |
D | aliased_buffer.h | 40 : isolate_(isolate), count_(count), byte_offset_(0), index_(index) { in isolate_() 76 count_(count), in isolate_() 101 count_(that.count_), in AliasedBufferBase() 120 DCHECK_EQ(count_, arr->Length()); in Deserialize() 132 count_ = that.count_; 232 DCHECK_LT(index, count_); in SetValue() 242 DCHECK_LT(index, count_); in GetValue() 259 return count_; in Length() 267 DCHECK_GE(new_capacity, count_); in reserve() 271 const size_t old_size_in_bytes = sizeof(NativeT) * count_; in reserve() [all …]
|
D | histogram-inl.h | 16 count_ = 0; in Reset() 22 count_ += other.count_; in Add() 31 return count_; in Count() 78 count_++; in Record() 90 count_++; in RecordDelta()
|
D | node_http_common-inl.h | 22 count_ = header_count.As<v8::Uint32>()->Value(); in NgHeaders() 25 if (count_ == 0) { in NgHeaders() 31 count_ * sizeof(nv_t) + in NgHeaders() 35 char* header_contents = start + (count_ * sizeof(nv_t)); in NgHeaders() 50 if (n >= count_) { in NgHeaders() 54 count_ = 1; in NgHeaders()
|
/third_party/node/deps/v8/src/base/debug/ |
D | stack_trace_win.cc | 173 count_ = CaptureStackBackTrace(0, arraysize(trace_), trace_, nullptr); in StackTrace() 192 count_ = 0; in InitTrace() 222 count_ < arraysize(trace_)) { in InitTrace() 223 trace_[count_++] = reinterpret_cast<void*>(stack_frame.AddrPC.Offset); in InitTrace() 226 for (size_t i = count_; i < arraysize(trace_); ++i) trace_[i] = nullptr; in InitTrace() 236 for (size_t i = 0; (i < count_) && os->good(); ++i) { in OutputToStream() 243 OutputTraceToStream(trace_, count_, os); in OutputToStream()
|
D | stack_trace.cc | 21 count_ = count; in StackTrace() 27 *count = count_; in Addresses() 28 if (count_) return trace_; in Addresses()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/ |
D | notification_test.cc | 29 ThreadSafeCounter() : count_(0) {} in ThreadSafeCounter() 33 ++count_; in Increment() 38 return count_; in Get() 43 auto cond = [this, n]() { return count_ >= n; }; in WaitUntilGreaterOrEqual() 49 int count_; member in absl::ThreadSafeCounter
|
D | blocking_counter.cc | 32 : count_(initial_count), in BlockingCounter() 39 int count = count_.fetch_sub(1, std::memory_order_acq_rel) - 1; in DecrementCount()
|
/third_party/node/deps/v8/src/compiler/ |
D | node.h | 62 : outline_inputs()->count_; in InputCount() 168 int count_; member 384 bool empty() const { return count_ == 0; } in empty() 385 int count() const { return count_; } in count() 390 : input_root_(input_root), use_root_(use_root), count_(count) {} in InputEdges() 395 int count_; variable 406 bool empty() const { return count_ == 0; } in empty() 407 int count() const { return count_; } in count() 412 : input_root_(input_root), count_(count) {} in Inputs() 416 int count_; variable [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/ |
D | cord_internal.h | 87 constexpr RefcountAndFlags() : count_{kRefIncrement} {} in RefcountAndFlags() 89 explicit constexpr RefcountAndFlags(Immortal) : count_(kImmortalFlag) {} in RefcountAndFlags() 93 count_.fetch_add(kRefIncrement, std::memory_order_relaxed); in Increment() 104 int32_t refcount = count_.load(std::memory_order_acquire) & kRefcountMask; in Decrement() 107 (count_.fetch_sub(kRefIncrement, std::memory_order_acq_rel) & in Decrement() 114 count_.fetch_sub(kRefIncrement, std::memory_order_acq_rel) & in DecrementExpectHighRefcount() 122 return count_.load(std::memory_order_acquire) >> kNumFlags; in Get() 134 return (count_.load(std::memory_order_acquire) & kRefcountMask) == in IsOne() 139 return (count_.load(std::memory_order_relaxed) & kImmortalFlag) != 0; in IsImmortal() 162 std::atomic<int32_t> count_; variable
|
/third_party/node/deps/v8/src/logging/ |
D | runtime-call-stats.cc | 57 count_(count), in Entry() 64 return count_ < other.count_; in operator <() 73 os << std::setw(10) << count_ << " "; in Print() 85 count_percent_ = 100.0 * count_ / total_count; in SetTotal() 91 uint64_t count_; member in v8::internal::RuntimeCallStatEntries::Entry 102 count_ = 0; in Reset() 108 value->AppendDouble(count_); in Dump() 114 count_ += other->count(); in Add()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/internal/ |
D | per_thread_sem_test.cc | 42 SimpleSemaphore() : count_(0) {} in SimpleSemaphore() 51 cv_.wait(lock, [this]() { return count_ > 0; }); in Wait() 52 --count_; in Wait() 62 ++count_; in Post() 69 int count_; member in absl::synchronization_internal::SimpleSemaphore
|
/third_party/benchmark/test/ |
D | filter_test.cc | 22 ++count_; in ReportRuns() 28 TestReporter() : count_(0), max_family_index_(0) {} in TestReporter() 32 size_t GetCount() const { return count_; } in GetCount() 37 mutable size_t count_; member in __anon8b8e18a50111::TestReporter
|
/third_party/skia/third_party/externals/tint/src/sem/ |
D | array.h | 60 uint32_t Count() const { return count_; } in Count() 86 bool IsRuntimeSized() const { return count_ == 0; } in IsRuntimeSized() 102 const uint32_t count_; variable
|
D | array.cc | 33 count_(count), in Array() 49 type_name += "_count_" + std::to_string(count_); in type_name() 65 out << ", " << count_; in FriendlyName()
|
/third_party/node/deps/v8/src/codegen/ |
D | external-reference-encoder.cc | 17 for (uint32_t i = 0; api_references_[i] != 0; ++i) count_.push_back(0); in ExternalReferenceEncoder() 53 "index=%5d count=%5d %-60s\n", i, count_[i], in ~ExternalReferenceEncoder() 65 if (result.is_from_api()) count_[result.index()]++; in TryEncode() 82 if (result.is_from_api()) count_[result.index()]++; in Encode()
|
/third_party/skia/third_party/externals/tint/src/ |
D | block_allocator_test.cc | 23 explicit LifetimeCounter(size_t* count) : count_(count) { (*count)++; } in LifetimeCounter() 24 ~LifetimeCounter() { (*count_)--; } in ~LifetimeCounter() 26 size_t* const count_; member
|
/third_party/skia/third_party/externals/libwebp/src/mux/ |
D | anim_encode.c | 74 size_t count_; // Number of valid frames. member 112 enc->count_ = 0; in ResetCounters() 927 const size_t position = enc->count_ - 2; in SetPreviousDisposeMethod() 929 assert(enc->count_ >= 2); // As current and previous frames are in enc. in SetPreviousDisposeMethod() 944 const size_t position = enc->count_ - 1; in IncreasePreviousDuration() 948 assert(enc->count_ >= 1); in IncreasePreviousDuration() 980 EncodedFrame* const curr_enc_frame = GetFrame(enc, enc->count_); in IncreasePreviousDuration() 992 ++enc->count_; in IncreasePreviousDuration() 994 enc->flush_count_ = enc->count_ - 1; in IncreasePreviousDuration() 1199 const size_t position = enc->count_; in CacheFrame() [all …]
|
/third_party/mesa3d/src/amd/vulkan/radix_sort/shaders/ |
D | init.comp | 89 #define RS_COUNT_RU_BLOCKS(count_, block_size_) ((count_ + block_size_ - 1) / (block_size_)) 90 #define RS_COUNT_RD_BLOCKS(count_, block_size_) ((count_) / (block_size_))
|
/third_party/spirv-tools/source/opt/ |
D | types.cpp | 311 : Type(kVector), element_type_(type), count_(count) { in Vector() 318 return count_ == vt->count_ && in IsSameImpl() 325 oss << "<" << element_type_->str() << ", " << count_ << ">"; in str() 332 hash = hash_combine(hash, count_); in ComputeExtraStateHash() 337 : Type(kMatrix), element_type_(type), count_(count) { in Matrix() 344 return count_ == mt->count_ && in IsSameImpl() 351 oss << "<" << element_type_->str() << ", " << count_ << ">"; in str() 356 hash = hash_combine(hash, count_); in ComputeExtraStateHash()
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
D | types.cpp | 284 : Type(kVector), element_type_(type), count_(count) { in Vector() 291 return count_ == vt->count_ && in IsSameImpl() 298 oss << "<" << element_type_->str() << ", " << count_ << ">"; in str() 305 words->push_back(count_); in GetExtraHashWords() 309 : Type(kMatrix), element_type_(type), count_(count) { in Matrix() 316 return count_ == mt->count_ && in IsSameImpl() 323 oss << "<" << element_type_->str() << ", " << count_ << ">"; in str() 330 words->push_back(count_); in GetExtraHashWords()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | types.cpp | 284 : Type(kVector), element_type_(type), count_(count) { in Vector() 291 return count_ == vt->count_ && in IsSameImpl() 298 oss << "<" << element_type_->str() << ", " << count_ << ">"; in str() 305 words->push_back(count_); in GetExtraHashWords() 309 : Type(kMatrix), element_type_(type), count_(count) { in Matrix() 316 return count_ == mt->count_ && in IsSameImpl() 323 oss << "<" << element_type_->str() << ", " << count_ << ">"; in str() 330 words->push_back(count_); in GetExtraHashWords()
|
/third_party/spirv-tools/test/reduce/ |
D | reducer_test.cpp | 42 count_(0) {} in PingPongInteresting() 46 if (count_ > always_interesting_after_) { in IsInteresting() 52 count_++; in IsInteresting() 59 uint32_t count_; member in spvtools::reduce::__anon944c23340111::PingPongInteresting
|