Searched refs:bytesConsumed (Results 1 – 9 of 9) sorted by relevance
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | ConscryptEngine.java | 753 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 …]
|
D | ConscryptEngineSocket.java | 510 len -= engineResult.bytesConsumed(); in writeInternal()
|
/external/brotli/go/cbrotli/ |
D | cbrotli.go | 74 bytesConsumed, output, status := z.encoder.CompressStream(p, op) 79 p = p[bytesConsumed:] 80 totalBytesConsumed += bytesConsumed
|
/external/conscrypt/testing/src/main/java/org/conscrypt/ |
D | TestUtils.java | 287 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/ |
D | EngineWrapBenchmark.java | 151 if (result.bytesConsumed() != src.limit()) { in verifyResult() 154 src.limit(), result.bytesConsumed())); in verifyResult()
|
/external/conscrypt/testing/src/main/java/libcore/javax/net/ssl/ |
D | TestSSLEnginePair.java | 195 … assertEquals(input.position() - inputPositionBefore, unwrapResult.bytesConsumed()); in handshakeCompleted() 210 assertEquals(0, wrapResult.bytesConsumed()); in handshakeCompleted()
|
/external/brotli/go/cbrotli/internal/ |
D | decoder.go | 104 bytesConsumed int, output []byte, status Status) {
|
D | encoder.go | 120 bytesConsumed int, output []byte, status Status) {
|
/external/conscrypt/openjdk-integ-tests/src/test/java/libcore/javax/net/ssl/ |
D | SSLEngineTest.java | 282 assertEquals(sourceCipherSuite, sourceBytes.length, sourceOutRes.bytesConsumed()); in assertSendsCorrectly()
|