/frameworks/base/core/java/android/os/ |
H A D | PooledStringReader.java | 35 final int size = in.readInt(); 36 mPool = new String[size];
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | vertex_frame.h | 32 // Create a VertexFrame of the specified size (in bytes). 33 explicit VertexFrame(int size); 37 // Upload the given data to the vertex buffer. The size must match the size 39 // be able to fit within the allocated space (i.e. size must not exceed the 40 // frame's size). 41 bool WriteData(const uint8_t* data, int size); 43 // The size of the vertex buffer in bytes. 70 // The size of this frame in bytes
|
/frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/ext/ |
H A D | list_ext.kt | 22 public fun List<String>.joinToCamelCase(): String = when(size()) { 23 0 -> throw IllegalArgumentException("invalid section size, cannot be zero") 28 public fun List<String>.joinToCamelCaseAsVar(): String = when(size()) { 29 0 -> throw IllegalArgumentException("invalid section size, cannot be zero") 34 public fun Array<String>.joinToCamelCase(): String = when(size()) { 35 0 -> throw IllegalArgumentException("invalid section size, cannot be zero") 40 public fun Array<String>.joinToCamelCaseAsVar(): String = when(size()) { 41 0 -> throw IllegalArgumentException("invalid section size, cannot be zero")
|
/frameworks/ex/framesequence/jni/ |
H A D | Stream.h | 29 size_t peek(void* buffer, size_t size); 30 size_t read(void* buffer, size_t size); 36 virtual size_t doRead(void* buffer, size_t size) = 0; 46 MemoryStream(void* buffer, size_t size, jobject buf) : argument 48 mRemaining(size), 55 virtual size_t doRead(void* buffer, size_t size); 68 virtual size_t doRead(void* buffer, size_t size); 83 virtual size_t doRead(void* buffer, size_t size);
|
/frameworks/native/opengl/libagl/ |
H A D | BufferObjectManager.cpp | 45 GLsizei n = mBuffers.size(); 63 bo->size = 0; 70 GLsizeiptr size, GLenum usage) 73 if (size != bo->size) { 74 uint8_t* data = (uint8_t*)malloc(size); 79 bo->size = size; 69 allocateStore(buffer_t* bo, GLsizeiptr size, GLenum usage) argument
|
/frameworks/wilhelm/src/desktop/ |
H A D | OutputMixExt.h | 32 void (*FillBuffer)(SLOutputMixExtItf self, void *pBuffer, SLuint32 size); 48 extern void IOutputMixExt_FillBuffer(SLOutputMixExtItf self, void *pBuffer, SLuint32 size);
|
/frameworks/av/media/libstagefright/include/ |
H A D | ESDS.h | 29 ESDS(const void *data, size_t size); 35 status_t getCodecSpecificInfo(const void **data, size_t *size) const; 36 status_t getCodecSpecificOffset(size_t *offset, size_t *size) const; 60 size_t offset, size_t size, 64 status_t parseESDescriptor(size_t offset, size_t size); 65 status_t parseDecoderConfigDescriptor(size_t offset, size_t size);
|
/frameworks/base/libs/hwui/ |
H A D | FboCache.cpp | 35 INIT_LOGD(" Setting fbo cache size to %s", property); 38 INIT_LOGD(" Using default fbo cache size of %d", DEFAULT_FBO_CACHE_SIZE); 51 return mCache.size(); 63 for (size_t i = 0; i < mCache.size(); i++) { 72 if (mCache.size() > 0) { 73 fbo = mCache.itemAt(mCache.size() - 1); 74 mCache.removeAt(mCache.size() - 1); 82 if (mCache.size() < mMaxSize) {
|
/frameworks/base/libs/hwui/utils/ |
H A D | LinearAllocator.cpp | 34 // The ideal size of a page allocation (these need to be multiples of 8) 55 #define ADD_ALLOCATION(size) 56 #define RM_ALLOCATION(size) 72 static void _addAllocation(size_t size) { argument 74 s_totalAllocations += size; 78 #define ADD_ALLOCATION(size) _addAllocation(size); 79 #define RM_ALLOCATION(size) _addAllocation(-size); 84 void* operator new(std::size_t size, androi argument 150 fitsInCurrentPage(size_t size) argument 154 ensureNext(size_t size) argument 173 alloc(size_t size) argument [all...] |
/frameworks/av/media/libstagefright/ |
H A D | FileSource.cpp | 91 ssize_t FileSource::readAt(off64_t offset, void *data, size_t size) { argument 103 if ((int64_t)size > numAvailable) { 104 size = numAvailable; 110 return readAtDRM(offset, data, size); 118 return ::read(mFd, data, size); 122 status_t FileSource::getSize(off64_t *size) { argument 129 *size = mLength; 162 ssize_t FileSource::readAtDRM(off64_t offset, void *data, size_t size) { argument 169 && (offset + mOffset + size) <= (mDrmBufOffset + mDrmBufSize)) { 171 memcpy(data, (void*)(mDrmBuf+(offset+mOffset-mDrmBufOffset)), size); [all...] |
H A D | AVIExtractor.cpp | 173 size_t size; local 177 mTrackIndex, mSampleIndex, &offset, &size, &isKey, &timeUs); 188 ssize_t n = mExtractor->mDataSource->readAt(offset, out->data(), size); 190 if (n < (ssize_t)size) { 194 out->set_range(0, size); 240 CHECK(mBuffer == NULL || mBuffer->size() == 0); 246 memmove(mBuffer->base(), mBuffer->data(), mBuffer->size()); 247 mBuffer->setRange(0, mBuffer->size()); 251 || mBuffer->size() + buffer->range_length() > prevCapacity) { 257 memcpy(newBuffer->data(), mBuffer->data(), mBuffer->size()); 422 parseChunk(off64_t offset, off64_t size, int depth) argument 589 parseStreamHeader(off64_t offset, size_t size) argument 669 parseStreamFormat(off64_t offset, size_t size) argument 767 parseIndex(off64_t offset, size_t size) argument 846 size_t size; local 882 size_t size; local 1003 size_t size; local 1051 size_t size; local 1104 getSampleInfo( size_t trackIndex, size_t sampleIndex, off64_t *offset, size_t *size, bool *isKey, int64_t *sampleTimeUs) argument 1166 size_t size; local [all...] |
H A D | MetaData.cpp | 99 size_t size; local 100 if (!findData(key, &type, &data, &size) || type != TYPE_C_STRING) { 112 size_t size; local 113 if (!findData(key, &type, &data, &size) || type != TYPE_INT32) { 117 CHECK_EQ(size, sizeof(*value)); 127 size_t size; local 128 if (!findData(key, &type, &data, &size) || type != TYPE_INT64) { 132 CHECK_EQ(size, sizeof(*value)); 142 size_t size; local 143 if (!findData(key, &type, &data, &size) || typ 157 size_t size; local 175 size_t size; local 191 setData( uint32_t key, uint32_t type, const void *data, size_t size) argument 274 setData( uint32_t type, const void *data, size_t size) argument 293 allocateStorage(size_t size) argument [all...] |
/frameworks/opt/emoji/ |
H A D | EmojiFactory.cpp | 107 size_t size = g_factories->size(); local 108 for (size_t i = 0; i < size; ++i) { 125 size_t size = g_factories->size(); local 126 for (size_t i = 0; i < size; ++i) { 133 size_t size = g_handles->size(); local 134 for (size_t i = 0; i < size; ++i) { 153 size_t size local 166 size_t size = g_factories->size(); local [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
H A D | AAVCAssembler.cpp | 81 size_t size = buffer->size(); local 83 if (size < 1 || (data[0] & 0x80)) { 127 ALOGV("addSingleNALUnit of size %zu", buffer->size()); 129 hexdump(buffer->data(), buffer->size()); 145 size_t size = buffer->size(); local 147 if (size < 3) { 153 --size; 186 size_t size = buffer->size(); local 233 size_t size = buffer->size(); local [all...] |
/frameworks/av/media/libmedia/ |
H A D | IEffectClient.cpp | 69 int size = cmdSize; local 71 size = 0; 73 data.writeInt32(size); 74 if (size) { 75 data.write(pCmdData, size); 77 size = replySize; 79 size = 0; 81 data.writeInt32(size); 82 if (size) { 83 data.write(pReplyData, size); [all...] |
H A D | IHDCP.cpp | 97 const void *inData, size_t size, uint32_t streamCTR, 101 data.writeInt32(size); 102 data.write(inData, size); 115 reply.read(outData, size); 122 size_t offset, size_t size, uint32_t streamCTR, 128 data.writeInt32(size); 140 reply.read(outData, size); 146 const void *inData, size_t size, 151 data.writeInt32(size); 152 data.write(inData, size); 96 encrypt( const void *inData, size_t size, uint32_t streamCTR, uint64_t *outInputCTR, void *outData) argument 120 encryptNative( const sp<GraphicBuffer> &graphicBuffer, size_t offset, size_t size, uint32_t streamCTR, uint64_t *outInputCTR, void *outData) argument 145 decrypt( const void *inData, size_t size, uint32_t streamCTR, uint64_t inputCTR, void *outData) argument 243 size_t size = data.readInt32(); local 285 size_t size = data.readInt32(); local 314 size_t size = data.readInt32(); local [all...] |
H A D | IDataSource.cpp | 48 virtual ssize_t readAt(off64_t offset, size_t size) { argument 52 data.writeInt64(size); 57 virtual status_t getSize(off64_t* size) { argument 62 *size = reply.readInt64(); 86 size_t size = (size_t) data.readInt64(); local 87 reply->writeInt64(readAt(offset, size)); 92 off64_t size; local 93 status_t err = getSize(&size); 95 reply->writeInt64(size);
|
/frameworks/base/tools/preload/ |
H A D | LoadedClass.java | 85 int size = operations.size(); 86 if (size == 0) { 90 int[] times = new int[size]; 91 for (int i = 0; i < size; i++) { 96 int middle = size / 2; 97 if (size % 2 == 1) {
|
/frameworks/compile/mclinker/include/mcld/ADT/ |
H A D | ilist_sort.h | 22 void sort(llvm::iplist<T, Alloc>& xs, size_t size, Comparator is_less_than) { argument 26 assert(xs.size() == size && "Incorrect list size argument"); 29 switch (size) { 46 size_t mid = size / 2; 55 sort(ys, size - mid, is_less_than); 79 detail::sort(list, list.size(), is_less_than);
|
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/util/ |
H A D | SortedListTest.java | 113 assertEquals("empty", mList.size(), 0); 120 assertEquals(size(), 1); 125 assertEquals(size(), 2); 131 assertEquals(size(), 3); 142 assertEquals(1, size()); 143 assertEquals(1, mAdditions.size()); 144 assertEquals(0, mUpdates.size()); 151 assertEquals(0, mRemovals.size()); 154 assertEquals(1, mRemovals.size()); 156 assertEquals(0, size()); 302 assertIntegrity(int size, String context) argument 706 private int size() { method in class:SortedListTest [all...] |
/frameworks/av/drm/common/ |
H A D | ReadWriteUtils.cpp | 85 int size = data.size(); local 86 if (FAILURE != ftruncate(fd, size)) { 87 if (size != write(fd, data.string(), size)) { 102 int size = data.size(); local 103 if (size != write(fd, data.string(), size)) {
|
/frameworks/av/media/libstagefright/timedtext/ |
H A D | TimedText3GPPSource.cpp | 68 size_t size = 0; local 76 size = textBuffer->size(); 78 if (size > 0) { 82 (const uint8_t *)data, size, flag, timeUs / 1000, parcel); 92 size_t size = 0; local 103 kKeyTextFormatData, &type, &data, &size)) { 107 if (size > 0) { 110 (const uint8_t *)data, size, flag, 0, parcel);
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | IntRangeManagerTest.java | 100 assertEquals("expecting empty configlist", 0, testManager.mConfigList.size()); 117 assertEquals("configlist size", 1, testManager.mConfigList.size()); 123 assertEquals("configlist size", 1, testManager.mConfigList.size()); 132 assertEquals("configlist size", 1, testManager.mConfigList.size()); 137 assertEquals("configlist size", 0, testManager.mConfigList.size()); 142 assertEquals("configlist size", [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
H A D | memalign.c | 40 mem_malloc(VO_MEM_OPERATOR *pMemop, unsigned int size, unsigned char alignment, unsigned int CodecID) argument 49 MemInfo.Size = size + 1; 55 pMemop->Set(CodecID, mem_ptr, 0, size + 1); 64 MemInfo.Size = size + alignment; 71 pMemop->Set(CodecID, tmp, 0, size + alignment);
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | mem_align.c | 40 mem_malloc(VO_MEM_OPERATOR *pMemop, unsigned int size, unsigned char alignment, unsigned int CodecID) argument 49 MemInfo.Size = size + 1; 55 pMemop->Set(CodecID, mem_ptr, 0, size + 1); 64 MemInfo.Size = size + alignment; 71 pMemop->Set(CodecID, tmp, 0, size + alignment);
|