/external/qemu/elff/ |
elf_mapped_section.h | 39 * really only care about section size being small enough to fit in 32
41 * as section size is encoded with 32-bit value even in 64-bit ELF file).
42 * size - Section byte size in ELF file.
49 bool map(MapFile* handle, Elf_Xword offset, Elf_Word size);
62 /* Gets section size. */
63 Elf_Word size() const {
function in class:ElfMappedSection 71 return is_mapped() && is_in_section(ptr, rsize, data(), size());
85 /* Section size. */
|
/external/skia/tests/ |
StreamTest.cpp | 7 static void random_fill(SkRandom& rand, void* buffer, size_t size) { 9 char* stop = p + size; 24 int size = rand.nextU() % MAX_SIZE; local 25 if (size == 0) { 26 size = MAX_SIZE; 30 SkMemoryStream mstream(storage, size); 34 while (bytesRead < size) { 38 REPORTER_ASSERT(reporter, bytesRead + ss <= size); 43 REPORTER_ASSERT(reporter, bytesRead == size);
|
/external/webkit/WebCore/dom/ |
SpaceSplitString.h | 40 size_t size = m_vector.size(); local 41 for (size_t i = 0; i < size; ++i) { 50 size_t size() { ensureVector(); return m_vector.size(); } function in class:WebCore::SpaceSplitStringData 51 const AtomicString& operator[](size_t i) { ensureVector(); ASSERT(i < size()); return m_vector[i]; } 75 size_t size() const { return m_data ? m_data->size() : 0; } function in class:WebCore::SpaceSplitStringData 76 const AtomicString& operator[](size_t i) const { ASSERT(i < size()); return (*m_data)[i]; }
|
/external/zlib/examples/ |
fitblk.c | 1 /* fitblk.c: example of fitting compressed output to a specified size 8 Use fixed-size, stack-allocated raw buffers 14 /* Approach to just fitting a requested compressed size: 18 nearly the requested output block size. The first pass generates 20 output size plus a specfied excess amount (see the EXCESS define 26 The last deflate block of the result will be of a comparable size 31 requested size minus an amount to allow the compressed stream to 34 requested size. Assuming sufficient input and a requested size 39 before filling the requested output size, then that compresse 130 unsigned size; \/* requested fixed output block size *\/ local [all...] |
/packages/apps/Calculator/src/com/android/calculator2/ |
History.java | 39 int size = in.readInt(); local 40 for (int i = 0; i < size; ++i) { 67 out.writeInt(mEntries.size()); 87 if (mPos < mEntries.size() - 1) { 96 if (mEntries.size() >= MAX_ENTRIES) { 99 if (mEntries.size() < 2 || 100 !text.equals(mEntries.elementAt(mEntries.size() - 2).getBase())) { 101 mEntries.insertElementAt(new HistoryEntry(text), mEntries.size() - 1); 103 mPos = mEntries.size() - 1;
|
/frameworks/base/docs/html/sdk/api_diff/4/changes/ |
alldiffs_index_all.html | 47 <div id="indexTableCaption" style="background-color:#eee;padding:0 4px 0 4px;font-size:11px;margin-bottom:.5em;"> 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="#I"><font size="-2">I</font></a> 60 <a href="#J"><font size="-2">J</font></a> [all...] |
/frameworks/base/docs/html/sdk/api_diff/3/changes/ |
fields_index_all.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">A</font> 52 <a href="#B"><font size="-2">B</font></a> 53 <a href="#C"><font size="-2">C</font></a> 54 <a href="#D"><font size="-2">D</font></a> 55 <a href="#E"><font size="-2">E</font></a> 56 <a href="#F"><font size="-2">F</font></a> 57 <a href="#G"><font size="-2">G</font></a> 58 <a href="#H"><font size="-2">H</font></a> 59 <a href="#I"><font size="-2">I</font></a> [all...] |
/dalvik/dx/src/com/android/dx/cf/iface/ |
StdFieldList.java | 29 * @param size the size of the list 31 public StdFieldList(int size) { 32 super(size); 43 * @param n {@code >= 0, < size();} which field
|
StdMethodList.java | 29 * @param size the size of the list 31 public StdMethodList(int size) { 32 super(size); 43 * @param n {@code >= 0, < size();} which method
|
/dalvik/dx/src/com/android/dx/dex/file/ |
UniformListItem.java | 27 * item in the list, in particular, must have the same write size and 33 * output list size (which is four bytes) and before the first item.</p> 39 /** the size of the list header */ 80 throw new IllegalArgumentException("items.size() == 0"); 88 * Calculates the write size for the given list. 91 * @return {@code >= 0;} the write size 95 * This class assumes all included items are the same size, 99 return (items.size() * first.writeSize()) + getAlignment(items); 167 int size = i.writeSize(); local 169 theSize = size; 190 int size = items.size(); local [all...] |
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/ess/ |
ESSCertID.java | 40 if (seq.size() < 1 || seq.size() > 2) 42 throw new IllegalArgumentException("Bad sequence size: " + seq.size()); 47 if (seq.size() > 1)
|
/dalvik/vm/native/ |
dalvik_system_VMRuntime.c | 57 * native long nativeMinimumHeapSize(long size, boolean set) 59 * If set is true, sets the new minimum heap size to size; always 60 * returns the current (or previous) size. If size is negative or 67 size_t size; local 72 size = 0; 74 size = INT_MAX; 76 size = (size_t)longSize; 79 size = dvmMinimumHeapSize(size, set) [all...] |
/external/dropbear/libtomcrypt/src/pk/ecc/ |
ecc_sizes.c | 34 for (i = 0; ltc_ecc_sets[i].size != 0; i++) { 35 if (ltc_ecc_sets[i].size < *low) { 36 *low = ltc_ecc_sets[i].size; 38 if (ltc_ecc_sets[i].size > *high) { 39 *high = ltc_ecc_sets[i].size;
|
/external/kernel-headers/original/asm-generic/bitops/ |
le.h | 22 #define generic_find_next_zero_le_bit(addr, size, offset) find_next_zero_bit(addr, size, offset) 44 unsigned long size, unsigned long offset); 50 #define generic_find_first_zero_le_bit(addr, size) \ 51 generic_find_next_zero_le_bit((addr), (size), 0)
|
/external/libxml2/include/libxml/ |
xmlmemory.h | 60 * @size: the size requested in bytes 66 typedef void *(ATTRIBUTE_ALLOC_SIZE(1) XMLCALL *xmlMallocFunc)(size_t size); 71 * @size: the new size requested in bytes 77 typedef void *(XMLCALL *xmlReallocFunc)(void *mem, size_t size); 153 xmlMemMalloc (size_t size) ATTRIBUTE_ALLOC_SIZE(1); 155 xmlMemRealloc (void *ptr,size_t size); 161 xmlMallocLoc (size_t size, const char *file, int line) ATTRIBUTE_ALLOC_SIZE(1); 163 xmlReallocLoc (void *ptr, size_t size, const char *file, int line) [all...] |
/external/opencore/fileformats/mp4/composer/src/ |
moviefragmentrandomaccessatom.cpp | 47 for (uint32 ii = 0; ii < _pTfraList->size(); ii++) 74 if (_pTfraList->size() != 0) 76 for (uint32 ii = 0; ii < _pTfraList->size(); ii++) 93 if (_pTfraList->size() != 0) 95 for (uint32 ii = 0; ii < _pTfraList->size(); ii++) 112 if (_pTfraList->size() != 0) 114 for (uint32 ii = 0; ii < _pTfraList->size(); ii++) 122 // recompute size of atom 126 int32 size = getDefaultSize(); local 128 // add size of mfro ato [all...] |
trackfragmentrunatom.cpp | 71 PVA_FF_TrackFragmentRunAtom::addSample(uint32 size, uint32 ts, uint8 flags) 89 uint32 size = _psampleEntriesVec->size(); local 91 (*_psampleEntriesVec)[size-1].sampleDuration = delta; // add sample duration for last sample.. same as second last sample 95 sampleEntry.sampleSize = size; 113 // recompute size of atom 117 int32 size = getDefaultSize(); local 119 size += 4; // sample count; 120 size += 4; // data offset 122 if (_psampleEntriesVec->size() != 0 147 uint32 size = _psampleEntriesVec->size(); local [all...] |
/external/oprofile/libutil/ |
op_deviceio.h | 36 * @param size size of buffer 38 * Read size bytes from a device into buffer buf. 40 * then a read is requested in one go of size bytes. 51 ssize_t op_read_device(fd_t devfd, void * buf, size_t size);
|
/external/qemu/ |
cbuffer.h | 21 int size; member in struct:__anon4231 27 cbuffer_reset( CBuffer* cb, void* buff, int size ) 30 cb->size = size; 38 return cb->size - cb->count;
|
shaper.h | 21 typedef void (*NetShaperSendFunc)( void* data, size_t size, void* opaque); 28 void netshaper_send( NetShaper shaper, void* data, size_t size ); 30 void netshaper_send_aux( NetShaper shaper, void* data, size_t size, void* opaque ); 41 void netdelay_send( NetDelay delay, const void* data, size_t size ); 42 void netdelay_send_aux( NetDelay delay, const void* data, size_t size, void* opaque );
|
/external/webkit/JavaScriptCore/wtf/ |
SegmentedVector.h | 54 if (m_index >= m_vector.m_segments.at(m_segment)->size()) { 55 if (m_segment + 1 < m_vector.m_segments.size()) { 56 ASSERT(m_vector.m_segments.at(m_segment)->size() > 0); 118 size_t size() const { return m_size; } function in class:WTF::SegmentedVector 119 bool isEmpty() const { return !size(); } 135 return at(size() - 1); 167 void grow(size_t size) 169 ASSERT(size > m_size); 170 ensureSegmentsFor(size); 171 m_size = size; [all...] |
/external/webkit/WebCore/platform/text/cf/ |
StringCF.cpp | 35 CFIndex size = CFStringGetLength(str); 36 if (size == 0) 39 Vector<UChar, 1024> buffer(size); 40 CFStringGetCharacters(str, CFRangeMake(0, size), (UniChar*)buffer.data()); 41 m_impl = StringImpl::create(buffer.data(), size);
|
/external/webkit/WebCore/platform/text/mac/ |
StringMac.mm | 32 CFIndex size = CFStringGetLength(reinterpret_cast<CFStringRef>(str)); 33 if (size == 0) 36 Vector<UChar, 1024> buffer(size); 37 CFStringGetCharacters(reinterpret_cast<CFStringRef>(str), CFRangeMake(0, size), buffer.data()); 38 m_impl = StringImpl::create(buffer.data(), size);
|
/frameworks/base/awt/java/awt/image/ |
DataBufferByte.java | 42 * @param size 48 public DataBufferByte(byte dataArrays[][], int size, int offsets[]) { 49 super(TYPE_BYTE, size, dataArrays.length, offsets); 58 * @param size 61 public DataBufferByte(byte dataArrays[][], int size) { 62 super(TYPE_BYTE, size, dataArrays.length); 72 * @param size 77 public DataBufferByte(byte dataArray[], int size, int offset) { 78 super(TYPE_BYTE, size, 1, offset); 89 * @param size [all...] |
DataBufferDouble.java | 42 * @param size 48 public DataBufferDouble(double dataArrays[][], int size, int offsets[]) { 49 super(TYPE_DOUBLE, size, dataArrays.length, offsets); 58 * @param size 61 public DataBufferDouble(double dataArrays[][], int size) { 62 super(TYPE_DOUBLE, size, dataArrays.length); 72 * @param size 77 public DataBufferDouble(double dataArray[], int size, int offset) { 78 super(TYPE_DOUBLE, size, 1, offset); 89 * @param size [all...] |