Home
last modified time | relevance | path

Searched refs:bytesConsumed (Results 1 – 9 of 9) sorted by relevance

/external/conscrypt/common/src/main/java/org/conscrypt/
DConscryptEngine.java753 int bytesConsumed = 0; in unwrap() local
767 bytesConsumed += written; in unwrap()
817 return newResult(bytesConsumed, bytesProduced, handshakeStatus); in unwrap()
841 return new SSLEngineResult(OK, NEED_WRAP, bytesConsumed, bytesProduced); in unwrap()
848 return newResult(bytesConsumed, bytesProduced, handshakeStatus); in unwrap()
868 bytesConsumed, bytesProduced); in unwrap()
871 return newResult(bytesConsumed, bytesProduced, handshakeStatus); in unwrap()
1174 private SSLEngineResult readPendingBytesFromBIO(ByteBuffer dst, int bytesConsumed, in readPendingBytesFromBIO() argument
1186 bytesConsumed, bytesProduced); in readPendingBytesFromBIO()
1205 bytesConsumed, bytesProduced); in readPendingBytesFromBIO()
[all …]
DConscryptEngineSocket.java510 len -= engineResult.bytesConsumed(); in writeInternal()
/external/brotli/go/cbrotli/
Dcbrotli.go74 bytesConsumed, output, status := z.encoder.CompressStream(p, op)
79 p = p[bytesConsumed:]
80 totalBytesConsumed += bytesConsumed
/external/conscrypt/testing/src/main/java/org/conscrypt/
DTestUtils.java287 assertEquals(0, clientResult.bytesConsumed()); in doEngineHandshake()
288 assertEquals(0, serverResult.bytesConsumed()); in doEngineHandshake()
317 assertEquals(serverPacketBuffer.position() - sTOcPos, clientResult.bytesConsumed()); in doEngineHandshake()
318 assertEquals(clientPacketBuffer.position() - cTOsPos, serverResult.bytesConsumed()); in doEngineHandshake()
/external/conscrypt/benchmark-base/src/main/java/org/conscrypt/
DEngineWrapBenchmark.java151 if (result.bytesConsumed() != src.limit()) { in verifyResult()
154 src.limit(), result.bytesConsumed())); in verifyResult()
/external/conscrypt/testing/src/main/java/libcore/javax/net/ssl/
DTestSSLEnginePair.java195 … assertEquals(input.position() - inputPositionBefore, unwrapResult.bytesConsumed()); in handshakeCompleted()
210 assertEquals(0, wrapResult.bytesConsumed()); in handshakeCompleted()
/external/brotli/go/cbrotli/internal/
Ddecoder.go104 bytesConsumed int, output []byte, status Status) {
Dencoder.go120 bytesConsumed int, output []byte, status Status) {
/external/conscrypt/openjdk-integ-tests/src/test/java/libcore/javax/net/ssl/
DSSLEngineTest.java282 assertEquals(sourceCipherSuite, sourceBytes.length, sourceOutRes.bytesConsumed()); in assertSendsCorrectly()