Home
last modified time | relevance | path

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

/system/memory/libmemunreachable/
DSemaphore.h29 explicit Semaphore(int count = 0) : count_(count) {} in count_() function
35 if (count_ > 0) { in Wait()
36 count_--; in Wait()
45 count_++; in Post()
53 int count_; variable
/system/bt/gd/os/
Dqueue_benchmark.cc60 : count_(count), handler_(handler), queue_(queue), promise_(promise) {} in TestEnqueueEnd()
85 count_--; in EnqueueCallbackForTest()
86 if (count_ == 0) { in EnqueueCallbackForTest()
94 int64_t count_; member in bluetooth::os::TestEnqueueEnd
110 : count_(count), handler_(handler), queue_(queue), promise_(promise) {} in TestDequeueEnd()
120 count_--; in DequeueCallbackForTest()
121 if (count_ == 0) { in DequeueCallbackForTest()
128 int64_t count_; member in bluetooth::os::TestDequeueEnd
/system/core/libunwindstack/
DSymbols.cpp34 count_(entry_size != 0 ? size / entry_size : 0), in Symbols()
71 size_t last = RemapIndices ? remap_->size() : count_; in BinarySearch()
94 addrs.reserve(count_); in BuildRemapTable()
96 remap_->reserve(count_); in BuildRemapTable()
97 for (size_t symbol_idx = 0; symbol_idx < count_;) { in BuildRemapTable()
101 size_t read = std::min<size_t>(sizeof(buffer), (count_ - symbol_idx) * entry_size_); in BuildRemapTable()
151 for (uint32_t i = 0; i < count_; i++) { in GetGlobal()
DSymbols.h65 const uint64_t count_; variable
/system/core/logd/
DLogReaderThread.cpp38 count_(0), in LogReaderThread()
124 ++count_; in FilterFirstPass()
141 if (non_block_ && tail_ && index_ >= count_) { in FilterSecondPass()
163 if (count_ > tail_ && index_ <= (count_ - tail_)) { in FilterSecondPass()
DLogReaderThread.h94 unsigned long count_; variable
/system/memory/libmeminfo/libdmabufinfo/include/dmabufinfo/
Ddmabufinfo.h34 : inode_(inode), size_(size), count_(count), exporter_(exporter), name_(name) { in DmaBuffer()
58 uint64_t count() const { return count_; }; in count()
64 void SetCount(uint64_t count) { count_ = count; } in SetCount()
75 uint64_t count_; member
/system/nvram/messages/tests/
Dio_test.cpp49 *p = static_cast<uint8_t>(count_++ % 256); in Advance()
60 size_t count_ = 0; member in nvram::__anon37fc1c570111::TestInputStreamBuffer
191 for (; check_pos_ < pos_; check_pos_++, count_++) { in Verify()
192 data_matches_ &= *check_pos_ == (count_ % 256); in Verify()
227 size_t count_ = 0; member in nvram::__anon37fc1c570211::TestOutputStreamBuffer
/system/bt/gd/packet/parser/test/
Dgenerated_packet_test.cc881 trn.count_ = 0x0302; in TEST()
904 ASSERT_EQ(one.count_, copy_trn.count_); in TEST()
917 trn.count_ = 0x0201 * i; in TEST()
938 ASSERT_EQ(one.count_, count_array[0].count_); in TEST()
941 ASSERT_EQ(two.count_, count_array[1].count_); in TEST()
955 trn.count_ = 0x0201 * i; in TEST()
985 ASSERT_EQ(array[i].count_, copy_array[i].count_); in TEST()
994 trn.count_ = 0x0201 * i; in TEST()
1024 ASSERT_EQ(array[i].count_, copy_array[i].count_); in TEST()
1079 trn.count_ = 0x0201 * i; in TEST()
[all …]