Home
last modified time | relevance | path

Searched defs:bb (Results 1 – 25 of 38) 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 …]
DByteBufferAsDoubleBuffer.java33 protected final ByteBuffer bb; field in ByteBufferAsDoubleBuffer
37 ByteBufferAsDoubleBuffer(ByteBuffer bb, in ByteBufferAsDoubleBuffer()
DByteBufferAsLongBuffer.java32 protected final ByteBuffer bb; field in ByteBufferAsLongBuffer
36 ByteBufferAsLongBuffer(ByteBuffer bb, in ByteBufferAsLongBuffer()
DByteBufferAsShortBuffer.java32 protected final ByteBuffer bb; field in ByteBufferAsShortBuffer
36 ByteBufferAsShortBuffer(ByteBuffer bb, in ByteBufferAsShortBuffer()
DByteBufferAsFloatBuffer.java32 protected final ByteBuffer bb; field in ByteBufferAsFloatBuffer
36 ByteBufferAsFloatBuffer(ByteBuffer bb, in ByteBufferAsFloatBuffer()
DByteBufferAsIntBuffer.java32 protected final ByteBuffer bb; field in ByteBufferAsIntBuffer
36 ByteBufferAsIntBuffer(ByteBuffer bb, in ByteBufferAsIntBuffer()
DByteBufferAsCharBuffer.java32 protected final ByteBuffer bb; field in ByteBufferAsCharBuffer
36 ByteBufferAsCharBuffer(ByteBuffer bb, in ByteBufferAsCharBuffer()
/libcore/ojluni/src/main/java/sun/nio/ch/
DChannelInputStream.java53 public static int read(ReadableByteChannel ch, ByteBuffer bb) in read()
77 private ByteBuffer bb = null; field in ChannelInputStream
113 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.java384 ByteBuffer bb = null; in receive() local
446 ByteBuffer bb = Util.getTemporaryDirectBuffer(newSize); in receive() local
460 private int receiveIntoNativeBuffer(FileDescriptor fd, ByteBuffer bb, in receiveIntoNativeBuffer()
543 ByteBuffer bb = Util.getTemporaryDirectBuffer(rem); in send() local
561 private int sendFromNativeBuffer(FileDescriptor fd, ByteBuffer bb, in sendFromNativeBuffer()
DFileChannelImpl.java593 ByteBuffer bb = Util.getTemporaryDirectBuffer(c); in transferToArbitraryChannel() local
673 MappedByteBuffer bb = src.map(MapMode.READ_ONLY, p, size); in transferFromFileChannel() local
703 ByteBuffer bb = Util.getTemporaryDirectBuffer(c); in transferFromArbitraryChannel() local
885 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.java331 ByteBuffer bb = ByteBuffer.allocate(10); in test_unwrap_02() local
368 ByteBuffer bb = ByteBuffer.allocate(10); in test_unwrap_03() local
390 ByteBuffer bb = ByteBuffer.allocate(10); in test_unwrap_04() local
427 ByteBuffer bb = ByteBuffer.allocate(10); in test_unwrap_05() local
446 ByteBuffer bb = ByteBuffer.allocate(10); in test_unwrap_06() local
471 ByteBuffer bb = ByteBuffer.allocate(10); in test_wrap_02() local
506 ByteBuffer bb = ByteBuffer.allocate(MAX_TLS_RECORD_SIZE).asReadOnlyBuffer(); in test_wrap_03() local
553 ByteBuffer bb = ByteBuffer.allocate(MAX_TLS_RECORD_SIZE); in test_wrap_05() local
571 ByteBuffer bb = ByteBuffer.allocate(MAX_TLS_RECORD_SIZE); in test_wrap_06() local
761 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/
DAbstractCharsetTestCase.java140 ByteBuffer bb = this.testingCharset.encode(input); in internalTestEncode() local
DASCIICharsetEncoderTest.java109 ByteBuffer bb = encoder.encode(cb); in testEncodeMapping() local
127 ByteBuffer bb = ByteBuffer.allocate(0x10); in testEncodeMapping() 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/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/src/main/java/sun/misc/
DCharacterEncoder.java210 private byte [] getBytes(ByteBuffer bb) { in getBytes()
/libcore/ojluni/src/main/java/java/util/
DBitSet.java268 public static BitSet valueOf(ByteBuffer bb) { in valueOf()
304 ByteBuffer bb = ByteBuffer.wrap(bytes).order(ByteOrder.LITTLE_ENDIAN); in toByteArray() local

12