/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/test/java/nio/Buffer/ |
D | AllocateDirectInit.java | 40 ByteBuffer bb = ByteBuffer.allocateDirect(1024); in testAllocate() local 50 private static void printByteBuffer(ByteBuffer bb) { in printByteBuffer()
|
D | ByteBufferViews.java | 144 static void assertValues(int i, Object bValue, Object bbValue, ByteBuffer bb) { in assertValues() 151 static void assertValues(int i, Object bbValue, Object bvValue, ByteBuffer bb, Buffer bv) { in assertValues() 166 static ByteBuffer fill(ByteBuffer bb, IntUnaryOperator o) { in fill() 196 ByteBuffer bb = allocate(fbb); in testShortGet() local 224 ByteBuffer bb = allocate(fbb, i -> 0); in testShortPut() local 266 static short getShortFromBytes(ByteBuffer bb, int i) { in getShortFromBytes() 300 ByteBuffer bb = allocate(fbb); in testCharGet() local 328 ByteBuffer bb = allocate(fbb, i -> 0); in testCharPut() local 370 static char getCharFromBytes(ByteBuffer bb, int i) { in getCharFromBytes() 397 ByteBuffer bb = allocate(fbb); in testIntGet() local [all …]
|
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 | CopyDirectDoubleMemory.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 | CopyDirectShortMemory.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 | CopyDirectCharMemory.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 | 89 ByteBuffer bb = (ByteBuffer)b; in fail() local 96 CharBuffer bb = (CharBuffer)b; in fail() local
|
/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/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
|
D | IOUtil.java | 58 ByteBuffer bb = Util.getTemporaryDirectBuffer(rem); in write() local 76 private static int writeFromNativeBuffer(FileDescriptor fd, ByteBuffer bb, in writeFromNativeBuffer() 207 private static int readIntoNativeBuffer(FileDescriptor fd, ByteBuffer bb, in readIntoNativeBuffer()
|
D | DatagramChannelImpl.java | 374 ByteBuffer bb = null; in receive() local 436 ByteBuffer bb = Util.getTemporaryDirectBuffer(newSize); in receive() local 451 private int receiveIntoNativeBuffer(FileDescriptor fd, ByteBuffer bb, in receiveIntoNativeBuffer() 535 ByteBuffer bb = Util.getTemporaryDirectBuffer(rem); in send() local 553 private int sendFromNativeBuffer(FileDescriptor fd, ByteBuffer bb, in sendFromNativeBuffer()
|
/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/ojluni/src/main/java/java/util/zip/ |
D | ZipCoder.java | 79 String toString(DirectByteBuffer bb, int off, int length) { in toString() 89 ByteBuffer bb = encoder().encode(CharBuffer.wrap(s)); in getBytes() local 157 boolean hasTrailingSlash(DirectByteBuffer bb, int end) { in hasTrailingSlash() 232 String toString(DirectByteBuffer bb, int off, int length) { in toString() 286 boolean hasTrailingSlash(DirectByteBuffer bb, int end) { in hasTrailingSlash()
|
/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/sun/nio/fs/ |
D | AbstractUserDefinedFileAttributeView.java | 66 ByteBuffer bb; in setAttribute() local
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
D | ASCIICharsetEncoderTest.java | 109 ByteBuffer bb = encoder.encode(cb); in testEncodeMapping() local 127 ByteBuffer bb = ByteBuffer.allocate(0x10); in testEncodeMapping() local
|
/libcore/ojluni/src/main/java/java/nio/ |
D | ByteBufferAsLongBuffer.java | 41 protected final ByteBuffer bb; field in ByteBufferAsLongBuffer 54 ByteBufferAsLongBuffer(ByteBuffer bb, in ByteBufferAsLongBuffer()
|
D | ByteBufferAsShortBuffer.java | 41 protected final ByteBuffer bb; field in ByteBufferAsShortBuffer 54 ByteBufferAsShortBuffer(ByteBuffer bb, in ByteBufferAsShortBuffer()
|