Home
last modified time | relevance | path

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

12

/libcore/ojluni/src/main/java/java/nio/
DBits.java69 static char getCharL(ByteBuffer bb, int bi) { in getCharL()
79 static char getCharB(ByteBuffer bb, int bi) { in getCharB()
89 static char getChar(ByteBuffer bb, int bi, boolean bigEndian) { in getChar()
105 static void putCharL(ByteBuffer bb, int bi, char x) { in putCharL()
115 static void putCharB(ByteBuffer bb, int bi, char x) { in putCharB()
125 static void putChar(ByteBuffer bb, int bi, char x, boolean bigEndian) { in putChar()
146 static short getShortL(ByteBuffer bb, int bi) { in getShortL()
156 static short getShortB(ByteBuffer bb, int bi) { in getShortB()
166 static short getShort(ByteBuffer bb, int bi, boolean bigEndian) { in getShort()
182 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()
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()
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()
DByteBufferAsCharBuffer.java32 protected final ByteBuffer bb; field in ByteBufferAsCharBuffer
36 ByteBufferAsCharBuffer(ByteBuffer bb, in ByteBufferAsCharBuffer()
/libcore/ojluni/src/main/java/sun/nio/ch/
DChannelInputStream.java54 public static int read(ReadableByteChannel ch, ByteBuffer bb) in read()
78 private ByteBuffer bb = null; field in ChannelInputStream
114 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()
222 ByteBuffer bb = ByteBuffer.wrap(p.getData(), in receive() local
DDatagramChannelImpl.java349 ByteBuffer bb = null; in receive() local
411 ByteBuffer bb = Util.getTemporaryDirectBuffer(newSize); in receive() local
425 private int receiveIntoNativeBuffer(FileDescriptor fd, ByteBuffer bb, in receiveIntoNativeBuffer()
508 ByteBuffer bb = Util.getTemporaryDirectBuffer(rem); in send() local
526 private int sendFromNativeBuffer(FileDescriptor fd, ByteBuffer bb, in sendFromNativeBuffer()
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()
/libcore/ojluni/src/main/java/sun/security/ssl/
DEngineInputRecord.java189 CipherBox box, ByteBuffer bb) throws BadPaddingException { in decrypt()
296 private static boolean checkMacTags(byte contentType, ByteBuffer bb, in checkMacTags()
326 private static int[] compareMacTags(ByteBuffer bb, byte[] tag) { in compareMacTags()
418 ByteBuffer bb = srcBB.duplicate(); // Use copy of BB in read() local
431 ByteBuffer bb = srcBB.slice(); in read() local
DByteBufferInputStream.java42 ByteBuffer bb; field in ByteBufferInputStream
44 ByteBufferInputStream(ByteBuffer bb) { in ByteBufferInputStream()
DCipherBox.java292 int encrypt(ByteBuffer bb) { in encrypt()
454 int decrypt(ByteBuffer bb, int tagLen) throws BadPaddingException { in decrypt()
564 private static int addPadding(ByteBuffer bb, int blockSize) { in addPadding()
634 private static int[] checkPadding(ByteBuffer bb, byte pad) { in checkPadding()
709 private static int removePadding(ByteBuffer bb, in removePadding()
DMAC.java175 final byte[] compute(byte type, ByteBuffer bb, boolean isSimulated) { in compute()
228 private byte[] compute(byte type, ByteBuffer bb, byte[] buf, in compute()
DEngineOutputRecord.java119 private void addMAC(MAC signer, ByteBuffer bb) in addMAC()
147 void encrypt(CipherBox box, ByteBuffer bb) { in encrypt()
DEngineWriter.java132 ByteBuffer bb = ea.netData.duplicate(); in dumpPacket() 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.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/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/ojluni/src/main/java/java/lang/
DStringCoding.java169 ByteBuffer bb = ByteBuffer.wrap(ba, off, len); in decode() local
244 ByteBuffer bb = ByteBuffer.wrap(ba, off, len); in decode() local
325 ByteBuffer bb = ce.encode(cb.asReadOnlyBuffer()); in encode() local
376 ByteBuffer bb = ByteBuffer.wrap(ba); in encode() 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

12