Searched defs:capacity (Results 1 - 20 of 20) sorted by relevance

/frameworks/av/media/libaah_rtp/
H A Daah_rx_player_ring_buffer.cpp25 AAH_RXPlayer::RXRingBuffer::RXRingBuffer(uint32_t capacity) { argument
26 capacity_ = capacity;
28 ring_ = new PacketBuffer*[capacity];
29 memset(ring_, 0, sizeof(PacketBuffer*) * capacity);
111 // If norm_seq >= (capacity - 1), then the gap is so large that it would
H A Daah_tx_sender.cpp546 CircularBuffer<T>::CircularBuffer(size_t capacity) argument
547 : mCapacity(capacity)
551 mBuffer = new T[capacity];
/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/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/compile/mclinker/include/mcld/LD/
H A DSectionMerger.h64 size_t capacity () const function in class:mcld::SectionMerger
65 { return m_LDSectionMap.capacity(); }
H A DSectionMap.h68 size_t capacity () const function in class:mcld::SectionMap
69 { return m_SectMap.capacity(); }
H A DStringUnorderedMap.h79 size_t capacity() const function in class:mcld::StringUnorderedMap
/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/native/include/utils/
H A DSortedVector.h67 inline size_t capacity() const { return VectorImpl::capacity(); } function in class:android::SortedVector
68 //! setst the capacity. capacity can never be reduced less than size()
H A DKeyedVector.h56 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 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 DVector.h78 inline size_t capacity() const { return VectorImpl::capacity(); } function in class:android::Vector
79 //! setst the capacity. capacity can never be reduced less than size()
/frameworks/compile/mclinker/lib/LD/
H A DStrSymPool.cpp143 StrSymPool::size_type StrSymPool::capacity() const function in class:StrSymPool
/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/compile/mclinker/include/mcld/Support/
H A DGCFactory.h196 unsigned int capacity() const function in class:mcld::GCFactoryBase
/frameworks/native/libs/utils/
H A DVectorImpl.cpp90 sb = SharedBuffer::alloc(capacity() * mItemSize);
101 size_t VectorImpl::capacity() const function in class:android::VectorImpl
294 ALOG_ASSERT(index<capacity(),
295 "[%p] editItemLocation: index=%d, capacity=%d, count=%d",
296 this, (int)index, (int)capacity(), (int)mCount);
306 ALOG_ASSERT(index<capacity(),
307 "[%p] itemLocation: index=%d, capacity=%d, count=%d",
308 this, (int)index, (int)capacity(), (int)mCount);
318 size_t current_capacity = capacity();
321 // we can't reduce the capacity
[all...]
/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.cpp425 long capacity = env->GetDirectBufferCapacity(jBuffer); local
426 if (capacity == -1) {
431 //ALOGV("capacity = %ld", capacity);
440 capacity < sizeInBytes ? capacity : sizeInBytes);
/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/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...]

Completed in 500 milliseconds