Home
last modified time | relevance | path

Searched refs:readByteArray (Results 1 – 25 of 39) 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/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/shapes/
DMeshCollisionShape.java107 … triangleIndexBase = ByteBuffer.wrap(capsule.readByteArray("triangleIndexBase", new byte[0])); in read()
108 vertexBase = ByteBuffer.wrap(capsule.readByteArray("vertexBase", new byte[0])); in read()
DGImpactCollisionShape.java111 … triangleIndexBase = ByteBuffer.wrap(capsule.readByteArray("triangleIndexBase", new byte[0])); in read()
112 vertexBase = ByteBuffer.wrap(capsule.readByteArray("vertexBase", new byte[0])); in read()
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/collision/shapes/
DGImpactCollisionShape.java130 … triangleIndexBase = ByteBuffer.wrap(capsule.readByteArray("triangleIndexBase", new byte[0])); in read()
131 vertexBase = ByteBuffer.wrap(capsule.readByteArray("vertexBase", new byte[0])); in read()
DMeshCollisionShape.java125 … triangleIndexBase = ByteBuffer.wrap(capsule.readByteArray("triangleIndexBase", new byte[0])); in read()
126 …vertexBase = ByteBuffer.wrap(capsule.readByteArray("vertexBase", new byte[0])).order(ByteOrder.nat… in read()
/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()
DSkValidatingReadBuffer.cpp189 bool SkValidatingReadBuffer::readByteArray(void* value, size_t size) { in readByteArray() function in SkValidatingReadBuffer
DSkTextBlob.cpp286 if (!reader.readByteArray(buf->glyphs, glyphCount * sizeof(uint16_t)) || in CreateFromBuffer()
287 !reader.readByteArray(buf->pos, in CreateFromBuffer()
/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/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/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/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()
/external/jmonkeyengine/engine/src/core/com/jme3/export/
DInputCapsule.java55 public byte[] readByteArray(String name, byte[] defVal) throws IOException; in readByteArray() method
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DSocksProxy.java153 toAddress = InetAddress.getByAddress(fromSource.readByteArray(4L)); in acceptCommand()
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/export/binary/
DBinaryInputCapsule.java107 value = readByteArray(content); in setContent()
303 public byte[] readByteArray(String name, byte[] defVal) throws IOException { in readByteArray() method in BinaryInputCapsule
760 protected byte[] readByteArray(byte[] content) throws IOException { in readByteArray() method in BinaryInputCapsule
776 value[x] = readByteArray(content); in readByteArray2D()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DMockSpdyPeer.java151 byte[] outBytes = bytesOut.readByteArray(); in readAndWriteFrames()

12