/frameworks/base/include/utils/ |
H A D | SortedVector.h | 65 inline size_t capacity() const { return VectorImpl::capacity(); } function in class:android::SortedVector 66 //! setst the capacity. capacity can never be reduced less than size()
|
H A D | KeyedVector.h | 56 inline size_t capacity() const { return mVector.capacity(); } function in class:android::KeyedVector 57 //! setst the capacity. capacity can never be reduced less than size()
|
H A D | Vector.h | 71 inline size_t capacity() const { return VectorImpl::capacity(); } function in class:android::Vector 72 //! setst the capacity. capacity can never be reduced less than size()
|
/frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/ |
H A D | memblock.h | 51 inline size_type capacity (void) const { return (m_Capacity); } function in class:ustl::memblock
|
H A D | sostream.h | 66 inline size_type capacity (void) const { return (m_Buffer.capacity()); } function in class:ustl::ostringstream
|
H A D | uvector.h | 57 inline size_type capacity (void) const { return (m_Data.capacity() / sizeof(T)); } function in class:ustl::vector 113 const size_type oldCapacity = capacity(); 115 if (capacity() > oldCapacity) 116 construct (begin() + oldCapacity, begin() + capacity()); 123 if (m_Data.capacity() < n * sizeof(T)) 133 destroy (begin(), begin() + capacity());
|
H A D | ustring.h | 69 inline size_type capacity (void) const { size_type c (memblock::capacity()); return (c - !!c); } function in class:ustl::string
|
/frameworks/base/awt/org/apache/harmony/awt/gl/ |
H A D | MultiRectAreaOp.java | 28 * Rectangle buffer capacity 40 public static int[] createBuf(int capacity) { argument 41 if (capacity == 0) { 42 capacity = RECT_CAPACITY; 44 int[] buf = new int[capacity]; 52 public static int[] checkBufSize(int[] buf, int capacity) { argument 53 if (buf[0] + capacity >= buf.length) { 54 int length = buf[0] + (capacity > RECT_CAPACITY ? capacity : RECT_CAPACITY); 59 buf[0] += capacity; [all...] |
/frameworks/base/libs/utils/ |
H A D | VectorImpl.cpp | 90 sb = SharedBuffer::alloc(capacity() * mItemSize); 101 size_t VectorImpl::capacity() const function in class:android::VectorImpl 279 LOG_ASSERT(index<capacity(), 280 "[%p] itemLocation: index=%d, capacity=%d, count=%d", 281 this, (int)index, (int)capacity(), (int)mCount); 291 LOG_ASSERT(index<capacity(), 292 "[%p] editItemLocation: index=%d, capacity=%d, count=%d", 293 this, (int)index, (int)capacity(), (int)mCount); 303 size_t current_capacity = capacity(); 306 // we can't reduce the capacity [all...] |
/frameworks/base/core/jni/ |
H A D | android_util_EventLog.cpp | 52 size_t capacity; member in struct:android::ByteBuf 58 capacity = initSize; 67 if (spaceNeeded > capacity) { 68 size_t newCapacity = MAX(spaceNeeded, 2 * capacity); 73 capacity = newCapacity;
|
H A D | android_media_AudioRecord.cpp | 361 long capacity = env->GetDirectBufferCapacity(jBuffer); local 362 if(capacity == -1) { 367 //LOGV("capacity = %ld", capacity); 376 capacity < sizeInBytes ? capacity : sizeInBytes);
|
/frameworks/base/core/java/android/os/ |
H A D | Bundle.java | 101 * @param capacity the initial capacity of the Bundle 103 public Bundle(int capacity) { argument 104 mMap = new HashMap<String, Object>(capacity);
|