Home
last modified time | relevance | path

Searched refs:count_ (Results 1 – 25 of 84) sorted by relevance

1234

/third_party/node/deps/v8/src/base/
Dring-buffer.h23 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/
Dhash_table_base.h209 : 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/
DAsyncRunner.cpp26 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/
Daliased_buffer.h40 : 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 …]
Dhistogram-inl.h16 count_ = 0; in Reset()
22 count_ += other.count_; in Add()
31 return count_; in Count()
78 count_++; in Record()
90 count_++; in RecordDelta()
Dnode_http_common-inl.h22 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/
Dstack_trace_win.cc173 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()
Dstack_trace.cc21 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/
Dnotification_test.cc29 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
Dblocking_counter.cc32 : 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/
Dnode.h62 : 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/
Dcord_internal.h87 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/
Druntime-call-stats.cc57 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/
Dper_thread_sem_test.cc42 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/
Dfilter_test.cc22 ++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/
Darray.h60 uint32_t Count() const { return count_; } in Count()
86 bool IsRuntimeSized() const { return count_ == 0; } in IsRuntimeSized()
102 const uint32_t count_; variable
Darray.cc33 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/
Dexternal-reference-encoder.cc17 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/
Dblock_allocator_test.cc23 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/
Danim_encode.c74 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/
Dinit.comp89 #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/
Dtypes.cpp311 : 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/
Dtypes.cpp284 : 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/
Dtypes.cpp284 : 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/
Dreducer_test.cpp42 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

1234