Searched refs:cap (Results 1 - 25 of 32) sorted by relevance

12

/libcore/ojluni/src/main/java/java/nio/
H A DMappedByteBuffer.java81 MappedByteBuffer(int mark, int pos, int lim, int cap, // package-private argument
83 super(mark, pos, lim, cap);
87 MappedByteBuffer(int mark, int pos, int lim, int cap, byte[] buf, int offset) { argument
88 super(mark, pos, lim, cap, buf, offset);
92 MappedByteBuffer(int mark, int pos, int lim, int cap) { // package-private argument
93 super(mark, pos, lim, cap);
H A DHeapCharBuffer.java44 HeapCharBuffer(int cap, int lim) { // package-private argument
45 this(cap, lim, false);
48 HeapCharBuffer(int cap, int lim, boolean isReadOnly) { // package-private argument
49 super(-1, 0, lim, cap, new char[cap], 0);
63 int mark, int pos, int lim, int cap,
65 this(buf, mark, pos, lim, cap, off, false);
69 int mark, int pos, int lim, int cap,
71 super(mark, pos, lim, cap, buf, off);
62 HeapCharBuffer(char[] buf, int mark, int pos, int lim, int cap, int off) argument
68 HeapCharBuffer(char[] buf, int mark, int pos, int lim, int cap, int off, boolean isReadOnly) argument
H A DHeapDoubleBuffer.java44 HeapDoubleBuffer(int cap, int lim) { // package-private argument
45 this(cap, lim, false);
53 int mark, int pos, int lim, int cap,
55 this(buf, mark, pos, lim, cap, off, false);
58 HeapDoubleBuffer(int cap, int lim, boolean isReadOnly) { // package-private argument
59 super(-1, 0, lim, cap, new double[cap], 0);
69 int mark, int pos, int lim, int cap,
71 super(mark, pos, lim, cap, buf, off);
52 HeapDoubleBuffer(double[] buf, int mark, int pos, int lim, int cap, int off) argument
68 HeapDoubleBuffer(double[] buf, int mark, int pos, int lim, int cap, int off, boolean isReadOnly) argument
H A DHeapFloatBuffer.java44 HeapFloatBuffer(int cap, int lim) { // package-private argument
45 this(cap, lim, false);
48 HeapFloatBuffer(int cap, int lim, boolean isReadOnly) { // package-private argument
49 super(-1, 0, lim, cap, new float[cap], 0);
63 int mark, int pos, int lim, int cap,
65 this(buf, mark, pos, lim, cap, off, false);
69 int mark, int pos, int lim, int cap,
71 super(mark, pos, lim, cap, buf, off);
62 HeapFloatBuffer(float[] buf, int mark, int pos, int lim, int cap, int off) argument
68 HeapFloatBuffer(float[] buf, int mark, int pos, int lim, int cap, int off, boolean isReadOnly) argument
H A DHeapIntBuffer.java44 HeapIntBuffer(int cap, int lim) { // package-private argument
45 this(cap, lim, false);
48 HeapIntBuffer(int cap, int lim, boolean isReadOnly) { // package-private argument
49 super(-1, 0, lim, cap, new int[cap], 0);
63 int mark, int pos, int lim, int cap,
65 this(buf, mark, pos, lim, cap, off, false);
69 int mark, int pos, int lim, int cap,
71 super(mark, pos, lim, cap, buf, off);
62 HeapIntBuffer(int[] buf, int mark, int pos, int lim, int cap, int off) argument
68 HeapIntBuffer(int[] buf, int mark, int pos, int lim, int cap, int off, boolean isReadOnly) argument
H A DHeapLongBuffer.java45 HeapLongBuffer(int cap, int lim) { // package-private argument
46 this(cap, lim, false);
49 HeapLongBuffer(int cap, int lim, boolean isReadOnly) { // package-private argument
50 super(-1, 0, lim, cap, new long[cap], 0);
64 int mark, int pos, int lim, int cap,
66 this(buf, mark, pos, lim, cap, off, false);
70 int mark, int pos, int lim, int cap,
72 super(mark, pos, lim, cap, buf, off);
63 HeapLongBuffer(long[] buf, int mark, int pos, int lim, int cap, int off) argument
69 HeapLongBuffer(long[] buf, int mark, int pos, int lim, int cap, int off, boolean isReadOnly) argument
H A DHeapShortBuffer.java44 HeapShortBuffer(int cap, int lim) { // package-private argument
45 this(cap, lim, false);
48 HeapShortBuffer(int cap, int lim, boolean isReadOnly) { // package-private argument
49 super(-1, 0, lim, cap, new short[cap], 0);
63 int mark, int pos, int lim, int cap,
65 this(buf, mark, pos, lim, cap, off, false);
69 int mark, int pos, int lim, int cap,
71 super(mark, pos, lim, cap, buf, off);
62 HeapShortBuffer(short[] buf, int mark, int pos, int lim, int cap, int off) argument
68 HeapShortBuffer(short[] buf, int mark, int pos, int lim, int cap, int off, boolean isReadOnly) argument
H A DBuffer.java205 Buffer(int mark, int pos, int lim, int cap, int elementSizeShift) { // package-private argument
206 if (cap < 0)
207 throw new IllegalArgumentException("Negative capacity: " + cap);
208 this.capacity = cap;
H A DDoubleBuffer.java95 DoubleBuffer(int mark, int pos, int lim, int cap, // package-private argument
97 super(mark, pos, lim, cap, 3);
104 DoubleBuffer(int mark, int pos, int lim, int cap) { // package-private argument
105 this(mark, pos, lim, cap, null, 0);
583 sb.append(" cap=");
H A DFloatBuffer.java96 FloatBuffer(int mark, int pos, int lim, int cap, // package-private argument
98 super(mark, pos, lim, cap, 2);
105 FloatBuffer(int mark, int pos, int lim, int cap) { // package-private argument
106 this(mark, pos, lim, cap, null, 0);
584 sb.append(" cap=");
H A DIntBuffer.java98 IntBuffer(int mark, int pos, int lim, int cap, // package-private argument
100 super(mark, pos, lim, cap, 2);
107 IntBuffer(int mark, int pos, int lim, int cap) { // package-private argument
108 this(mark, pos, lim, cap, null, 0);
586 sb.append(" cap=");
H A DLongBuffer.java96 LongBuffer(int mark, int pos, int lim, int cap, // package-private argument
98 super(mark, pos, lim, cap, 3);
105 LongBuffer(int mark, int pos, int lim, int cap) { // package-private argument
106 this(mark, pos, lim, cap, null, 0);
584 sb.append(" cap=");
H A DShortBuffer.java97 ShortBuffer(int mark, int pos, int lim, int cap, // package-private argument
99 super(mark, pos, lim, cap, 1);
106 ShortBuffer(int mark, int pos, int lim, int cap) { // package-private argument
107 this(mark, pos, lim, cap, null, 0);
585 sb.append(" cap=");
H A DStringCharBuffer.java56 int cap,
58 super(mark, pos, limit, cap, null, offset);
52 StringCharBuffer(CharSequence s, int mark, int pos, int limit, int cap, int offset) argument
H A DHeapByteBuffer.java48 HeapByteBuffer(int cap, int lim) { // packag-private argument
49 this(cap, lim, false);
53 HeapByteBuffer(int cap, int lim, boolean isReadOnly) { // package-private argument
54 super(-1, 0, lim, cap, new byte[cap], 0);
68 int mark, int pos, int lim, int cap,
70 this(buf, mark, pos, lim, cap, off, false);
74 int mark, int pos, int lim, int cap,
76 super(mark, pos, lim, cap, buf, off);
67 HeapByteBuffer(byte[] buf, int mark, int pos, int lim, int cap, int off) argument
73 HeapByteBuffer(byte[] buf, int mark, int pos, int lim, int cap, int off, boolean isReadOnly) argument
H A DByteBufferAsDoubleBuffer.java38 int mark, int pos, int lim, int cap,
40 super(mark, pos, lim, cap);
37 ByteBufferAsDoubleBuffer(ByteBuffer bb, int mark, int pos, int lim, int cap, int off, ByteOrder order) argument
H A DByteBufferAsFloatBuffer.java37 int mark, int pos, int lim, int cap,
39 super(mark, pos, lim, cap);
36 ByteBufferAsFloatBuffer(ByteBuffer bb, int mark, int pos, int lim, int cap, int off, ByteOrder order) argument
H A DByteBufferAsIntBuffer.java37 int mark, int pos, int lim, int cap,
39 super(mark, pos, lim, cap);
36 ByteBufferAsIntBuffer(ByteBuffer bb, int mark, int pos, int lim, int cap, int off, ByteOrder order) argument
H A DByteBufferAsLongBuffer.java37 int mark, int pos, int lim, int cap,
39 super(mark, pos, lim, cap);
36 ByteBufferAsLongBuffer(ByteBuffer bb, int mark, int pos, int lim, int cap, int off, ByteOrder order) argument
H A DByteBufferAsShortBuffer.java37 int mark, int pos, int lim, int cap,
39 super(mark, pos, lim, cap);
36 ByteBufferAsShortBuffer(ByteBuffer bb, int mark, int pos, int lim, int cap, int off, ByteOrder order) argument
H A DCharBuffer.java122 CharBuffer(int mark, int pos, int lim, int cap, // package-private argument
124 super(mark, pos, lim, cap, 1);
131 CharBuffer(int mark, int pos, int lim, int cap) { // package-private argument
132 this(mark, pos, lim, cap, null, 0);
H A DDirectByteBuffer.java94 private DirectByteBuffer(long addr, int cap) { argument
95 super(-1, 0, cap, cap);
102 public DirectByteBuffer(int cap, long addr, argument
106 super(-1, 0, cap, cap, fd);
116 int mark, int pos, int lim, int cap,
118 this(memoryRef, mark, pos, lim, cap, off, false);
122 int mark, int pos, int lim, int cap,
124 super(mark, pos, lim, cap, memoryRe
115 DirectByteBuffer(MemoryRef memoryRef, int mark, int pos, int lim, int cap, int off) argument
121 DirectByteBuffer(MemoryRef memoryRef, int mark, int pos, int lim, int cap, int off, boolean isReadOnly) argument
[all...]
/libcore/ojluni/src/main/java/sun/net/www/http/
H A DHttpCaptureInputStream.java38 public HttpCaptureInputStream(InputStream in, HttpCapture cap) { argument
40 capture = cap;
H A DHttpCaptureOutputStream.java38 public HttpCaptureOutputStream(OutputStream out, HttpCapture cap) { argument
40 capture = cap;
/libcore/ojluni/src/main/java/java/util/
H A DAbstractCollection.java222 int cap = r.length;
223 if (i == cap) {
224 int newCap = cap + (cap >> 1) + 1;
227 newCap = hugeCapacity(cap + 1);

Completed in 391 milliseconds

12