Home
last modified time | relevance | path

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

12

/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 …]
DByteBufferAsFloatBuffer.java32 protected final ByteBuffer bb; field in ByteBufferAsFloatBuffer
36 ByteBufferAsFloatBuffer(ByteBuffer bb, in ByteBufferAsFloatBuffer()
DByteBufferAsLongBuffer.java32 protected final ByteBuffer bb; field in ByteBufferAsLongBuffer
36 ByteBufferAsLongBuffer(ByteBuffer bb, in ByteBufferAsLongBuffer()
DByteBufferAsIntBuffer.java32 protected final ByteBuffer bb; field in ByteBufferAsIntBuffer
36 ByteBufferAsIntBuffer(ByteBuffer bb, in ByteBufferAsIntBuffer()
DByteBufferAsShortBuffer.java32 protected final ByteBuffer bb; field in ByteBufferAsShortBuffer
36 ByteBufferAsShortBuffer(ByteBuffer bb, in ByteBufferAsShortBuffer()
DByteBufferAsDoubleBuffer.java33 protected final ByteBuffer bb; field in ByteBufferAsDoubleBuffer
37 ByteBufferAsDoubleBuffer(ByteBuffer bb, in ByteBufferAsDoubleBuffer()
DByteBufferAsCharBuffer.java32 protected final ByteBuffer bb; field in ByteBufferAsCharBuffer
36 ByteBufferAsCharBuffer(ByteBuffer bb, in ByteBufferAsCharBuffer()
/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
107 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
DIOUtil.java58 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()
DDatagramChannelImpl.java374 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()
DFileChannelImpl.java605 ByteBuffer bb = Util.getTemporaryDirectBuffer(c); in transferToArbitraryChannel() local
685 MappedByteBuffer bb = src.map(MapMode.READ_ONLY, p, size); in transferFromFileChannel() local
715 ByteBuffer bb = Util.getTemporaryDirectBuffer(c); in transferFromArbitraryChannel() local
897 private static void unmap(MappedByteBuffer bb) { in unmap()
/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/ojluni/src/main/java/java/nio/channels/
DChannels.java75 private static void writeFullyImpl(WritableByteChannel ch, ByteBuffer bb) in writeFullyImpl()
91 private static void writeFully(WritableByteChannel ch, ByteBuffer bb) in writeFully()
168 ByteBuffer bb = ((this.bs == bs) in newOutputStream() local
/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/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
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
DASCIICharsetEncoderTest.java109 ByteBuffer bb = encoder.encode(cb); in testEncodeMapping() local
127 ByteBuffer bb = ByteBuffer.allocate(0x10); in testEncodeMapping() local
DAbstractCharsetTestCase.java140 ByteBuffer bb = this.testingCharset.encode(input); in internalTestEncode() local
DCharsetDecoder2Test.java270 ByteBuffer bb = ByteBuffer.allocateDirect(8); in testInvalidDecoding() local
/libcore/luni/src/test/java/libcore/java/nio/
DOldAndroidNIOTest.java201 ByteBuffer bb = b.slice(); in byteBufferTest() local
/libcore/ojluni/annotations/hiddenapi/sun/misc/
DCharacterEncoder.java81 private byte[] getBytes(java.nio.ByteBuffer bb) { in getBytes()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DResourceBundleTest.java173 B bb = new B(); in test_getBundleLjava_lang_StringLjava_util_LocaleLjava_lang_ClassLoader() local
/libcore/ojluni/annotations/hiddenapi/java/nio/charset/
DCharset.java124 public final java.nio.CharBuffer decode(java.nio.ByteBuffer bb) { in decode()

12