Home
last modified time | relevance | path

Searched refs:readByteArray (Results 1 – 25 of 32) sorted by relevance

12

/external/okhttp/okio/okio/src/main/java/okio/
DBufferedSource.java104 byte[] readByteArray() throws IOException; in readByteArray() method
107 byte[] readByteArray(long byteCount) throws IOException; in readByteArray() method
DRealBufferedSource.java91 @Override public byte[] readByteArray() throws IOException { in readByteArray() method in RealBufferedSource
93 return buffer.readByteArray(); in readByteArray()
96 @Override public byte[] readByteArray(long byteCount) throws IOException { in readByteArray() method in RealBufferedSource
98 return buffer.readByteArray(byteCount); in readByteArray()
DBuffer.java525 return new ByteString(readByteArray());
529 return new ByteString(readByteArray(byteCount));
579 return new String(readByteArray(byteCount), charset);
705 @Override public byte[] readByteArray() {
707 return readByteArray(size);
713 @Override public byte[] readByteArray(long byteCount) throws EOFException {
/external/skia/src/core/
DSkReadBuffer.h148 virtual bool readByteArray(void* value, size_t size);
160 this->readByteArray(buffer, len); in readByteArrayAsData()
DSkValidatingReadBuffer.h52 bool readByteArray(void* value, size_t size) override;
DSkPicture.cpp117 if (!buffer->readByteArray(&info.fMagic, sizeof(kMagic))) { in InternalOnly_BufferIsSKP()
DSkTextBlob.cpp286 if (!reader.readByteArray(buf->glyphs, glyphCount * sizeof(uint16_t)) || in CreateFromBuffer()
287 !reader.readByteArray(buf->pos, in CreateFromBuffer()
DSkValidatingReadBuffer.cpp189 bool SkValidatingReadBuffer::readByteArray(void* value, size_t size) { in readByteArray() function in SkValidatingReadBuffer
DSkReadBuffer.cpp170 bool SkReadBuffer::readByteArray(void* value, size_t size) { in readByteArray() function in SkReadBuffer
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
DHttpOverSpdyTest.java131 assertArrayEquals(postBytes, request.getBody().readByteArray()); in noDefaultContentLengthOnStreamingPost()
146 assertArrayEquals(postBytes, request.getBody().readByteArray()); in userSuppliedContentLengthHeader()
163 assertArrayEquals(postBytes, request.getBody().readByteArray()); in closeAfterFlush()
178 assertArrayEquals(postBytes, request.getBody().readByteArray()); in setFixedLengthStreamingModeSetsContentLength()
/external/okhttp/okio/okio/src/test/java/okio/
DBufferedSourceTest.java279 byte[] expected = data.clone().readByteArray(); in readFullyByteArray()
349 @Test public void readByteArray() throws IOException { in readByteArray() method in BufferedSourceTest
352 assertByteArraysEquals(string.getBytes(UTF_8), source.readByteArray()); in readByteArray()
357 assertEquals("[97, 98, 99]", Arrays.toString(source.readByteArray(3))); in readByteArrayPartial()
DTestUtil.java104 byte[] b2Bytes = b2.readByteArray(); in assertEquivalent()
/external/protobuf/java/src/test/java/com/google/protobuf/
DCodedInputStreamTest.java644 byte[] result = inputStream.readByteArray(); in testReadByteArray()
646 result = inputStream.readByteArray(); in testReadByteArray()
649 result = inputStream.readByteArray(); in testReadByteArray()
652 result = inputStream.readByteArray(); in testReadByteArray()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DResponseBody.java57 bytes = source.readByteArray(); in bytes()
/external/okhttp/android/main/java/com/squareup/okhttp/internal/
DPlatform.java133 return result.readByteArray(); in concatLengthPrefixed()
/external/skia/src/effects/
DSkTableMaskFilter.cpp79 if (!buffer.readByteArray(table, 256)) { in CreateProc()
DSkEmbossMaskFilter.cpp129 if (buffer.readByteArray(&light, sizeof(Light))) { in CreateProc()
DSkMergeImageFilter.cpp137 if (!buffer.readByteArray(modes8.get(), count)) { in CreateProc()
DSkTableColorFilter.cpp220 if (!buffer.readByteArray(packedStorage, packedSize)) { in CreateProc()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DSocksProxy.java153 toAddress = InetAddress.getByAddress(fromSource.readByteArray(4L)); in acceptCommand()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DMockSpdyPeer.java151 byte[] outBytes = bytesOut.readByteArray(); in readAndWriteFrames()
/external/okhttp/okio/
DCHANGELOG.md100 * Remove checked exception from Buffer.readByteArray.
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
DPlatform.java369 return result.readByteArray(); in concatLengthPrefixed()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
DHpack.java350 return ByteString.of(Huffman.get().decode(source.readByteArray(length))); in readByteString()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DParcelTest.java374 parcel.readByteArray(bytes2); in testReadWriteByteArray()

12