Home
last modified time | relevance | path

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

/external/conscrypt/common/src/main/java/org/conscrypt/
DConscryptEngine.java851 int bytesProduced = 0;
863 bytesProduced += bytesRead;
873 return newResult(bytesConsumed, bytesProduced, handshakeStatus);
883 bytesConsumed, bytesProduced);
908 return new SSLEngineResult(OK, NEED_WRAP, bytesConsumed, bytesProduced);
915 return newResult(bytesConsumed, bytesProduced, handshakeStatus);
935 bytesConsumed, bytesProduced);
938 return newResult(bytesConsumed, bytesProduced, handshakeStatus);
1242 int bytesProduced, SSLEngineResult.HandshakeStatus status) throws SSLException {
1253 bytesConsumed, bytesProduced);
[all …]
DConscryptEngineSocket.java608 if (target.position() != engineResult.bytesProduced()) {
609 throw new SSLException("Engine bytesProduced " + engineResult.bytesProduced()
792 if (engineResult.bytesProduced() == 0) {
825 if (!needMoreDataFromSocket && engineResult.bytesProduced() == 0) {
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DConscryptEngine.java852 int bytesProduced = 0;
864 bytesProduced += bytesRead;
874 return newResult(bytesConsumed, bytesProduced, handshakeStatus);
884 bytesConsumed, bytesProduced);
909 return new SSLEngineResult(OK, NEED_WRAP, bytesConsumed, bytesProduced);
916 return newResult(bytesConsumed, bytesProduced, handshakeStatus);
936 bytesConsumed, bytesProduced);
939 return newResult(bytesConsumed, bytesProduced, handshakeStatus);
1243 int bytesProduced, SSLEngineResult.HandshakeStatus status) throws SSLException {
1254 bytesConsumed, bytesProduced);
[all …]
DConscryptEngineSocket.java616 if (target.position() != engineResult.bytesProduced()) {
617 throw new SSLException("Engine bytesProduced " + engineResult.bytesProduced()
800 if (engineResult.bytesProduced() == 0) {
833 if (!needMoreDataFromSocket && engineResult.bytesProduced() == 0) {
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DConscryptEngineTest.java475 int bytesProduced = unwrapResult.bytesProduced(); in unwrap() local
476 assertEquals(bytesProduced, newPos - prevPos); in unwrap()
479 if (bytesProduced > 0 || status == Status.BUFFER_OVERFLOW) { in unwrap()
480 byte[] decryptedBytes = new byte[unwrapResult.bytesProduced()]; in unwrap()
DRenegotiationTest.java349 totalProduced += result.bytesProduced();
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/
DConscryptEngineTest.java482 int bytesProduced = unwrapResult.bytesProduced(); in unwrap() local
483 assertEquals(bytesProduced, newPos - prevPos); in unwrap()
486 if (bytesProduced > 0 || status == Status.BUFFER_OVERFLOW) { in unwrap()
487 byte[] decryptedBytes = new byte[unwrapResult.bytesProduced()]; in unwrap()
DRenegotiationTest.java354 totalProduced += result.bytesProduced();
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/javax/net/ssl/
DTestSSLEnginePair.java202 assertEquals(0, unwrapResult.bytesProduced()); in handshakeCompleted()
221 wrapResult.bytesProduced()); in handshakeCompleted()
/external/conscrypt/testing/src/main/java/org/conscrypt/javax/net/ssl/
DTestSSLEnginePair.java197 assertEquals(0, unwrapResult.bytesProduced()); in handshakeCompleted()
216 wrapResult.bytesProduced()); in handshakeCompleted()
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/
DTestUtils.java474 assertEquals(clientPacketBuffer.position() - cTOsPos, clientResult.bytesProduced()); in doEngineHandshake()
475 assertEquals(serverPacketBuffer.position() - sTOcPos, serverResult.bytesProduced()); in doEngineHandshake()
505 clientResult.bytesProduced()); in doEngineHandshake()
507 serverResult.bytesProduced()); in doEngineHandshake()
/external/conscrypt/testing/src/main/java/org/conscrypt/
DTestUtils.java472 assertEquals(clientPacketBuffer.position() - cTOsPos, clientResult.bytesProduced()); in doEngineHandshake()
473 assertEquals(serverPacketBuffer.position() - sTOcPos, serverResult.bytesProduced()); in doEngineHandshake()
503 clientResult.bytesProduced()); in doEngineHandshake()
505 serverResult.bytesProduced()); in doEngineHandshake()
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/javax/net/ssl/
DSSLEngineVersionCompatibilityTest.java119 assertEquals(sourceCipherSuite, 1, destRes.bytesProduced()); in assertSendsCorrectly()
433 assertTrue(res.bytesProduced() > 0); in test_SSLEngine_CloseOutbound()
449 assertTrue(res.bytesProduced() > 0); in test_SSLEngine_CloseOutbound()
478 assertEquals(0, res.bytesProduced()); in test_SSLEngine_Closed()
DSSLEngineTest.java323 assertEquals(sourceCipherSuite, 1, destRes.bytesProduced()); in assertSendsCorrectly()
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/net/ssl/
DSSLEngineVersionCompatibilityTest.java117 assertEquals(sourceCipherSuite, 1, destRes.bytesProduced()); in assertSendsCorrectly()
431 assertTrue(res.bytesProduced() > 0); in test_SSLEngine_CloseOutbound()
447 assertTrue(res.bytesProduced() > 0); in test_SSLEngine_CloseOutbound()
476 assertEquals(0, res.bytesProduced()); in test_SSLEngine_Closed()
DSSLEngineTest.java319 assertEquals(sourceCipherSuite, 1, destRes.bytesProduced()); in assertSendsCorrectly()
/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/org/conscrypt/javax/crypto/
DCipherTest.java4603 int bytesProduced = cipher.doFinal(buffer, 0, buffer.length, buffer); in testDecryptBufferZeroSize_mustDecodeToEmptyString() local
4604 assertEquals("", new String(buffer, 0, bytesProduced, StandardCharsets.US_ASCII)); in testDecryptBufferZeroSize_mustDecodeToEmptyString()
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/javax/crypto/
DCipherTest.java4604 int bytesProduced = cipher.doFinal(buffer, 0, buffer.length, buffer); in testDecryptBufferZeroSize_mustDecodeToEmptyString() local
4605 assertEquals("", new String(buffer, 0, bytesProduced, StandardCharsets.US_ASCII)); in testDecryptBufferZeroSize_mustDecodeToEmptyString()