/libcore/ojluni/src/main/java/java/nio/ |
D | HeapByteBuffer.java | 116 return hb[ix(checkIndex(i))]; in get() 153 hb[ix(checkIndex(i))] = x; in put() 202 return Bits.getChar(this, ix(checkIndex(i, 2)), bigEndian); in getChar() 229 Bits.putChar(this, ix(checkIndex(i, 2)), x, bigEndian); in putChar() 263 return Bits.getShort(this, ix(checkIndex(i, 2)), bigEndian); in getShort() 290 Bits.putShort(this, ix(checkIndex(i, 2)), x, bigEndian); in putShort() 324 return Bits.getInt(this, ix(checkIndex(i, 4)), bigEndian); in getInt() 351 Bits.putInt(this, ix(checkIndex(i, 4)), x, bigEndian); in putInt() 386 return Bits.getLong(this, ix(checkIndex(i, 8)), bigEndian); in getLong() 413 Bits.putLong(this, ix(checkIndex(i, 8)), x, bigEndian); in putLong() [all …]
|
D | StringCharBuffer.java | 77 return str.charAt(checkIndex(index) + offset); in get() 111 pos + checkIndex(start, pos), in subSequence() 112 pos + checkIndex(end, pos), in subSequence()
|
D | DirectByteBuffer.java | 224 return get(ix(checkIndex(i))); in get() 279 put(ix(checkIndex(i)), x); in put() 365 checkIndex(i, Character.BYTES); in getChar() 411 putChar(ix(checkIndex(i, Character.BYTES)), x); in putChar() 468 return getShort(ix(checkIndex(i, Short.BYTES))); in getShort() 513 putShort(ix(checkIndex(i, Short.BYTES)), x); in putShort() 570 return getInt(ix(checkIndex(i, (Integer.BYTES)))); in getInt() 615 putInt(ix(checkIndex(i, Integer.BYTES)), x); in putInt() 672 return getLong(ix(checkIndex(i, Long.BYTES))); in getLong() 717 putLong(ix(checkIndex(i, Long.BYTES)), x); in putLong() [all …]
|
D | Buffer.java | 553 final int checkIndex(int i) { // package-private in checkIndex() method in Buffer 561 final int checkIndex(int i, int nb) { // package-private in checkIndex() method in Buffer
|
D | ByteBufferAsFloatBuffer.java | 96 return bb.getFloatUnchecked(ix(checkIndex(i))); in get() 117 bb.putFloatUnchecked(ix(checkIndex(i)), x); in put()
|
D | ByteBufferAsDoubleBuffer.java | 97 return bb.getDoubleUnchecked(ix(checkIndex(i))); in get() 118 bb.putDoubleUnchecked(ix(checkIndex(i)), x); in put()
|
D | ByteBufferAsShortBuffer.java | 94 return bb.getShortUnchecked(ix(checkIndex(i))); in get() 116 bb.putShortUnchecked(ix(checkIndex(i)), x); in put()
|
D | ByteBufferAsIntBuffer.java | 96 return bb.getIntUnchecked(ix(checkIndex(i))); in get() 117 bb.putIntUnchecked(ix(checkIndex(i)), x); in put()
|
D | ByteBufferAsLongBuffer.java | 96 return bb.getLongUnchecked(ix(checkIndex(i))); in get() 117 bb.putLongUnchecked(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 | HeapDoubleBuffer.java | 114 return hb[ix(checkIndex(i))]; in get() 146 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 | HeapFloatBuffer.java | 113 return hb[ix(checkIndex(i))]; in get() 145 hb[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 | HeapCharBuffer.java | 115 return hb[ix(checkIndex(i))]; in get() 151 hb[ix(checkIndex(i))] = x; in put()
|
D | ByteBufferAsCharBuffer.java | 96 return bb.getCharUnchecked(ix(checkIndex(i))); in get() 121 bb.putCharUnchecked(ix(checkIndex(i)), x); in put()
|
D | CharBuffer.java | 1111 return get(position() + checkIndex(index, 1)); in charAt()
|
/libcore/ojluni/annotations/hiddenapi/java/nio/ |
D | Buffer.java | 112 final int checkIndex(int i) { in checkIndex() method in Buffer 116 final int checkIndex(int i, int nb) { in checkIndex() method in Buffer
|