/frameworks/native/include/utils/ |
H A D | BasicHashtable.h | 114 // 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 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()
|
H A D | VectorImpl.h | 65 size_t capacity() const;
|
/frameworks/native/libs/utils/ |
H A D | VectorImpl.cpp | 90 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/libs/utils/tests/ |
H A D | BasicHashtable_test.cpp | 159 ALOGD("hashtable %p, size=%u, capacity=%u, bucketCount=%u", 160 &h, h.size(), h.capacity(), h.bucketCount()); 182 EXPECT_EQ(3U, h.capacity()); 191 EXPECT_EQ(77U, h.capacity()); 200 EXPECT_EQ(46U, h.capacity()); // must be one less than bucketCount because loadFactor == 1.0f 209 EXPECT_EQ(46U, h.capacity()); // must be one less than bucketCount because loadFactor == 1.0f 315 EXPECT_EQ(3U, h.capacity()); 327 EXPECT_EQ(3U, h.capacity()); 342 EXPECT_EQ(3U, h.capacity()); 360 EXPECT_EQ(3U, h.capacity()); [all...] |
/frameworks/native/opengl/tests/testViewport/src/com/android/test/ |
H A D | TestView.java | 197 gl11.glBufferData(GL11.GL_ARRAY_BUFFER, mVertexByteBuffer.capacity(), mVertexByteBuffer, GL11.GL_STATIC_DRAW); 201 gl11.glBufferData(GL11.GL_ELEMENT_ARRAY_BUFFER, mIndexBuffer.capacity() * CHAR_SIZE, mIndexBuffer, GL11.GL_STATIC_DRAW);
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | HWComposer.cpp | 497 if (disp.capacity < numLayers || disp.list == NULL) { 502 disp.capacity = numLayers;
|
H A D | HWComposer.h | 290 capacity(0), list(NULL), 304 size_t capacity; member in struct:android::HWComposer::DisplayData
|
/frameworks/compile/mclinker/include/mcld/LD/ |
H A D | NamePool.h | 95 // ----- capacity ----- // 98 size_type capacity() const;
|
H A D | SectionMap.h | 66 size_t capacity () const function in class:mcld::SectionMap 67 { return m_SectMap.capacity(); }
|
H A D | SectionMerger.h | 64 size_t capacity () const function in class:mcld::SectionMerger 65 { return m_LDSectionMap.capacity(); }
|
H A D | StringUnorderedMap.h | 79 size_t capacity() const function in class:mcld::StringUnorderedMap
|
/frameworks/compile/mclinker/include/mcld/Support/ |
H A D | GCFactory.h | 196 unsigned int capacity() const function in class:mcld::GCFactoryBase
|
/frameworks/compile/mclinker/lib/LD/ |
H A D | NamePool.cpp | 120 NamePool::size_type NamePool::capacity() const function in class:NamePool
|
/frameworks/base/services/input/ |
H A D | EventHub.cpp | 647 size_t capacity = bufferSize; 675 if (--capacity == 0) { 696 if (--capacity == 0) { 706 if (--capacity == 0) { 750 sizeof(struct input_event) * capacity); 754 "capacity: %d errno: %d)\n", 755 device->fd, readSize, bufferSize, capacity, errno); 833 capacity -= count; 834 if (capacity == 0) {
|
/frameworks/base/libs/hwui/utils/ |
H A D | SortedList.h | 59 inline size_t capacity() const { function in class:android::uirenderer::SortedList 60 return VectorImpl::capacity();
|
/frameworks/base/media/java/android/media/ |
H A D | MediaPlayer.java | 1249 int capacity = request.dataSize() + 4 * (1 + allow.size() + 1 + block.size()); 1251 if (request.dataCapacity() < capacity) { 1252 request.setDataCapacity(capacity);
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaCodec.cpp | 247 buffer->capacity());
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | NativeFrame.java | 40 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 D | shader_program.cpp | 386 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/av/media/libstagefright/foundation/ |
H A D | ABuffer.cpp | 25 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/media/libstagefright/httplive/ |
H A D | LiveSession.cpp | 266 size_t bufferRemaining = buffer->capacity() - buffer->size();
|
/frameworks/av/media/libstagefright/mp4/ |
H A D | FragmentedMP4Parser.cpp | 440 size_t maxBytesToRead = mBuffer->capacity() - mBuffer->size(); 451 maxBytesToRead = mBuffer->capacity() - mBuffer->size();
|