/libcore/ojluni/src/main/java/java/nio/ |
D | HeapLongBuffer.java | 45 HeapLongBuffer(int cap, int lim) { // package-private in HeapLongBuffer() argument 46 this(cap, lim, false); in HeapLongBuffer() 49 HeapLongBuffer(int cap, int lim, boolean isReadOnly) { // package-private in HeapLongBuffer() argument 50 super(-1, 0, lim, cap, new long[cap], 0); in HeapLongBuffer() 64 int mark, int pos, int lim, int cap, in HeapLongBuffer() argument 66 this(buf, mark, pos, lim, cap, off, false); in HeapLongBuffer() 70 int mark, int pos, int lim, int cap, in HeapLongBuffer() argument 72 super(mark, pos, lim, cap, buf, off); in HeapLongBuffer()
|
D | HeapFloatBuffer.java | 44 HeapFloatBuffer(int cap, int lim) { // package-private in HeapFloatBuffer() argument 45 this(cap, lim, false); in HeapFloatBuffer() 48 HeapFloatBuffer(int cap, int lim, boolean isReadOnly) { // package-private in HeapFloatBuffer() argument 49 super(-1, 0, lim, cap, new float[cap], 0); in HeapFloatBuffer() 63 int mark, int pos, int lim, int cap, in HeapFloatBuffer() argument 65 this(buf, mark, pos, lim, cap, off, false); in HeapFloatBuffer() 69 int mark, int pos, int lim, int cap, in HeapFloatBuffer() argument 71 super(mark, pos, lim, cap, buf, off); in HeapFloatBuffer()
|
D | HeapShortBuffer.java | 44 HeapShortBuffer(int cap, int lim) { // package-private in HeapShortBuffer() argument 45 this(cap, lim, false); in HeapShortBuffer() 48 HeapShortBuffer(int cap, int lim, boolean isReadOnly) { // package-private in HeapShortBuffer() argument 49 super(-1, 0, lim, cap, new short[cap], 0); in HeapShortBuffer() 63 int mark, int pos, int lim, int cap, in HeapShortBuffer() argument 65 this(buf, mark, pos, lim, cap, off, false); in HeapShortBuffer() 69 int mark, int pos, int lim, int cap, in HeapShortBuffer() argument 71 super(mark, pos, lim, cap, buf, off); in HeapShortBuffer()
|
D | HeapIntBuffer.java | 44 HeapIntBuffer(int cap, int lim) { // package-private in HeapIntBuffer() argument 45 this(cap, lim, false); in HeapIntBuffer() 48 HeapIntBuffer(int cap, int lim, boolean isReadOnly) { // package-private in HeapIntBuffer() argument 49 super(-1, 0, lim, cap, new int[cap], 0); in HeapIntBuffer() 63 int mark, int pos, int lim, int cap, in HeapIntBuffer() argument 65 this(buf, mark, pos, lim, cap, off, false); in HeapIntBuffer() 69 int mark, int pos, int lim, int cap, in HeapIntBuffer() argument 71 super(mark, pos, lim, cap, buf, off); in HeapIntBuffer()
|
D | HeapDoubleBuffer.java | 44 HeapDoubleBuffer(int cap, int lim) { // package-private in HeapDoubleBuffer() argument 45 this(cap, lim, false); in HeapDoubleBuffer() 53 int mark, int pos, int lim, int cap, in HeapDoubleBuffer() argument 55 this(buf, mark, pos, lim, cap, off, false); in HeapDoubleBuffer() 58 HeapDoubleBuffer(int cap, int lim, boolean isReadOnly) { // package-private in HeapDoubleBuffer() argument 59 super(-1, 0, lim, cap, new double[cap], 0); in HeapDoubleBuffer() 69 int mark, int pos, int lim, int cap, in HeapDoubleBuffer() argument 71 super(mark, pos, lim, cap, buf, off); in HeapDoubleBuffer()
|
D | HeapCharBuffer.java | 44 HeapCharBuffer(int cap, int lim) { // package-private in HeapCharBuffer() argument 45 this(cap, lim, false); in HeapCharBuffer() 48 HeapCharBuffer(int cap, int lim, boolean isReadOnly) { // package-private in HeapCharBuffer() argument 49 super(-1, 0, lim, cap, new char[cap], 0); in HeapCharBuffer() 63 int mark, int pos, int lim, int cap, in HeapCharBuffer() argument 65 this(buf, mark, pos, lim, cap, off, false); in HeapCharBuffer() 69 int mark, int pos, int lim, int cap, in HeapCharBuffer() argument 71 super(mark, pos, lim, cap, buf, off); in HeapCharBuffer()
|
D | MappedByteBuffer.java | 82 MappedByteBuffer(int mark, int pos, int lim, int cap, // package-private in MappedByteBuffer() argument 85 super(mark, pos, lim, cap); in MappedByteBuffer() 90 MappedByteBuffer(int mark, int pos, int lim, int cap, byte[] buf, int offset) { in MappedByteBuffer() argument 91 super(mark, pos, lim, cap, buf, offset); in MappedByteBuffer() 95 MappedByteBuffer(int mark, int pos, int lim, int cap) { // package-private in MappedByteBuffer() argument 96 super(mark, pos, lim, cap); in MappedByteBuffer()
|
D | Buffer.java | 209 Buffer(int mark, int pos, int lim, int cap, int elementSizeShift) { // package-private in Buffer() argument 210 if (cap < 0) in Buffer() 211 throw new IllegalArgumentException("Negative capacity: " + cap); in Buffer() 212 this.capacity = cap; in Buffer()
|
D | ShortBuffer.java | 110 ShortBuffer(int mark, int pos, int lim, int cap, // package-private in ShortBuffer() argument 114 super(mark, pos, lim, cap, 1 /* elementSizeShift */); in ShortBuffer() 121 ShortBuffer(int mark, int pos, int lim, int cap) { // package-private in ShortBuffer() argument 122 this(mark, pos, lim, cap, null, 0); in ShortBuffer()
|
D | IntBuffer.java | 111 IntBuffer(int mark, int pos, int lim, int cap, // package-private in IntBuffer() argument 115 super(mark, pos, lim, cap, 2 /* elementSizeShift */); in IntBuffer() 122 IntBuffer(int mark, int pos, int lim, int cap) { // package-private in IntBuffer() argument 123 this(mark, pos, lim, cap, null, 0); in IntBuffer()
|
D | StringCharBuffer.java | 57 int cap, in StringCharBuffer() argument 59 super(mark, pos, limit, cap, null, offset); in StringCharBuffer()
|
D | DoubleBuffer.java | 110 DoubleBuffer(int mark, int pos, int lim, int cap, // package-private in DoubleBuffer() argument 114 super(mark, pos, lim, cap, 3 /* elementSizeShift */); in DoubleBuffer() 121 DoubleBuffer(int mark, int pos, int lim, int cap) { // package-private in DoubleBuffer() argument 122 this(mark, pos, lim, cap, null, 0); in DoubleBuffer()
|
D | FloatBuffer.java | 110 FloatBuffer(int mark, int pos, int lim, int cap, // package-private in FloatBuffer() argument 114 super(mark, pos, lim, cap, 2 /* elementSizeShift */); in FloatBuffer() 121 FloatBuffer(int mark, int pos, int lim, int cap) { // package-private in FloatBuffer() argument 122 this(mark, pos, lim, cap, null, 0); in FloatBuffer()
|
D | HeapByteBuffer.java | 48 HeapByteBuffer(int cap, int lim) { // packag-private in HeapByteBuffer() argument 49 this(cap, lim, false); in HeapByteBuffer() 53 private HeapByteBuffer(int cap, int lim, boolean isReadOnly) { in HeapByteBuffer() argument 54 super(-1, 0, lim, cap, new byte[cap], 0); in HeapByteBuffer() 67 private HeapByteBuffer(byte[] buf, int mark, int pos, int lim, int cap, int off, in HeapByteBuffer() argument 69 super(mark, pos, lim, cap, buf, off); in HeapByteBuffer()
|
D | DirectByteBuffer.java | 110 private DirectByteBuffer(long addr, int cap) { in DirectByteBuffer() argument 111 super(-1, 0, cap, cap); in DirectByteBuffer() 118 public DirectByteBuffer(int cap, long addr, in DirectByteBuffer() argument 122 super(-1, 0, cap, cap, fd); in DirectByteBuffer() 131 int mark, int pos, int lim, int cap, in DirectByteBuffer() argument 133 this(memoryRef, mark, pos, lim, cap, off, false); in DirectByteBuffer() 137 int mark, int pos, int lim, int cap, in DirectByteBuffer() argument 139 super(mark, pos, lim, cap, memoryRef.buffer, off); in DirectByteBuffer()
|
D | CharBuffer.java | 137 CharBuffer(int mark, int pos, int lim, int cap, // package-private in CharBuffer() argument 141 super(mark, pos, lim, cap, 1 /* elementSizeShift */); in CharBuffer() 148 CharBuffer(int mark, int pos, int lim, int cap) { // package-private in CharBuffer() argument 149 this(mark, pos, lim, cap, null, 0); in CharBuffer()
|
D | ByteBufferAsIntBuffer.java | 37 int mark, int pos, int lim, int cap, in ByteBufferAsIntBuffer() argument 39 super(mark, pos, lim, cap); in ByteBufferAsIntBuffer()
|
D | ByteBufferAsFloatBuffer.java | 37 int mark, int pos, int lim, int cap, in ByteBufferAsFloatBuffer() argument 39 super(mark, pos, lim, cap); in ByteBufferAsFloatBuffer()
|
D | ByteBufferAsLongBuffer.java | 37 int mark, int pos, int lim, int cap, in ByteBufferAsLongBuffer() argument 39 super(mark, pos, lim, cap); in ByteBufferAsLongBuffer()
|
D | ByteBufferAsDoubleBuffer.java | 38 int mark, int pos, int lim, int cap, in ByteBufferAsDoubleBuffer() argument 40 super(mark, pos, lim, cap); in ByteBufferAsDoubleBuffer()
|
D | ByteBufferAsShortBuffer.java | 37 int mark, int pos, int lim, int cap, in ByteBufferAsShortBuffer() argument 39 super(mark, pos, lim, cap); in ByteBufferAsShortBuffer()
|
D | ByteBuffer.java | 223 ByteBuffer(int mark, int pos, int lim, int cap, // package-private in ByteBuffer() argument 227 super(mark, pos, lim, cap, 0 /* elementSizeShift */); in ByteBuffer() 234 ByteBuffer(int mark, int pos, int lim, int cap) { // package-private in ByteBuffer() argument 235 this(mark, pos, lim, cap, null, 0); in ByteBuffer()
|
/libcore/ojluni/src/main/java/java/util/ |
D | AbstractCollection.java | 224 int cap = r.length; in finishToArray() local 225 if (i == cap) { in finishToArray() 226 int newCap = cap + (cap >> 1) + 1; in finishToArray() 229 newCap = hugeCapacity(cap + 1); in finishToArray()
|
/libcore/ojluni/annotations/hiddenapi/java/nio/ |
D | DirectByteBuffer.java | 40 private DirectByteBuffer(long addr, int cap) { in DirectByteBuffer() argument 46 int cap, in DirectByteBuffer() argument 60 int cap, in DirectByteBuffer() argument 71 int cap, in DirectByteBuffer() argument
|
D | CharBuffer.java | 40 CharBuffer(int mark, int pos, int lim, int cap, char[] hb, int offset) { in CharBuffer() argument 45 CharBuffer(int mark, int pos, int lim, int cap) { in CharBuffer() argument
|