/system/bt/osi/include/ |
H A D | leaky_bonded_queue.h | 30 * reaching its capacity. This is useful in creating memory bonded data 43 LeakyBondedQueue(size_t capacity); 68 * Returns the defined capacity of the queue 93 LeakyBondedQueue<T>::LeakyBondedQueue(size_t capacity) { argument 94 capacity_ = capacity;
|
/system/chre/util/include/chre/util/ |
H A D | fixed_size_vector_impl.h | 43 size_t FixedSizeVector<ElementType, kCapacity>::capacity() const { function in class:chre::FixedSizeVector
|
H A D | priority_queue_impl.h | 42 size_t PriorityQueue<ElementType, CompareFunction>::capacity() const { function in class:chre::PriorityQueue 43 return mData.capacity(); 109 // TODO: consider resizing the dynamic array to mData.capacity()/2 110 // when mData.size() <= mData.capacity()/4.
|
H A D | dynamic_vector_impl.h | 75 size_t DynamicVector<ElementType>::capacity() const { function in class:chre::DynamicVector
|
/system/core/include/utils/ |
H A D | KeyedVector.h | 57 inline size_t capacity() const { return mVector.capacity(); } function in class:android::KeyedVector 58 //! sets the capacity. capacity can never be reduced less than size()
|
H A D | SortedVector.h | 68 inline size_t capacity() const { return VectorImpl::capacity(); } function in class:android::SortedVector 69 //! sets the capacity. capacity can never be reduced less than size()
|
H A D | Vector.h | 91 inline size_t capacity() const { return VectorImpl::capacity(); } function in class:android::Vector 92 //! sets the capacity. capacity can never be reduced less than size()
|
/system/core/libutils/include/utils/ |
H A D | KeyedVector.h | 57 inline size_t capacity() const { return mVector.capacity(); } function in class:android::KeyedVector 58 //! sets the capacity. capacity can never be reduced less than size()
|
H A D | SortedVector.h | 68 inline size_t capacity() const { return VectorImpl::capacity(); } function in class:android::SortedVector 69 //! sets the capacity. capacity can never be reduced less than size()
|
H A D | Vector.h | 91 inline size_t capacity() const { return VectorImpl::capacity(); } function in class:android::Vector 92 //! sets the capacity. capacity can never be reduced less than size()
|
/system/bt/osi/src/ |
H A D | array.cc | 33 size_t capacity; member in struct:array_t 49 array->capacity = INTERNAL_ELEMENTS; 83 if (array->length == array->capacity && !grow(array)) { 85 "%s unable to grow array past current capacity of %zu elements " 87 __func__, array->capacity, array->element_size); 97 const size_t new_capacity = array->capacity + (array->capacity / 2); 109 array->capacity = new_capacity;
|
H A D | fixed_queue.cc | 36 size_t capacity; member in struct:fixed_queue_t 45 fixed_queue_t* fixed_queue_new(size_t capacity) { argument 50 ret->capacity = capacity; 55 ret->enqueue_sem = semaphore_new(capacity); 113 return queue->capacity;
|
/system/extras/tests/sdcard/ |
H A D | stopwatch.cpp | 54 StopWatch::StopWatch(const char *name, size_t capacity) argument 55 : mName(strdup(name)), mNum(0), mData(NULL), mDataLen(0), mCapacity(capacity * 2), 145 // Normally we should have enough capacity but if we have to 148 // a capacity when building the StopWatch. 154 fprintf(stderr, "# Increased capacity to %d for %s. Measurement affected.\n",
|
/system/core/libutils/ |
H A D | VectorImpl.cpp | 108 size_t VectorImpl::capacity() const function in class:android::VectorImpl 308 ALOG_ASSERT(index<capacity(), 309 "[%p] editItemLocation: index=%d, capacity=%d, count=%d", 310 this, (int)index, (int)capacity(), (int)mCount); 312 if (index < capacity()) { 323 ALOG_ASSERT(index<capacity(), 324 "[%p] itemLocation: index=%d, capacity=%d, count=%d", 325 this, (int)index, (int)capacity(), (int)mCount); 327 if (index < capacity()) { 338 // The capacity mus [all...] |
/system/extras/simpleperf/ |
H A D | UnixSocket.h | 57 explicit UnixSocketMessageBuffer(size_t capacity) argument 58 : data_(capacity), read_head_(0), valid_bytes_(0) {}
|
/system/media/audio_utils/include/audio_utils/ |
H A D | fifo.h | 49 * Return the capacity, or statically configured maximum frame count. 51 * \return The capacity in frames. 53 uint32_t capacity() const function in class:audio_utils_fifo_base 62 * aka "capacity". 105 /** Maximum usable frames to be stored in the FIFO > 0 && <= INT32_MAX, aka "capacity". */ 150 * aka "capacity". 166 * aka "capacity". 242 * iovec[0].mOffset and iovec[1].mOffset are always < capacity. 298 * Return the capacity, or statically configured maximum frame count. 300 * \return The capacity i 302 uint32_t capacity() const function in class:audio_utils_fifo_provider [all...] |