Searched refs:capacity (Results 26 - 50 of 53) sorted by relevance

123

/frameworks/native/include/utils/
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()
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 DVectorImpl.h65 size_t capacity() const;
/frameworks/compile/mclinker/include/mcld/LD/
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/av/media/libstagefright/mpeg2ts/
H A DMPEG2PSExtractor.cpp165 if (mBuffer->size() + kChunkSize > mBuffer->capacity()) {
166 size_t newCapacity = mBuffer->capacity() + kChunkSize;
H A DATSParser.cpp558 if (mBuffer->capacity() < neededSize) {
1255 if (mBuffer == NULL || mBuffer->size() + size > mBuffer->capacity()) {
1257 (mBuffer == NULL) ? size : mBuffer->capacity() + size;
H A DESQueue.cpp265 if (mBuffer == NULL || neededSize > mBuffer->capacity()) {
/frameworks/av/media/libstagefright/
H A DMediaCodec.cpp596 new ABuffer(info.mData->capacity());
1208 if (csd->size() > codecInputData->capacity()) {
1366 if (offset + size > info->mData->capacity()) {
1383 if (size > info->mEncryptedData->capacity()) {
H A DMPEG2TSWriter.cpp212 CHECK_LE(out->size() + 4 + length, out->capacity());
235 CHECK_LE(out->size() + 4 + length, out->capacity());
283 > mAACBuffer->capacity()) {
H A DNuMediaExtractor.cpp434 if (buffer->capacity() < sampleSize) {
H A DAVIExtractor.cpp237 size_t prevCapacity = (mBuffer != NULL) ? mBuffer->capacity() : 0;
/frameworks/base/core/jni/android/graphics/
H A DTextLayoutCache.cpp317 return sizeof(TextLayoutValue) + sizeof(jfloat) * mAdvances.capacity() +
318 sizeof(jchar) * mGlyphs.capacity() + sizeof(jfloat) * mPos.capacity();
/frameworks/base/media/java/android/media/
H A DMediaPlayer.java1249 int capacity = request.dataSize() + 4 * (1 + allow.size() + 1 + block.size());
1251 if (request.dataCapacity() < capacity) {
1252 request.setDataCapacity(capacity);
/frameworks/av/media/libstagefright/wifi-display/source/
H A DConverter.cpp471 if (copy == partialAudioAU->capacity() - 4) {
H A DSender.cpp599 CHECK_LE(mTSQueue->size() + size, mTSQueue->capacity());
604 if (flush || mTSQueue->size() == mTSQueue->capacity()) {
H A DTSPacketizer.cpp816 CHECK(packetDataStart == buffer->data() + buffer->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/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer.cpp497 if (disp.capacity < numLayers || disp.list == NULL) {
502 disp.capacity = numLayers;
/frameworks/av/cmds/stagefright/
H A DSimplePlayer.cpp359 CHECK_LE(srcBuffer->size(), dstBuffer->capacity());
H A Dsf2.cpp434 size_t sizeLeft = outBuffer->capacity();
/frameworks/av/media/libstagefright/httplive/
H A DLiveSession.cpp266 size_t bufferRemaining = buffer->capacity() - buffer->size();
/frameworks/av/media/libstagefright/rtsp/
H A DARTPConnection.cpp388 buffer->capacity(),
/frameworks/av/media/libstagefright/wifi-display/sink/
H A DRTPSink.cpp746 if (numReportBlocks > 31 || buf->size() + 24 > buf->capacity()) {
/frameworks/av/media/libstagefright/mp4/
H A DFragmentedMP4Parser.cpp440 size_t maxBytesToRead = mBuffer->capacity() - mBuffer->size();
451 maxBytesToRead = mBuffer->capacity() - mBuffer->size();

Completed in 343 milliseconds

123