Searched defs:capacity (Results 1 - 8 of 8) sorted by last modified time
/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/healthd/ |
H A D | healthd_mode_charger.cpp | 104 /* current capacity being animated */ 105 int capacity; member in struct:animation 168 .capacity = 0, 326 if (batt_anim->capacity < 0 || batt_anim->num_frames == 0) 395 /* find first frame given current capacity */ 406 batt_anim->capacity = batt_prop->batteryLevel; 419 if (batt_anim->num_frames == 0 || batt_anim->capacity < 0) { 524 if (charger->batt_anim->capacity >= charger->boot_min_cap) { 571 * Need to show the correct level corresponding to capacity.
|
/system/core/include/utils/ |
H A D | KeyedVector.h | 58 inline size_t capacity() const { return mVector.capacity(); } function in class:android::KeyedVector 59 //! sets the capacity. capacity can never be reduced less than size()
|
H A D | SortedVector.h | 69 inline size_t capacity() const { return VectorImpl::capacity(); } function in class:android::SortedVector 70 //! sets the capacity. capacity can never be reduced less than size()
|
H A D | Vector.h | 79 inline size_t capacity() const { return VectorImpl::capacity(); } function in class:android::Vector 80 //! sets the capacity. capacity can never be reduced less than size()
|
/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/bt/osi/src/ |
H A D | array.c | 33 size_t capacity; member in struct:array_t 48 array->capacity = INTERNAL_ELEMENTS; 86 if (array->length == array->capacity && !grow(array)) { 87 LOG_ERROR(LOG_TAG, "%s unable to grow array past current capacity of %zu elements of size %zu.", __func__, array->capacity, array->element_size); 97 const size_t new_capacity = array->capacity + (array->capacity / 2); 108 array->capacity = new_capacity;
|
H A D | fixed_queue.c | 35 size_t capacity; member in struct:fixed_queue_t 44 fixed_queue_t *fixed_queue_new(size_t capacity) { argument 48 ret->capacity = capacity; 54 ret->enqueue_sem = semaphore_new(capacity); 111 return queue->capacity;
|
Completed in 204 milliseconds