Home
last modified time | relevance | path

Searched refs:lim (Results 1 – 25 of 38) sorted by relevance

12

/libcore/ojluni/src/main/java/java/nio/
DByteBufferAsCharBuffer.java37 int mark, int pos, int lim, int cap, in ByteBufferAsCharBuffer() argument
39 super(mark, pos, lim, cap); in ByteBufferAsCharBuffer()
59 int lim = this.limit(); in slice() local
60 assert (pos <= lim); in slice()
61 int rem = (pos <= lim ? lim - pos : 0); in slice()
139 int lim = limit(); in compact() local
140 assert (pos <= lim); in compact()
141 int rem = (pos <= lim ? lim - pos : 0); in compact()
182 int lim = limit(); in subSequence() local
183 assert (pos <= lim); in subSequence()
[all …]
DDirectByteBuffer.java131 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()
162 int lim = limit(); in slice() local
163 assert (pos <= lim); in slice()
164 int rem = (pos <= lim ? lim - pos : 0); in slice()
235 int lim = limit(); in get() local
236 assert (pos <= lim); in get()
237 int rem = (pos <= lim ? lim - pos : 0); in get()
[all …]
DByteBufferAsDoubleBuffer.java38 int mark, int pos, int lim, int cap, in ByteBufferAsDoubleBuffer() argument
40 super(mark, pos, lim, cap); in ByteBufferAsDoubleBuffer()
60 int lim = this.limit(); in slice() local
61 assert (pos <= lim); in slice()
62 int rem = (pos <= lim ? lim - pos : 0); in slice()
136 int lim = limit(); in compact() local
137 assert (pos <= lim); in compact()
138 int rem = (pos <= lim ? lim - pos : 0); in compact()
DByteBufferAsFloatBuffer.java37 int mark, int pos, int lim, int cap, in ByteBufferAsFloatBuffer() argument
39 super(mark, pos, lim, cap); in ByteBufferAsFloatBuffer()
59 int lim = this.limit(); in slice() local
60 assert (pos <= lim); in slice()
61 int rem = (pos <= lim ? lim - pos : 0); in slice()
135 int lim = limit(); in compact() local
136 assert (pos <= lim); in compact()
137 int rem = (pos <= lim ? lim - pos : 0); in compact()
DByteBufferAsShortBuffer.java37 int mark, int pos, int lim, int cap, in ByteBufferAsShortBuffer() argument
39 super(mark, pos, lim, cap); in ByteBufferAsShortBuffer()
59 int lim = this.limit(); in slice() local
60 assert (pos <= lim); in slice()
61 int rem = (pos <= lim ? lim - pos : 0); in slice()
134 int lim = limit(); in compact() local
135 assert (pos <= lim); in compact()
136 int rem = (pos <= lim ? lim - pos : 0); in compact()
DByteBufferAsLongBuffer.java37 int mark, int pos, int lim, int cap, in ByteBufferAsLongBuffer() argument
39 super(mark, pos, lim, cap); in ByteBufferAsLongBuffer()
59 int lim = this.limit(); in slice() local
60 assert (pos <= lim); in slice()
61 int rem = (pos <= lim ? lim - pos : 0); in slice()
135 int lim = limit(); in compact() local
136 assert (pos <= lim); in compact()
137 int rem = (pos <= lim ? lim - pos : 0); in compact()
DByteBufferAsIntBuffer.java37 int mark, int pos, int lim, int cap, in ByteBufferAsIntBuffer() argument
39 super(mark, pos, lim, cap); in ByteBufferAsIntBuffer()
59 int lim = this.limit(); in slice() local
60 assert (pos <= lim); in slice()
61 int rem = (pos <= lim ? lim - pos : 0); in slice()
135 int lim = limit(); in compact() local
136 assert (pos <= lim); in compact()
137 int rem = (pos <= lim ? lim - pos : 0); in compact()
DHeapLongBuffer.java45 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()
DHeapDoubleBuffer.java44 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()
DHeapIntBuffer.java44 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()
DHeapShortBuffer.java44 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()
DHeapFloatBuffer.java44 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()
DMappedByteBuffer.java82 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()
DHeapCharBuffer.java44 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()
DIntBuffer.java111 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()
DShortBuffer.java110 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()
DLongBuffer.java110 LongBuffer(int mark, int pos, int lim, int cap, // package-private in LongBuffer() argument
114 super(mark, pos, lim, cap, 3 /* elementSizeShift */); in LongBuffer()
121 LongBuffer(int mark, int pos, int lim, int cap) { // package-private in LongBuffer() argument
122 this(mark, pos, lim, cap, null, 0); in LongBuffer()
DDoubleBuffer.java110 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()
DFloatBuffer.java110 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()
/libcore/ojluni/src/main/java/sun/nio/ch/
DIOUtil.java55 int lim = src.limit(); in write() local
56 assert (pos <= lim); in write()
57 int rem = (pos <= lim ? lim - pos : 0); in write()
81 int lim = bb.limit(); in writeFromNativeBuffer() local
82 assert (pos <= lim); in writeFromNativeBuffer()
83 int rem = (pos <= lim ? lim - pos : 0); in writeFromNativeBuffer()
122 int lim = buf.limit(); in write() local
123 assert (pos <= lim); in write()
124 int rem = (pos <= lim ? lim - pos : 0); in write()
212 int lim = bb.limit(); in readIntoNativeBuffer() local
[all …]
/libcore/ojluni/src/main/java/javax/crypto/
DMacSpi.java109 int lim = input.limit(); in engineUpdate() local
110 engineUpdate(b, ofs + pos, lim - pos); in engineUpdate()
111 input.position(lim); in engineUpdate()
/libcore/ojluni/src/main/java/java/security/
DMessageDigestSpi.java113 int lim = input.limit(); in engineUpdate() local
114 engineUpdate(b, ofs + pos, lim - pos); in engineUpdate()
115 input.position(lim); in engineUpdate()
DSignatureSpi.java151 int lim = input.limit(); in engineUpdate() local
152 engineUpdate(b, ofs + pos, lim - pos); in engineUpdate()
153 input.position(lim); in engineUpdate()
/libcore/ojluni/src/main/java/sun/nio/fs/
DLinuxUserDefinedFileAttributeView.java161 int lim = dst.limit(); in read() local
162 assert (pos <= lim); in read()
163 int rem = (pos <= lim ? lim - pos : 0); in read()
219 int lim = src.limit(); in write() local
220 assert (pos <= lim); in write()
221 int rem = (pos <= lim ? lim - pos : 0); in write()
/libcore/ojluni/src/main/java/sun/nio/cs/
DStreamDecoder.java286 int lim = bb.limit(); in readBytes() local
288 assert (pos <= lim); in readBytes()
289 int rem = (pos <= lim ? lim - pos : 0); in readBytes()

12