/libcore/ojluni/src/main/java/java/nio/ |
D | HeapCharBuffer.java | 76 return new HeapCharBuffer(hb, in slice() 86 return new HeapCharBuffer(hb, in duplicate() 97 return new HeapCharBuffer(hb, in asReadOnlyBuffer() 111 return hb[ix(nextGetIndex())]; in get() 115 return hb[ix(checkIndex(i))]; in get() 119 return hb[ix(i)]; in getUnchecked() 126 System.arraycopy(hb, ix(position()), dst, offset, length); in get() 143 hb[ix(nextPutIndex())] = x; in put() 151 hb[ix(checkIndex(i))] = x; in put() 162 System.arraycopy(src, offset, hb, ix(position()), length); in put() [all …]
|
D | HeapIntBuffer.java | 76 return new HeapIntBuffer(hb, in slice() 86 return new HeapIntBuffer(hb, in duplicate() 97 return new HeapIntBuffer(hb, in asReadOnlyBuffer() 110 return hb[ix(nextGetIndex())]; in get() 114 return hb[ix(checkIndex(i))]; in get() 121 System.arraycopy(hb, ix(position()), dst, offset, length); in get() 138 hb[ix(nextPutIndex())] = x; in put() 146 hb[ix(checkIndex(i))] = x; in put() 157 System.arraycopy(src, offset, hb, ix(position()), length); in put() 174 System.arraycopy(sb.hb, sb.ix(sb.position()), in put() [all …]
|
D | HeapLongBuffer.java | 77 return new HeapLongBuffer(hb, in slice() 87 return new HeapLongBuffer(hb, in duplicate() 97 return new HeapLongBuffer(hb, in asReadOnlyBuffer() 111 return hb[ix(nextGetIndex())]; in get() 115 return hb[ix(checkIndex(i))]; in get() 122 System.arraycopy(hb, ix(position()), dst, offset, length); in get() 139 hb[ix(nextPutIndex())] = x; in put() 147 hb[ix(checkIndex(i))] = x; in put() 158 System.arraycopy(src, offset, hb, ix(position()), length); in put() 175 System.arraycopy(sb.hb, sb.ix(sb.position()), in put() [all …]
|
D | HeapDoubleBuffer.java | 77 return new HeapDoubleBuffer(hb, in slice() 87 return new HeapDoubleBuffer(hb, in duplicate() 97 return new HeapDoubleBuffer(hb, in asReadOnlyBuffer() 110 return hb[ix(nextGetIndex())]; in get() 114 return hb[ix(checkIndex(i))]; in get() 121 System.arraycopy(hb, ix(position()), dst, offset, length); in get() 138 hb[ix(nextPutIndex())] = x; in put() 146 hb[ix(checkIndex(i))] = x; in put() 157 System.arraycopy(src, offset, hb, ix(position()), length); in put() 174 System.arraycopy(sb.hb, sb.ix(sb.position()), in put() [all …]
|
D | HeapFloatBuffer.java | 76 return new HeapFloatBuffer(hb, in slice() 86 return new HeapFloatBuffer(hb, in duplicate() 96 return new HeapFloatBuffer(hb, in asReadOnlyBuffer() 109 return hb[ix(nextGetIndex())]; in get() 113 return hb[ix(checkIndex(i))]; in get() 120 System.arraycopy(hb, ix(position()), dst, offset, length); in get() 137 hb[ix(nextPutIndex())] = x; in put() 145 hb[ix(checkIndex(i))] = x; in put() 156 System.arraycopy(src, offset, hb, ix(position()), length); in put() 173 System.arraycopy(sb.hb, sb.ix(sb.position()), in put() [all …]
|
D | HeapShortBuffer.java | 76 return new HeapShortBuffer(hb, in slice() 86 return new HeapShortBuffer(hb, in duplicate() 97 return new HeapShortBuffer(hb, in asReadOnlyBuffer() 110 return hb[ix(nextGetIndex())]; in get() 114 return hb[ix(checkIndex(i))]; in get() 121 System.arraycopy(hb, ix(position()), dst, offset, length); in get() 138 hb[ix(nextPutIndex())] = x; in put() 146 hb[ix(checkIndex(i))] = x; in put() 157 System.arraycopy(src, offset, hb, ix(position()), length); in put() 174 System.arraycopy(sb.hb, sb.ix(sb.position()), in put() [all …]
|
D | HeapByteBuffer.java | 75 return new HeapByteBuffer(hb, in slice() 86 return new HeapByteBuffer(hb, in duplicate() 97 return new HeapByteBuffer(hb, in asReadOnlyBuffer() 111 return hb[ix(nextGetIndex())]; in get() 116 return hb[ix(checkIndex(i))]; in get() 124 System.arraycopy(hb, ix(position()), dst, offset, length); in get() 144 hb[ix(nextPutIndex())] = x; in put() 153 hb[ix(checkIndex(i))] = x; in put() 165 System.arraycopy(src, offset, hb, ix(position()), length); in put() 175 System.arraycopy(hb, ix(position()), hb, ix(0), remaining()); in compact() [all …]
|
D | ByteBuffer.java | 216 final byte[] hb; // Non-null only for heap buffers field in ByteBuffer 224 byte[] hb, int offset) in ByteBuffer() argument 228 this.hb = hb; in ByteBuffer() 621 if (this.hb != null && src.hb != null) { in put() 623 System.arraycopy(src.hb, src.position() + src.offset, hb, position() + offset, n); in put() 629 final Object srcObject = src.isDirect() ? src : src.hb; in put() 636 final Object dstObject = dst.isDirect() ? dst : dst.hb; in put() 750 return (hb != null) && !isReadOnly; in hasArray() 773 if (hb == null) in array() 777 return hb; in array() [all …]
|
D | LongBuffer.java | 103 final long[] hb; // Non-null only for heap buffers field in LongBuffer 111 long[] hb, int offset) in LongBuffer() argument 115 this.hb = hb; in LongBuffer() 582 return (hb != null) && !isReadOnly; in hasArray() 605 if (hb == null) in array() 609 return hb; in array() 633 if (hb == null) in arrayOffset()
|
D | IntBuffer.java | 104 final int[] hb; // Non-null only for heap buffers field in IntBuffer 112 int[] hb, int offset) in IntBuffer() argument 116 this.hb = hb; in IntBuffer() 583 return (hb != null) && !isReadOnly; in hasArray() 606 if (hb == null) in array() 610 return hb; in array() 634 if (hb == null) in arrayOffset()
|
D | ShortBuffer.java | 103 final short[] hb; // Non-null only for heap buffers field in ShortBuffer 111 short[] hb, int offset) in ShortBuffer() argument 115 this.hb = hb; in ShortBuffer() 582 return (hb != null) && !isReadOnly; in hasArray() 605 if (hb == null) in array() 609 return hb; in array() 633 if (hb == null) in arrayOffset()
|
D | DoubleBuffer.java | 103 final double[] hb; // Non-null only for heap buffers field in DoubleBuffer 111 double[] hb, int offset) in DoubleBuffer() argument 115 this.hb = hb; in DoubleBuffer() 582 return (hb != null) && !isReadOnly; in hasArray() 605 if (hb == null) in array() 609 return hb; in array() 633 if (hb == null) in arrayOffset()
|
D | FloatBuffer.java | 103 final float[] hb; // Non-null only for heap buffers field in FloatBuffer 111 float[] hb, int offset) in FloatBuffer() argument 115 this.hb = hb; in FloatBuffer() 582 return (hb != null) && !isReadOnly; in hasArray() 605 if (hb == null) in array() 609 return hb; in array() 633 if (hb == null) in arrayOffset()
|
D | CharBuffer.java | 130 final char[] hb; // Non-null only for heap buffers field in CharBuffer 138 char[] hb, int offset) in CharBuffer() argument 142 this.hb = hb; in CharBuffer() 808 return (hb != null) && !isReadOnly; in hasArray() 831 if (hb == null) in array() 835 return hb; in array() 859 if (hb == null) in arrayOffset()
|
D | DirectByteBuffer.java | 317 System.arraycopy(hb, position + offset, hb, offset, remaining()); in compact()
|
/libcore/luni/src/main/java/javax/xml/parsers/ |
D | SAXParser.java | 124 public void parse(InputStream is, HandlerBase hb) in parse() argument 131 this.parse(input, hb); in parse() 154 HandlerBase hb, in parse() argument 163 this.parse(input, hb); in parse() 235 public void parse(String uri, HandlerBase hb) in parse() argument 242 this.parse(input, hb); in parse() 284 public void parse(File f, HandlerBase hb) in parse() argument 297 this.parse(input, hb); in parse() 346 public void parse(InputSource is, HandlerBase hb) in parse() argument 353 if (hb != null) { in parse() [all …]
|
/libcore/ojluni/annotations/hiddenapi/java/nio/ |
D | CharBuffer.java | 40 CharBuffer(int mark, int pos, int lim, int cap, char[] hb, int offset) { in CharBuffer() argument 189 final char[] hb; field in CharBuffer 192 hb = new char[0];
|
D | ByteBuffer.java | 37 ByteBuffer(int mark, int pos, int lim, int cap, byte[] hb, int offset) { in ByteBuffer() argument 268 final byte[] hb; field in ByteBuffer 271 hb = new byte[0];
|