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

12

/libcore/ojluni/src/main/java/java/nio/
H A DByteBufferAsCharBuffer.java37 int mark, int pos, int lim, int cap,
39 super(mark, pos, lim, cap);
58 int lim = this.limit();
59 assert (pos <= lim);
60 int rem = (pos <= lim ? lim - pos : 0);
138 int lim = limit();
139 assert (pos <= lim);
140 int rem = (pos <= lim ? lim
36 ByteBufferAsCharBuffer(ByteBuffer bb, int mark, int pos, int lim, int cap, int off, ByteOrder order) argument
[all...]
H A DByteBufferAsDoubleBuffer.java38 int mark, int pos, int lim, int cap,
40 super(mark, pos, lim, cap);
59 int lim = this.limit();
60 assert (pos <= lim);
61 int rem = (pos <= lim ? lim - pos : 0);
135 int lim = limit();
136 assert (pos <= lim);
137 int rem = (pos <= lim ? lim
37 ByteBufferAsDoubleBuffer(ByteBuffer bb, int mark, int pos, int lim, int cap, int off, ByteOrder order) argument
[all...]
H A DByteBufferAsFloatBuffer.java37 int mark, int pos, int lim, int cap,
39 super(mark, pos, lim, cap);
58 int lim = this.limit();
59 assert (pos <= lim);
60 int rem = (pos <= lim ? lim - pos : 0);
134 int lim = limit();
135 assert (pos <= lim);
136 int rem = (pos <= lim ? lim
36 ByteBufferAsFloatBuffer(ByteBuffer bb, int mark, int pos, int lim, int cap, int off, ByteOrder order) argument
[all...]
H A DByteBufferAsIntBuffer.java37 int mark, int pos, int lim, int cap,
39 super(mark, pos, lim, cap);
58 int lim = this.limit();
59 assert (pos <= lim);
60 int rem = (pos <= lim ? lim - pos : 0);
134 int lim = limit();
135 assert (pos <= lim);
136 int rem = (pos <= lim ? lim
36 ByteBufferAsIntBuffer(ByteBuffer bb, int mark, int pos, int lim, int cap, int off, ByteOrder order) argument
[all...]
H A DByteBufferAsLongBuffer.java37 int mark, int pos, int lim, int cap,
39 super(mark, pos, lim, cap);
58 int lim = this.limit();
59 assert (pos <= lim);
60 int rem = (pos <= lim ? lim - pos : 0);
134 int lim = limit();
135 assert (pos <= lim);
136 int rem = (pos <= lim ? lim
36 ByteBufferAsLongBuffer(ByteBuffer bb, int mark, int pos, int lim, int cap, int off, ByteOrder order) argument
[all...]
H A DByteBufferAsShortBuffer.java37 int mark, int pos, int lim, int cap,
39 super(mark, pos, lim, cap);
58 int lim = this.limit();
59 assert (pos <= lim);
60 int rem = (pos <= lim ? lim - pos : 0);
133 int lim = limit();
134 assert (pos <= lim);
135 int rem = (pos <= lim ? lim
36 ByteBufferAsShortBuffer(ByteBuffer bb, int mark, int pos, int lim, int cap, int off, ByteOrder order) argument
[all...]
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 DDirectByteBuffer.java116 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, memoryRef.buffer, off);
146 int lim = limit();
147 assert (pos <= lim);
148 int rem = (pos <= lim ? lim - pos : 0);
213 int lim = limit();
214 assert (pos <= lim);
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...]
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 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);
581 sb.append(" lim=");
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);
582 sb.append(" lim=");
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);
584 sb.append(" lim=");
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);
582 sb.append(" lim=");
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);
583 sb.append(" lim=");
H A DBuffer.java205 Buffer(int mark, int pos, int lim, int cap, int elementSizeShift) { // package-private argument
209 limit(lim);
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
/libcore/ojluni/src/main/java/sun/nio/ch/
H A DIOUtil.java55 int lim = src.limit();
56 assert (pos <= lim);
57 int rem = (pos <= lim ? lim - pos : 0);
81 int lim = bb.limit();
82 assert (pos <= lim);
83 int rem = (pos <= lim ? lim - pos : 0);
122 int lim = buf.limit();
123 assert (pos <= lim);
[all...]
/libcore/ojluni/src/main/java/java/security/
H A DMessageDigestSpi.java113 int lim = input.limit();
114 engineUpdate(b, ofs + pos, lim - pos);
115 input.position(lim);
H A DSignatureSpi.java151 int lim = input.limit();
152 engineUpdate(b, ofs + pos, lim - pos);
153 input.position(lim);
/libcore/ojluni/src/main/java/javax/crypto/
H A DMacSpi.java109 int lim = input.limit();
110 engineUpdate(b, ofs + pos, lim - pos);
111 input.position(lim);

Completed in 377 milliseconds

12