Searched refs:size (Results 51 - 75 of 1920) sorted by relevance

1234567891011>>

/frameworks/av/include/media/stagefright/foundation/
H A Dhexdump.h28 const void *_data, size_t size,
/frameworks/av/media/libstagefright/include/
H A DDataUriSource.h37 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
39 virtual status_t getSize(off64_t *size) { argument
44 *size = mData.size();
H A DFragmentedMP4Parser.h33 virtual ssize_t readAt(off64_t offset, void *data, size_t size) = 0;
184 void enter(off64_t offset, uint32_t type, uint64_t size);
190 status_t need(size_t size);
191 bool fitsContainer(uint64_t size) const;
194 uint32_t type, size_t offset, uint64_t size);
197 uint32_t type, size_t offset, uint64_t size);
200 uint32_t type, size_t offset, uint64_t size);
203 uint32_t type, size_t offset, uint64_t size);
206 uint32_t type, size_t offset, uint64_t size);
209 uint32_t type, size_t offset, uint64_t size);
[all...]
/frameworks/base/media/tests/omxjpegdecoder/
H A DStreamSource.cpp38 ssize_t StreamSource::readAt(off64_t offset, void *data, size_t size) { argument
43 ssize_t result = mStream->read(data, size);
48 status_t StreamSource::getSize(off64_t *size) { argument
49 *size = mSize;
/frameworks/compile/linkloader/include/impl/
H A DELFSectionRelTable.hxx31 for (size_t i = 0; i < table.size(); ++i) {
45 for (size_t i = 0; i < this->size(); ++i) {
66 size_t size = sh->getSize() / sh->getEntrySize(); local
70 rsl_assert(sh->getEntrySize() == TypeTraits<ELFRelocRelTy>::size);
71 for (size_t i = 0; i < size; ++i) {
76 rsl_assert(sh->getEntrySize() == TypeTraits<ELFRelocRelaTy>::size);
77 for (size_t i = 0; i < size; ++i) {
98 for (size_t i = 0; i < size(); ++i) {
107 return sym_index_set.size();
114 for (size_t i = 0; i < size();
[all...]
H A DELFSectionSymTab.hxx26 for (size_t i = 0; i < table.size(); ++i) {
34 for (size_t i = 0; i < table.size(); ++i) {
45 for (size_t i = 0; i < table.size(); ++i) {
55 for (size_t i = 0; i < table.size(); ++i) {
76 ELFSectionSymTab<Bitwidth>::getFuncNameList(size_t size, argument
78 for (size_t i = 0, j = 0; i < table.size() && j < size; ++i) {
94 // Assert that entry size will be the same as standard.
95 rsl_assert(sh->getEntrySize() == TypeTraits<ELFSymbolTy>::size);
101 size_t size local
[all...]
/frameworks/base/core/java/android/webkit/
H A DWebBackForwardListClassic.java56 return mArray.size();
88 final int size = mArray.size();
90 if (newPos != size) {
91 for (int i = size - 1; i >= newPos; i--) {
138 int size = getSize();
139 l.mArray = new ArrayList<WebHistoryItemClassic>(size);
140 for (int i = 0; i < size; i++) {
/frameworks/compile/linkloader/include/
H A DMemChunk.h33 bool allocate(size_t size);
55 size_t size() const { function in class:MemChunk
/frameworks/native/opengl/libagl/
H A DBufferObjectManager.cpp45 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 DOutputMixExt.h32 void (*FillBuffer)(SLOutputMixExtItf self, void *pBuffer, SLuint32 size);
48 extern void IOutputMixExt_FillBuffer(SLOutputMixExtItf self, void *pBuffer, SLuint32 size);
/frameworks/base/media/mca/filterfw/native/core/
H A Dvertex_frame.h32 // 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/compile/mclinker/include/mcld/LD/
H A DELFFileFormat.h47 { return (NULL != f_pNULLSection) && (0 != f_pNULLSection->size()); }
50 { return (NULL != f_pGOT) && (0 != f_pGOT->size()); }
53 { return (NULL != f_pPLT) && (0 != f_pPLT->size()); }
56 { return (NULL != f_pRelDyn) && (0 != f_pRelDyn->size()); }
59 { return (NULL != f_pRelPlt) && (0 != f_pRelPlt->size()); }
62 { return (NULL != f_pRelaDyn) && (0 != f_pRelaDyn->size()); }
65 { return (NULL != f_pRelaPlt) && (0 != f_pRelaPlt->size()); }
69 { return (NULL != f_pComment) && (0 != f_pComment->size()); }
72 { return (NULL != f_pData1) && (0 != f_pData1->size()); }
75 { return (NULL != f_pDebug) && (0 != f_pDebug->size()); }
[all...]
/frameworks/av/media/libstagefright/mpeg2ts/
H A DESQueue.cpp59 static bool IsSeeminglyValidADTSHeader(const uint8_t *ptr, size_t size) { argument
60 if (size < 3) {
86 static bool IsSeeminglyValidMPEGAudioHeader(const uint8_t *ptr, size_t size) { argument
87 if (size < 3) {
124 const void *data, size_t size, int64_t timeUs) {
125 if (mBuffer == NULL || mBuffer->size() == 0) {
131 if (size < 4 || memcmp("\x00\x00\x00\x01", data, 4)) {
138 for (size_t i = 0; i + 3 < size; ++i) {
156 size -= startOffset;
164 if (size <
123 appendData( const void *data, size_t size, int64_t timeUs) argument
484 fetchTimestamp(size_t size) argument
529 size_t size = mBuffer->size(); local
637 size_t size = mBuffer->size(); local
698 EncodeSize14(uint8_t **_ptr, size_t size) argument
740 size_t size = mBuffer->size(); local
845 getNextChunkSize( const uint8_t *data, size_t size) argument
871 size_t size = mBuffer->size(); local
[all...]
/frameworks/base/libs/hwui/
H A DFboCache.cpp35 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/testing/androidtestlib/tests/src/com/android/test/runner/
H A DTestLoaderTest.java79 Assert.assertEquals(0, mLoader.getLoadedClasses().size());
80 Assert.assertEquals(0, mLoader.getLoadFailures().size());
86 Assert.assertEquals(0, mLoader.getLoadedClasses().size());
87 Assert.assertEquals(1, mLoader.getLoadFailures().size());
92 Assert.assertEquals(1, mLoader.getLoadedClasses().size());
93 Assert.assertEquals(0, mLoader.getLoadFailures().size());
/frameworks/av/media/libstagefright/
H A DFileSource.cpp87 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 DAVIExtractor.cpp173 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 DMetaData.cpp95 size_t size; local
96 if (!findData(key, &type, &data, &size) || type != TYPE_C_STRING) {
108 size_t size; local
109 if (!findData(key, &type, &data, &size) || type != TYPE_INT32) {
113 CHECK_EQ(size, sizeof(*value));
123 size_t size; local
124 if (!findData(key, &type, &data, &size) || type != TYPE_INT64) {
128 CHECK_EQ(size, sizeof(*value));
138 size_t size; local
139 if (!findData(key, &type, &data, &size) || typ
153 size_t size; local
171 size_t size; local
187 setData( uint32_t key, uint32_t type, const void *data, size_t size) argument
255 setData( uint32_t type, const void *data, size_t size) argument
261 memcpy(storage(), data, size); local
271 allocateStorage(size_t size) argument
[all...]
/frameworks/native/opengl/libs/GLES_CM/
H A Dgl.cpp42 GL_API void GL_APIENTRY glColorPointerBounds(GLint size, GLenum type, GLsizei stride,
46 GL_API void GL_APIENTRY glTexCoordPointerBounds(GLint size, GLenum type,
48 GL_API void GL_APIENTRY glVertexPointerBounds(GLint size, GLenum type,
52 GL_API void GL_APIENTRY glMatrixIndexPointerOESBounds(GLint size, GLenum type,
54 GL_API void GL_APIENTRY glWeightPointerOESBounds(GLint size, GLenum type,
58 void glColorPointerBounds(GLint size, GLenum type, GLsizei stride, argument
60 glColorPointer(size, type, stride, ptr);
66 void glTexCoordPointerBounds(GLint size, GLenum type, argument
68 glTexCoordPointer(size, type, stride, pointer);
70 void glVertexPointerBounds(GLint size, GLenu argument
80 glMatrixIndexPointerOESBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument
85 glWeightPointerOESBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument
[all...]
/frameworks/opt/emoji/
H A DEmojiFactory.cpp107 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 DAAVCAssembler.cpp81 size_t size = buffer->size(); local
83 if (size < 1 || (data[0] & 0x80)) {
120 ALOGV("addSingleNALUnit of size %d", buffer->size());
122 hexdump(buffer->data(), buffer->size());
138 size_t size = buffer->size(); local
140 if (size < 3) {
146 --size;
179 size_t size = buffer->size(); local
226 size_t size = buffer->size(); local
[all...]
/frameworks/av/media/libmedia/
H A DIEffectClient.cpp69 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...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DIntRangeManagerTest.java88 assertEquals("expecting empty configlist", 0, testManager.mConfigList.size());
105 assertEquals("configlist size", 1, testManager.mConfigList.size());
111 assertEquals("configlist size", 1, testManager.mConfigList.size());
120 assertEquals("configlist size", 1, testManager.mConfigList.size());
124 assertEquals("configlist size", 1, testManager.mConfigList.size());
131 assertEquals("configlist size",
[all...]
/frameworks/av/media/libstagefright/mp4/
H A DTrackFragment.cpp40 if (mSampleIndex >= mSamples.size()) {
59 SampleInfo *sampleInfo = &mSamples.editItemAt(mSamples.size() - 1);
244 FragmentedMP4Parser *parser, uint32_t type, size_t offset, uint64_t size) {
245 if (offset + 12 > size) {
256 if (sampleSize == 0 && offset + 12 + sampleCount * 4 != size) {
260 parser->copyBuffer(&mSampleSizes, offset, size);
268 FragmentedMP4Parser *parser, uint32_t type, size_t offset, uint64_t size) {
269 if (offset + 12 > size) {
285 if (offset + 12 + (sampleCount * fieldSize + 4) / 8 != size) {
289 parser->copyBuffer(&mCompactSampleSizes, offset, size);
243 parseSampleSizes( FragmentedMP4Parser *parser, uint32_t type, size_t offset, uint64_t size) argument
267 parseCompactSampleSizes( FragmentedMP4Parser *parser, uint32_t type, size_t offset, uint64_t size) argument
296 parseSampleToChunk( FragmentedMP4Parser *parser, uint32_t type, size_t offset, uint64_t size) argument
321 parseChunkOffsets( FragmentedMP4Parser *parser, uint32_t type, size_t offset, uint64_t size) argument
342 parseChunkOffsets64( FragmentedMP4Parser *parser, uint32_t type, size_t offset, uint64_t size) argument
[all...]
/frameworks/base/tools/preload/
H A DLoadedClass.java85 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) {

Completed in 1315 milliseconds

1234567891011>>