Searched defs:capacity (Results 1 - 19 of 19) sorted by path

/frameworks/av/include/media/stagefright/foundation/
H A DABuffer.h32 ABuffer(size_t capacity);
33 ABuffer(void *data, size_t capacity);
39 size_t capacity() const { return mCapacity; } function in struct:android::ABuffer
/frameworks/av/media/libstagefright/foundation/
H A DABuffer.cpp25 ABuffer::ABuffer(size_t capacity) argument
26 : mData(malloc(capacity)),
27 mCapacity(capacity),
29 mRangeLength(capacity),
34 ABuffer::ABuffer(void *data, size_t capacity) argument
36 mCapacity(capacity),
38 mRangeLength(capacity),
/frameworks/base/core/java/android/os/
H A DBundle.java102 * @param capacity the initial capacity of the Bundle
104 public Bundle(int capacity) { argument
105 mMap = new HashMap<String, Object>(capacity);
/frameworks/base/core/jni/
H A Dandroid_database_CursorWindow.cpp250 jsize capacity = env->GetArrayLength(dataObj); local
251 if (size_t(capacity) < size) {
257 jsize capacity = size; local
258 if (capacity < 64) {
259 capacity = 64;
261 dataObj = env->NewCharArray(capacity); // might throw OOM
H A Dandroid_media_AudioRecord.cpp424 long capacity = env->GetDirectBufferCapacity(jBuffer); local
425 if (capacity == -1) {
430 //ALOGV("capacity = %ld", capacity);
439 capacity < sizeInBytes ? capacity : sizeInBytes);
/frameworks/base/libs/hwui/utils/
H A DSortedList.h59 inline size_t capacity() const { function in class:android::uirenderer::SortedList
60 return VectorImpl::capacity();
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DNativeFrame.java40 int capacity = format.getSize();
41 nativeAllocate(capacity);
42 setReusable(capacity != 0);
234 private native boolean nativeAllocate(int capacity); argument
/frameworks/base/media/mca/filterfw/native/core/
H A Dshader_program.cpp386 GLint capacity; local
391 glGetActiveUniform(program_, i, buffer_size, NULL, &capacity, &type, &name[0]);
715 GLint capacity; local
718 glGetActiveUniform(program_, IndexOfUniform(var), 128, NULL, &capacity, &type, name);
722 if (!CheckValueCount("Uniform (int)", name, capacity, components, count)
766 GLint capacity; local
769 glGetActiveUniform(program_, IndexOfUniform(var), 128, NULL, &capacity, &type, name);
773 if (!CheckValueCount("Uniform (float)", name, capacity, components, count)
842 GLint capacity; local
844 glGetActiveUniform(program_, IndexOfUniform(var), 0, NULL, &capacity,
[all...]
/frameworks/compile/mclinker/include/mcld/LD/
H A DSectionMap.h66 size_t capacity () const function in class:mcld::SectionMap
67 { return m_SectMap.capacity(); }
H A DSectionMerger.h64 size_t capacity () const function in class:mcld::SectionMerger
65 { return m_LDSectionMap.capacity(); }
H A DStringUnorderedMap.h79 size_t capacity() const function in class:mcld::StringUnorderedMap
/frameworks/compile/mclinker/include/mcld/Support/
H A DGCFactory.h196 unsigned int capacity() const function in class:mcld::GCFactoryBase
/frameworks/compile/mclinker/lib/LD/
H A DNamePool.cpp120 NamePool::size_type NamePool::capacity() const function in class:NamePool
/frameworks/native/include/utils/
H A DBasicHashtable.h114 // number of entries and returns its effective capacity.
172 /* Creates a hashtable with the specified minimum initial capacity.
175 * minimumInitialCapacity: The minimum initial capacity for the hashtable.
207 /* Returns the capacity of the hashtable, which is the number of elements that can
210 inline size_t capacity() const { function in class:android::BasicHashtable
286 * If the entry will not fit, then the hashtable's capacity is increased and
311 * Grows the hashtable to at least the specified minimum capacity or the
319 * Rehashing is the only way to change the capacity or load factor of the
321 * hashtable by choosing a minimum capacity that is smaller than the current
322 * capacity (suc
[all...]
H A DKeyedVector.h58 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 DSortedVector.h69 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 DVector.h79 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()
/frameworks/native/libs/utils/
H A DVectorImpl.cpp90 sb = SharedBuffer::alloc(capacity() * mItemSize);
101 size_t VectorImpl::capacity() const function in class:android::VectorImpl
298 ALOG_ASSERT(index<capacity(),
299 "[%p] editItemLocation: index=%d, capacity=%d, count=%d",
300 this, (int)index, (int)capacity(), (int)mCount);
302 if (index < capacity()) {
313 ALOG_ASSERT(index<capacity(),
314 "[%p] itemLocation: index=%d, capacity=%d, count=%d",
315 this, (int)index, (int)capacity(), (int)mCount);
317 if (index < capacity()) {
[all...]
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer.h290 capacity(0), list(NULL),
304 size_t capacity; member in struct:android::HWComposer::DisplayData

Completed in 207 milliseconds