/frameworks/base/awt/java/awt/image/ |
DataBufferFloat.java | 42 * @param size 48 public DataBufferFloat(float dataArrays[][], int size, int offsets[]) { 49 super(TYPE_FLOAT, size, dataArrays.length, offsets); 58 * @param size 61 public DataBufferFloat(float dataArrays[][], int size) { 62 super(TYPE_FLOAT, size, dataArrays.length); 72 * @param size 77 public DataBufferFloat(float dataArray[], int size, int offset) { 78 super(TYPE_FLOAT, size, 1, offset); 89 * @param size [all...] |
DataBufferInt.java | 42 * @param size 48 public DataBufferInt(int dataArrays[][], int size, int offsets[]) { 49 super(TYPE_INT, size, dataArrays.length, offsets); 58 * @param size 61 public DataBufferInt(int dataArrays[][], int size) { 62 super(TYPE_INT, size, dataArrays.length); 72 * @param size 77 public DataBufferInt(int dataArray[], int size, int offset) { 78 super(TYPE_INT, size, 1, offset); 89 * @param size [all...] |
DataBufferShort.java | 42 * @param size 48 public DataBufferShort(short dataArrays[][], int size, int offsets[]) { 49 super(TYPE_SHORT, size, dataArrays.length, offsets); 58 * @param size 61 public DataBufferShort(short dataArrays[][], int size) { 62 super(TYPE_SHORT, size, dataArrays.length); 72 * @param size 77 public DataBufferShort(short dataArray[], int size, int offset) { 78 super(TYPE_SHORT, size, 1, offset); 89 * @param size [all...] |
/frameworks/base/media/libdrm/mobile2/src/util/domcore/ |
NodeListImpl.cpp | 30 int size = nodeList.size();
local 32 if (size == 0 || index > size - 1 || index < 0)
41 return nodeList.size();
|
/frameworks/base/media/libstagefright/include/ |
ESDS.h | 29 ESDS(const void *data, size_t size); 35 status_t getCodecSpecificInfo(const void **data, size_t *size) const; 54 size_t offset, size_t size, 58 status_t parseESDescriptor(size_t offset, size_t size); 59 status_t parseDecoderConfigDescriptor(size_t offset, size_t size);
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
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];
|
/system/core/include/cutils/ |
memory.h | 27 /* size is given in bytes and must be multiple of 2 */ 28 void android_memset16(uint16_t* dst, uint16_t value, size_t size); 30 /* size is given in bytes and must be multiple of 4 */ 31 void android_memset32(uint32_t* dst, uint32_t value, size_t size); 35 size_t strlcpy(char *dst, const char *src, size_t size);
|
/cts/tests/tests/util/src/android/util/cts/ |
SparseBooleanArrayTest.java | 92 method = "size", 103 assertEquals(0, sparseBooleanArray.size()); 108 assertEquals(i + 1, sparseBooleanArray.size()); 129 assertEquals(13, sparseBooleanArray.size()); 132 assertEquals(13, sparseBooleanArray.size()); 138 int size = sparseBooleanArray.size(); local 140 assertEquals(size + 1, sparseBooleanArray.size()); 141 assertEquals(size, sparseBooleanArray.indexOfKey(NON_EXISTED_KEY)) 256 int size = sparseBooleanArray.size(); local [all...] |
SparseIntArrayTest.java | 105 method = "size", 117 assertEquals(0, sparseIntArray.size()); 122 assertEquals(i + 1, sparseIntArray.size()); 137 assertEquals(13, sparseIntArray.size()); 140 assertEquals(13, sparseIntArray.size()); 146 int size = sparseIntArray.size(); local 148 assertEquals(size + 1, sparseIntArray.size()); 149 assertEquals(size, sparseIntArray.indexOfKey(NON_EXISTED_KEY)) 268 int size = sparseIntArray.size(); local 304 int size = testData.length; local [all...] |
/external/skia/include/core/ |
SkStream.h | 34 /** Called to read or skip size number of bytes. 35 If buffer is NULL and size > 0, skip that many bytes, returning how many were skipped. 36 If buffer is NULL and size == 0, return the total length of the stream. 38 @param buffer If buffer is NULL, ignore and just skip size bytes, otherwise copy size bytes into buffer 39 @param size The number of bytes to skip or copy 42 virtual size_t read(void* buffer, size_t size) = 0; 78 @param buffer the address of at least size bytes to be written to the stream 79 @param size The number of bytes in buffer to write to the stream 82 virtual bool write(const void* buffer, size_t size) = 0 [all...] |
/development/host/windows/usb/legacy/driver/ |
android_usb_new_delete.h | 43 (memory size) is not good so we modify that operator by adding two more
59 @param size[in] Number of bytes to allocate.
69 __forceinline void* __cdecl operator new(size_t size,
72 ASSERT((pool_type < MaxPoolType) && (0 != size));
75 return size ? ExAllocatePoolWithTag(pool_type,
76 static_cast<ULONG>(size),
87 @param size[in] Number of bytes to allocate.
91 __forceinline void* __cdecl operator new(size_t size, POOL_TYPE pool_type) {
92 ASSERT((pool_type < MaxPoolType) && (0 != size));
95 return size ? ExAllocatePoolWithTag(pool_type, [all...] |
/external/libffi/src/m32r/ |
ffi.c | 47 if (ecif->cif->rtype->type == FFI_TYPE_STRUCT && ecif->cif->rtype->size > 8) 69 z = (*p_arg)->size; 93 z = (*p_arg)->size; 150 if (cif->rtype->size <= 4) 153 else if (cif->rtype->size <= 8) 190 ecif.rvalue = alloca (cif->rtype->size); 202 int size = cif->rtype->size; local 205 if (size < 4) 208 *(unsigned long *)(ecif.rvalue) <<= (4 - size) * 8 [all...] |
/external/v8/src/ |
allocation.cc | 36 void* Malloced::New(size_t size) { 38 void* result = malloc(size); 58 void* Embedded::operator new(size_t size) { 69 void* AllStatic::operator new(size_t size) { 109 void PreallocatedStorage::Init(size_t size) { 113 reinterpret_cast<PreallocatedStorage*>(new char[size]); 116 free_chunk->size_ = size - sizeof(PreallocatedStorage); 121 void* PreallocatedStorage::New(size_t size) { 123 return FreeStoreAllocationPolicy::New(size); 127 size = (size + kPointerSize - 1) & ~(kPointerSize - 1) [all...] |
/dalvik/dx/src/com/android/dx/rop/code/ |
InsnList.java | 29 * @param size the size of the list 31 public InsnList(int size) { 32 super(size); 40 * @param n {@code >= 0, < size();} which index 50 * @param n {@code >= 0, < size();} which index 59 * {@code get(size() - 1)}. 64 return get(size() - 1); 73 int sz = size(); 91 int sz = size(); [all...] |
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/util/ |
WeakHashMapTest.java | 62 // Check the entry set has correct size & content 65 entrySet.size()); 89 } while (count <= 5 && entrySet.size() == 100); 91 if ((count == 5) && (entrySet.size() == 100)) { 97 entrySet.size()); 103 int size = entrySet.size(); local 108 size--; 114 assertEquals("Assert 6: entry set count mismatch", size, entrySet 115 .size()); [all...] |
/external/bluetooth/glib/tests/ |
list-test.c | 11 #define SIZE 50 16 static guint32 array[SIZE]; 41 for (i = 0; i < SIZE; i++) { 46 for (i = 0; i < SIZE - 1; i++) { 67 for (i = 0; i < SIZE; i++) { 72 for (i = 0; i < SIZE - 1; i++) { 93 for (i = 0; i < SIZE; i++) { 97 for (i = 0; i < SIZE - 1; i++) { 118 for (i = 0; i < SIZE; i++) { 125 for (i = 0; i < SIZE - 1; i++) [all...] |
slist-test.c | 11 #define SIZE 50 16 static guint32 array[SIZE]; 41 for (i = 0; i < SIZE; i++) { 46 for (i = 0; i < SIZE - 1; i++) { 65 for (i = 0; i < SIZE; i++) { 70 for (i = 0; i < SIZE - 1; i++) { 89 for (i = 0; i < SIZE; i++) { 93 for (i = 0; i < SIZE - 1; i++) { 112 for (i = 0; i < SIZE; i++) { 119 for (i = 0; i < SIZE - 1; i++) [all...] |
/external/dropbear/libtomcrypt/src/pk/katja/ |
katja_make_key.c | 24 @param size The size of the modulus (key size) desired (octets) 28 int katja_make_key(prng_state *prng, int wprng, int size, katja_key *key) 36 if ((size < (MIN_KAT_SIZE/8)) || (size > (MAX_KAT_SIZE/8))) { 48 /* divide size by three */ 49 size = (((size << 3) / 3) + 7) >> 3; 51 /* make prime "q" (we negate size to make q == 3 mod 4) * [all...] |
/external/kernel-headers/original/linux/ |
auxvec.h | 12 #define AT_PHENT 4 /* size of program header entry */ 14 #define AT_PAGESZ 6 /* system page size */ 29 #define AT_VECTOR_SIZE 44 /* Size of auxiliary table. */
|
/external/opencore/fileformats/mp4/composer/src/ |
trackfragmentheaderatom.cpp | 76 // recompute size of atom 80 int32 size = getDefaultSize(); local 82 // add size various fields 83 size += 4; // track Id 88 size += 8; // base data offset 91 size += 4; // description index 94 size += 4; // sample duration 97 size += 4; // sample size 100 size += 4; // sample flag [all...] |
/external/qemu/android/utils/ |
system.h | 22 /* checked malloc, only returns NULL if size is 0 */ 23 void* android_alloc( size_t size ); 25 /* checked calloc, only returns NULL if size is 0 */ 26 void* android_alloc0( size_t size ); 28 /* checked realloc, only returns NULL if size if 0 */ 29 void* android_realloc( void* block, size_t size ); 41 #define AMEM_ZERO(dst,size) memset((char*)(dst), 0, (size_t)(size)) 42 #define AMEM_COPY(dst,src,size) memcpy((char*)(dst),(const char*)(src),(size_t)(size)) [all...] |
/external/skia/src/core/ |
SkBuffer.cpp | 22 void SkRBuffer::readNoSizeCheck(void* buffer, size_t size) 24 SkASSERT((fData != 0 && fStop == 0) || fPos + size <= fStop); 26 memcpy(buffer, fPos, size); 27 fPos += size; 30 const void* SkRBuffer::skip(size_t size) 33 readNoSizeCheck(NULL, size); 45 void* SkWBuffer::skip(size_t size) 48 writeNoSizeCheck(NULL, size); 52 void SkWBuffer::writeNoSizeCheck(const void* buffer, size_t size) 54 SkASSERT(fData == 0 || fStop == 0 || fPos + size <= fStop) [all...] |
/external/webkit/JavaScriptCore/runtime/ |
MarkStack.h | 88 static void* allocateStack(size_t size); 89 static void releaseStack(void* addr, size_t size); 148 inline size_t size() { return m_top; } function in struct:JSC::MarkStack::MarkStackArray 150 inline void shrinkAllocation(size_t size) 152 ASSERT(size <= m_allocated); 153 ASSERT(0 == (size % MarkStack::pageSize())); 154 if (size == m_allocated) 158 // we'll release the entire region and reallocate the size that we want. 160 m_data = reinterpret_cast<T*>(allocateStack(size)); 162 releaseStack(reinterpret_cast<char*>(m_data) + size, m_allocated - size) [all...] |
/external/webkit/WebCore/css/ |
CSSValueList.cpp | 37 unsigned s = list->size(); 51 if (index >= m_values.size()) 76 for (size_t index = 0; index < m_values.size(); index++) { 90 for (size_t index = 0; index < m_values.size(); index++) { 100 for (size_t index = 0; index < m_values.size(); index++) 109 unsigned size = m_values.size(); local 110 for (unsigned i = 0; i < size; i++) { 125 unsigned s = m_values.size(); 136 size_t size = m_values.size() local [all...] |
/external/webkit/WebKit/qt/tests/hybridPixmap/ |
widget.cpp | 48 QCOMPARE(ui->lbl1->pixmap()->size(), ui->lbl2->size()); 49 QCOMPARE(ui->lbl3->size(), ui->lbl4->pixmap()->size()); 50 QCOMPARE(ui->lbl2->size().width(), ui->webView->page()->mainFrame()->findFirstElement("#img1").evaluateJavaScript("this.width").toInt()); 51 QCOMPARE(ui->lbl3->size().width(), ui->webView->page()->mainFrame()->findFirstElement("#img2").evaluateJavaScript("this.width").toInt()); 61 QPixmap px(ui->lbl3->size()); 75 QImage img(ui->lbl2->size(), QImage::Format_ARGB32); 106 QCOMPARE(img.size(), ui->lbl3->size()); [all...] |