Home
last modified time | relevance | path

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

1234

/external/okio/okio/src/jvmTest/kotlin/okio/
DCipherSinkTest.kt41 val actualEncryptedData = buffer.readByteArray() in <lambda>()
56 val actualEncryptedData = buffer.readByteArray() in <lambda>()
71 val actualEncryptedData = buffer.readByteArray() in <lambda>()
91 val actualEncryptedData = buffer.readByteArray() in <lambda>()
109 val actualEncryptedData = buffer.readByteArray() in <lambda>()
125 val actualData = buffer.readByteArray() in <lambda>()
140 val actualData = buffer.readByteArray() in <lambda>()
155 val actualData = buffer.readByteArray() in <lambda>()
174 val actualData = buffer.readByteArray() in <lambda>()
192 val actualData = buffer.readByteArray() in <lambda>()
DCipherSourceTest.kt40 val actualEncryptedData = cipherSource.buffer().use { it.readByteArray() } in encrypt()
54 val actualEncryptedData = cipherSource.buffer().use { it.readByteArray() } in encryptEmpty()
68 val actualEncryptedData = cipherSource.buffer().use { it.readByteArray() } in encryptLarge()
82 val actualEncryptedData = cipherSource.buffer().use { it.readByteArray() } in encryptSingleByteSource()
99 val actualEncryptedData = cipherSource.buffer().use { it.readByteArray() } in encryptPaddingRequired()
114 val actualData = cipherSource.buffer().use { it.readByteArray() } in decrypt()
128 val actualData = cipherSource.buffer().use { it.readByteArray() } in decryptEmpty()
142 val actualData = cipherSource.buffer().use { it.readByteArray() } in decryptLarge()
157 it.readByteArray() in decryptSingleByteSource()
175 val actualData = cipherSource.buffer().use { it.readByteArray() } in decryptPaddingRequired()
/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/okhttp/repackaged/okio/okio/src/main/java/com/android/okhttp/okio/
DBufferedSource.java106 byte[] readByteArray() throws IOException; in readByteArray() method
109 byte[] readByteArray(long byteCount) throws IOException; in readByteArray() method
DRealBufferedSource.java92 @Override public byte[] readByteArray() throws IOException { in readByteArray() method in RealBufferedSource
94 return buffer.readByteArray(); in readByteArray()
97 @Override public byte[] readByteArray(long byteCount) throws IOException { in readByteArray() method in RealBufferedSource
99 return buffer.readByteArray(byteCount); in readByteArray()
DBuffer.java527 return new ByteString(readByteArray());
531 return new ByteString(readByteArray(byteCount));
581 return new String(readByteArray(byteCount), charset);
707 @Override public byte[] readByteArray() {
709 return readByteArray(size);
715 @Override public byte[] readByteArray(long byteCount) throws EOFException {
/external/okio/okio/src/commonMain/kotlin/okio/
DBufferedSource.kt272 fun readByteArray(): ByteArray method
275 fun readByteArray(byteCount: Long): ByteArray method
/external/okio/okio/src/nonJvmMain/kotlin/okio/
DBufferedSource.kt53 actual fun readByteArray(): ByteArray method
55 actual fun readByteArray(byteCount: Long): ByteArray method
DRealBufferedSource.kt63 override fun readByteArray(): ByteArray = commonReadByteArray() method in okio.RealBufferedSource
64 override fun readByteArray(byteCount: Long): ByteArray = commonReadByteArray(byteCount) method in okio.RealBufferedSource
/external/skia/src/core/
DSkVertices.cpp305 buffer.readByteArray(builder.positions(), sizes.fVSize); in Decode()
313 buffer.readByteArray(builder.texCoords(), sizes.fTSize); in Decode()
314 buffer.readByteArray(builder.colors(), sizes.fCSize); in Decode()
317 buffer.readByteArray(builder.indices(), isize); in Decode()
/external/okio/okio/src/jvmMain/kotlin/okio/
DBufferedSource.kt83 actual fun readByteArray(): ByteArray method
86 actual fun readByteArray(byteCount: Long): ByteArray method
DRealBufferedSource.kt73 override fun readByteArray(): ByteArray = commonReadByteArray() in buffer() method in okio.RealBufferedSource
74 override fun readByteArray(byteCount: Long): ByteArray = commonReadByteArray(byteCount) in buffer() method in okio.RealBufferedSource
/external/icu/android_icu4j/testing/src/com/android/i18n/test/timezone/internal/
DMemoryMappedFileTest.java478 iterator.readByteArray(dstWithExistingValues, 0, 0); in checkByteArrayZeroReadCases()
483 iterator.readByteArray(null, 0, 0); in checkByteArrayZeroReadCases()
511 iterator.readByteArray(null, 0, 1); in checkByteArrayZeroReadCases()
522 iterator.readByteArray(dst, offset, intCount); in assertReadByteArrayFails()
548 iterator.readByteArray(dst, 1, byteCount); in assertReadByteArraySucceeds()
/external/icu/android_icu4j/libcore_bridge/src/java/com/android/i18n/timezone/internal/
DBufferIterator.java48 public abstract void readByteArray(byte[] bytes, int arrayOffset, int byteCount); in readByteArray() method in BufferIterator
DByteBufferIterator.java48 public void readByteArray(byte[] bytes, int arrayOffset, int byteCount) { in readByteArray() method in ByteBufferIterator
/external/grpc-grpc-java/okhttp/src/test/java/io/grpc/okhttp/
DOkHttpWritableBufferTest.java46 return buffer.buffer().readByteArray(); in writtenBytes()
/external/skqp/src/effects/
DSkOverdrawColorFilter.cpp77 if (!buffer.readByteArray(colors, sizeof(colors))) { in CreateProc()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
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/okio/okio/src/jvmTest/java/okio/
DMessageDigestConsistencyTest.kt94 val byteArray = data.readByteArray() in test()
/external/icu/android_icu4j/libcore_bridge/src/java/com/android/i18n/timezone/
DZoneInfoDb.java219 it.readByteArray(tzdata_version, 0, tzdata_version.length); in readHeader()
261 it.readByteArray(idBytes, 0, idBytes.length); in readIndex()
/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/internal/ws/
DWebSocketWriterTest.java144 assertData(payload.readByteArray()); in serverMessageLengthShort()
164 assertData(payload.readByteArray(byteCount)); in serverMessageLengthLong()
/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()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowParcel.java344 return NATIVE_PTR_TO_PARCEL.get(nativePtr).readByteArray(); in nativeCreateByteArray()
355 return NATIVE_PTR_TO_PARCEL.get(nativePtr).readByteArray(dest, destLen); in nativeReadByteArray()
548 public byte[] readByteArray() { in readByteArray() method in ShadowParcel.ByteBuffer
563 public boolean readByteArray(byte[] dest, int destLen) { in readByteArray() method in ShadowParcel.ByteBuffer

1234