/frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/ |
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())
|
/frameworks/base/services/java/com/android/server/am/ |
UriPermission.java | 44 if (readActivities.size() > 0) { 47 if (r.readUriPermissions.size() == 0) { 57 if (readActivities.size() > 0) { 60 if (r.writeUriPermissions.size() == 0) { 88 if (readActivities.size() != 0) { 91 if (writeActivities.size() != 0) {
|
/packages/apps/Email/src/org/apache/james/mime4j/field/address/ |
DomainList.java | 47 public int size() {
method in class:DomainList 48 return domains.size();
54 * @throws IndexOutOfBoundsException If index is < 0 or >= size().
57 if (0 > index || size() <= index)
68 for (int i = 0; i < domains.size(); i++) {
71 if (i + 1 < domains.size())
|
/frameworks/base/docs/html/sdk/api_diff/3/changes/ |
methods_index_additions.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...] |
methods_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/libcore/nio/src/main/java/org/apache/harmony/nio/internal/ |
FileChannelImpl.java | 113 protected FileLock basicLock(long position, long size, boolean shared, 115 if ((position < 0) || (size < 0)) { 116 // nio.0A=Lock position and size must be non-negative. 121 FileLock pendingLock = new FileLockImpl(this, position, size, shared); 124 if (fileSystem.lock(handle, position, size, lockType, wait)) { 139 public final FileLock lock(long position, long size, boolean shared) 147 resultLock = basicLock(position, size, shared, true); 162 public final FileLock tryLock(long position, long size, boolean shared) 165 return basicLock(position, size, shared, false); 174 fileSystem.unlock(handle, lock.position(), lock.size()); 385 public long size() throws IOException { method in class:FileChannelImpl 415 long size = fileSrc.size(); local [all...] |
/external/icu4c/i18n/ |
ucol_cnt.cpp | 10 * tab size: 8 (not used) 30 if(tbl->position == tbl->size) { 31 uint32_t *newData = (uint32_t *)uprv_realloc(tbl->CEs, 2*tbl->size*sizeof(uint32_t)); 36 UChar *newCPs = (UChar *)uprv_realloc(tbl->codePoints, 2*tbl->size*sizeof(UChar)); 44 tbl->size *= 2; 68 tbl->size = 0; 94 el->size = INIT_EXP_TABLE_SIZE; 98 table->elements[table->size] = el; 100 //uhash_put(table->elements, (void *)table->size, el, status); 102 *key = table->size++ 186 int32_t size = table->elements[i]->position; local [all...] |
/external/skia/src/core/ |
SkPicturePlayback.cpp | 25 SkDebugf("picture record mem used %zd (stream %zd) ", record.size(), 28 SkDebugf("bitmaps size %zd (bitmaps:%d) ", bitmapBytes, bitmaps); 30 SkDebugf("matrices size %zd (matrices:%d) ", matricesBytes, matrices); 32 SkDebugf("paints size %zd (paints:%d) ", paintBytes, paints); 34 SkDebugf("paths size %zd (paths:%d) ", pathBytes, paths); 36 SkDebugf("pictures size %zd (pictures:%d) ", pictureBytes, pictures); 38 SkDebugf("regions size %zd (regions:%d) ", regionBytes, regions); 40 SkDebugf("points size %zd (points:%d) ", record.fPointBytes, record.fPointWrites); 42 SkDebugf("rects size %zd (rects:%d) ", record.fRectBytes, record.fRectWrites); 44 SkDebugf("text size %zd (text strings:%d) ", record.fTextBytes, record.fTextWrites) 60 size_t size = writer.size(); local 172 size_t size = src.fReader.size(); local 374 uint32_t size = fRegions[i].flatten(NULL); local 424 size_t size = readTagSize(stream, PICT_READER_TAG); local 456 uint32_t size = readTagSize(stream, PICT_ARRAYS_TAG); local 490 uint32_t size = buffer.readU32(); local 755 size_t size = skipRect.fSize + skipPath.fSize + skipRegion.fSize; local 879 int SkPicturePlayback::size(size_t* sizePtr) { function in class:SkPicturePlayback [all...] |
/external/freetype/include/freetype/internal/ |
ftdriver.h | 42 (*FT_Size_InitFunc)( FT_Size size ); 45 (*FT_Size_DoneFunc)( FT_Size size ); 56 (*FT_Size_RequestFunc)( FT_Size size, 60 (*FT_Size_SelectFunc)( FT_Size size, 66 (*FT_Size_ResetPointsFunc)( FT_Size size, 73 (*FT_Size_ResetPixelsFunc)( FT_Size size, 81 FT_Size size, 127 /* face_object_size :: The size of a face object in bytes. */ 129 /* size_object_size :: The size of a size object in bytes. * [all...] |
/external/opencore/fileformats/avi/parser/src/ |
pv_avifile_header.cpp | 28 for (uint32 ii = 0; ii < iStreamList.size(); ii++) 47 //get the size of unsupported chunk and skip it. 56 bytesRead += chksz + CHUNK_SIZE + CHUNK_SIZE; //data + chunk size + chunk type 79 PVAVIFILE_LOGERROR((0, "PVAviFileHeader::PVAviFileHeader: File Size & Byte Count mismatch")); 98 PVAVIFILE_LOGERROR((0, "PVAviFileHeader::PVAviFileHeader: File Size & Byte Count mismatch")); 105 PVAVIFILE_LOGERROR((0, "PVAviFileHeader::PVAviFileHeader: AVIH size greater than file header size")); 119 PVAVIFILE_LOGERROR((0, "PVAviFileHeader::PVAviFileHeader: File Size & Byte Count mismatch")); 137 PVAVIFILE_LOGERROR((0, "PVAviFileHeader::PVAviFileHeader: File Size & Byte Count mismatch")); 144 PVAVIFILE_LOGERROR((0, "PVAviFileHeader::PVAviFileHeader: stream list soze greater tha file header size")); [all...] |
/external/skia/src/images/ |
SkImageDecoder_fpdfemb.cpp | 64 static void* pdf_alloc(FPDFEMB_MEMMGR* pMgr, unsigned int size) { 65 void* addr = sk_malloc_throw(size); 66 // SkDebugf("---- pdf_alloc %d %p\n", size, addr); 70 static void* pdf_alloc_nl(FPDFEMB_MEMMGR* pMgr, unsigned int size) { 71 void* addr = sk_malloc_flags(size, 0); 72 // SkDebugf("---- pdf_alloc_nl %d %p\n", size, addr); 76 static void* pdf_realloc(FPDFEMB_MEMMGR*, void* addr, unsigned int size) { 77 void* newaddr = sk_realloc_throw(addr, size); 78 // SkDebugf("---- pdf_realloc %p %d %p\n", addr, size, newaddr); 97 unsigned int offset, unsigned int size) { [all...] |
/cts/tools/signature-tools/test/signature/converter/ |
ConvertEnumTest.java | 64 assertEquals(3, constants.size()); 78 // assertEquals(0, enumConstant.getAnnotations().size()); 101 assertEquals(3, constants.size()); 104 assertEquals(1, fields.size()); 126 assertEquals(3, constants.size()); 129 assertEquals(0, ctors.size()); 132 assertEquals(2, methods.size()); 140 assertEquals(0, values.getParameters().size()); 149 assertEquals(1, valueOf.getParameters().size()); 169 assertEquals(2, constants.size()); [all...] |
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/ |
OrderedTable.java | 52 private int size; field in class:OrderedTable 71 int sz = size; 116 size = sz + 1; 122 public int size() { method in class:OrderedTable 123 return size; 134 int sz = size; 136 for (int i = 0; i < size; i++) { 154 if ((n < 0) || (n >= size)) { 174 if ((n < 0) || (n >= size)) { 200 /** original size; used for modification detection * [all...] |
/dalvik/libcore-disabled/sound/src/main/java/javax/sound/midi/ |
Track.java | 66 * doesn't contain some events, i.e. Track.size() return 0, this 76 if (events.size() == 0) { 79 byte[] bt = events.get(events.size() - 1).getMessage().getMessage(); 90 if (events.size() == 0) { 96 byte[] bt = events.get(events.size() - 1).getMessage().getMessage(); 108 if (events.size() == 1) { 111 for (int i = 0; i < events.size() - 1; i++ ) { 129 if (index < 0 || index >= events.size()) { 130 // sound.02=Index: {0}, Size: {1} 131 throw new ArrayIndexOutOfBoundsException(Messages.getString("sound.02", index, events.size())); //$NON-NLS-1 157 public int size() { method in class:Track [all...] |
/external/guava/src/com/google/common/collect/ |
ObjectArrays.java | 79 * @return an array whose size is one larger than {@code array}, with 95 * @return an array whose size is one larger than {@code array}, with 118 * specified array and the size of the specified collection. 129 * <p>TODO: Support concurrent collections whose size can change while the 139 int size = c.size(); local 140 if (array.length < size) { 141 array = newArray(array, size); 144 if (array.length > size) { 145 array[size] = null [all...] |
/external/icu4c/tools/toolutil/ |
toolutil.c | 10 * tab size: 8 (not used) 155 int32_t capacity, maxCapacity, size, idx; member in struct:UToolMemory 161 utm_open(const char *name, int32_t initialCapacity, int32_t maxCapacity, int32_t size) { 168 mem=(UToolMemory *)uprv_malloc(sizeof(UToolMemory)+initialCapacity*size); 178 mem->size=size; 226 mem->array=uprv_malloc(newCapacity*mem->size); 228 uprv_memcpy(mem->array, mem->staticArray, mem->idx*mem->size); 231 mem->array=uprv_realloc(mem->array, newCapacity*mem->size); 245 char *p=(char *)mem->array+mem->idx*mem->size; [all...] |
/external/opencore/fileformats/mp4/composer/src/ |
interleavebuffer.cpp | 40 // initialise interleaved buffers for audio or video track( max size) 109 uint32 size, uint32 ts, uint8 flags, int32 index) 121 if (checkInterLeaveBufferSpace(size)) 125 for (ii = 0; ii < fragmentList.size(); ii++) 141 for (ii = 0; ii < fragmentList.size(); ii++) 148 _currInterLeaveBufferSize += size; 153 _pSampleSizeVec->push_back(size); 165 // returns false if interleave buffer does not have free space = size 167 PVA_FF_InterLeaveBuffer::checkInterLeaveBufferSpace(uint32 size) 169 if ((_currInterLeaveBufferSize + size) > _maxInterLeaveBufferSize [all...] |
/external/opencore/fileformats/mp4/parser/include/ |
assetinfoatoms.h | 44 uint32 size, 78 AssetInfoTitleAtom(MP4_FF_FILE *fp, uint32 size, uint32 type); 110 AssetInfoDescAtom(MP4_FF_FILE *fp, uint32 size, uint32 type); 139 AssetInfoPerformerAtom(MP4_FF_FILE *fp, uint32 size, uint32 type); 168 AssetInfoAuthorAtom(MP4_FF_FILE *fp, uint32 size, uint32 type); 197 AssetInfoGenreAtom(MP4_FF_FILE *fp, uint32 size, uint32 type); 226 AssetInfoRatingAtom(MP4_FF_FILE *fp, uint32 size, uint32 type); 267 AssetInfoClassificationAtom(MP4_FF_FILE *fp, uint32 size, uint32 type); 310 uint32 size; member in class:AssestInfoKeyWord 322 AssetInfoKeyWordAtom(MP4_FF_FILE *fp, uint32 size, uint32 type) [all...] |
/external/opencore/protocols/sdp/parser/src/ |
sdp_mediaparser_registry_populator.cpp | 84 memFrag.len = (uint32)rfc3640.size(); 88 memFrag.len = (uint32)pcmu.size(); 92 memFrag.len = (uint32)pcma.size(); 96 memFrag.len = (uint32)h264.size(); 100 memFrag.len = (uint32)still.size(); 104 memFrag.len = (uint32)author_m4v.size(); 108 memFrag.len = (uint32)m4v.size(); 112 memFrag.len = (uint32)h263.size(); 116 memFrag.len = (uint32)h263_old.size(); 120 memFrag.len = (uint32)amrwb.size(); [all...] |
/external/openssl/crypto/bio/ |
bss_bio.c | 98 static int bio_read(BIO *bio, char *buf, int size); 136 size_t size; member in struct:bio_bio_st 137 char *buf; /* "size" elements (if != NULL) */ 142 * never more than buffer space (size-len) warrants. */ 154 b->size = 17*1024; /* enough for one TLS record (just a default) */ 189 size_t size = size_; local 207 if (buf == NULL || size == 0) 217 if (size <= peer_b->size) 218 peer_b->request = size; [all...] |
/external/qemu/ |
buffered_file.c | 50 const uint8_t *buf, size_t size) 52 if (size > (s->buffer_capacity - s->buffer_size)) { 56 s->buffer_capacity, size + 1024); 58 s->buffer_capacity += size + 1024; 69 memcpy(s->buffer + s->buffer_size, buf, size); 70 s->buffer_size += size; 110 static int buffered_put_buffer(void *opaque, const uint8_t *buf, int64_t pos, int size) 116 dprintf("putting %ld bytes at %Ld\n", size, pos); 128 while (!s->freeze_output && offset < size) { 134 ret = s->put_buffer(s->opaque, buf + offset, size - offset) [all...] |
/external/qemu/hw/ |
sysbus.c | 44 cpu_register_physical_memory(dev->mmio[n].addr, dev->mmio[n].size, 51 cpu_register_physical_memory(addr, dev->mmio[n].size, 78 void sysbus_init_mmio(SysBusDevice *dev, target_phys_addr_t size, int iofunc) 85 dev->mmio[n].size = size; 89 void sysbus_init_mmio_cb(SysBusDevice *dev, target_phys_addr_t size, 97 dev->mmio[n].size = size; 113 assert(info->qdev.size >= sizeof(SysBusDevice)); 117 void sysbus_register_dev(const char *name, size_t size, sysbus_initfn init [all...] |
/external/skia/src/ports/ |
SkImageRef_ashmem.cpp | 18 static size_t roundToPageSize(size_t size) { 20 size_t newsize = (size + mask) & ~mask; 21 // SkDebugf("---- oldsize %d newsize %d\n", size, newsize); 64 const size_t size = roundToPageSize(bm->getSize()); local 74 fd = ashmem_create_region(fName, size); 76 SkDebugf("=== ashmem_create_region %s size=%d fd=%d\n", fName, size, fd); 80 fName, size); 91 addr = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_PRIVATE, fd, 0); 93 SkDebugf("---------- mmap failed for imageref_ashmem size=%d err=%d\n" [all...] |
/external/stlport/stlport/stl/ |
_string_sum_methods.h | 25 : _STLP_STRING_SUM_BASE(_Reserve_t(), __s.size(), __s.get_allocator()) 32 : _STLP_STRING_SUM_BASE(_Reserve_t(), (__pos <= __s.size()) ? ((min) (__n, __s.size() - __pos)) : 0, __a) { 33 size_type __size = __s.size(); 48 { return _M_append_fast(__s.c_str(), __s.size(), __buf); } 52 { return _M_append_fast(__s.data(), __s.size(), __buf); } 70 { return _M_append_fast_pos(__s.c_str(), __s.size(), __buf, __pos, __n); } 76 { return _M_append_fast_pos(__s.data(), __s.size(), __buf, __pos, __n); } 87 size_type __lhs_size = __s.getLhs().size(); 102 size_type __s_size = __s.size(); [all...] |
/external/v8/src/ |
allocation.h | 70 void* operator new(size_t size) { return New(size); } 74 static void* New(size_t size); 89 void* operator new(size_t size); 102 void* operator new(size_t size); 109 static T* NewArray(int size) { 111 T* result = new T[size]; 134 INLINE(static void* New(size_t size)) { return Malloced::New(size); } 144 explicit PreallocatedStorage(size_t size); 145 size_t size() { return size_; } function in class:v8::internal::PreallocatedStorage [all...] |