Searched refs:size (Results 1 - 25 of 1464) 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/media/libvideoeditor/osal/src/
H A DM4PSW_MemoryInterface.c32 * @fn M4OSA_MemAddr32 M4OSA_32bitAlignedMalloc(M4OSA_UInt32 size,
37 * @param size (IN): size of allocated block in bytes
44 M4OSA_MemAddr32 M4OSA_32bitAlignedMalloc(M4OSA_UInt32 size, argument
51 * If size is 0, malloc on WIN OS allocates a zero-length item in
55 if (size == 0)
60 if (size%4 != 0)
62 size = size + 4 - (size
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DStack.java35 public Stack(int size) { argument
36 super(size);
52 if (size() > 0) {
53 return remove(size() - 1);
64 if (size() > 0) {
65 return get(size() - 1);
/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);
H A DDataSetObservable.java34 for (int i = mObservers.size() - 1; i >= 0; i--) {
46 for (int i = mObservers.size() - 1; i >= 0; i--) {
/frameworks/base/core/java/android/hardware/
H A DSensorEvent.java455 SensorEvent(int size) { argument
456 values = new float[size];
/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
H A DMemoryHeapBase.cpp49 MemoryHeapBase::MemoryHeapBase(size_t size, uint32_t flags, char const * name) argument
54 size = ((size + pagesize-1) & ~(pagesize-1));
55 int fd = ashmem_create_region(name == NULL ? "MemoryHeapBase" : name, size);
58 if (mapfd(fd, size) == NO_ERROR) {
66 MemoryHeapBase::MemoryHeapBase(const char* device, size_t size, uint32_t flags) argument
78 size = ((size + pagesize-1) & ~(pagesize-1));
79 if (mapfd(fd, size) == NO_ERROR) {
85 MemoryHeapBase::MemoryHeapBase(int fd, size_t size, uint32_ argument
91 mapfd(dup(fd), size, offset); local
94 init(int fd, void *base, int size, int flags, const char* device) argument
107 mapfd(int fd, size_t size, uint32_t offset) argument
[all...]
/frameworks/base/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dm4venc_oscl.h31 #define M4VENC_MALLOC(size) malloc(size)
34 #define M4VENC_MEMSET(ptr,val,size) memset(ptr,val,size)
35 #define M4VENC_MEMCPY(dst,src,size) memcpy(dst,src,size)
/frameworks/base/libs/diskusage/
H A Ddirsize.c27 int64_t size = s->st_size; local
30 /* round up to filesystem block size */
31 size = (size + blksize - 1) & (~(blksize - 1));
34 return size;
39 int64_t size = 0; local
65 size += calculate_dir_size(subfd);
69 size += stat_size(&s);
74 return size;
/frameworks/base/media/libstagefright/
H A DESDS.cpp27 ESDS::ESDS(const void *data, size_t size) argument
28 : mData(new uint8_t[size]),
29 mSize(size),
34 memcpy(mData, data, size);
58 status_t ESDS::getCodecSpecificInfo(const void **data, size_t *size) const {
64 *size = mDecoderSpecificLength;
70 size_t offset, size_t size,
72 if (size == 0) {
77 --size;
82 if (size
69 skipDescriptorHeader( size_t offset, size_t size, uint8_t *tag, size_t *data_offset, size_t *data_size) const argument
123 parseESDescriptor(size_t offset, size_t size) argument
191 parseDecoderConfigDescriptor(size_t offset, size_t size) argument
[all...]
/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/compile/linkloader/utils/
H A Dserialize.h69 ArchiveReader(unsigned char const *buf = NULL, size_t size = 0)
70 : buf_begin(buf), buf_end(buf + size),
74 void prologue(size_t size) { argument
79 void epilogue(size_t size) { argument
81 rsl_assert(cursor_base + size >= cursor);
82 cursor = cursor_base + size;
94 void readBytes(void *array, size_t size) { argument
95 if (!good || cursor + size > buf_end) {
98 memcpy(array, cursor, size);
102 template <size_t size>
[all...]
H A Dhelper.h23 size_t size, size_t begin, size_t end);
H A Dtraits.h31 enum { size = sizeof(Type) }; enumerator in enum:TypeTraits::__anon1310
38 enum { size = 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/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/comm/src/
H A DomxVCCOMM_LimitMVToRect.c37 * size - size of the current block or macroblock; must be equal to 8 or
51 * - size is not equal to either 8 or 16.
53 * twice the block size.
61 OMX_INT size
68 armRetArgErrIf((size != 8) && (size != 16), OMX_Sts_BadArgErr);
69 armRetArgErrIf((pRectVOPRef->width < (2* size)), OMX_Sts_BadArgErr);
70 armRetArgErrIf((pRectVOPRef->height < (2* size)), OMX_Sts_BadArgErr);
73 (2*pRectVOPRef->x + pRectVOPRef->width - Xcoord - size));
[all...]
/frameworks/base/core/jni/android/graphics/
H A DUtils.cpp31 size_t AssetStreamAdaptor::read(void* buffer, size_t size) { argument
35 if (0 == size) { // caller is asking us for our total length
46 off64_t newOffset = fAsset->seek(size, SEEK_CUR);
48 SkDebugf("---- fAsset->seek(%d) failed\n", size);
53 amount = fAsset->read(buffer, size);
55 SkDebugf("---- fAsset->read(%d) returned %d\n", size, amount);
/frameworks/base/obex/javax/obex/
H A DPrivateOutputStream.java69 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/base/include/media/stagefright/foundation/
H A Dhexdump.h25 void hexdump(const void *_data, size_t size);
/frameworks/base/media/libstagefright/codecs/aacenc/inc/
H A Dmemalign.h29 extern void *mem_malloc(VO_MEM_OPERATOR *pMemop, unsigned int size, unsigned char alignment, unsigned int CodecID);
/frameworks/base/media/libstagefright/codecs/amrwbenc/inc/
H A Dmem_align.h29 extern void *mem_malloc(VO_MEM_OPERATOR *pMemop, unsigned int size, unsigned char alignment, unsigned int CodecID);
/frameworks/base/telephony/java/com/android/internal/telephony/cat/
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
/frameworks/base/media/libeffects/lvm/lib/Common/src/
H A DDelayWrite_32.c30 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

Completed in 6650 milliseconds

1234567891011>>