/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/jackson-core/src/test/java/com/fasterxml/jackson/core/json/async/ |
D | AsyncNaNHandlingTest.java | 49 private void _testAllowNaN(JsonFactory f, String doc, int readBytes) throws Exception in _testAllowNaN() argument 51 AsyncReaderWrapper p = createParser(f, doc, readBytes); in _testAllowNaN() 73 p = createParser(f, doc, readBytes); in _testAllowNaN() 99 private void _testDisallowInf(JsonFactory f, String token, int readBytes) throws Exception in _testDisallowInf() argument 104 AsyncReaderWrapper p = createParser(f, JSON, readBytes); in _testDisallowInf() 137 private void _testAllowInf(JsonFactory f, String doc, int readBytes) throws Exception in _testAllowInf() argument 142 AsyncReaderWrapper p = createParser(f, doc, readBytes); in _testAllowInf() 172 p = createParser(f, doc, readBytes); in _testAllowInf() 183 …private AsyncReaderWrapper createParser(JsonFactory f, String doc, int readBytes) throws IOExcepti… in createParser() argument 185 return asyncForBytes(f, readBytes, _jsonDoc(doc), 1); in createParser()
|
/external/angle/src/libANGLE/ |
D | BinaryStream_unittest.cpp | 36 stream.readBytes(outputData.data(), dataSize); in TEST() 45 stream.readBytes(outputData.data(), dataSize / 2); in TEST() 47 stream.readBytes(outputData.data() + dataSize / 2, dataSize / 2); in TEST() 56 stream.readBytes(outputData.data(), dataSize + 1); in TEST() 63 stream.readBytes(outputData.data(), dataSize - 1); in TEST() 65 stream.readBytes(outputData.data(), std::numeric_limits<size_t>::max() - dataSize - 2); in TEST()
|
/external/guava/android/guava-tests/test/com/google/common/io/ |
D | ByteSourceTester.java | 127 byte[] readBytes = ByteStreams.toByteArray(in); in testOpenStream() 128 assertExpectedBytes(readBytes); in testOpenStream() 137 byte[] readBytes = ByteStreams.toByteArray(in); in testOpenBufferedStream() 138 assertExpectedBytes(readBytes); in testOpenBufferedStream() 145 byte[] readBytes = source.read(); in testRead() 146 assertExpectedBytes(readBytes); in testRead() 196 byte[] readBytes = in testRead_usingByteProcessor() 213 assertExpectedBytes(readBytes); in testRead_usingByteProcessor() 246 private void assertExpectedBytes(byte[] readBytes) { in assertExpectedBytes() argument 247 assertArrayEquals(expected, readBytes); in assertExpectedBytes()
|
/external/guava/guava-tests/test/com/google/common/io/ |
D | ByteSourceTester.java | 127 byte[] readBytes = ByteStreams.toByteArray(in); in testOpenStream() 128 assertExpectedBytes(readBytes); in testOpenStream() 137 byte[] readBytes = ByteStreams.toByteArray(in); in testOpenBufferedStream() 138 assertExpectedBytes(readBytes); in testOpenBufferedStream() 145 byte[] readBytes = source.read(); in testRead() 146 assertExpectedBytes(readBytes); in testRead() 196 byte[] readBytes = in testRead_usingByteProcessor() 213 assertExpectedBytes(readBytes); in testRead_usingByteProcessor() 246 private void assertExpectedBytes(byte[] readBytes) { in assertExpectedBytes() argument 247 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/openscreen/osp/go/ |
D | binary.go | 34 err = readBytes(r, b[1:2]) 37 err = readBytes(r, b[1:4]) 40 err = readBytes(r, b[1:8]) 85 err := readBytes(r, b[:]) 91 func readBytes(r io.Reader, b []byte) error { func
|
/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/OpenCSD/decoder/source/mem_acc/ |
D | trc_mem_acc_mapper.cpp | 81 uint32_t readBytes = 0; in ReadTargetMemory() local 101 readBytes = *num_bytes; in ReadTargetMemory() 102 …rr = m_cache.readBytesFromCache(m_acc_curr, address, mem_space, cs_trace_id, &readBytes, p_buffer); in ReadTargetMemory() 108 … readBytes = m_acc_curr->readBytes(address, mem_space, cs_trace_id, *num_bytes, p_buffer); in ReadTargetMemory() 110 if (readBytes > *num_bytes) in ReadTargetMemory() 118 *num_bytes = readBytes; in ReadTargetMemory()
|
/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/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | BinaryStreamRef.cpp | 24 Error readBytes(uint32_t Offset, uint32_t Size, in readBytes() function in __anon258ee4f50111::ArrayRefImpl 26 return BBS.readBytes(Offset, Size, Buffer); in readBytes() 47 Error readBytes(uint32_t Offset, uint32_t Size, in readBytes() function in __anon258ee4f50111::MutableArrayRefImpl 49 return BBS.readBytes(Offset, Size, Buffer); in readBytes() 79 Error BinaryStreamRef::readBytes(uint32_t Offset, uint32_t Size, in readBytes() function in BinaryStreamRef 83 return BorrowedImpl->readBytes(ViewOffset + Offset, Size, Buffer); in readBytes()
|
/external/llvm-project/llvm/lib/Support/ |
D | BinaryStreamRef.cpp | 24 Error readBytes(uint32_t Offset, uint32_t Size, in readBytes() function in __anone37034010111::ArrayRefImpl 26 return BBS.readBytes(Offset, Size, Buffer); in readBytes() 47 Error readBytes(uint32_t Offset, uint32_t Size, in readBytes() function in __anone37034010111::MutableArrayRefImpl 49 return BBS.readBytes(Offset, Size, Buffer); in readBytes() 79 Error BinaryStreamRef::readBytes(uint32_t Offset, uint32_t Size, in readBytes() function in BinaryStreamRef 83 return BorrowedImpl->readBytes(ViewOffset + Offset, Size, Buffer); in readBytes()
|
/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.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/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.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.0-rc1/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) }
|