/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/ |
D | ForwardingReadableBuffer.java | 65 public void readBytes(byte[] dest, int destOffset, int length) { in readBytes() method in ForwardingReadableBuffer 66 buf.readBytes(dest, destOffset, length); in readBytes() 70 public void readBytes(ByteBuffer dest) { in readBytes() method in ForwardingReadableBuffer 71 buf.readBytes(dest); in readBytes() 75 public void readBytes(OutputStream dest, int length) throws IOException { in readBytes() method in ForwardingReadableBuffer 76 buf.readBytes(dest, length); in readBytes() 80 public ReadableBuffer readBytes(int length) { in readBytes() method in ForwardingReadableBuffer 81 return buf.readBytes(length); in readBytes()
|
D | CompositeReadableBuffer.java | 90 public void readBytes(final byte[] dest, final int destOffset, int length) { in readBytes() method in CompositeReadableBuffer 95 buffer.readBytes(dest, currentOffset, length); in readBytes() 103 public void readBytes(final ByteBuffer dest) { in readBytes() method in CompositeReadableBuffer 112 buffer.readBytes(dest); in readBytes() 120 public void readBytes(final OutputStream dest, int length) throws IOException { in readBytes() method in CompositeReadableBuffer 124 buffer.readBytes(dest, length); in readBytes() 137 public CompositeReadableBuffer readBytes(int length) { in readBytes() method in CompositeReadableBuffer 145 newBuffer.addBuffer(buffer.readBytes(length)); in readBytes()
|
D | ReadableBuffers.java | 76 buffer.readBytes(bytes, 0, length); in readArray() 163 public void readBytes(byte[] dest, int destIndex, int length) { in readBytes() method in ReadableBuffers.ByteArrayWrapper 169 public void readBytes(ByteBuffer dest) { in readBytes() method in ReadableBuffers.ByteArrayWrapper 178 public void readBytes(OutputStream dest, int length) throws IOException { in readBytes() method in ReadableBuffers.ByteArrayWrapper 185 public ByteArrayWrapper readBytes(int length) { in readBytes() method in ReadableBuffers.ByteArrayWrapper 236 public void readBytes(byte[] dest, int destOffset, int length) { in readBytes() method in ReadableBuffers.ByteReadableBufferWrapper 242 public void readBytes(ByteBuffer dest) { in readBytes() method in ReadableBuffers.ByteReadableBufferWrapper 257 public void readBytes(OutputStream dest, int length) throws IOException { in readBytes() method in ReadableBuffers.ByteReadableBufferWrapper 271 public ByteReadableBufferWrapper readBytes(int length) { in readBytes() method in ReadableBuffers.ByteReadableBufferWrapper 327 buffer.readBytes(dest, destOffset, length); in read()
|
D | ReadableBuffer.java | 71 void readBytes(byte[] dest, int destOffset, int length); in readBytes() method 80 void readBytes(ByteBuffer dest); in readBytes() method 92 void readBytes(OutputStream dest, int length) throws IOException; in readBytes() method 103 ReadableBuffer readBytes(int length); in readBytes() method
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
D | ForwardingReadableBufferTest.java | 90 public void readBytes() { in readBytes() method in ForwardingReadableBufferTest 92 buffer.readBytes(dest, 1, 2); in readBytes() 94 verify(delegate).readBytes(dest, 1, 2); in readBytes() 100 buffer.readBytes(dest); in readBytes_overload1() 102 verify(delegate).readBytes(dest); in readBytes_overload1() 108 buffer.readBytes(dest, 1); in readBytes_overload2() 110 verify(delegate).readBytes(dest, 1); in readBytes_overload2() 115 buffer.readBytes(1); in readBytes_overload3() 117 verify(delegate).readBytes(1); in readBytes_overload3()
|
D | ReadableBufferTestBase.java | 52 buffer.readBytes(array, 0, array.length); in readToArrayShouldSucceed() 61 buffer.readBytes(array, 1, 2); in partialReadToArrayShouldSucceed() 70 buffer.readBytes(stream, msg.length()); in readToStreamShouldSucceed() 79 buffer.readBytes(stream, 2); in partialReadToStreamShouldSucceed() 88 buffer.readBytes(byteBuffer); in readToByteBufferShouldSucceed() 100 buffer.readBytes(byteBuffer); in partialReadToByteBufferShouldSucceed() 111 ReadableBuffer newBuffer = buffer.readBytes(2); in partialReadToReadableBufferShouldSucceed() 115 newBuffer.readBytes(array, 0, 2); in partialReadToReadableBufferShouldSucceed()
|
D | CompositeReadableBufferTest.java | 101 composite.readBytes(bytes, writeIndex, 1); in readByteArrayShouldSucceed() 105 composite.readBytes(bytes, writeIndex, 5); in readByteArrayShouldSucceed() 110 composite.readBytes(bytes, writeIndex, remaining); in readByteArrayShouldSucceed() 123 composite.readBytes(byteBuffer); in readByteBufferShouldSucceed() 128 composite.readBytes(byteBuffer); in readByteBufferShouldSucceed() 133 composite.readBytes(byteBuffer); in readByteBufferShouldSucceed() 143 composite.readBytes(bos, 1); in readStreamShouldSucceed() 147 composite.readBytes(bos, 5); in readStreamShouldSucceed() 151 composite.readBytes(bos, remaining); in readStreamShouldSucceed()
|
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/ |
D | NettyReadableBuffer.java | 59 public void readBytes(byte[] dest, int index, int length) { in readBytes() method in NettyReadableBuffer 60 buffer.readBytes(dest, index, length); in readBytes() 64 public void readBytes(ByteBuffer dest) { in readBytes() method in NettyReadableBuffer 65 buffer.readBytes(dest); in readBytes() 69 public void readBytes(OutputStream dest, int length) { in readBytes() method in NettyReadableBuffer 71 buffer.readBytes(dest, length); in readBytes() 78 public NettyReadableBuffer readBytes(int length) { in readBytes() method in NettyReadableBuffer
|
/external/guava/guava-tests/test/com/google/common/io/ |
D | ByteSourceTester.java | 111 byte[] readBytes = ByteStreams.toByteArray(in); in testOpenStream() 112 assertExpectedBytes(readBytes); in testOpenStream() 121 byte[] readBytes = ByteStreams.toByteArray(in); in testOpenBufferedStream() 122 assertExpectedBytes(readBytes); in testOpenBufferedStream() 129 byte[] readBytes = source.read(); in testRead() 130 assertExpectedBytes(readBytes); in testRead() 170 byte[] readBytes = source.read(new ByteProcessor<byte[]>() { in testRead_usingByteProcessor() 185 assertExpectedBytes(readBytes); in testRead_usingByteProcessor() 207 private void assertExpectedBytes(byte[] readBytes) { in assertExpectedBytes() argument 208 assertArrayEquals(expected, readBytes); in assertExpectedBytes()
|
/external/oj-libjdwp/src/share/back/ |
D | inStream.c | 66 readBytes(PacketInputStream *stream, void *dest, int size) in readBytes() function 88 return readBytes(stream, NULL, size); in inStream_skipBytes() 95 (void)readBytes(stream, &flag, sizeof(flag)); in inStream_readBoolean() 107 (void)readBytes(stream, &val, sizeof(val)); in inStream_readByte() 114 (void)readBytes(stream, buf, length); in inStream_readBytes() 122 (void)readBytes(stream, &val, sizeof(val)); in inStream_readChar() 130 (void)readBytes(stream, &val, sizeof(val)); in inStream_readShort() 138 (void)readBytes(stream, &val, sizeof(val)); in inStream_readInt() 146 (void)readBytes(stream, &val, sizeof(val)); in inStream_readLong() 154 (void)readBytes(stream, &val, sizeof(val)); in inStream_readFloat() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | BinaryStreamRef.cpp | 25 Error readBytes(uint32_t Offset, uint32_t Size, in readBytes() function in __anona6344a4d0111::ArrayRefImpl 27 return BBS.readBytes(Offset, Size, Buffer); in readBytes() 48 Error readBytes(uint32_t Offset, uint32_t Size, in readBytes() function in __anona6344a4d0111::MutableArrayRefImpl 50 return BBS.readBytes(Offset, Size, Buffer); in readBytes() 80 Error BinaryStreamRef::readBytes(uint32_t Offset, uint32_t Size, in readBytes() function in BinaryStreamRef 84 return BorrowedImpl->readBytes(ViewOffset + Offset, Size, Buffer); in readBytes()
|
/external/brotli/java/org/brotli/dec/ |
D | EagerStreamTest.java | 351 int readBytes; field in EagerStreamTest.ProxyStream 361 readBytes += result; in read() 374 int normalReadBytes = ps.readBytes; in testEagerStream() 381 int eagerReadBytes = ps.readBytes; in testEagerStream()
|
/external/grpc-grpc-java/okhttp/src/main/java/io/grpc/okhttp/ |
D | OkHttpReadableBuffer.java | 56 public void readBytes(byte[] dest, int destOffset, int length) { in readBytes() method in OkHttpReadableBuffer 68 public void readBytes(ByteBuffer dest) { in readBytes() method in OkHttpReadableBuffer 74 public void readBytes(OutputStream dest, int length) throws IOException { in readBytes() method in OkHttpReadableBuffer 79 public ReadableBuffer readBytes(int length) { in readBytes() method in OkHttpReadableBuffer
|
/external/brotli/java/org/brotli/wrapper/common/ |
D | BrotliCommon.java | 96 int readBytes; in setDictionaryData() local 97 while ((readBytes = src.read(buffer)) != -1) { in setDictionaryData() 98 if (copy.remaining() < readBytes) { in setDictionaryData() 101 copy.put(buffer, 0, readBytes); in setDictionaryData()
|
/external/grpc-grpc-java/alts/src/test/java/io/grpc/alts/internal/ |
D | AltsFramingTest.java | 44 parser.readBytes(buffer); in parserFrameLengthNegativeFails() 62 parser.readBytes(buffer); in parserFrameLengthSmallerMessageTypeFails() 80 parser.readBytes(buffer); in parserFrameLengthTooLargeFails() 102 parser.readBytes(buffer); in parserFrameLengthMaxOk() 121 parser.readBytes(buffer); in parserFrameLengthZeroOk()
|
/external/mockftpserver/tags/2.0-rc1/src/test/groovy/org/mockftpserver/core/util/ |
D | IoUtilTest.groovy | 30 * Test the readBytes() method 35 assert IoUtil.readBytes(input) == BYTES 39 * Test the readBytes() method, passing in a null 42 shouldFailWithMessageContaining("input") { IoUtil.readBytes(null) }
|
/external/mockftpserver/tags/2.2/src/test/groovy/org/mockftpserver/core/util/ |
D | IoUtilTest.groovy | 30 * Test the readBytes() method 35 assert IoUtil.readBytes(input) == BYTES 39 * Test the readBytes() method, passing in a null 42 shouldFailWithMessageContaining("input") { IoUtil.readBytes(null) }
|
/external/mockftpserver/tags/2.5/src/test/groovy/org/mockftpserver/core/util/ |
D | IoUtilTest.groovy | 30 * Test the readBytes() method 35 assert IoUtil.readBytes(input) == BYTES 39 * Test the readBytes() method, passing in a null 42 shouldFailWithMessageContaining("input") { IoUtil.readBytes(null) }
|
/external/mockftpserver/tags/2.4/src/test/groovy/org/mockftpserver/core/util/ |
D | IoUtilTest.groovy | 30 * Test the readBytes() method 35 assert IoUtil.readBytes(input) == BYTES 39 * Test the readBytes() method, passing in a null 42 shouldFailWithMessageContaining("input") { IoUtil.readBytes(null) }
|
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/core/util/ |
D | IoUtilTest.groovy | 30 * Test the readBytes() method 35 assert IoUtil.readBytes(input) == BYTES 39 * Test the readBytes() method, passing in a null 42 shouldFailWithMessageContaining("input") { IoUtil.readBytes(null) }
|
/external/mockftpserver/tags/2.0.1/src/test/groovy/org/mockftpserver/core/util/ |
D | IoUtilTest.groovy | 30 * Test the readBytes() method 35 assert IoUtil.readBytes(input) == BYTES 39 * Test the readBytes() method, passing in a null 42 shouldFailWithMessageContaining("input") { IoUtil.readBytes(null) }
|
/external/mockftpserver/tags/2.0.2/src/test/groovy/org/mockftpserver/core/util/ |
D | IoUtilTest.groovy | 30 * Test the readBytes() method 35 assert IoUtil.readBytes(input) == BYTES 39 * Test the readBytes() method, passing in a null 42 shouldFailWithMessageContaining("input") { IoUtil.readBytes(null) }
|
/external/mockftpserver/tags/2.0/src/test/groovy/org/mockftpserver/core/util/ |
D | IoUtilTest.groovy | 30 * Test the readBytes() method 35 assert IoUtil.readBytes(input) == BYTES 39 * Test the readBytes() method, passing in a null 42 shouldFailWithMessageContaining("input") { IoUtil.readBytes(null) }
|
/external/mockftpserver/tags/2.1/src/test/groovy/org/mockftpserver/core/util/ |
D | IoUtilTest.groovy | 30 * Test the readBytes() method 35 assert IoUtil.readBytes(input) == BYTES 39 * Test the readBytes() method, passing in a null 42 shouldFailWithMessageContaining("input") { IoUtil.readBytes(null) }
|
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/test/groovy/org/mockftpserver/core/util/ |
D | IoUtilTest.groovy | 30 * Test the readBytes() method 35 assert IoUtil.readBytes(input) == BYTES 39 * Test the readBytes() method, passing in a null 42 shouldFailWithMessageContaining("input") { IoUtil.readBytes(null) }
|