/system/bt/osi/src/ |
D | array.cc | 33 size_t capacity; member 49 array->capacity = INTERNAL_ELEMENTS; in array_new() 83 if (array->length == array->capacity && !grow(array)) { in array_append_ptr() 87 __func__, array->capacity, array->element_size); in array_append_ptr() 97 const size_t new_capacity = array->capacity + (array->capacity / 2); in grow() 109 array->capacity = new_capacity; in grow()
|
D | fixed_queue.cc | 36 size_t capacity; member 45 fixed_queue_t* fixed_queue_new(size_t capacity) { in fixed_queue_new() argument 50 ret->capacity = capacity; in fixed_queue_new() 55 ret->enqueue_sem = semaphore_new(capacity); in fixed_queue_new() 113 return queue->capacity; in fixed_queue_capacity()
|
/system/chre/util/tests/ |
D | dynamic_vector_test.cc | 60 EXPECT_EQ(vector.capacity(), 0); in TEST() 68 EXPECT_EQ(vector.capacity(), 1); in TEST() 82 EXPECT_EQ(vector.capacity(), 4); in TEST() 90 EXPECT_EQ(vector.capacity(), 8); in TEST() 158 EXPECT_EQ(vector.capacity(), 8); in TEST() 202 EXPECT_EQ(vector.capacity(), 8); in TEST() 327 ASSERT_EQ(vector.capacity(), 1); in TEST() 333 ASSERT_EQ(vector.capacity(), 2); in TEST() 340 ASSERT_EQ(vector.capacity(), 4); in TEST() 348 ASSERT_EQ(vector.capacity(), 4); in TEST() [all …]
|
D | priority_queue_test.cc | 46 EXPECT_EQ(0, q.capacity()); in TEST() 88 EXPECT_EQ(1, q.capacity()); in TEST() 90 EXPECT_EQ(2, q.capacity()); in TEST() 92 EXPECT_EQ(4, q.capacity()); in TEST()
|
D | fixed_size_vector_test.cc | 47 ASSERT_EQ(testVector.capacity(), 8); in TEST() 57 ASSERT_EQ(testVector.capacity(), 8); in TEST()
|
/system/bt/common/ |
D | leaky_bonded_queue.h | 45 LeakyBondedQueue(size_t capacity); 95 LeakyBondedQueue<T>::LeakyBondedQueue(size_t capacity) { in LeakyBondedQueue() argument 96 capacity_ = capacity; in LeakyBondedQueue()
|
/system/bt/packet/tests/base/ |
D | packet_builder_test.cc | 47 ASSERT_EQ(packet->GetData().capacity(), 0u); in TEST() 52 ASSERT_GE(packet->GetData().capacity(), test_l2cap_data.size()); in TEST()
|
/system/core/libutils/ |
D | VectorImpl.cpp | 106 size_t VectorImpl::capacity() const in capacity() function in android::VectorImpl 306 ALOG_ASSERT(index<capacity(), in editItemLocation() 308 this, (int)index, (int)capacity(), (int)mCount); in editItemLocation() 310 if (index < capacity()) { in editItemLocation() 321 ALOG_ASSERT(index<capacity(), in itemLocation() 323 this, (int)index, (int)capacity(), (int)mCount); in itemLocation() 325 if (index < capacity()) { in itemLocation() 339 return capacity(); in setCapacity() 389 if (capacity() < new_size) { in _grow() 468 if (new_size < (capacity() / 2)) { in _shrink()
|
D | Vector_test.cpp | 90 ASSERT_EQ(8U, vector.capacity()); in TEST_F() 92 ASSERT_EQ(8U, vector.capacity()); in TEST_F()
|
/system/media/audio_utils/include/audio_utils/ |
D | fifo.h | 53 uint32_t capacity() const in capacity() function 307 uint32_t capacity() const in capacity() function 308 { return mFifo.capacity(); } in capacity()
|
/system/core/base/ |
D | file_test.cpp | 264 EXPECT_LT(s.capacity(), size + 16); in TEST() 271 EXPECT_LT(s.capacity(), size + 16); in TEST() 278 EXPECT_LT(s.capacity(), size + 16); in TEST() 290 size_t initial_capacity = s.capacity(); in TEST() 294 EXPECT_EQ(initial_capacity, s.capacity()); in TEST()
|
/system/extras/simpleperf/ |
D | UnixSocket.h | 57 explicit UnixSocketMessageBuffer(size_t capacity) in UnixSocketMessageBuffer() argument 58 : data_(capacity), read_head_(0), valid_bytes_(0) {} in UnixSocketMessageBuffer()
|
/system/bt/osi/include/ |
D | fixed_queue.h | 37 fixed_queue_t* fixed_queue_new(size_t capacity);
|
/system/chre/util/include/chre/util/ |
D | priority_queue_impl.h | 44 size_t PriorityQueue<ElementType, CompareFunction>::capacity() const { in capacity() function 45 return mData.capacity(); in capacity()
|
D | priority_queue.h | 61 size_t capacity() const;
|
D | fixed_size_vector.h | 75 size_t capacity() const;
|
D | dynamic_vector.h | 102 size_type capacity() const;
|
D | fixed_size_vector_impl.h | 74 size_t FixedSizeVector<ElementType, kCapacity>::capacity() const { in capacity() function
|
/system/bt/proto/bluetooth/metrics/ |
D | bluetooth.proto | 43 // Number of BluetoothSession including discarded ones beyond capacity 46 // Number of PairEvent including discarded ones beyond capacity 49 // Number of WakeEvent including discarded ones beyond capacity 52 // Number of ScanEvent including discarded ones beyond capacity
|
/system/core/libutils/include/utils/ |
D | KeyedVector.h | 59 inline size_t capacity() const { return mVector.capacity(); } in capacity() function
|
D | SortedVector.h | 70 inline size_t capacity() const { return VectorImpl::capacity(); } in capacity() function
|
D | VectorImpl.h | 65 size_t capacity() const;
|
D | Vector.h | 93 inline size_t capacity() const { return VectorImpl::capacity(); } in capacity() function
|
/system/media/audio_utils/tests/ |
D | statistics_benchmark.cpp | 27 const size_t count = data.capacity(); in initUniform()
|
/system/extras/boottime_tools/bootanalyze/stressfs/src/com/android/car/test/stressfs/ |
D | WritingService.java | 147 for (int i = 0; i < builder.capacity(); i++) { in onBind()
|