/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 | 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 | 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 | 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 | 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 | 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 | 202 final byte[] hb; // Non-null only for heap buffers field in ByteBuffer 210 byte[] hb, int offset) { in ByteBuffer() argument 212 this.hb = hb; in ByteBuffer() 550 if (this.hb != null && src.hb != null) { in put() 552 System.arraycopy(src.hb, src.position() + src.offset, hb, position() + offset, n); in put() 558 final Object srcObject = src.isDirect() ? src : src.hb; in put() 565 final Object dstObject = dst.isDirect() ? dst : dst.hb; in put() 660 return (hb != null) && !isReadOnly(); in hasArray() 679 if (hb == null) in array() 683 return hb; in array() [all …]
|
D | DoubleBuffer.java | 88 final double[] hb; // Non-null only for heap buffers field in DoubleBuffer 96 double[] hb, int offset) { in DoubleBuffer() argument 98 this.hb = hb; in DoubleBuffer() 490 return (hb != null) && !isReadOnly; in hasArray() 509 if (hb == null) in array() 513 return hb; in array() 533 if (hb == null) in arrayOffset()
|
D | FloatBuffer.java | 89 final float[] hb; // Non-null only for heap buffers field in FloatBuffer 97 float[] hb, int offset) { in FloatBuffer() argument 99 this.hb = hb; in FloatBuffer() 491 return (hb != null) && !isReadOnly; in hasArray() 510 if (hb == null) in array() 514 return hb; in array() 534 if (hb == null) in arrayOffset()
|
D | IntBuffer.java | 91 final int[] hb; // Non-null only for heap buffers field in IntBuffer 99 int[] hb, int offset) { in IntBuffer() argument 101 this.hb = hb; in IntBuffer() 493 return (hb != null) && !isReadOnly; in hasArray() 512 if (hb == null) in array() 516 return hb; in array() 536 if (hb == null) in arrayOffset()
|
D | LongBuffer.java | 89 final long[] hb; // Non-null only for heap buffers field in LongBuffer 97 long[] hb, int offset) { in LongBuffer() argument 99 this.hb = hb; in LongBuffer() 491 return (hb != null) && !isReadOnly; in hasArray() 510 if (hb == null) in array() 514 return hb; in array() 534 if (hb == null) in arrayOffset()
|
D | ShortBuffer.java | 90 final short[] hb; // Non-null only for heap buffers field in ShortBuffer 98 short[] hb, int offset) { in ShortBuffer() argument 100 this.hb = hb; in ShortBuffer() 492 return (hb != null) && !isReadOnly; in hasArray() 511 if (hb == null) in array() 515 return hb; in array() 535 if (hb == null) in arrayOffset()
|
D | CharBuffer.java | 115 final char[] hb; // Non-null only for heap buffers field in CharBuffer 123 char[] hb, int offset) { in CharBuffer() argument 125 this.hb = hb; in CharBuffer() 693 return (hb != null) && !isReadOnly; in hasArray() 712 if (hb == null) in array() 716 return hb; in array() 736 if (hb == null) in arrayOffset()
|
D | DirectByteBuffer.java | 297 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 …]
|