/dalvik/dx/src/com/android/dx/util/ |
ByteArray.java | 36 /** {@code >= 0, <= bytes.length}; size computed as 38 private final int size; field in class:ByteArray 67 this.size = end - start; 80 * Gets the size of the array, in bytes. 82 * @return {@code >= 0;} the size 84 public int size() { method in class:ByteArray 85 return size; 92 * @param end {@code >= start, <= size();} end index of 122 * @param off {@code >= 0, < size();} offset to fetch 133 * @param off {@code >= 0, < (size() - 1);} offset to fetc [all...] |
/external/webkit/WebCore/platform/image-decoders/ico/ |
ICOImageDecoder.cpp | 67 for (size_t i = 0; i < m_pngDecoders.size(); ++i) 79 IntSize ICOImageDecoder::size() const function in class:WebCore::ICOImageDecoder 81 return m_frameSize.isEmpty() ? ImageDecoder::size() : m_frameSize; 86 return (index && (index < m_dirEntries.size())) ? 87 m_dirEntries[index].m_size : size(); 95 // The size calculated inside the BMPImageReader had better match the one in 106 m_frameBufferCache.resize(m_dirEntries.size()); 110 return m_frameBufferCache.size(); 127 // Fail if the size the PNGImageDecoder calculated does not match the size [all...] |
/frameworks/base/graphics/java/android/renderscript/ |
Element.java | 67 DataType(int id, int size) { 69 mSize = size; 233 Element(RenderScript rs, DataType dt, DataKind dk, boolean norm, int size) { 235 mSize = dt.mSize * size; 239 mVectorSize = size; 240 mID = rs.nElementCreate(dt.mID, dk.mID, norm, size); 275 public static Element createVector(RenderScript rs, DataType dt, int size) { 276 if (size < 2 || size > 4) { 277 throw new IllegalArgumentException("Bad size"); 359 int size = 1; local [all...] |
/system/wlan/ti/sta_dk_4_0_4_32/CUDK/IPC/Linux/ |
ipc_user.c | 114 tiUINT32 size; local 124 size = max( max(sizeIn, sizeOut ), 8 ); /* always pass as pointer to buffer*/ 125 if( size >= 0xFFFF ) 127 print_err("Max. size for SET_GET ioctl - %u bytes (sizeIn=%u, sizeOut=%u)\n", 131 buf = setget_buf = malloc(size); 145 size = sizeOut; 151 size= sizeIn; 158 print_deb("===IPC_DeviceIoControl('%s', cmd=%u (%s%s), data=%p (%#x), size=%u, sizeRet = %p(%x))\n", 161 buf, (buf) ? * (tiINT32 *)buf : 0, size, sizeRet, sizeRet ? *sizeRet : -1); 165 ti_req->length = size; 215 memmove( buf, (char *) &ti_req->user_data_pointer, size ); local [all...] |
/frameworks/base/docs/html/sdk/api_diff/8/changes/ |
alldiffs_index_all.html | 47 <div id="indexTableCaption" style="background-color:#eee;padding:0 4px 0 4px;font-size:11px;margin-bottom:1em;"> 52 <br><font size="+2">A</font> 53 <a href="#B"><font size="-2">B</font></a> 54 <a href="#C"><font size="-2">C</font></a> 55 <a href="#D"><font size="-2">D</font></a> 56 <a href="#E"><font size="-2">E</font></a> 57 <a href="#F"><font size="-2">F</font></a> 58 <a href="#G"><font size="-2">G</font></a> 59 <a href="#H"><font size="-2">H</font></a> 60 <a href="#I"><font size="-2">I</font></a> [all...] |
/external/guava/src/com/google/common/collect/ |
Lists.java | 141 * <i>exact</i> size specified; equivalent to 144 * <p><b>Note:</b> if you know the exact size your list will be, consider 145 * using a fixed-size list ({@link Arrays#asList(Object[])}) or an {@link 148 * <p><b>Note:</b> If you have only an <i>estimate</i> of the eventual size of 152 * @param initialArraySize the exact size of the initial backing array for 156 * itself unless its size reaches {@code initialArraySize + 1} 174 * @param estimatedSize an estimate of the eventual {@link List#size()} of 247 @Override public int size() { method in class:Lists.OnePlusArrayList 252 checkElementIndex(index, size()); 292 @Override public int size() { method in class:Lists.TwoPlusArrayList 364 @Override public int size() { method in class:Lists.TransformingSequentialList [all...] |
/external/opencore/fileformats/mp4/parser/src/ |
assetinfoatoms.cpp | 46 uint32 size, 83 uint32 delta = (size - _count); 101 if (_count < size) 102 AtomUtils::seekFromCurrPos(fp, (size - _count)); 106 AssetInfoTitleAtom::AssetInfoTitleAtom(MP4_FF_FILE *fp, uint32 size, uint32 type) 107 : FullAtom(fp, size, type) 141 AssetInfoDescAtom::AssetInfoDescAtom(MP4_FF_FILE *fp, uint32 size, uint32 type) 142 : FullAtom(fp, size, type) 175 AssetInfoPerformerAtom::AssetInfoPerformerAtom(MP4_FF_FILE *fp, uint32 size, uint32 type) 176 : FullAtom(fp, size, type [all...] |
/external/srec/portable/src/ |
pmemblock.c | 54 unsigned long size; member in struct:memory_pools::pool_info 93 static uint32 findBin(size_t size) 98 if ((int)size <= bin) 135 static void MemoryTrackingAdd(size_t size) 138 uint32 bin = findBin(size); 192 gMemoryTracking.sCurrentAllocationSize += size; 193 gMemoryTracking.sTotalAllocationSize += size; 207 gMemoryTracking.sCurrentAllocationSizeArray[bin] += size; 208 gMemoryTracking.sTotalAllocationSizeArray[bin] += size; 219 static void MemoryTrackingDelete(unsigned long size) [all...] |
/frameworks/base/docs/html/sdk/api_diff/4/changes/ |
methods_index_changes.html | 47 <div id="indexTableCaption" style="background-color:#eee;padding:0 4px 0 4px;font-size:11px;margin-bottom:.5em;"> 51 <br><font size="+2">C</font> 52 <a href="#D"><font size="-2">D</font></a> 53 <a href="#G"><font size="-2">G</font></a> 54 <a href="#I"><font size="-2">I</font></a> 55 <a href="#O"><font size="-2">O</font></a> 56 <a href="#S"><font size="-2">S</font></a> 57 <a href="#T"><font size="-2">T</font></a> 58 <a href="#topheader"><font size="-2">TOP</font></a> 70 <br><font size="+2">D</font>  [all...] |
/dalvik/dx/src/com/android/dx/ssa/back/ |
InterferenceGraph.java | 75 int oldRegCount = interference.size(); 94 if (reg < interference.size()) { 102 * @param size requested minumum size 104 private void ensureCapacity(int size) { 105 int countRegs = interference.size(); 107 interference.ensureCapacity(size); 109 for (int i = countRegs; i < size; i++) { 110 interference.add(SetFactory.makeInterferenceSet(size));
|
/dalvik/libcore/concurrent/src/test/java/tests/api/java/util/concurrent/ |
CopyOnWriteArrayListTest.java | 32 assertEquals(n, a.size()); 49 Integer[] ints = new Integer[SIZE]; 50 for (int i = 0; i < SIZE-1; ++i) 53 for (int i = 0; i < SIZE; ++i) 61 Integer[] ints = new Integer[SIZE]; 62 for (int i = 0; i < SIZE-1; ++i) 65 for (int i = 0; i < SIZE; ++i) 80 assertEquals(6, full.size()); 94 assertEquals(5, full.size()); 101 CopyOnWriteArrayList full = populatedArray(SIZE); [all...] |
/external/elfutils/libelf/ |
elf32_updatenull.c | 108 off_t size; local 115 size = elf_typesize (LIBELFBITS, ELF_T_EHDR, 1); 131 size = MAX ((size_t) size, 142 size += elf_typesize (LIBELFBITS, ELF_T_PHDR, ehdr->e_phnum); 225 /* If the section header contained the wrong entry size 254 /* The user specified the offset and the size. 256 fits in the size specified for the section. */ 284 size = MAX ((GElf_Word) size, [all...] |
/external/jpeg/ |
jinclude.h | 54 * NOTE: we assume the size parameters to these functions are of type size_t. 61 #define MEMZERO(target,size) bzero((void *)(target), (size_t)(size)) 62 #define MEMCOPY(dest,src,size) bcopy((const void *)(src), (void *)(dest), (size_t)(size)) 67 #define MEMZERO(target,size) memset((void *)(target), 0, (size_t)(size)) 68 #define MEMCOPY(dest,src,size) memcpy((void *)(dest), (const void *)(src), (size_t)(size))
|
/external/opencore/baselibs/gen_data_structures/src/ |
bool_array.h | 37 size = max_array_size; 46 if (size <= 0 || size > (int) max_array_size) 50 size = in_size; 59 last_index = size - 1; 61 if (first_index < 0 || first_index > last_index || last_index >= size) 137 if (index < 0 || index >= size) 161 if (index < 0 || index >= size) 183 int size; member in class:BoolArray
|
/external/opencore/doc/oscl_html/ |
oscl__byte__order_8h.html | 19 <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group__osclbase.html#a38">little_endian_to_host</a> (char *data, uint32 size)</td></tr> 20 <tr><td> </td><td><font size=-1><em>Convert little endian to host format.</em> <a href="group__osclbase.html#a38"></a><em></em></font><br><br></td></tr> 21 <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group__osclbase.html#a39">host_to_little_endian</a> (char *data, unsigned int size)</td></tr> 22 <tr><td> </td><td><font size=-1><em>Convert host to little endian format.</em> <a href="group__osclbase.html#a39"></a><em></em></font><br><br></td></tr> 23 <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group__osclbase.html#a40">big_endian_to_host</a> (char *data, unsigned int size)</td></tr> 24 <tr><td> </td><td><font size=-1><em>Convert big endian to host format.</em> <a href="group__osclbase.html#a40"></a><em></em></font><br><br></td></tr> 25 <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group__osclbase.html#a41">host_to_big_endian</a> (char *data, unsigned int size)</td></tr> 26 <tr><td> </td><td><font size=-1><em>Convert host to big endian format.</em> <a href="group__osclbase.html#a41"></a><em></em></font><br><br></td></tr> 33 <hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small>
|
/external/opencore/fileformats/mp4/composer/src/ |
expandablebaseclass.cpp | 20 allows the encoding the size of the class in bytes with a VARIABLE NUMBER OF BITS 41 // Render the size of this class to a file stream using a variable number of bytes (1-4) 42 // with the leading bit of each byte as the indicator if that byte contains the size. 48 // byte fp valid - thus only the last 7 bits if each byte hold actual size data. Therefore 49 // the max size possible (limited to a 4-byte encoding) fp 2^28 - 1. 82 // Need to create size bytes with leading bit = 1 if there fp another 83 // size byte to follow. 90 // Set leading bit on all but last size byte 93 // Take last 7 bits of size and set leading bit in data
|
stylerecord.cpp | 147 int32 size = 0; local 149 size += 2; 150 size += 2; 151 size += 2; 152 size += 1; 153 size += 1; 154 size += 4; 156 _size = size; 158 // Update size of parent
|
/external/opencore/pvmi/pvmf/src/ |
pvmf_node_interface.cpp | 34 const unsigned int size = iSessions.size(); local 36 for (unsigned int i = 0; i < size; ++i) 70 const unsigned int size = iSessions.size(); local 72 for (unsigned int i = 0; i < size; ++i) 109 const unsigned int size = iSessions.size(); local 111 for (unsigned int i = 0; i < size; ++i)
|
/external/qemu/android/utils/ |
misc.c | 83 int size; member in struct:Temptring 92 tempstr_get( int size ) 99 size += 1; /* reserve 1 char for terminating zero */ 101 if (t->size < size) { 102 t->buffer = realloc( t->buffer, size ); 105 __FUNCTION__, size ); 108 t->size = size;
|
/external/skia/src/core/ |
SkTSearch.cpp | 134 size_t size = elemSize; local 135 if (size > SK_QSortTempSize) 136 size = SK_QSortTempSize; 137 elemSize -= size; 139 memcpy(tmp, a, size); 140 memcpy(a, b, size); 141 memcpy(b, tmp, size); 142 a += size; 143 b += size;
|
/external/srec/portable/include/ |
pstream.h | 44 unsigned int size; /* total buffer size; useful for writable file */ member in struct:PORT_FILE_HANDLE 45 unsigned int frame_size; /* buffer size in current frame; useful for writable file */ 58 int size; /* total buffer size */ member in struct:_FileRecord 74 PORTABLE_API size_t PortFread(void* buffer, size_t size, size_t count, PORT_FILE PortFile); 75 PORTABLE_API size_t PortFwrite(const void* buffer, size_t size, size_t count, PORT_FILE PortFile); 91 /* this function is to create a file with the limit size */ 92 PORTABLE_API int PortFcreate(const char *fname, void *pBuffer, int size);
|
/external/v8/test/mjsunit/ |
big-array-literal.js | 31 function testLiteral(size, array_in_middle) { 32 print(size); 39 for (var i = 0; i < size; i++) { 45 for (var i = 0; i < size; i++) { 57 for (var i = 0; i < size; i++) { 70 for (var i = 0; i < size; i++) { 92 function testLiteralAndCatch(size) { 95 testLiteral(size, false); 100 testLiteral(size, true);
|
/external/webkit/JavaScriptCore/bytecode/ |
CodeBlock.h | 218 inline ArrayType* binaryChop(ArrayType* array, size_t size, KeyType key) 222 while (size > 1) { 224 int pos = (size - 1) >> 1; 230 // The item we are looking for is smaller than the item being check; reduce the value of 'size', 233 size = pos; 236 size -= (pos + 1); 240 // 'size' should never reach zero. 241 ASSERT(size); 245 ASSERT(size == 1); 308 caller->position = m_linkedCallerList.size(); 444 unsigned addFunctionDecl(NonNullPassRefPtr<FunctionExecutable> n) { unsigned size = m_functionDecls.size(); m_functionDecls.append(n); return size; } local 447 unsigned addFunctionExpr(NonNullPassRefPtr<FunctionExecutable> n) { unsigned size = m_functionExprs.size(); m_functionExprs.append(n); return size; } local 450 unsigned addRegExp(RegExp* r) { createRareDataIfNecessary(); unsigned size = m_rareData->m_regexps.size(); m_rareData->m_regexps.append(r); return size; } local [all...] |
/external/webkit/JavaScriptCore/wtf/ |
TCSystemAlloc.cpp | 73 // Page size is initialized on demand 118 static void* TrySbrk(size_t size, size_t *actual_size, size_t alignment) { 119 size = ((size + alignment - 1) / alignment) * alignment; 124 *actual_size = size; 126 void* result = sbrk(size); 139 if (reinterpret_cast<uintptr_t>(r2) == (ptr + size)) { 144 // Give up and ask for "size + alignment - 1" bytes so 146 result = sbrk(size + alignment - 1); 162 static void* TryMmap(size_t size, size_t *actual_size, size_t alignment) [all...] |
/external/webkit/WebCore/platform/graphics/qt/ |
FontPlatformData.h | 38 , size(font.pointSizeF()) 42 FontPlatformDataPrivate(const float size, const bool bold, const bool oblique) 44 , size(size) 51 , size(font.pointSizeF()) 57 float size; member in class:WebCore::FontPlatformDataPrivate 66 FontPlatformData(float size, bool bold, bool oblique); 114 float size() const function in class:WebCore::FontPlatformData 118 return m_data->size;
|