/frameworks/base/libs/hwui/ |
H A D | FboCache.cpp | 41 return mCache.size(); 53 for (size_t i = 0; i < mCache.size(); i++) { 62 if (mCache.size() > 0) { 63 fbo = mCache.itemAt(mCache.size() - 1); 64 mCache.removeAt(mCache.size() - 1); 72 if (mCache.size() < mMaxSize) {
|
/frameworks/base/obex/javax/obex/ |
H A D | PrivateOutputStream.java | 69 public int size() { method in class:PrivateOutputStream 70 return mArray.size(); 86 if (mArray.size() == mMaxPacketSize) { 110 while ((mArray.size() + remainLength) >= mMaxPacketSize) { 111 int bufferLeft = mMaxPacketSize - mArray.size(); 124 * @param size the size of the array to return 127 public synchronized byte[] readBytes(int size) { argument 128 if (mArray.size() > 0) { 131 byte[] result = new byte[size]; [all...] |
/frameworks/minikin/tests/unittest/ |
H A D | UnicodeUtilsTest.cpp | 27 size_t size; local 28 ParseUnicode(buf, BUF_SIZE, "U+000D U+1F431 | 'a'", &size, &offset); 29 EXPECT_EQ(size, 4u);
|
/frameworks/support/car/src/main/java/androidx/car/widget/ |
H A D | ListItemProvider.java | 34 public abstract int size(); method in class:ListItemProvider 52 public int size() { method in class:ListItemProvider.ListProvider 53 return mItems.size();
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/ |
H A D | mem_align.h | 29 extern void *mem_malloc(VO_MEM_OPERATOR *pMemop, unsigned int size, unsigned char alignment, unsigned int CodecID);
|
/frameworks/base/core/java/android/util/ |
H A D | ContainerHelpers.java | 22 static int binarySearch(int[] array, int size, int value) { argument 24 int hi = size - 1; 41 static int binarySearch(long[] array, int size, long value) { argument 43 int hi = size - 1;
|
/frameworks/base/core/tests/utiltests/src/android/util/ |
H A D | IRemoteMemoryIntArray.aidl | 23 void create(int size); 27 int size();
|
/frameworks/compile/mclinker/unittests/ |
H A D | DirIteratorTest.cpp | 50 size_t size = 0; local 53 size = entry.path()->native().size(); 54 ASSERT_TRUE(size != 0);
|
/frameworks/native/libs/gui/ |
H A D | HdrMetadata.cpp | 22 size_t size = sizeof(validTypes); local 24 size += sizeof(smpte2086); 27 size += sizeof(cta8613); 29 return size; 32 status_t HdrMetadata::flatten(void* buffer, size_t size) const { 33 if (size < getFlattenedSize()) { 37 FlattenableUtils::write(buffer, size, validTypes); 39 FlattenableUtils::write(buffer, size, smpte2086); 42 FlattenableUtils::write(buffer, size, cta8613); 48 status_t HdrMetadata::unflatten(void const* buffer, size_t size) { argument [all...] |
H A D | BitTube.cpp | 33 // Socket buffer size. The default is typically about 128KB, which is much larger than we really 50 size_t size = DEFAULT_SOCKET_BUFFER_SIZE; local 54 setsockopt(sockets[0], SOL_SOCKET, SO_SNDBUF, &size, sizeof(size)); 55 setsockopt(sockets[1], SOL_SOCKET, SO_RCVBUF, &size, sizeof(size)); 89 ssize_t BitTube::write(void const* vaddr, size_t size) { argument 92 len = ::send(mSendFd, vaddr, size, MSG_DONTWAIT | MSG_NOSIGNAL); 93 // cannot return less than size, since we're using SOCK_SEQPACKET 99 ssize_t BitTube::read(void* vaddr, size_t size) { 148 ssize_t size = tube->read(vaddr, count * objSize); local [all...] |
/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
H A D | glGetActiveAttrib.java | 1 // C function void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name ) 9 int[] size, 17 // C function void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name ) 25 java.nio.IntBuffer size, 30 // C function void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name ) 35 int[] size, 41 // C function void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name ) 46 java.nio.IntBuffer size, 3 glGetActiveAttrib( int program, int index, int bufsize, int[] length, int lengthOffset, int[] size, int sizeOffset, int[] type, int typeOffset, byte[] name, int nameOffset ) argument 20 glGetActiveAttrib( int program, int index, int bufsize, java.nio.IntBuffer length, java.nio.IntBuffer size, java.nio.IntBuffer type, byte name ) argument 32 glGetActiveAttrib( int program, int index, int[] size, int sizeOffset, int[] type, int typeOffset ) argument 43 glGetActiveAttrib( int program, int index, java.nio.IntBuffer size, java.nio.IntBuffer type ) argument
|
H A D | glGetActiveUniform.java | 1 // C function void glGetActiveUniform ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name ) 9 int[] size, 17 // C function void glGetActiveUniform ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name ) 25 java.nio.IntBuffer size, 29 // C function void glGetActiveUniform ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name ) 34 int[] size, 40 // C function void glGetActiveUniform ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name ) 45 java.nio.IntBuffer size, 3 glGetActiveUniform( int program, int index, int bufsize, int[] length, int lengthOffset, int[] size, int sizeOffset, int[] type, int typeOffset, byte[] name, int nameOffset ) argument 20 glGetActiveUniform( int program, int index, int bufsize, java.nio.IntBuffer length, java.nio.IntBuffer size, java.nio.IntBuffer type, byte name ) argument 31 glGetActiveUniform( int program, int index, int[] size, int sizeOffset, int[] type, int typeOffset ) argument 42 glGetActiveUniform( int program, int index, java.nio.IntBuffer size, java.nio.IntBuffer type ) argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | TextAttribute.java | 29 public FontSize size; field in class:TextAttribute 37 FontSize size, boolean bold, boolean italic, boolean underlined, 42 this.size = size; 36 TextAttribute(int start, int length, TextAlignment align, FontSize size, boolean bold, boolean italic, boolean underlined, boolean strikeThrough, TextColor color) argument
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/lifecycle/ |
H A D | Lifecycle.java | 97 for (int i = 0, size = mObservers.size(); i < size; i++) { 108 for (int i = 0, size = mObservers.size(); i < size; i++) { 117 for (int i = 0, size = mObservers.size(); i < size; i++) { 126 for (int i = 0, size [all...] |
/frameworks/base/tools/aapt2/io/ |
H A D | StringStream.cpp | 27 bool StringInputStream::Next(const void** data, size_t* size) { argument 28 if (offset_ == str_.size()) { 33 *size = str_.size() - offset_; 34 offset_ = str_.size(); 51 return str_.size(); 65 bool StringOutputStream::Next(void** data, size_t* size) { argument 71 *size = buffer_capacity_ - buffer_offset_; 85 return str_->size() + buffer_offset_;
|
/frameworks/native/libs/sensor/ |
H A D | BitTube.cpp | 31 // Socket buffer size. The default is typically about 128KB, which is much larger than 71 size_t size = DEFAULT_SOCKET_BUFFER_SIZE; local 75 setsockopt(sockets[0], SOL_SOCKET, SO_SNDBUF, &size, sizeof(size)); 76 setsockopt(sockets[1], SOL_SOCKET, SO_RCVBUF, &size, sizeof(size)); 105 ssize_t BitTube::write(void const* vaddr, size_t size) argument 109 len = ::send(mSendFd, vaddr, size, MSG_DONTWAIT | MSG_NOSIGNAL); 110 // cannot return less than size, since we're using SOCK_SEQPACKET 116 ssize_t BitTube::read(void* vaddr, size_t size) 162 ssize_t size = tube->read(vaddr, count*objSize); local [all...] |
/frameworks/av/media/libmediaextractor/ |
H A D | DataSourceBase.cpp | 78 bool DataSourceBase::getUInt16Var(off64_t offset, uint16_t *x, size_t size) { argument 79 if (size == 2) { 82 if (size == 1) { 92 bool DataSourceBase::getUInt32Var(off64_t offset, uint32_t *x, size_t size) { argument 93 if (size == 4) { 96 if (size == 2) { 106 bool DataSourceBase::getUInt64Var(off64_t offset, uint64_t *x, size_t size) { argument 107 if (size == 8) { 110 if (size == 4) { 120 status_t DataSourceBase::getSize(off64_t *size) { argument [all...] |
H A D | MediaBufferBase.cpp | 26 MediaBufferBase *MediaBufferBase::Create(size_t size) { argument 27 return new (std::nothrow) MediaBuffer(size);
|
/frameworks/base/tools/aapt2/util/ |
H A D | BigBuffer_test.cpp | 29 EXPECT_EQ(2u, buffer.size()); 48 EXPECT_EQ(32u, buffer.size()); 65 EXPECT_EQ(0u, buffer2.size()); 69 EXPECT_EQ(2 * sizeof(uint32_t), buffer.size()); 73 ASSERT_EQ(sizeof(uint32_t), b->size); 78 ASSERT_EQ(sizeof(uint32_t), b->size); 89 ASSERT_EQ(2u, buffer.size()); 91 ASSERT_EQ(4u, buffer.size()); 93 ASSERT_EQ(4u, buffer.size()); 95 ASSERT_EQ(6u, buffer.size()); [all...] |
/frameworks/native/libs/binder/ |
H A D | MemoryHeapBase.cpp | 43 MemoryHeapBase::MemoryHeapBase(size_t size, uint32_t flags, char const * name) argument 48 size = ((size + pagesize-1) & ~(pagesize-1)); 49 int fd = ashmem_create_region(name == NULL ? "MemoryHeapBase" : name, size); 52 if (mapfd(fd, size) == NO_ERROR) { 60 MemoryHeapBase::MemoryHeapBase(const char* device, size_t size, uint32_t flags) argument 72 size = ((size + pagesize-1) & ~(pagesize-1)); 73 if (mapfd(fd, size) == NO_ERROR) { 79 MemoryHeapBase::MemoryHeapBase(int fd, size_t size, uint32_ argument 85 mapfd(fcntl(fd, F_DUPFD_CLOEXEC, 0), size, offset); local 88 init(int fd, void *base, int size, int flags, const char* device) argument 101 mapfd(int fd, size_t size, uint32_t offset) argument [all...] |
/frameworks/av/include/media/ |
H A D | ExtractorUtils.h | 26 std::unique_ptr<T[]> heapbuffer(size_t size) { argument 27 return std::unique_ptr<T[]>(new (std::nothrow) T[size]);
|
/frameworks/av/include/media/stagefright/foundation/ |
H A D | base64.h | 29 void encodeBase64(const void *data, size_t size, AString *out); 31 void encodeBase64Url(const void *data, size_t size, AString *out);
|
/frameworks/av/media/libeffects/lvm/lib/Common/src/ |
H A D | DelayWrite_32.c | 30 LVM_UINT16 size, /* Delay size */ 44 if (Offset >= size) 28 DelayWrite_32(const LVM_INT32 *src, LVM_INT32 *delay, LVM_UINT16 size, LVM_UINT16 *pOffset, LVM_INT16 n) argument
|
/frameworks/av/media/libmediaextractor/include/media/ |
H A D | ExtractorUtils.h | 26 std::unique_ptr<T[]> heapbuffer(size_t size) { argument 27 return std::unique_ptr<T[]>(new (std::nothrow) T[size]);
|
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ |
H A D | base64.h | 29 void encodeBase64(const void *data, size_t size, AString *out); 31 void encodeBase64Url(const void *data, size_t size, AString *out);
|