/libcore/ojluni/src/test/java/util/zip/ |
D | ChecksumBase.java | 70 ByteBuffer bb = ByteBuffer.wrap(BYTES_123456789); in testWrappedByteBuffer() local 77 ByteBuffer bb = ByteBuffer.wrap(BYTES_123456789).asReadOnlyBuffer(); in testReadonlyByteBuffer() local 84 ByteBuffer bb = ByteBuffer.allocateDirect(BYTES_123456789.length); in testDirectByteBuffer() local 113 ByteBuffer bb = ByteBuffer.allocateDirect(unaligned_bytes_123456789.length); in testDirectByteBufferOffset() local 127 ByteBuffer bb = ByteBuffer.allocateDirect(unaligned_bytes_123456789.length); in testLittleEndianDirectByteBufferOffset() local 143 ByteBuffer bb = ByteBuffer.wrap(unaligned_bytes_123456789); in testWrappedByteBufferOffset() local 156 ByteBuffer bb = ByteBuffer.wrap(unaligned_bytes_123456789); in testLittleEndianWrappedByteBufferOffset() local 170 ByteBuffer bb = ByteBuffer.wrap(unaligned_bytes_123456789).asReadOnlyBuffer(); in testReadonlyByteBufferOffset() local 183 ByteBuffer bb = ByteBuffer.wrap(unaligned_bytes_123456789).asReadOnlyBuffer(); in testLittleEndianReadonlyByteBufferOffset() local
|
/libcore/ojluni/src/main/java/java/nio/ |
D | Bits.java | 68 static char getCharL(ByteBuffer bb, int bi) { in getCharL() 78 static char getCharB(ByteBuffer bb, int bi) { in getCharB() 88 static char getChar(ByteBuffer bb, int bi, boolean bigEndian) { in getChar() 99 static void putCharL(ByteBuffer bb, int bi, char x) { in putCharL() 109 static void putCharB(ByteBuffer bb, int bi, char x) { in putCharB() 119 static void putChar(ByteBuffer bb, int bi, char x, boolean bigEndian) { in putChar() 140 static short getShortL(ByteBuffer bb, int bi) { in getShortL() 150 static short getShortB(ByteBuffer bb, int bi) { in getShortB() 160 static short getShort(ByteBuffer bb, int bi, boolean bigEndian) { in getShort() 171 static void putShortL(ByteBuffer bb, int bi, short x) { in putShortL() [all …]
|
D | ByteBufferAsShortBuffer.java | 33 protected final ByteBuffer bb; field in ByteBufferAsShortBuffer 37 ByteBufferAsShortBuffer(ByteBuffer bb, in ByteBufferAsShortBuffer()
|
D | ByteBufferAsLongBuffer.java | 33 protected final ByteBuffer bb; field in ByteBufferAsLongBuffer 37 ByteBufferAsLongBuffer(ByteBuffer bb, in ByteBufferAsLongBuffer()
|
D | ByteBufferAsIntBuffer.java | 33 protected final ByteBuffer bb; field in ByteBufferAsIntBuffer 37 ByteBufferAsIntBuffer(ByteBuffer bb, in ByteBufferAsIntBuffer()
|
D | ByteBufferAsFloatBuffer.java | 33 protected final ByteBuffer bb; field in ByteBufferAsFloatBuffer 37 ByteBufferAsFloatBuffer(ByteBuffer bb, in ByteBufferAsFloatBuffer()
|
D | ByteBufferAsDoubleBuffer.java | 34 protected final ByteBuffer bb; field in ByteBufferAsDoubleBuffer 38 ByteBufferAsDoubleBuffer(ByteBuffer bb, in ByteBufferAsDoubleBuffer()
|
/libcore/ojluni/src/main/java/java/nio/channels/ |
D | Channels.java | 71 private static void writeFullyImpl(WritableByteChannel ch, ByteBuffer bb) in writeFullyImpl() 87 private static void writeFully(WritableByteChannel ch, ByteBuffer bb) in writeFully() 166 ByteBuffer bb = ((this.bs == bs) in newOutputStream() local 228 ByteBuffer bb = ((this.bs == bs) in newInputStream() local
|
/libcore/ojluni/src/test/java/nio/Buffer/ |
D | Order.java | 47 private static void ckViews(ByteBuffer bb) { in ckViews() 56 private static void ckCopyViews(ByteBuffer bb) { in ckCopyViews() 62 private static void ckByteBuffer(ByteBuffer bb) { in ckByteBuffer()
|
D | AllocateDirectInit.java | 39 ByteBuffer bb = ByteBuffer.allocateDirect(1024); in testAllocate() local
|
D | CopyDirectCharMemory.java | 50 ByteBuffer bb = ByteBuffer.allocateDirect(1024 * 1024 + 1024); in test() local
|
D | CopyDirectDoubleMemory.java | 50 ByteBuffer bb = ByteBuffer.allocateDirect(1024 * 1024 + 1024); in test() local
|
D | CopyDirectShortMemory.java | 50 ByteBuffer bb = ByteBuffer.allocateDirect(1024 * 1024 + 1024); in test() local
|
D | CopyDirectFloatMemory.java | 50 ByteBuffer bb = ByteBuffer.allocateDirect(1024 * 1024 + 1024); in test() local
|
D | CopyDirectLongMemory.java | 50 ByteBuffer bb = ByteBuffer.allocateDirect(1024 * 1024 + 1024); in test() local
|
D | CopyDirectIntMemory.java | 50 ByteBuffer bb = ByteBuffer.allocateDirect(1024 * 1024 + 1024); in test() local
|
D | Basic.java | 79 ByteBuffer bb = (ByteBuffer)b; in fail() local 86 CharBuffer bb = (CharBuffer)b; in fail() local
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | ChannelInputStream.java | 48 public static int read(ReadableByteChannel ch, ByteBuffer bb, in read() 71 private ByteBuffer bb = null; field in ChannelInputStream 105 protected int read(ByteBuffer bb) in read()
|
D | DatagramSocketAdaptor.java | 145 ByteBuffer bb = ByteBuffer.wrap(p.getData(), in send() local 174 private SocketAddress receive(ByteBuffer bb) throws IOException { in receive() 213 ByteBuffer bb = ByteBuffer.wrap(p.getData(), in receive() local
|
/libcore/luni/src/test/java/libcore/java/nio/charset/ |
D | CharsetEncoderTest.java | 71 ByteBuffer bb = ByteBuffer.allocate(128); in testSurrogatePairAllAtOnce() local 85 ByteBuffer bb = ByteBuffer.allocate(128); in testMalformedSurrogatePair() local 122 ByteBuffer bb = ByteBuffer.allocate(128); in testCharsetEncoderSplitSurrogates() local 146 ByteBuffer bb = ByteBuffer.allocate(128); in testFlushWithoutEndOfInput() local
|
D | Charset_TestGenerator.java | 223 ByteBuffer bb = encoder.encode(cb); in genEncoded() local 234 static void genDecoded (Charset charset, ByteBuffer bb) { in genDecoded()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | SSLEngineTest.java | 344 ByteBuffer bb = ByteBuffer.allocate(10); in test_unwrap_02() local 381 ByteBuffer bb = ByteBuffer.allocate(10); in test_unwrap_03() local 403 ByteBuffer bb = ByteBuffer.allocate(10); in test_unwrap_04() local 440 ByteBuffer bb = ByteBuffer.allocate(10); in test_unwrap_05() local 459 ByteBuffer bb = ByteBuffer.allocate(10); in test_unwrap_06() local 484 ByteBuffer bb = ByteBuffer.allocate(10); in test_wrap_02() local 519 ByteBuffer bb = ByteBuffer.allocate(MAX_TLS_RECORD_SIZE).asReadOnlyBuffer(); in test_wrap_03() local 566 ByteBuffer bb = ByteBuffer.allocate(MAX_TLS_RECORD_SIZE); in test_wrap_05() local 584 ByteBuffer bb = ByteBuffer.allocate(MAX_TLS_RECORD_SIZE); in test_wrap_06() local 774 ByteBuffer bb = ByteBuffer.allocate(10); in test_unwrap_ByteBuffer$ByteBuffer_03() local [all …]
|
/libcore/ojluni/src/test/java/nio/charset/Charset/ |
D | EncDec.java | 38 ByteBuffer bb = ByteBuffer.allocate(100); in main() local
|
/libcore/ojluni/src/main/java/java/util/zip/ |
D | ZipCoder.java | 61 ByteBuffer bb = ByteBuffer.wrap(ba, 0, length); in toString() local 91 ByteBuffer bb = ByteBuffer.wrap(ba); in getBytes() local
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | AbstractUserDefinedFileAttributeView.java | 66 ByteBuffer bb; in setAttribute() local
|