/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) {
|
H A D | DisplayList.cpp | 45 for (size_t i = 0; i < bitmapResources.size(); i++) { 49 for (size_t i = 0; i < ownedBitmapResources.size(); i++) { 55 for (size_t i = 0; i < patchResources.size(); i++) { 59 for (size_t i = 0; i < sourcePaths.size(); i++) { 65 for (size_t i = 0; i < paints.size(); i++) { 69 for (size_t i = 0; i < regions.size(); i++) { 73 for (size_t i = 0; i < paths.size(); i++) {
|
/frameworks/av/media/libstagefright/ |
H A D | FileSource.cpp | 87 ssize_t FileSource::readAt(off64_t offset, void *data, size_t size) { argument 99 if ((int64_t)size > numAvailable) { 100 size = numAvailable; 106 return readAtDRM(offset, data, size); 114 return ::read(mFd, data, size); 118 status_t FileSource::getSize(off64_t *size) { argument 125 *size = mLength; 158 ssize_t FileSource::readAtDRM(off64_t offset, void *data, size_t size) { argument 165 && (offset + mOffset + size) <= (mDrmBufOffset + mDrmBufSize)) { 167 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 269 setData( uint32_t type, const void *data, size_t size) argument 275 memcpy(storage(), data, size); local 285 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 274 size_t size = data.readInt32(); local 297 size_t size = data.readInt32(); local [all...] |
H A D | IEffect.cpp | 72 int size = cmdSize; local 74 size = 0; 76 data.writeInt32(size); 77 if (size) { 78 data.write(pCmdData, size); 81 size = 0; 83 size = *pReplySize; 85 data.writeInt32(size); 95 size = reply.readInt32(); 96 if (size ! [all...] |
/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/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/base/packages/DocumentsUI/src/com/android/documentsui/model/ |
H A D | DocumentStack.java | 41 if (size() == 1 && root != null) { 43 } else if (size() > 1) { 51 return size() == 0; 110 final int size = in.readInt(); 111 for (int i = 0; i < size; i++) { 131 final int size = size(); 132 out.writeInt(size); 133 for (int i = 0; i < size; i++) {
|
/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);
|
/frameworks/base/core/java/android/os/ |
H A D | ParcelableParcel.java | 35 int size = src.readInt(); 37 mParcel.appendFrom(src, src.dataPosition(), size); 38 src.setDataPosition(pos + size); 71 public ParcelableParcel[] newArray(int size) { 72 return new ParcelableParcel[size];
|
/frameworks/base/include/androidfw/ |
H A D | ByteBucketArray.h | 27 * Stores a sparsely populated array. Has a fixed size of 256 46 inline size_t size() const { function in class:android::ByteBucketArray 55 if (index >= size()) { 68 ALOG_ASSERT(index < size(), "ByteBucketArray.getOrCreate(index=%u) with size=%u", 69 (uint32_t) index, (uint32_t) size()); 80 if (index >= size()) {
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | value.h | 57 Value MakeBufferValue(const char* data, int size); 58 Value MakeBufferValueNoCopy(const char* data, int size); 59 Value MakeMutableBufferValue(const char* data, int size); 60 Value MakeMutableBufferValueNoCopy(char* data, int size); 68 int SetMutableBufferValue(Value* value, const char* new_data, int size);
|
/frameworks/native/include/binder/ |
H A D | MemoryHeapBase.h | 45 MemoryHeapBase(int fd, size_t size, uint32_t flags = 0, uint32_t offset = 0); 50 MemoryHeapBase(const char* device, size_t size = 0, uint32_t flags = 0); 55 MemoryHeapBase(size_t size, uint32_t flags = 0, char const* name = NULL); 85 status_t init(int fd, void *base, int size, 89 status_t mapfd(int fd, size_t size, uint32_t offset = 0);
|
/frameworks/av/cmds/stagefright/ |
H A D | WaveWriter.h | 49 void Append(const void *data, size_t size) { argument 50 fwrite(data, 1, size, mFile); 51 mTotalBytes += size;
|