Home
last modified time | relevance | path

Searched refs:bytesProduced (Results 1 – 7 of 7) sorted by relevance

/external/conscrypt/common/src/main/java/org/conscrypt/
DConscryptEngine.java795 int bytesProduced = 0; in unwrap() local
807 bytesProduced += bytesRead; 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()
1175 int bytesProduced, SSLEngineResult.HandshakeStatus status) throws SSLException { in readPendingBytesFromBIO() argument
1186 bytesConsumed, bytesProduced); in readPendingBytesFromBIO()
1198 bytesProduced += produced; in readPendingBytesFromBIO()
[all …]
DConscryptEngineSocket.java506 if (target.position() != engineResult.bytesProduced()) { in writeInternal()
507 throw new SSLException("Engine bytesProduced " + engineResult.bytesProduced() in writeInternal()
662 if (engineResult.bytesProduced() == 0) { in readInternal()
686 if (!needMoreDataFromSocket && engineResult.bytesProduced() == 0) { in readInternal()
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DConscryptEngineTest.java199 assertEquals(MESSAGE_SIZE, unwrapResult.bytesProduced()); in exchangeMessages()
247 int bytesProduced = unwrapResult.bytesProduced(); in exchangeLargeMessage() local
248 assertEquals(bytesProduced, newPos - prevPos); in exchangeLargeMessage()
251 if (bytesProduced > 0) { in exchangeLargeMessage()
252 byte[] decryptedBytes = new byte[unwrapResult.bytesProduced()]; in exchangeLargeMessage()
/external/conscrypt/testing/src/main/java/org/conscrypt/
DTestUtils.java289 assertEquals(clientPacketBuffer.position() - cTOsPos, clientResult.bytesProduced()); in doEngineHandshake()
290 assertEquals(serverPacketBuffer.position() - sTOcPos, serverResult.bytesProduced()); in doEngineHandshake()
320 clientResult.bytesProduced()); in doEngineHandshake()
322 serverResult.bytesProduced()); in doEngineHandshake()
/external/conscrypt/testing/src/main/java/libcore/javax/net/ssl/
DTestSSLEnginePair.java194 assertEquals(0, unwrapResult.bytesProduced()); in handshakeCompleted()
213 wrapResult.bytesProduced()); in handshakeCompleted()
/external/webrtc/webrtc/modules/audio_device/win/
Daudio_device_core_win.cc3782 ULONG bytesProduced = 0; in DoCaptureThreadPollDMO() local
3786 hr = _mediaBuffer->GetBufferAndLength(&data, &bytesProduced); in DoCaptureThreadPollDMO()
3797 if (bytesProduced > 0) in DoCaptureThreadPollDMO()
3799 const int kSamplesProduced = bytesProduced / _recAudioFrameSize; in DoCaptureThreadPollDMO()
/external/conscrypt/openjdk-integ-tests/src/test/java/libcore/javax/net/ssl/
DSSLEngineTest.java295 assertEquals(sourceCipherSuite, 1, destRes.bytesProduced()); in assertSendsCorrectly()