/frameworks/base/core/java/android/database/ |
H A D | CharArrayBuffer.java | 23 public CharArrayBuffer(int size) { argument 24 data = new char[size];
|
H A D | CursorIndexOutOfBoundsException.java | 24 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 D | SensorEvent.java | 143 SensorEvent(int size) { argument 144 values = new float[size];
|
/frameworks/base/libs/utils/ |
H A D | MemoryBase.cpp | 29 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 D | MemoryHeapBase.cpp | 49 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 74 size = ((size + pagesize-1) & ~(pagesize-1)); 75 if (mapfd(fd, size) == NO_ERROR) { 81 MemoryHeapBase::MemoryHeapBase(int fd, size_t size, uint32_ argument 87 mapfd(dup(fd), size); local 90 init(int fd, void *base, int size, int flags, const char* device) argument 103 mapfd(int fd, size_t size) argument [all...] |
H A D | MemoryDealer.cpp | 47 SimpleMemory(const sp<IMemoryHeap>& heap, ssize_t offset, size_t size); 55 const sp<MemoryDealer>& dealer, ssize_t offset, size_t size, 57 : mDealer(dealer), mOffset(offset), mSize(size), mMemory(memory) 64 /* NOTE: it's VERY important to not free allocations of size 0 because 72 ssize_t* offset, size_t* size) const 74 return mMemory->getMemory(offset, size); 79 MemoryDealer::MemoryDealer(size_t size, uint32_t flags, const char* name) argument 80 : mHeap(new SharedHeap(size, flags, name)), 81 mAllocator(new SimpleBestFitAllocator(size)) 101 sp<IMemory> MemoryDealer::allocate(size_t size, uint32_ argument 54 Allocation( const sp<MemoryDealer>& dealer, ssize_t offset, size_t size, const sp<IMemory>& memory) argument 146 SimpleBestFitAllocator(size_t size) argument 162 size_t SimpleBestFitAllocator::size() const function in class:android::SimpleBestFitAllocator 167 allocate(size_t size, uint32_t flags) argument 184 alloc(size_t size, uint32_t flags) argument 305 size_t size = 0; local 343 SharedHeap(size_t size, uint32_t flags, char const * name) argument 352 mapMemory(size_t offset, size_t size) argument 358 SimpleMemory(const sp<IMemoryHeap>& heap, ssize_t offset, size_t size) argument 392 size_t size = end-start; local [all...] |
H A D | MemoryHeapPmem.cpp | 56 SubRegionMemory(const sp<MemoryHeapPmem>& heap, ssize_t offset, size_t size); 58 virtual sp<IMemoryHeap> getMemory(ssize_t* offset, size_t* size) const; 67 ssize_t offset, size_t size) 68 : MemoryHeapPmem::MemoryPmem(heap), mSize(size), mOffset(offset) 72 memset(start_ptr, 0xda, size); 76 if (size > 0) { 78 size = (size + pagesize-1) & ~(pagesize-1); 80 struct pmem_region sub = { offset, size }; 83 "mFD=%d, sub.offset=%lu, sub.size 66 SubRegionMemory(const sp<MemoryHeapPmem>& heap, ssize_t offset, size_t size) argument 169 mapMemory(size_t offset, size_t size) argument 179 createMemory( size_t offset, size_t size) argument 191 size_t size = getSize(); local [all...] |
/frameworks/base/media/libdrm/mobile2/src/util/domcore/ |
H A D | NodeListImpl.cpp | 30 int size = nodeList.size();
local 32 if (size == 0 || index > size - 1 || index < 0)
41 return nodeList.size();
|
/frameworks/base/awt/java/awt/image/ |
H A D | DataBufferByte.java | 42 * @param size 48 public DataBufferByte(byte dataArrays[][], int size, int offsets[]) { argument 49 super(TYPE_BYTE, size, dataArrays.length, offsets); 58 * @param size 61 public DataBufferByte(byte dataArrays[][], int size) { argument 62 super(TYPE_BYTE, size, dataArrays.length); 72 * @param size 77 public DataBufferByte(byte dataArray[], int size, int offset) { argument 78 super(TYPE_BYTE, size, 1, offset); 89 * @param size 92 DataBufferByte(byte dataArray[], int size) argument 107 DataBufferByte(int size, int numBanks) argument 123 DataBufferByte(int size) argument [all...] |
H A D | DataBufferInt.java | 42 * @param size 48 public DataBufferInt(int dataArrays[][], int size, int offsets[]) { argument 49 super(TYPE_INT, size, dataArrays.length, offsets); 58 * @param size 61 public DataBufferInt(int dataArrays[][], int size) { argument 62 super(TYPE_INT, size, dataArrays.length); 72 * @param size 77 public DataBufferInt(int dataArray[], int size, int offset) { argument 78 super(TYPE_INT, size, 1, offset); 89 * @param size 92 DataBufferInt(int dataArray[], int size) argument 107 DataBufferInt(int size, int numBanks) argument 123 DataBufferInt(int size) argument [all...] |
H A D | DataBufferShort.java | 42 * @param size 48 public DataBufferShort(short dataArrays[][], int size, int offsets[]) { argument 49 super(TYPE_SHORT, size, dataArrays.length, offsets); 58 * @param size 61 public DataBufferShort(short dataArrays[][], int size) { argument 62 super(TYPE_SHORT, size, dataArrays.length); 72 * @param size 77 public DataBufferShort(short dataArray[], int size, int offset) { argument 78 super(TYPE_SHORT, size, 1, offset); 89 * @param size 92 DataBufferShort(short dataArray[], int size) argument 106 DataBufferShort(int size, int numBanks) argument 122 DataBufferShort(int size) argument [all...] |
H A D | DataBufferUShort.java | 44 * @param size 50 public DataBufferUShort(short dataArrays[][], int size, int offsets[]) { argument 51 super(TYPE_USHORT, size, dataArrays.length, offsets); 53 if (dataArrays[i].length < offsets[i] + size) { 54 // awt.28d=Length of dataArray[{0}] is less than size + 67 * @param size 70 public DataBufferUShort(short dataArrays[][], int size) { argument 71 super(TYPE_USHORT, size, dataArrays.length); 81 * @param size 86 public DataBufferUShort(short dataArray[], int size, in argument 105 DataBufferUShort(short dataArray[], int size) argument 120 DataBufferUShort(int size, int numBanks) argument 136 DataBufferUShort(int size) argument [all...] |
H A D | DataBuffer.java | 92 protected int size; field in class:DataBuffer 123 * @param size 131 protected DataBuffer(int dataType, int size, int numBanks, int[] offsets) { argument 133 this.size = size; 145 * @param size 152 protected DataBuffer(int dataType, int size, int numBanks, int offset) { argument 154 this.size = size; 170 * @param size 175 DataBuffer(int dataType, int size, int numBanks) argument 192 DataBuffer(int dataType, int size) argument [all...] |
H A D | DataBufferDouble.java | 42 * @param size 48 public DataBufferDouble(double dataArrays[][], int size, int offsets[]) { argument 49 super(TYPE_DOUBLE, size, dataArrays.length, offsets); 58 * @param size 61 public DataBufferDouble(double dataArrays[][], int size) { argument 62 super(TYPE_DOUBLE, size, dataArrays.length); 72 * @param size 77 public DataBufferDouble(double dataArray[], int size, int offset) { argument 78 super(TYPE_DOUBLE, size, 1, offset); 89 * @param size 92 DataBufferDouble(double dataArray[], int size) argument 107 DataBufferDouble(int size, int numBanks) argument 123 DataBufferDouble(int size) argument [all...] |
H A D | DataBufferFloat.java | 42 * @param size 48 public DataBufferFloat(float dataArrays[][], int size, int offsets[]) { argument 49 super(TYPE_FLOAT, size, dataArrays.length, offsets); 58 * @param size 61 public DataBufferFloat(float dataArrays[][], int size) { argument 62 super(TYPE_FLOAT, size, dataArrays.length); 72 * @param size 77 public DataBufferFloat(float dataArray[], int size, int offset) { argument 78 super(TYPE_FLOAT, size, 1, offset); 89 * @param size 92 DataBufferFloat(float dataArray[], int size) argument 107 DataBufferFloat(int size, int numBanks) argument 123 DataBufferFloat(int size) argument [all...] |
/frameworks/base/libs/ui/ |
H A D | LayerState.cpp | 25 size_t size = sizeof(layer_state_t); local 28 //size -= sizeof(surface); 31 size -= sizeof(transparentRegion); 33 output.write(this, size); 40 size_t size = sizeof(layer_state_t); local 43 //size -= sizeof(surface); 46 size -= sizeof(transparentRegion); 48 input.read(this, size);
|
/frameworks/opt/emoji/ |
H A D | EmojiFactory.h | 32 // 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/keystore/ |
H A D | keystore_get.h | 30 * and sets the size if the pointer is not NULL. One can release the memory by 32 static char *keystore_get(const char *key, int *size) argument 47 if (size) { 48 *size = length;
|
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/stk/ |
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/telephony/java/com/android/internal/telephony/ |
H A D | SmsRawData.java | 33 int size; 34 size = source.readInt(); 35 byte[] data = new byte[size]; 40 public SmsRawData[] newArray(int size) { 41 return new SmsRawData[size];
|
/frameworks/base/tools/aapt/ |
H A D | printapk.cpp | 30 off_t size; local 50 size = lseek(fd, 0, SEEK_END); 53 if (size < 0 || amt < 0) { 54 fprintf(stderr, "apk: error determining file size: %s\n", filename); 58 buf = malloc(size); 64 amt = read(fd, buf, size); 65 if (amt != size) { 72 zip = init_zipfile(buf, size); 89 size = get_zipentry_size(entry); 90 bufsize = size [all...] |
/frameworks/base/core/java/android/webkit/ |
H A D | WebBackForwardList.java | 74 * Get the total size of the back/forward list. 75 * @return The size of the list. 78 return mArray.size(); 110 final int size = mArray.size(); 112 if (newPos != size) { 113 for (int i = size - 1; i >= newPos; i--) { 162 int size = getSize(); 163 l.mArray = new ArrayList<WebHistoryItem>(size); 164 for (int i = 0; i < size; [all...] |
/frameworks/base/opengl/libagl/ |
H A D | BufferObjectManager.cpp | 45 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/base/keystore/jni/ |
H A D | cert.h | 62 int get_pkcs12_certificate(PKCS12_KEYSTORE *p12store, char *buf, int size); 63 int get_pkcs12_private_key(PKCS12_KEYSTORE *p12store, char *buf, int size); 64 int pop_pkcs12_certs_stack(PKCS12_KEYSTORE *p12store, char *buf, int size); 68 int get_cert_name(X509 *cert, char *buf, int size); 69 int get_issuer_name(X509 *cert, char *buf, int size); 71 int get_private_key_pem(X509 *cert, char *buf, int size);
|
/frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/ |
H A D | uqueue.h | 34 inline size_type size (void) const { return (m_Storage.size() - m_Front); } function in class:ustl::queue 35 inline bool empty (void) const { return (!size()); } 43 inline bool operator< (const queue& s) { return (size() < s.size()); } 64 if (++m_Front >= m_Storage.size())
|