Home
last modified time | relevance | path

Searched defs:bb (Results 1 – 25 of 62) sorted by relevance

123

/libcore/ojluni/src/test/java/util/zip/
DChecksumBase.java70 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/
DBits.java68 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 …]
DByteBufferAsShortBuffer.java33 protected final ByteBuffer bb; field in ByteBufferAsShortBuffer
37 ByteBufferAsShortBuffer(ByteBuffer bb, in ByteBufferAsShortBuffer()
DByteBufferAsLongBuffer.java33 protected final ByteBuffer bb; field in ByteBufferAsLongBuffer
37 ByteBufferAsLongBuffer(ByteBuffer bb, in ByteBufferAsLongBuffer()
DByteBufferAsIntBuffer.java33 protected final ByteBuffer bb; field in ByteBufferAsIntBuffer
37 ByteBufferAsIntBuffer(ByteBuffer bb, in ByteBufferAsIntBuffer()
DByteBufferAsFloatBuffer.java33 protected final ByteBuffer bb; field in ByteBufferAsFloatBuffer
37 ByteBufferAsFloatBuffer(ByteBuffer bb, in ByteBufferAsFloatBuffer()
DByteBufferAsDoubleBuffer.java34 protected final ByteBuffer bb; field in ByteBufferAsDoubleBuffer
38 ByteBufferAsDoubleBuffer(ByteBuffer bb, in ByteBufferAsDoubleBuffer()
/libcore/ojluni/src/main/java/java/nio/channels/
DChannels.java71 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/
DOrder.java47 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()
DAllocateDirectInit.java39 ByteBuffer bb = ByteBuffer.allocateDirect(1024); in testAllocate() local
DCopyDirectCharMemory.java50 ByteBuffer bb = ByteBuffer.allocateDirect(1024 * 1024 + 1024); in test() local
DCopyDirectDoubleMemory.java50 ByteBuffer bb = ByteBuffer.allocateDirect(1024 * 1024 + 1024); in test() local
DCopyDirectShortMemory.java50 ByteBuffer bb = ByteBuffer.allocateDirect(1024 * 1024 + 1024); in test() local
DCopyDirectFloatMemory.java50 ByteBuffer bb = ByteBuffer.allocateDirect(1024 * 1024 + 1024); in test() local
DCopyDirectLongMemory.java50 ByteBuffer bb = ByteBuffer.allocateDirect(1024 * 1024 + 1024); in test() local
DCopyDirectIntMemory.java50 ByteBuffer bb = ByteBuffer.allocateDirect(1024 * 1024 + 1024); in test() local
DBasic.java79 ByteBuffer bb = (ByteBuffer)b; in fail() local
86 CharBuffer bb = (CharBuffer)b; in fail() local
/libcore/ojluni/src/main/java/sun/nio/ch/
DChannelInputStream.java48 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()
DDatagramSocketAdaptor.java145 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/
DCharsetEncoderTest.java71 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
DCharset_TestGenerator.java223 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/
DSSLEngineTest.java344 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/
DEncDec.java38 ByteBuffer bb = ByteBuffer.allocate(100); in main() local
/libcore/ojluni/src/main/java/java/util/zip/
DZipCoder.java61 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/
DAbstractUserDefinedFileAttributeView.java66 ByteBuffer bb; in setAttribute() local

123