Home
last modified time | relevance | path

Searched defs:capacity (Results 1 – 25 of 48) sorted by relevance

12

/libcore/ojluni/annotations/hiddenapi/java/nio/
DBuffer.java38 public final int capacity() { in capacity() method in Buffer
153 private int capacity; field in Buffer
/libcore/ojluni/src/main/java/java/nio/
DBuffer.java190 private int capacity; field in Buffer
230 public final int capacity() { in capacity() method in Buffer
DDoubleBuffer.java142 public static DoubleBuffer allocate(int capacity) { in allocate()
DLongBuffer.java142 public static LongBuffer allocate(int capacity) { in allocate()
DIntBuffer.java143 public static IntBuffer allocate(int capacity) { in allocate()
DShortBuffer.java142 public static ShortBuffer allocate(int capacity) { in allocate()
/libcore/luni/src/main/java/libcore/reflect/
DListOfTypes.java30 ListOfTypes(int capacity) { in ListOfTypes()
/libcore/luni/src/main/java/libcore/io/
DIoUtils.java337 int capacity; in FileReader() local
357 int capacity = bytes.length; in readFully() local
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/
DLinkedBlockingQueue.java48 public LinkedBlockingQueue(int capacity) { in LinkedBlockingQueue()
174 private final int capacity; field in LinkedBlockingQueue
DLinkedBlockingDeque.java48 public LinkedBlockingDeque(int capacity) { in LinkedBlockingDeque()
279 private final int capacity; field in LinkedBlockingDeque
/libcore/luni/src/test/java/libcore/java/io/
DOldFileWriterTest.java118 int capacity = 65536; in test_handleEarlyEOFChar_2() local
/libcore/ojluni/src/main/java/java/util/
DHashSet.java300 int capacity = s.readInt(); in readObject() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DWriterTest.java106 MockWriter(int capacity) { in MockWriter()
DOutputStreamWriterTest.java424 int capacity = 65536; in testHandleEarlyEOFChar_2() local
/libcore/ojluni/annotations/mmodule/java/nio/
DByteBuffer.annotated.java38 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/ojluni/annotations/sdk/nullability/java/nio/
DByteBuffer.annotated.java35 @libcore.util.NonNull public static java.nio.ByteBuffer allocateDirect(int capacity) { throw new Ru… in allocateDirect()
37 @libcore.util.NonNull public static java.nio.ByteBuffer allocate(int capacity) { throw new RuntimeE… in allocate()
/libcore/ojluni/src/main/java/java/util/concurrent/
DArrayBlockingQueue.java224 public ArrayBlockingQueue(int capacity) { in ArrayBlockingQueue()
238 public ArrayBlockingQueue(int capacity, boolean fair) { in ArrayBlockingQueue()
263 public ArrayBlockingQueue(int capacity, boolean fair, in ArrayBlockingQueue()
DLinkedBlockingQueue.java137 private final int capacity; field in LinkedBlockingQueue
260 public LinkedBlockingQueue(int capacity) { in LinkedBlockingQueue()
/libcore/ojluni/src/main/java/java/util/stream/
DSpinedBuffer.java117 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
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DStringBuffer.annotated.java35 public StringBuffer(int capacity) { throw new RuntimeException("Stub!"); } in StringBuffer()
43 public synchronized int capacity() { throw new RuntimeException("Stub!"); } in capacity() method in StringBuffer
DStringBuilder.annotated.java36 public StringBuilder(int capacity) { throw new RuntimeException("Stub!"); } in StringBuilder()
128 public int capacity() { throw new RuntimeException("Stub!"); } in capacity() method in StringBuilder
/libcore/ojluni/src/main/java/java/lang/
DStringBuffer.java127 public StringBuffer(int capacity) { in StringBuffer()
167 public synchronized int capacity() { in capacity() method in StringBuffer
DAbstractStringBuilder.java67 AbstractStringBuilder(int capacity) { in AbstractStringBuilder()
89 public int capacity() { in capacity() method in AbstractStringBuilder
/libcore/ojluni/annotations/hiddenapi/java/lang/
DAbstractStringBuilder.java37 AbstractStringBuilder(int capacity) { in AbstractStringBuilder()
45 public int capacity() { in capacity() method in AbstractStringBuilder
/libcore/jsr166-tests/src/test/java/jsr166/
DLinkedBlockingDequeTest.java612 final int capacity = 2; in testPutWithTake() local
842 final int capacity = 2; in testPutFirstWithTake() local

12