Home
last modified time | relevance | path

Searched defs:cap (Results 1 – 25 of 57) sorted by relevance

123

/libcore/ojluni/src/test/java/lang/StringBuilder/
DEnsureCapacity.java56 int cap = sb.capacity(); in testStringBuilder() local
73 int cap = sb.capacity(); in testStringBuffer() local
/libcore/ojluni/src/main/java/java/nio/
DMappedByteBuffer.java99 MappedByteBuffer(int mark, int pos, int lim, int cap, // package-private in MappedByteBuffer()
107 MappedByteBuffer(int mark, int pos, int lim, int cap, byte[] buf, int offset) { in MappedByteBuffer()
114 MappedByteBuffer(int mark, int pos, int lim, int cap, // package-private in MappedByteBuffer()
122 MappedByteBuffer(int mark, int pos, int lim, int cap) { // package-private in MappedByteBuffer()
DHeapIntBuffer.java67 HeapIntBuffer(int cap, int lim) { // package-private in HeapIntBuffer()
86 private HeapIntBuffer(int cap, int lim, boolean isReadOnly) { in HeapIntBuffer()
122 int mark, int pos, int lim, int cap, in HeapIntBuffer()
DHeapFloatBuffer.java67 HeapFloatBuffer(int cap, int lim) { // package-private in HeapFloatBuffer()
86 private HeapFloatBuffer(int cap, int lim, boolean isReadOnly) { in HeapFloatBuffer()
122 int mark, int pos, int lim, int cap, in HeapFloatBuffer()
DHeapShortBuffer.java67 HeapShortBuffer(int cap, int lim) { // package-private in HeapShortBuffer()
86 private HeapShortBuffer(int cap, int lim, boolean isReadOnly) { in HeapShortBuffer()
122 int mark, int pos, int lim, int cap, in HeapShortBuffer()
DHeapLongBuffer.java67 HeapLongBuffer(int cap, int lim) { // package-private in HeapLongBuffer()
86 private HeapLongBuffer(int cap, int lim, boolean isReadOnly) { in HeapLongBuffer()
122 int mark, int pos, int lim, int cap, in HeapLongBuffer()
DHeapDoubleBuffer.java67 HeapDoubleBuffer(int cap, int lim) { // package-private in HeapDoubleBuffer()
86 private HeapDoubleBuffer(int cap, int lim, boolean isReadOnly) { in HeapDoubleBuffer()
122 int mark, int pos, int lim, int cap, in HeapDoubleBuffer()
DHeapCharBuffer.java67 HeapCharBuffer(int cap, int lim) { // package-private in HeapCharBuffer()
86 private HeapCharBuffer(int cap, int lim, boolean isReadOnly) { in HeapCharBuffer()
122 int mark, int pos, int lim, int cap, in HeapCharBuffer()
DBuffer.java251 Buffer(int mark, int pos, int lim, int cap, int elementSizeShift) { // package-private in Buffer()
DStringCharBuffer.java74 int cap, in StringCharBuffer()
DHeapByteBuffer.java67 HeapByteBuffer(int cap, int lim) { // package-private in HeapByteBuffer()
86 private HeapByteBuffer(int cap, int lim, boolean isReadOnly) { in HeapByteBuffer()
122 int mark, int pos, int lim, int cap, in HeapByteBuffer()
DFloatBuffer.java294 FloatBuffer(int mark, int pos, int lim, int cap, // package-private in FloatBuffer()
305 FloatBuffer(int mark, int pos, int lim, int cap) { // package-private in FloatBuffer()
/libcore/ojluni/src/test/java/util/ArrayList/
DEnsureCapacity.java63 int cap = vector.capacity(); in testVector() local
/libcore/ojluni/annotations/flagged_api/java/nio/
DMappedByteBuffer.annotated.java33 MappedByteBuffer(int mark, int pos, int lim, int cap) { throw new RuntimeException("Stub!"); } in MappedByteBuffer()
/libcore/ojluni/src/test/java/nio/Buffer/
DBulkPutBuffer.java350 int cap = 27; in testExceptions() local
374 int cap = RND.nextInt(MAX_CAPACITY); in testSelf() local
420 int cap = Math.max(4, RND.nextInt(MAX_CAPACITY)); in testPairs() local
DBasicShort.java194 final int cap = 10; in putBuffer() local
1165 final int cap = 10; in testToString() local
DBasicDouble.java194 final int cap = 10; in putBuffer() local
1165 final int cap = 10; in testToString() local
DBasicFloat.java194 final int cap = 10; in putBuffer() local
1165 final int cap = 10; in testToString() local
DBasicInt.java194 final int cap = 10; in putBuffer() local
1165 final int cap = 10; in testToString() local
DBasicLong.java194 final int cap = 10; in putBuffer() local
1165 final int cap = 10; in testToString() local
DBasicChar.java194 final int cap = 10; in putBuffer() local
1165 final int cap = 10; in testToString() local
/libcore/ojluni/src/main/java/java/util/concurrent/
DSubmissionPublisher.java196 static final int roundCapacity(int cap) { in roundCapacity()
1141 int stat = 0, cap = ((a = array) == null) ? 0 : a.length; in offer() local
1166 int cap = 0, newCap = 0; in growAndOffer() local
1197 int stat = 0, t = tail, h = head, cap; in retryOffer() local
1333 int k = 0, cap; in takeItems() local
1447 Object[] a; int cap; in isReleasable() local
/libcore/ojluni/annotations/hiddenapi/java/nio/
DCharBuffer.java40 CharBuffer(int mark, int pos, int lim, int cap, char[] hb, int offset) { in CharBuffer()
45 CharBuffer(int mark, int pos, int lim, int cap) { in CharBuffer()
DDirectByteBuffer.java40 private DirectByteBuffer(long addr, int cap) { in DirectByteBuffer()
46 int cap, in DirectByteBuffer()
60 int cap, in DirectByteBuffer()
71 int cap, in DirectByteBuffer()
DBuffer.java34 Buffer(int mark, int pos, int lim, int cap, int elementSizeShift) { in Buffer()

123