/libcore/ojluni/src/main/java/java/nio/ |
D | HeapByteBuffer.java | 118 return hb[ix(checkIndex(i))]; in get() 150 hb[ix(checkIndex(i))] = x; in put() 193 return Bits.getChar(this, ix(checkIndex(i, 2)), bigEndian); in getChar() 216 Bits.putChar(this, ix(checkIndex(i, 2)), x, bigEndian); in putChar() 245 return Bits.getShort(this, ix(checkIndex(i, 2)), bigEndian); in getShort() 268 Bits.putShort(this, ix(checkIndex(i, 2)), x, bigEndian); in putShort() 297 return Bits.getInt(this, ix(checkIndex(i, 4)), bigEndian); in getInt() 320 Bits.putInt(this, ix(checkIndex(i, 4)), x, bigEndian); in putInt() 350 return Bits.getLong(this, ix(checkIndex(i, 8)), bigEndian); in getLong() 373 Bits.putLong(this, ix(checkIndex(i, 8)), x, bigEndian); in putLong() [all …]
|
D | StringCharBuffer.java | 76 return str.charAt(checkIndex(index) + offset); in get() 110 pos + checkIndex(start, pos), in subSequence() 111 pos + checkIndex(end, pos), in subSequence()
|
D | DirectByteBuffer.java | 204 return get(ix(checkIndex(i))); in get() 247 put(ix(checkIndex(i)), x); in put() 329 checkIndex(i, SizeOf.CHAR); in getChar() 367 putChar(ix(checkIndex(i, SizeOf.CHAR)), x); in putChar() 413 return getShort(ix(checkIndex(i, SizeOf.SHORT))); in getShort() 449 putShort(ix(checkIndex(i, SizeOf.SHORT)), x); in putShort() 495 return getInt(ix(checkIndex(i, (SizeOf.INT)))); in getInt() 530 putInt(ix(checkIndex(i, SizeOf.INT)), x); in putInt() 577 return getLong(ix(checkIndex(i, SizeOf.LONG))); in getLong() 612 putLong(ix(checkIndex(i, SizeOf.LONG)), x); in putLong() [all …]
|
D | Buffer.java | 525 final int checkIndex(int i) { // package-private in checkIndex() method in Buffer 533 final int checkIndex(int i, int nb) { // package-private in checkIndex() method in Buffer
|
D | ByteBufferAsDoubleBuffer.java | 96 return bb.getDoubleUnchecked(ix(checkIndex(i))); in get() 117 bb.putDoubleUnchecked(ix(checkIndex(i)), x); in put()
|
D | ByteBufferAsShortBuffer.java | 93 return bb.getShortUnchecked(ix(checkIndex(i))); in get() 115 bb.putShortUnchecked(ix(checkIndex(i)), x); in put()
|
D | ByteBufferAsFloatBuffer.java | 95 return bb.getFloatUnchecked(ix(checkIndex(i))); in get() 116 bb.putFloatUnchecked(ix(checkIndex(i)), x); in put()
|
D | ByteBufferAsIntBuffer.java | 95 return bb.getIntUnchecked(ix(checkIndex(i))); in get() 116 bb.putIntUnchecked(ix(checkIndex(i)), x); in put()
|
D | ByteBufferAsLongBuffer.java | 95 return bb.getLongUnchecked(ix(checkIndex(i))); in get() 116 bb.putLongUnchecked(ix(checkIndex(i)), x); in put()
|
D | HeapIntBuffer.java | 114 return hb[ix(checkIndex(i))]; in get() 146 hb[ix(checkIndex(i))] = x; in put()
|
D | HeapLongBuffer.java | 115 return hb[ix(checkIndex(i))]; in get() 147 hb[ix(checkIndex(i))] = x; in put()
|
D | HeapShortBuffer.java | 114 return hb[ix(checkIndex(i))]; in get() 146 hb[ix(checkIndex(i))] = x; in put()
|
D | HeapDoubleBuffer.java | 114 return hb[ix(checkIndex(i))]; in get() 146 hb[ix(checkIndex(i))] = x; in put()
|
D | HeapFloatBuffer.java | 113 return hb[ix(checkIndex(i))]; in get() 145 hb[ix(checkIndex(i))] = x; in put()
|
D | HeapCharBuffer.java | 115 return hb[ix(checkIndex(i))]; in get() 151 hb[ix(checkIndex(i))] = x; in put()
|
D | ByteBufferAsCharBuffer.java | 95 return bb.getCharUnchecked(ix(checkIndex(i))); in get() 120 bb.putCharUnchecked(ix(checkIndex(i)), x); in put()
|
D | CharBuffer.java | 935 return get(position() + checkIndex(index, 1)); in charAt()
|