Home
last modified time | relevance | path

Searched refs:initial_count (Results 1 – 25 of 37) sorted by relevance

12

/external/tensorflow/tensorflow/core/platform/
Dblocking_counter.h28 BlockingCounter(int initial_count) in BlockingCounter() argument
29 : state_(initial_count << 1), notified_(false) { in BlockingCounter()
30 CHECK_GE(initial_count, 0); in BlockingCounter()
31 DCHECK_EQ((initial_count << 1) >> 1, initial_count); in BlockingCounter()
/external/angle/third_party/abseil-cpp/absl/synchronization/
Dblocking_counter.cc31 BlockingCounter::BlockingCounter(int initial_count) in BlockingCounter() argument
32 : count_(initial_count), in BlockingCounter()
34 done_{initial_count == 0 ? true : false} { in BlockingCounter()
35 ABSL_RAW_CHECK(initial_count >= 0, "BlockingCounter initial_count negative");
Dblocking_counter.h65 explicit BlockingCounter(int initial_count);
/external/llvm-project/lldb/source/Plugins/ObjectFile/PDB/
DObjectFilePDB.cpp115 const size_t initial_count = specs.GetSize(); in GetModuleSpecifications() local
120 return initial_count; in GetModuleSpecifications()
125 return initial_count; in GetModuleSpecifications()
130 return initial_count; in GetModuleSpecifications()
160 return specs.GetSize() - initial_count; in GetModuleSpecifications()
/external/libchrome/base/containers/
Dmru_cache_unittest.cc199 int initial_count = cached_item_live_count; in TEST() local
210 EXPECT_EQ(initial_count + 1, cached_item_live_count); in TEST()
214 EXPECT_EQ(initial_count, cached_item_live_count); in TEST()
225 EXPECT_EQ(initial_count, cached_item_live_count); in TEST()
232 EXPECT_EQ(initial_count + 2, cached_item_live_count); in TEST()
234 EXPECT_EQ(initial_count, cached_item_live_count); in TEST()
242 int initial_count = cached_item_live_count; in TEST() local
259 EXPECT_EQ(initial_count, cached_item_live_count); in TEST()
/external/webrtc/third_party/abseil-cpp/absl/synchronization/
Dblocking_counter.h63 explicit BlockingCounter(int initial_count) in BlockingCounter() argument
64 : count_(initial_count), num_waiting_(0) {} in BlockingCounter()
/external/abseil-cpp/absl/synchronization/
Dblocking_counter.h63 explicit BlockingCounter(int initial_count) in BlockingCounter() argument
64 : count_(initial_count), num_waiting_(0) {} in BlockingCounter()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/synchronization/
Dblocking_counter.h63 explicit BlockingCounter(int initial_count) in BlockingCounter() argument
64 : count_(initial_count), num_waiting_(0) {} in BlockingCounter()
/external/openscreen/third_party/abseil/src/absl/synchronization/
Dblocking_counter.h63 explicit BlockingCounter(int initial_count) in BlockingCounter() argument
64 : count_(initial_count), num_waiting_(0) {} in BlockingCounter()
/external/libtextclassifier/abseil-cpp/absl/synchronization/
Dblocking_counter.h63 explicit BlockingCounter(int initial_count) in BlockingCounter() argument
64 : count_(initial_count), num_waiting_(0) {} in BlockingCounter()
/external/ruy/ruy/
Dblocking_counter.cc23 void BlockingCounter::Reset(int initial_count) { in Reset() argument
27 count_.store(initial_count, std::memory_order_release); in Reset()
Dblocking_counter.h41 void Reset(int initial_count);
/external/libgav1/libgav1/src/utils/
Dblocking_counter.h39 explicit BlockingCounterImpl(int initial_count) in BlockingCounterImpl() argument
40 : count_(initial_count), job_failed_(false) {} in BlockingCounterImpl()
/external/tensorflow/tensorflow/core/common_runtime/
Dimmutable_executor_state.cc49 size_t initial_count; in GetMaxPendingCounts() local
60 initial_count = 1 + (num_control_edges << 1); in GetMaxPendingCounts()
62 initial_count = num_in_edges; in GetMaxPendingCounts()
65 *max_pending = initial_count; in GetMaxPendingCounts()
/external/llvm-project/lldb/source/Plugins/ObjectContainer/Universal-Mach-O/
DObjectContainerUniversalMachO.cpp219 const size_t initial_count = specs.GetSize(); in GetModuleSpecifications() local
237 return specs.GetSize() - initial_count; in GetModuleSpecifications()
/external/webrtc/api/task_queue/
Dtask_queue_test.cc196 explicit BlockingCounter(int initial_count) : count_(initial_count) {} in TEST_P() argument
/external/perfetto/src/protozero/filtering/
Dfilter_util.cc166 const size_t initial_count = descriptors_.size(); in Dedupe() local
216 removed_count, initial_count, field_count); in Dedupe()
/external/llvm-project/lldb/source/Plugins/ObjectContainer/BSD-Archive/
DObjectContainerBSDArchive.cpp460 const size_t initial_count = specs.GetSize(); in GetModuleSpecifications() local
501 size_t num_specs_added = end_count - initial_count; in GetModuleSpecifications()
505 for (size_t i = initial_count; i < end_count; ++i) { in GetModuleSpecifications()
/external/llvm-project/lldb/source/Symbol/
DObjectFile.cpp236 const size_t initial_count = specs.GetSize(); in GetModuleSpecifications() local
246 return specs.GetSize() - initial_count; in GetModuleSpecifications()
256 return specs.GetSize() - initial_count; in GetModuleSpecifications()
DLineTable.cpp450 const size_t initial_count = file_ranges.GetSize(); in GetContiguousFileAddressRanges() local
468 return file_ranges.GetSize() - initial_count; in GetContiguousFileAddressRanges()
/external/llvm-project/lldb/source/Plugins/ObjectFile/PECOFF/
DObjectFilePECOFF.cpp136 const size_t initial_count = specs.GetSize(); in GetModuleSpecifications() local
138 return initial_count; in GetModuleSpecifications()
151 return initial_count; in GetModuleSpecifications()
156 return initial_count; in GetModuleSpecifications()
187 return specs.GetSize() - initial_count; in GetModuleSpecifications()
/external/gemmlowp/internal/
Dmulti_thread_gemm.h153 void Reset(std::size_t initial_count) { in Reset() argument
157 count_.store(initial_count, std::memory_order_release); in Reset()
/external/crosvm/devices/src/
Dpit.rs702 fn load_and_start_timer(&mut self, initial_count: u32) { in load_and_start_timer()
703 self.count = adjust_count(initial_count); in load_and_start_timer()
/external/llvm-project/lldb/source/Core/
DModule.cpp604 const uint32_t initial_count = sc_list.GetSize(); in ResolveSymbolContextsForFileSpec() local
610 return sc_list.GetSize() - initial_count; in ResolveSymbolContextsForFileSpec()
/external/llvm-project/lldb/source/Plugins/ObjectFile/ELF/
DObjectFileELF.cpp503 const size_t initial_count = specs.GetSize(); in GetModuleSpecifications() local
620 return specs.GetSize() - initial_count; in GetModuleSpecifications()

12