/libcore/ojluni/src/test/java/util/Vector/ |
D | ArrayManagement.java | 51 public PublicVector(int capacity) { super(capacity); } in PublicVector() 52 public PublicVector(int capacity, int capacityIncrement) { in PublicVector() 58 public int capacity() { return elementData.length; } in capacity() method in ArrayManagement.PublicVector 122 int capacity = list.capacity(); in defaultCapacityEnsureCapacity() local 127 int capacity = list.capacity(); in defaultCapacityEnsureCapacity() local 129 assertEquals(list.capacity(), 3 * capacity); in defaultCapacityEnsureCapacity() local
|
/libcore/ojluni/src/test/java/util/ArrayList/ |
D | ArrayManagement.java | 77 static int capacity(ArrayList<?> list) { in capacity() method in ArrayManagement 85 static void ensureCapacity(ArrayList<Object> list, int capacity) { in ensureCapacity() 139 int capacity = capacity(list); in defaultCapacityEnsureCapacity() local 144 int capacity = capacity(list); in defaultCapacityEnsureCapacity() local 146 assertEquals(capacity(list), 3 * capacity); in defaultCapacityEnsureCapacity() local
|
/libcore/ojluni/src/main/java/java/nio/ |
D | Buffer.java | 208 private int capacity; field in Buffer 289 static IllegalArgumentException createCapacityException(int capacity) { in createCapacityException()
|
D | MappedByteBuffer.java | 336 int capacity = capacity(); in force() local 394 int capacity = capacity(); in force() local
|
/libcore/luni/src/test/java/libcore/java/util/concurrent/ |
D | LinkedBlockingQueueTest.java | 32 int capacity = 10; in testForEach() local
|
D | PriorityBlockingQueueTest.java | 32 int capacity = 10; in testForEach() local
|
D | LinkedBlockingDequeTest.java | 32 int capacity = 10; in testForEach() local
|
D | LinkedTransferQueueTest.java | 32 int capacity = 10; in testForEach() local
|
D | ConcurrentLinkedDequeTest.java | 32 int capacity = 10; in testForEach() local
|
D | ArrayBlockingQueueTest.java | 32 int capacity = 10; in testForEach() local
|
D | ConcurrentLinkedQueueTest.java | 32 int capacity = 10; in testForEach() local
|
D | ConcurrentHashMapTest.java | 222 final int capacity = 10; in testNewKeySetWithCapacity() local 234 final int capacity = 0; in testNewKeySetWithZeroCapacity() local 248 final int capacity = -10; in testNewKeySetWithInvalidCapacity() local
|
/libcore/ojluni/annotations/hiddenapi/java/nio/ |
D | Buffer.java | 38 public final int capacity() { in capacity() method in Buffer 153 private int capacity; field in Buffer
|
/libcore/luni/src/main/java/libcore/reflect/ |
D | ListOfTypes.java | 30 ListOfTypes(int capacity) { in ListOfTypes()
|
/libcore/luni/src/main/java/libcore/io/ |
D | IoUtils.java | 383 int capacity; in FileReader() local 403 int capacity = bytes.length; in readFully() local
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | ArrayBlockingQueueTest.java | 107 int capacity = rnd.nextInt(minCapacity, maxCapacity + 1); in populatedQueue() local 235 int capacity = spare + size; in testRemainingCapacity() local 382 final int capacity = 2; in testPutWithTake() local 612 int capacity = size + q.remainingCapacity(); in testClear() local 710 final int capacity = Math.max(1, size + rnd.nextInt(size + 1)); in testToArray() local
|
/libcore/ojluni/src/test/java/util/HashSet/ |
D | Serialization.java | 50 int capacity = rnd.nextInt(MAX_CAPACITY); in createHashSet() local
|
/libcore/ojluni/src/test/java/util/HashMap/ |
D | WhiteBoxResizeTest.java | 82 int capacity(HashMap map) { in capacity() method in WhiteBoxResizeTest
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ArrayBlockingQueue.java | 256 public ArrayBlockingQueue(int capacity) { in ArrayBlockingQueue() 270 public ArrayBlockingQueue(int capacity, boolean fair) { in ArrayBlockingQueue() 295 public ArrayBlockingQueue(int capacity, boolean fair, in ArrayBlockingQueue() 1552 final int capacity = items.length; in bulkRemoveModified() local 1607 int capacity = items.length; in invariantsSatisfied() local
|
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/ |
D | LinkedBlockingQueue.java | 48 public LinkedBlockingQueue(int capacity) { in LinkedBlockingQueue() 174 private final int capacity; field in LinkedBlockingQueue
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | WriterTest.java | 106 MockWriter(int capacity) { in MockWriter()
|
/libcore/ojluni/src/main/java/java/util/ |
D | HashSet.java | 312 int capacity = s.readInt(); in readObject() local
|
/libcore/ojluni/annotations/mmodule/java/nio/ |
D | ByteBuffer.annotated.java | 38 public static java.nio.ByteBuffer allocateDirect(int capacity) { throw new RuntimeException("Stub!"… in allocateDirect() 40 public static java.nio.ByteBuffer allocate(int capacity) { throw new RuntimeException("Stub!"); } in allocate()
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | OldFileWriterTest.java | 115 int capacity = 65536; in test_handleEarlyEOFChar_2() local
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | SpinedBuffer.java | 117 protected long capacity() { in capacity() method in SpinedBuffer 137 long capacity = capacity(); in ensureCapacity() local 487 protected long capacity() { in capacity() method in SpinedBuffer.OfPrimitive 502 long capacity = capacity(); in ensureCapacity() local
|