Searched defs:size (Results 126 - 150 of 850) sorted by relevance

1234567891011>>

/frameworks/compile/mclinker/include/mcld/Script/
H A DSectionsCmd.h48 size_t size() const { return m_SectionCommands.size(); } function in class:mcld::SectionsCmd
/frameworks/compile/mclinker/lib/Target/Mips/
H A DMipsLA25Stub.cpp78 size_t MipsLA25Stub::size() const { function in class:mcld::MipsLA25Stub
/frameworks/compile/mclinker/unittests/
H A DLEB128Test.cpp44 size_t size; local
47 size = leb128::encode<uint32_t>(result, 2);
50 ASSERT_TRUE(size == 1);
53 size = leb128::encode<uint32_t>(result, 127);
56 ASSERT_TRUE(size == 1);
59 size = leb128::encode<uint32_t>(result, 128);
63 ASSERT_TRUE(size == 2);
66 size = leb128::encode<uint32_t>(result, 129);
70 ASSERT_TRUE(size == 2);
73 size
90 size_t size; local
136 size_t size; local
195 size_t size; local
230 size_t size; local
297 size_t size; local
414 size_t size; local
496 size_t size; local
512 size_t size; local
[all...]
/frameworks/minikin/app/
H A DHyphTool.cpp19 size_t size = statbuf.st_size; local
25 uint8_t* buf = new uint8_t[size];
26 size_t read_size = fread(buf, 1, size, f);
27 if (read_size < size) {
53 hyph->hyphenate(&result, word.data(), word.size());
/frameworks/native/libs/binder/
H A DIPermissionController.cpp62 const int32_t size = reply.readInt32(); local
63 if (size <= 0) {
66 for (int i = 0; i < size; i++) {
108 size_t size = packages.size(); local
109 reply->writeInt32(size);
110 for (size_t i = 0; i < size; i++) {
/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/native/opengl/libs/GLES_CM/
H A Dgl.cpp39 GL_API void GL_APIENTRY glColorPointerBounds(GLint size, GLenum type, GLsizei stride,
43 GL_API void GL_APIENTRY glTexCoordPointerBounds(GLint size, GLenum type,
45 GL_API void GL_APIENTRY glVertexPointerBounds(GLint size, GLenum type,
49 GL_API void GL_APIENTRY glMatrixIndexPointerOESBounds(GLint size, GLenum type,
51 GL_API void GL_APIENTRY glWeightPointerOESBounds(GLint size, GLenum type,
55 void glColorPointerBounds(GLint size, GLenum type, GLsizei stride, argument
57 glColorPointer(size, type, stride, ptr);
63 void glTexCoordPointerBounds(GLint size, GLenum type, argument
65 glTexCoordPointer(size, type, stride, pointer);
67 void glVertexPointerBounds(GLint size, GLenu argument
77 glMatrixIndexPointerOESBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei ) argument
82 glWeightPointerOESBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei ) argument
[all...]
/frameworks/opt/telephony/src/java/com/google/android/mms/util/
H A DAbstractCache.java42 if (mCacheMap.size() >= MAX_CACHED_ITEMS) {
46 Log.v(TAG, "Failed! size limitation reached.");
57 Log.v(TAG, key + " cached, " + mCacheMap.size() + " items total.");
90 Log.v(TAG, mCacheMap.size() + " items cached.");
98 Log.v(TAG, "Purging cache, " + mCacheMap.size()
104 public int size() { method in class:AbstractCache
105 return mCacheMap.size();
H A DDrmConvertSession.java79 * @param size The number of bytes that shall be converted.
83 public byte [] convert(byte[] inBuffer, int size) { argument
88 if (size != inBuffer.length) {
89 byte[] buf = new byte[size];
90 System.arraycopy(inBuffer, 0, buf, 0, size);
/frameworks/rs/driver/
H A DrsdVertexArray.h39 uint32_t size; member in class:RsdVertexArray::Attrib
46 void set(uint32_t type, uint32_t size, uint32_t stride, bool normalized, size_t offset, const char *name);
/frameworks/support/v4/java/android/support/v4/util/
H A DContainerHelpers.java45 static int binarySearch(int[] array, int size, int value) { argument
47 int hi = size - 1;
64 static int binarySearch(long[] array, int size, long value) { argument
66 int hi = size - 1;
/frameworks/support/v4/tests/java/android/support/v4/content/
H A DContextCompatTest.java122 private static int scaleFromDensity(int size, int sdensity, int tdensity) { argument
124 return size;
128 return ((size * tdensity) + (sdensity >> 1)) / sdensity;
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/
H A DTileListTest.java57 public void size() { method in class:TileListTest
58 assertThat(mTileList.size(), is(0));
60 assertThat(mTileList.size(), is(1));
62 assertThat(mTileList.size(), is(1));
64 assertThat(mTileList.size(), is(2));
67 assertThat(mTileList.size(), is(0));
128 assertThat(mTileList.size(), is(3));
131 assertThat(mTileList.size(), is(2));
134 assertThat(mTileList.size(), is(1));
/frameworks/volley/src/main/java/com/android/volley/toolbox/
H A DPoolingByteArrayOutputStream.java29 * the default size to which the underlying byte array is initialized.
36 * Constructs a new PoolingByteArrayOutputStream with a default size. If more bytes are written
44 * Constructs a new {@code ByteArrayOutputStream} with a default size of {@code size} bytes. If
45 * more than {@code size} bytes are written to this instance, the underlying byte array will
48 * @param size initial size for the underlying byte array. The value will be pinned to a default
49 * minimum size.
51 public PoolingByteArrayOutputStream(ByteArrayPool pool, int size) { argument
53 buf = mPool.getBuf(Math.max(size, DEFAULT_SIZ
[all...]
/frameworks/wilhelm/src/itf/
H A DIMetadataTraversal.c75 SLuint32 size = thiz->mSize; local
77 *pSize = size;
86 SLint32 *pNodeID, SLuint32 *pType, SLuint32 size, SLchar *pMimeType)
85 IMetadataTraversal_GetChildInfo(SLMetadataTraversalItf self, SLuint32 index, SLint32 *pNodeID, SLuint32 *pType, SLuint32 size, SLchar *pMimeType) argument
/frameworks/av/drm/libdrmframework/plugins/common/util/include/
H A DSessionMap.h78 return map.size();
92 if (map.size() > index) {
152 int size = map.size(); local
154 for (int i = 0; i < size; i++) {
/frameworks/av/include/ndk/
H A DNdkMediaCodec.h22 * Do not change the size of any of the classes defined in here.
46 int32_t size; member in struct:AMediaCodecBufferInfo
134 size_t idx, off_t offset, size_t size, uint64_t time, uint32_t flags);
/frameworks/av/media/img_utils/include/img_utils/
H A DEndianUtils.h92 // the max size of a TIFF files is bounded
135 size_t size = sizeof(T); local
140 if ((res = mOutput->write(reinterpret_cast<uint8_t*>(&tmp), 0, size))
144 mOffset += size;
151 if ((res = mOutput->write(reinterpret_cast<uint8_t*>(&tmp), 0, size))
155 mOffset += size;
/frameworks/av/media/libeffects/lvm/lib/Reverb/src/
H A DLVREV_Process.c42 /* LVREV_INVALIDNUMSAMPLES NumSamples was larger than the maximum block size */
171 /* LVREV_INVALIDNUMSAMPLES NumSamples was larger than the maximum block size */
181 LVM_INT16 j, size; local
199 * The temp buffer will always be NumSamples in size regardless of MONO or *
461 size = (LVM_INT16)(NumSamples << 1);
466 size);
473 size);
478 size);
/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/av/media/libstagefright/
H A DCallbackDataSource.cpp53 ssize_t CallbackDataSource::readAt(off64_t offset, void* data, size_t size) { argument
58 // IDataSource can only read up to mMemory->size() bytes at a time, but this
61 size_t numLeft = size;
62 const size_t bufferSize = mMemory->size();
88 status_t CallbackDataSource::getSize(off64_t *size) { argument
89 status_t err = mIDataSource->getSize(size);
93 if (*size < 0) {
94 // IDataSource will set size to -1 to indicate unknown size, but
125 ssize_t TinyCacheSource::readAt(off64_t offset, void* data, size_t size) { argument
178 getSize(off64_t *size) argument
[all...]
H A DFileSource.cpp130 ssize_t FileSource::readAt(off64_t offset, void *data, size_t size) { argument
142 if ((uint64_t)size > numAvailable) {
143 size = numAvailable;
149 return readAtDRM(offset, data, size);
157 return ::read(mFd, data, size);
161 status_t FileSource::getSize(off64_t *size) { argument
168 *size = mLength;
201 ssize_t FileSource::readAtDRM(off64_t offset, void *data, size_t size) { argument
208 && (offset + mOffset + size) <= static_cast<size_t>(mDrmBufOffset + mDrmBufSize)) {
210 memcpy(data, (void*)(mDrmBuf+(offset+mOffset-mDrmBufOffset)), size);
[all...]
H A DSkipCutBuffer.cpp87 size_t copied = read(dst, buffer->size());
98 int32_t buflen = buffer->size();
143 ALOGV("reallocated buffer at size %d", newcapacity);
191 size_t SkipCutBuffer::size() { function in class:android::SkipCutBuffer
H A DStagefrightMediaScanner.cpp146 off64_t size = lseek64(fd, 0, SEEK_END); local
147 if (size < 0) {
153 if (mRetriever->setDataSource(fd, 0, size) == OK) {
/frameworks/av/media/libstagefright/foundation/
H A DMediaBuffer.cpp33 MediaBuffer::MediaBuffer(void *data, size_t size) argument
38 mSize(size),
40 mRangeLength(size),
46 MediaBuffer::MediaBuffer(size_t size) argument
51 mSize(size),
53 mRangeLength(size),
57 if (size < kSharedMemThreshold) {
58 mData = malloc(size);
60 sp<MemoryDealer> memoryDealer = new MemoryDealer(size, "MediaBuffer");
61 mMemory = memoryDealer->allocate(size);
138 size_t MediaBuffer::size() const { function in class:android::MediaBuffer
[all...]

Completed in 523 milliseconds

1234567891011>>