/libcore/ojluni/src/main/java/java/nio/ |
D | Bits.java | 69 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 …]
|
D | ByteBufferAsDoubleBuffer.java | 33 protected final ByteBuffer bb; field in ByteBufferAsDoubleBuffer 37 ByteBufferAsDoubleBuffer(ByteBuffer bb, in ByteBufferAsDoubleBuffer()
|
D | ByteBufferAsFloatBuffer.java | 32 protected final ByteBuffer bb; field in ByteBufferAsFloatBuffer 36 ByteBufferAsFloatBuffer(ByteBuffer bb, in ByteBufferAsFloatBuffer()
|
D | ByteBufferAsIntBuffer.java | 32 protected final ByteBuffer bb; field in ByteBufferAsIntBuffer 36 ByteBufferAsIntBuffer(ByteBuffer bb, in ByteBufferAsIntBuffer()
|
D | ByteBufferAsLongBuffer.java | 32 protected final ByteBuffer bb; field in ByteBufferAsLongBuffer 36 ByteBufferAsLongBuffer(ByteBuffer bb, in ByteBufferAsLongBuffer()
|
D | ByteBufferAsShortBuffer.java | 32 protected final ByteBuffer bb; field in ByteBufferAsShortBuffer 36 ByteBufferAsShortBuffer(ByteBuffer bb, in ByteBufferAsShortBuffer()
|
D | ByteBufferAsCharBuffer.java | 32 protected final ByteBuffer bb; field in ByteBufferAsCharBuffer 36 ByteBufferAsCharBuffer(ByteBuffer bb, in ByteBufferAsCharBuffer()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | ChannelInputStream.java | 54 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()
|
D | DatagramSocketAdaptor.java | 145 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
|
D | DatagramChannelImpl.java | 349 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()
|
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()
|
/libcore/ojluni/src/main/java/sun/security/ssl/ |
D | EngineInputRecord.java | 189 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
|
D | ByteBufferInputStream.java | 42 ByteBuffer bb; field in ByteBufferInputStream 44 ByteBufferInputStream(ByteBuffer bb) { in ByteBufferInputStream()
|
D | CipherBox.java | 292 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()
|
D | MAC.java | 175 final byte[] compute(byte type, ByteBuffer bb, boolean isSimulated) { in compute() 228 private byte[] compute(byte type, ByteBuffer bb, byte[] buf, in compute()
|
D | EngineOutputRecord.java | 119 private void addMAC(MAC signer, ByteBuffer bb) in addMAC() 147 void encrypt(CipherBox box, ByteBuffer bb) { in encrypt()
|
D | EngineWriter.java | 132 ByteBuffer bb = ea.netData.duplicate(); in dumpPacket() local
|
/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/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | SSLEngineTest.java | 331 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/ |
D | ZipCoder.java | 61 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/ |
D | Channels.java | 75 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/ |
D | StringCoding.java | 169 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/ |
D | AbstractCharsetTestCase.java | 140 ByteBuffer bb = this.testingCharset.encode(input); in internalTestEncode() local
|
D | ASCIICharsetEncoderTest.java | 109 ByteBuffer bb = encoder.encode(cb); in testEncodeMapping() local 127 ByteBuffer bb = ByteBuffer.allocate(0x10); in testEncodeMapping() local
|