Searched defs:size (Results 1 - 25 of 263) sorted by relevance

1234567891011

/frameworks/base/media/libstagefright/codecs/aacdec/
H A Dpvmp4audiodecodergetmemrequirements.cpp49 size = amount of memory needed to be allocated by the calling
76 size = sizeof(tDec_Int_File);
78 RETURN (size)
150 UInt32 size; local
152 size = (UInt32) sizeof(tDec_Int_File);
154 return (size);
/frameworks/base/core/java/android/database/
H A DCharArrayBuffer.java23 public CharArrayBuffer(int size) { argument
24 data = new char[size];
H A DCursorIndexOutOfBoundsException.java24 public CursorIndexOutOfBoundsException(int index, int size) { argument
25 super("Index " + index + " requested, with a size of " + size);
/frameworks/base/core/java/android/hardware/
H A DSensorEvent.java157 SensorEvent(int size) { argument
158 values = new float[size];
/frameworks/base/include/utils/
H A DCallStack.h61 size_t size() const { return mCount; } function in class:android::CallStack
H A DStringArray.h59 inline int size(void) const { return mCurrent; } function in class:android::StringArray
H A DSharedBuffer.h36 /*! allocate a buffer of size 'size' and acquire() it.
39 static SharedBuffer* alloc(size_t size);
57 //! get size of the buffer
58 inline size_t size() const;
66 //! get the size of a SharedBuffer object from its data
73 SharedBuffer* editResize(size_t size) const;
79 SharedBuffer* reset(size_t size) const;
119 size_t SharedBuffer::size() const { function in class:android::SharedBuffer
/frameworks/base/libs/binder/
H A DMemoryBase.cpp29 ssize_t offset, size_t size)
30 : mSize(size), mOffset(offset), mHeap(heap)
34 sp<IMemoryHeap> MemoryBase::getMemory(ssize_t* offset, size_t* size) const
37 if (size) *size = mSize;
28 MemoryBase(const sp<IMemoryHeap>& heap, ssize_t offset, size_t size) argument
/frameworks/base/media/libdrm/mobile2/src/util/domcore/
H A DNodeListImpl.cpp30 int size = nodeList.size(); local
32 if (size == 0 || index > size - 1 || index < 0)
41 return nodeList.size();
/frameworks/opt/emoji/
H A DEmojiFactory.h32 // Returns binary image data corresponding to "pua". The size of binary is
33 // stored to "size". Returns NULL if there's no mapping from the "pua" to a
38 virtual const char *GetImageBinaryFromAndroidPua(int pua, int *size) = 0;
43 int *size) {
45 GetAndroidPuaFromVendorSpecificSjis(sjis), size);
51 int *size) {
53 GetAndroidPuaFromVendorSpecificPua(vsp), size);
42 GetImageBinaryFromVendorSpecificSjis(unsigned short sjis, int *size) argument
50 GetImageBinaryFromVendorSpecificPua(int vsp, int *size) argument
/frameworks/base/cmds/stagefright/
H A DWaveWriter.h49 void Append(const void *data, size_t size) { argument
50 fwrite(data, 1, size, mFile);
51 mTotalBytes += size;
/frameworks/base/core/java/android/app/backup/
H A DBackupDataInputStream.java29 * {@link BackupDataInput}. The entity's key string and total data size are available
30 * through this class's {@link #getKey()} and {@link #size()} methods, respectively.
33 * source, nor read more than {@link #size()} bytes from the stream.</p>
53 * an integer value. If more than {@link #size()} bytes of data
68 * Read up to {@code size} bytes of data into a byte array, beginning at position
74 * @param size The number of bytes to read in this operation. If insufficient
80 public int read(byte[] b, int offset, int size) throws IOException { argument
81 return mData.readEntityData(b, offset, size);
113 public int size() { method in class:BackupDataInputStream
/frameworks/base/core/java/android/os/
H A DParcelable.java46 * public MyParcelable[] newArray(int size) {
47 * return new MyParcelable[size];
110 * @param size Size of the array.
114 public T[] newArray(int size); argument
/frameworks/base/libs/rs/
H A DrsHandcode.h7 uint32_t size = sizeof(RS_CMD_AllocationData); local
9 size += (sizeBytes + 3) & ~3;
11 RS_CMD_AllocationData *cmd = static_cast<RS_CMD_AllocationData *>(io->mToCore.reserve(size));
18 io->mToCore.commit(RS_CMD_ID_AllocationData, size);
20 io->mToCore.commitSync(RS_CMD_ID_AllocationData, size);
28 uint32_t size = sizeof(RS_CMD_Allocation1DSubData); local
30 size += (sizeBytes + 3) & ~3;
32 RS_CMD_Allocation1DSubData *cmd = static_cast<RS_CMD_Allocation1DSubData *>(io->mToCore.reserve(size));
41 io->mToCore.commit(RS_CMD_ID_Allocation1DSubData, size);
43 io->mToCore.commitSync(RS_CMD_ID_Allocation1DSubData, size);
[all...]
/frameworks/base/libs/ui/
H A DPixelFormat.cpp27 size_t size; local
30 size = (width * bitsPerPixel)>>3;
32 size = width * bytesPerPixel;
34 return size;
110 info->bytesPerPixel = i->size;
/frameworks/base/libs/utils/
H A DSharedBuffer.cpp27 SharedBuffer* SharedBuffer::alloc(size_t size) argument
29 SharedBuffer* sb = static_cast<SharedBuffer *>(malloc(sizeof(SharedBuffer) + size));
32 sb->mSize = size;
52 memcpy(sb->data(), data(), size());
H A DTextOutput.cpp133 HexDump::HexDump(const void *buf, size_t size, size_t bytesPerLine) argument
135 , mSize(size)
148 printHexData(0, val.buffer(), val.size(), val.bytesPerLine(),
/frameworks/base/media/libdrm/mobile2/src/dcf/
H A DDrmIStream.cpp26 uint64_t DrmInStream::size() const function in class:DrmInStream
H A DDrmRawContent.cpp63 uint64_t size = conFullBox.getSize(); local
67 dcf += size;
90 uint32_t size = mContainer.size(); local
92 for(uint32_t i = 0; i < size; i++)
/frameworks/base/media/libstagefright/
H A DFileSource.cpp47 ssize_t FileSource::readAt(off_t offset, void *data, size_t size) { argument
55 if ((int64_t)size > numAvailable) {
56 size = numAvailable;
66 return fread(data, 1, size, mFile);
69 status_t FileSource::getSize(off_t *size) { argument
71 *size = mLength;
77 *size = ftello(mFile);
/frameworks/base/media/tests/omxjpegdecoder/
H A DStreamSource.cpp38 ssize_t StreamSource::readAt(off_t offset, void *data, size_t size) { argument
43 ssize_t result = mStream->read(data, size);
48 status_t StreamSource::getSize(off_t *size) { argument
49 *size = mSize;
/frameworks/base/opengl/libagl/
H A DBufferObjectManager.h43 GLsizeiptr size; member in struct:android::gl::buffer_t
63 int allocateStore(gl::buffer_t* bo, GLsizeiptr size, GLenum usage);
/frameworks/base/opengl/tests/angeles/
H A Dgpustate.c8 static void *map_memory(const char *fn, unsigned base, unsigned size) argument
19 ptr = mmap(0, size, PROT_READ | PROT_WRITE,
24 fprintf(stderr,"cannot map %s (@%08x,%08x)\n", fn, base, size);
/frameworks/base/opengl/tests/gralloc/
H A Dgralloc.cpp30 void* lamecpy(void* d, void const* s, size_t size) { argument
33 while (size) {
35 size--;
42 size_t size = 128*256*4; local
43 void* temp = malloc(size);
44 void* temp2 = malloc(size);
45 memset(temp, 0, size);
46 memset(temp2, 0, size);
67 memset(vaddr, 0, size);
73 memcpy(temp, temp2, size);
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/stk/
H A DTextAttribute.java29 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

Completed in 2026 milliseconds

1234567891011