Home
last modified time | relevance | path

Searched defs:size (Results 1 – 25 of 174) sorted by relevance

1234567

/libcore/luni/src/main/java/libcore/io/
DMemoryMappedFile.java37 private final long size; field in MemoryMappedFile
42 public MemoryMappedFile(long address, long size) { in MemoryMappedFile()
52 long size = Libcore.os.fstat(fd).st_size; in mmapRO() local
90 public long size() { in size() method in MemoryMappedFile
DNioBufferIterator.java29 private final int size; field in NioBufferIterator
34 NioBufferIterator(long address, int size, boolean swap) { in NioBufferIterator()
/libcore/luni/src/main/java/java/nio/channels/
DFileLock.java80 private final long size; field in FileLock
99 protected FileLock(FileChannel channel, long position, long size, boolean shared) { in FileLock()
130 public final long size() { in size() method in FileLock
DFileChannel.java250 public abstract FileLock lock(long position, long size, boolean shared) in lock()
281 long position, long size) throws IOException; in map()
464 public abstract long size() throws IOException; in size() method in FileChannel
560 public abstract FileChannel truncate(long size) throws IOException; in truncate()
616 public abstract FileLock tryLock(long position, long size, boolean shared) in tryLock()
/libcore/luni/src/main/java/java/util/
DUnsafeArrayList.java29 private int size; field in UnsafeArrayList
55 public int size() { in size() method in UnsafeArrayList
DCollections.java76 @Override public int size() { in size() method in Collections.CopiesList
97 @Override public int size() { in size() method in Collections.EmptyList
118 @Override public int size() { in size() method in Collections.EmptySet
235 @Override public int size() { in size() method in Collections.SingletonSet
282 @Override public int size() { in size() method in SingletonList
314 @Override public int size() { in size() method in SingletonMap
329 @Override public int size() { in entrySet() method
DVector.java119 private E[] newElementArray(int size) { in newElementArray()
178 int size = collection.size(); in addAll() local
697 int size = elementCount - location; in remove() local
797 int size = elementCount - location; in removeElementAt() local
906 …private static ArrayIndexOutOfBoundsException arrayIndexOutOfBoundsException(int index, int size) { in arrayIndexOutOfBoundsException()
940 public synchronized int size() { in size() method
/libcore/luni/src/main/java/java/nio/
DFileChannelImpl.java94 …private FileLock basicLock(long position, long size, boolean shared, boolean wait) throws IOExcept… in basicLock()
140 public FileLockImpl(FileChannel channel, long position, long size, boolean shared) { in FileLockImpl()
159 public final FileLock lock(long position, long size, boolean shared) throws IOException { in lock()
179 public final FileLock tryLock(long position, long size, boolean shared) throws IOException { in tryLock()
220 … public final MappedByteBuffer map(MapMode mapMode, long position, long size) throws IOException { in map()
354 public long size() throws IOException { in size() method in FileChannelImpl
384 long size = fileSrc.size(); in transferFrom() local
453 public FileChannel truncate(long size) throws IOException { in truncate()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DArrayListTest.java161 int size = alist.size(); in test_addILjava_lang_Object_2() local
425 int size = arrayListA.size(); in test_ArrayList_addAll_scenario1() local
436 int size = arrayList.size(); in test_ArrayList_addAll_scenario2() local
961 public int size() { in size() method in ArrayListTest.MockArrayList
991 private int size = 0; field in ArrayListTest.ArrayListExtend
1002 public int size() { in size() method in ArrayListTest.ArrayListExtend
1054 public int size() { in shrinksOnSize() method
DHashSetTest.java105 int size = hs.size(); in test_addLjava_lang_Object() local
184 int size = hs.size(); in test_removeLjava_lang_Object() local
DAbstractListTest.java52 public int size() { in size() method in AbstractListTest.SimpleList
227 public int size() { in size() method in AbstractListTest.MockArrayList
381 public int size() { in size() method in AbstractListTest.MockRemoveFailureArrayList
556 public int size() { in test_remove_I() method in AbstractListTest.MockList
/libcore/luni/src/main/java/java/io/
DByteArrayOutputStream.java61 public ByteArrayOutputStream(int size) { in ByteArrayOutputStream()
110 public int size() { in size() method in ByteArrayOutputStream
/libcore/support/src/test/java/tests/support/
DSupport_OutputStream.java21 private int size; field in Support_OutputStream
103 public int size() { in size() method in Support_OutputStream
/libcore/luni/src/main/java/java/security/cert/
DX509CRLSelector.java152 int size = issuerNames.size() - 1; in addIssuer() local
283 int size = issuerNames.size(); in getIssuers() local
370 int size = issuerNames.size(); in toString() local
/libcore/dom/src/test/java/org/w3c/domts/
DJUnitTestCaseAdapter.java245 int size = expected.size(); in assertEqualsIgnoreCase() local
273 int size = expected.size(); in assertEqualsIgnoreCase() local
309 int size = expected.size(); in assertEquals() local
377 int size = expected.size(); in equalsIgnoreCase() local
402 int size = expected.size(); in equalsIgnoreCase() local
436 int size = expected.size(); in equals() local
461 int size = expected.size(); in equals() local
478 public int size(Collection collection) { in size() method in JUnitTestCaseAdapter
482 public int size(NamedNodeMap collection) { in size() method in JUnitTestCaseAdapter
486 public int size(NodeList collection) { in size() method in JUnitTestCaseAdapter
/libcore/luni/src/test/java/libcore/java/util/
DOldAbstractSetTest.java48 public int size() { in size() method
/libcore/luni/src/main/java/java/util/logging/
DMemoryHandler.java64 private int size = DEFAULT_SIZE; field in MemoryHandler
144 public MemoryHandler(Handler target, int size, Level pushLevel) { in MemoryHandler()
/libcore/include/
DLocalArray.h58 size_t size() { return mSize; } in size() function
/libcore/luni/src/main/java/java/security/
DAlgorithmParameterGeneratorSpi.java46 protected abstract void engineInit(int size, SecureRandom random); in engineInit()
DAlgorithmParameterGenerator.java179 public final void init(int size) { in init()
193 public final void init(int size, SecureRandom random) { in init()
/libcore/luni/src/main/java/javax/net/ssl/
DSSLSessionContext.java69 public void setSessionCacheSize(int size) throws IllegalArgumentException; in setSessionCacheSize()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/
DMacThread.java28 int size = 256; in test() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DFileLockTest.java42 protected MockFileLock(FileChannel channel, long position, long size, in MockFileLock()
130 final long size = ((long) Integer.MAX_VALUE + 1); in test_size() local
/libcore/dex/src/main/java/com/android/dex/
DEncodedValue.java45 int size = Math.min(data.length, other.data.length); in compareTo() local
/libcore/libart/src/main/java/dalvik/system/
DVMRuntime.java183 public long setMinimumHeapSize(long size) { in setMinimumHeapSize()
216 public boolean trackExternalAllocation(long size) { in trackExternalAllocation()
225 public void trackExternalFree(long size) {} in trackExternalFree()

1234567