/dalvik/libcore/nio/src/main/java/org/apache/harmony/nio/internal/ |
ReadOnlyFileChannel.java | 66 public final FileChannel truncate(long size) throws IOException { 68 if (size < 0) { 83 public final MappedByteBuffer map(MapMode mode, long position, long size) 89 if (position < 0 || size < 0 || size > Integer.MAX_VALUE) { 95 return super.mapImpl(IMemorySystem.MMAP_READ_ONLY, position, size); 103 protected final FileLock basicLock(long position, long size, 108 return super.basicLock(position, size, shared, true);
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/params/ |
IESWithCipherParameters.java | 12 * @param macKeySize the size of the MAC key (in bits). 13 * @param cipherKeySize the size of the associated Cipher key (in bits).
|
/dalvik/libcore/x-net/src/main/java/javax/net/ssl/ |
SSLSessionContext.java | 46 * Returns the size of the session cache for this session context. 48 * @return the size of the session cache for this session context, or 62 * Sets the size of the session cache for this session context. 64 * @param size 65 * the size of the session cache, or {@code zero} for unlimited 66 * cache size. 68 * if {@code size} is negative. 70 public void setSessionCacheSize(int size) throws IllegalArgumentException;
|
/external/astl/src/ |
ostream.cpp | 65 int size = snprintf(buf, kNumSize, fmt, val); local 66 return write(buf, size); 72 int size = snprintf(buf, kNumSize, fmt, val); local 73 return write(buf, size); 79 int size = snprintf(buf, kNumSize, fmt, val); local 80 return write(buf, size); 86 int size = snprintf(buf, kNumSize, fmt, val); local 87 return write(buf, size); 93 int size = snprintf(buf, kNumSize, fmt, val); local 94 return write(buf, size); 100 int size = snprintf(buf, kNumSize, fmt, val); local 108 int size = snprintf(buf, kNumSize, fmt, precision(), val); local 115 int size = snprintf(buf, kNumSize, fmt, precision(), val); local 122 int size = snprintf(buf, kNumSize, fmt, p); local [all...] |
/external/e2fsprogs/lib/ext2fs/ |
tst_super_size.c | 2 * This testing program makes sure superblock size is 1024 bytes long 22 printf("Size of struct ext2_super_block is %d\n", s);
|
/external/guava/src/com/google/common/collect/ |
RegularImmutableSortedSet.java | 72 Iterators.forArray(elements, fromIndex, size()); 79 public int size() { method in class:RegularImmutableSortedSet 96 // targets.size() < size() / log(size()) 97 if (!hasSameComparator(targets, comparator()) || (targets.size() <= 1)) { 150 Object[] array = new Object[size()]; 151 Platform.unsafeArrayCopy(elements, fromIndex, array, 0, size()); 157 int size = size(); local [all...] |
/external/kernel-headers/original/asm-x86/ |
e820.h | 15 __u64 size; /* size of memory segment */ member in struct:e820entry
|
/external/opencore/fileformats/mp4/composer/src/ |
mediaatom.cpp | 67 uint32 size, 73 _pmediaInformation->nextSample(mediaType, psample, size, ts, 81 uint32 size, 88 _pmediaInformation->nextTextSample(mediaType, psample, size, ts, 96 uint32 size, 102 _pmediaInformation->nextSample(mediaType, fragmentList, size, ts, 111 uint32 size, 118 _pmediaInformation->nextTextSample(mediaType, fragmentList, size, ts, 125 PVA_FF_MediaAtom::reAuthorFirstSample(uint32 size, 129 _pmediaInformation->reAuthorFirstSample(size, 148 int32 size = getDefaultSize(); \/\/ Get size of base class members local [all...] |
mediainformationatom.cpp | 117 uint32 size, 124 size, ts, flags, 131 uint32 size, 139 size, ts, flags, index, 146 uint32 size, 153 size, ts, flags, 161 uint32 size, 169 size, ts, flags, index, 175 PVA_FF_MediaInformationAtom::reAuthorFirstSample(uint32 size, 179 _psampleTableAtom->reAuthorFirstSample(size, 195 uint32 size = getDefaultSize(); local [all...] |
moviefragmentrandomaccessoffsetatom.cpp | 41 PVA_FF_MfroAtom::setSize(uint32 size) 43 _atomSize = size; 48 // recompute size of atom 52 int32 size = getDefaultSize(); local 54 size += 4; // atom size 56 _size = size; 58 // Update the parent atom size
|
/external/oprofile/libutil/ |
op_deviceio.c | 28 ssize_t op_read_device(fd_t devfd, void * buf, size_t size) 34 count = read(devfd, buf, size);
|
/external/skia/src/images/ |
SkCreateRLEPixelRef.cpp | 63 // estimate the rle size based on the original size 64 size_t size = src.getSize() >> 3; local 65 if (size < maxPacked) { 66 size = maxPacked; 70 (src.width(), src.height(), size)); 80 dstRow = (uint8_t*)rlePixels->fStorage.allocThrow(size); 81 free = size;
|
/external/stlport/stlport/stl/ |
_relops_cont.h | 9 return __x.size() == __y.size() &&
|
/external/webkit/JavaScriptCore/jit/ |
ExecutableAllocatorPosix.cpp | 56 int result = munmap(alloc.pages, alloc.size); 63 void ExecutableAllocator::reprotectRegion(void* start, size_t size, ProtectionSeting setting) 69 // and account for this extra memory within size. 73 size += (startPtr - pageStartPtr); 75 // Round size up 76 size += (pageSize - 1); 77 size &= ~(pageSize - 1); 79 mprotect(pageStart, size, (setting == Writable) ? PROTECTION_FLAGS_RW : PROTECTION_FLAGS_RX);
|
ExecutableAllocator.h | 71 size_t size = request + (granularity - 1); local 72 size = size & ~(granularity - 1); 73 ASSERT(size >= request); 74 return size; 87 size_t size; member in struct:JSC::ExecutablePool::Allocation 104 // Round 'n' up to a multiple of word size; if all allocations are of 126 size_t available() const { return (m_pools.size() > 1) ? 0 : m_end - m_freePtr; } 174 static void makeWritable(void* start, size_t size) 176 reprotectRegion(start, size, Writable) [all...] |
/external/webkit/JavaScriptCore/tests/mozilla/js1_2/Array/ |
general2.js | 44 size = 10; 47 // array1 = [0,1,2,3,4,....,size - 2,size - 1] 48 // array2 = [size - 1, size - 2,...,4,3,2,1,0] 49 for (var i = 0; i < size; i++) 52 array2.push(size - 1 - i); 66 for (i = 0; i < size; i++)
|
/external/webkit/WebCore/manual-tests/ |
svg-text-selection.svg | 4 <text x="0" y="100" fill="black" font-size="32">Selection will be constrained to this line.</text> 5 <text x="0" y="200" fill="black" font-size="32">You should be able
|
/external/webkit/WebKit/mac/Misc/ |
WebNSImageExtras.m | 35 - (void)_web_scaleToMaxSize:(NSSize)size 38 NSSize originalSize = [self size]; 40 if(originalSize.width > size.width){ 41 widthResizeDelta = size.width / originalSize.width; 45 if(originalSize.height > size.height){ 46 heightResizeDelta = size.height / originalSize.height; 61 NSImage *dissolvedImage = [[NSImage alloc] initWithSize:[self size]]; 63 NSPoint point = [self isFlipped] ? NSMakePoint(0, [self size].height) : NSZeroPoint;
|
/external/zlib/contrib/minizip/ |
ioapi.c | 41 uLong size)); 47 uLong size)); 90 uLong ZCALLBACK fread_file_func (opaque, stream, buf, size) 94 uLong size; 97 ret = (uLong)fread(buf, 1, (size_t)size, (FILE *)stream); 102 uLong ZCALLBACK fwrite_file_func (opaque, stream, buf, size) 106 uLong size; 109 ret = (uLong)fwrite(buf, 1, (size_t)size, (FILE *)stream);
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
SkbTemplate.java | 37 * of the key can be overwritten, including the size. 115 if (mKeyTypeList.size() != keyType.mKeyTypeId) return false; 121 if (typeId < 0 || typeId > mKeyTypeList.size()) return null; 134 int size = mKeyIconRecords.size(); local 136 while (pos < size) { 144 int size = mKeyIconRecords.size(); local 146 while (pos < size) { 161 int size = mKeyIconRecords.size() local 184 int size = mKeyRecords.size(); local 194 int size = mKeyRecords.size(); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/sdk/ |
config_sample.xml | 23 <d:screen-size>small</d:screen-size>
32 <d:size>240</d:size> <!-- 2 * int>0 -->
33 <d:size>480</d:size>
52 <d:config name="screen-size-small">
53 <d:screen-size>small</d:screen-size>
55 <d:config name="screen-size-normal"> [all...] |
/sdk/layoutopt/libs/uix/src/resources/rules/ |
TooManyChildren.rule | 9 if (node.name() in ["ScrollView", "HorizontalScrollView"] && node.'*'.size() > 1) { 13 if (node.name() in ["ListView", "GridView"] && node.'*'.size() > 0) {
|
/frameworks/base/docs/html/sdk/api_diff/5/changes/ |
fields_index_all.html | 47 <div id="indexTableCaption" style="background-color:#eee;padding:0 4px 0 4px;font-size:11px;margin-bottom:.5em;"> 52 <a href="#A"><font size="-2">A</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> 60 <a href="#J"><font size="-2">J</font></a> [all...] |
/dalvik/libcore/luni/src/main/java/java/util/ |
PriorityQueue.java | 45 private int size; field in class:PriorityQueue 94 * size of the collection. The queue uses natural ordering to order its 133 * size of the sorted set. The priority queue will have the same comparator 156 * Gets the size of the priority queue. If the size of the queue is greater 159 * @return the size of the priority queue. 162 public int size() { method in class:PriorityQueue 163 return size; 172 size = 0; 191 growToSize(size + 1) [all...] |
/external/bluetooth/bluez/common/ |
textfile.c | 98 int create_name(char *buf, size_t size, const char *path, const char *address, const char *name) 100 return snprintf(buf, size, "%s/%s/%s", path, address, name); 103 static inline char *find_key(char *map, size_t size, const char *key, size_t len, int icase) 106 size_t ptrlen = size; 135 ptrlen = size - (ptr - map); 144 size_t size; local 147 size = strlen(key) + strlen(value) + 2; 149 str = malloc(size + 1); 155 if (write(fd, str, size) < 0) 167 off_t size, pos; size_t base local 290 off_t size; size_t len; local 385 off_t size; size_t len; local [all...] |