Home
last modified time | relevance | path

Searched refs:lim (Results 1 – 25 of 32) 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 …]
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()
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()
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()
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()
DDirectByteBuffer.java119 int mark, int pos, int lim, int cap, in DirectByteBuffer() argument
121 this(memoryRef, mark, pos, lim, cap, off, false); in DirectByteBuffer()
125 int mark, int pos, int lim, int cap, in DirectByteBuffer() argument
127 super(mark, pos, lim, cap, memoryRef.buffer, off); in DirectByteBuffer()
150 int lim = limit(); in slice() local
151 assert (pos <= lim); in slice()
152 int rem = (pos <= lim ? lim - pos : 0); in slice()
223 int lim = limit(); in get() local
224 assert (pos <= lim); in get()
225 int rem = (pos <= lim ? lim - pos : 0); in get()
[all …]
DMappedByteBuffer.java81 MappedByteBuffer(int mark, int pos, int lim, int cap, // package-private in MappedByteBuffer() argument
83 super(mark, pos, lim, cap); in MappedByteBuffer()
87 MappedByteBuffer(int mark, int pos, int lim, int cap, byte[] buf, int offset) { in MappedByteBuffer() argument
88 super(mark, pos, lim, cap, buf, offset); in MappedByteBuffer()
92 MappedByteBuffer(int mark, int pos, int lim, int cap) { // package-private in MappedByteBuffer() argument
93 super(mark, pos, lim, cap); in MappedByteBuffer()
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()
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()
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()
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()
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()
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()
DDoubleBuffer.java95 DoubleBuffer(int mark, int pos, int lim, int cap, // package-private in DoubleBuffer() argument
97 super(mark, pos, lim, cap, 3); in DoubleBuffer()
104 DoubleBuffer(int mark, int pos, int lim, int cap) { // package-private in DoubleBuffer() argument
105 this(mark, pos, lim, cap, null, 0); in DoubleBuffer()
DFloatBuffer.java96 FloatBuffer(int mark, int pos, int lim, int cap, // package-private in FloatBuffer() argument
98 super(mark, pos, lim, cap, 2); in FloatBuffer()
105 FloatBuffer(int mark, int pos, int lim, int cap) { // package-private in FloatBuffer() argument
106 this(mark, pos, lim, cap, null, 0); in FloatBuffer()
DIntBuffer.java98 IntBuffer(int mark, int pos, int lim, int cap, // package-private in IntBuffer() argument
100 super(mark, pos, lim, cap, 2); in IntBuffer()
107 IntBuffer(int mark, int pos, int lim, int cap) { // package-private in IntBuffer() argument
108 this(mark, pos, lim, cap, null, 0); in IntBuffer()
DLongBuffer.java96 LongBuffer(int mark, int pos, int lim, int cap, // package-private in LongBuffer() argument
98 super(mark, pos, lim, cap, 3); in LongBuffer()
105 LongBuffer(int mark, int pos, int lim, int cap) { // package-private in LongBuffer() argument
106 this(mark, pos, lim, cap, null, 0); in LongBuffer()
DShortBuffer.java97 ShortBuffer(int mark, int pos, int lim, int cap, // package-private in ShortBuffer() argument
99 super(mark, pos, lim, cap, 1); in ShortBuffer()
106 ShortBuffer(int mark, int pos, int lim, int cap) { // package-private in ShortBuffer() argument
107 this(mark, pos, lim, cap, null, 0); in ShortBuffer()
DCharBuffer.java122 CharBuffer(int mark, int pos, int lim, int cap, // package-private in CharBuffer() argument
124 super(mark, pos, lim, cap, 1); in CharBuffer()
131 CharBuffer(int mark, int pos, int lim, int cap) { // package-private in CharBuffer() argument
132 this(mark, pos, lim, cap, null, 0); in CharBuffer()
/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.java162 int lim = dst.limit(); in read() local
163 assert (pos <= lim); in read()
164 int rem = (pos <= lim ? lim - pos : 0); in read()
220 int lim = src.limit(); in write() local
221 assert (pos <= lim); in write()
222 int rem = (pos <= lim ? lim - pos : 0); in write()

12