/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | ConscryptEngine.java | 851 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 …]
|
D | ConscryptEngineSocket.java | 608 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/ |
D | ConscryptEngine.java | 852 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 …]
|
D | ConscryptEngineSocket.java | 616 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/ |
D | ConscryptEngineTest.java | 475 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()
|
D | RenegotiationTest.java | 349 totalProduced += result.bytesProduced();
|
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/ |
D | ConscryptEngineTest.java | 482 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()
|
D | RenegotiationTest.java | 354 totalProduced += result.bytesProduced();
|
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/javax/net/ssl/ |
D | TestSSLEnginePair.java | 202 assertEquals(0, unwrapResult.bytesProduced()); in handshakeCompleted() 221 wrapResult.bytesProduced()); in handshakeCompleted()
|
/external/conscrypt/testing/src/main/java/org/conscrypt/javax/net/ssl/ |
D | TestSSLEnginePair.java | 197 assertEquals(0, unwrapResult.bytesProduced()); in handshakeCompleted() 216 wrapResult.bytesProduced()); in handshakeCompleted()
|
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/ |
D | TestUtils.java | 474 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/ |
D | TestUtils.java | 472 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/ |
D | SSLEngineVersionCompatibilityTest.java | 119 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()
|
D | SSLEngineTest.java | 323 assertEquals(sourceCipherSuite, 1, destRes.bytesProduced()); in assertSendsCorrectly()
|
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/net/ssl/ |
D | SSLEngineVersionCompatibilityTest.java | 117 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()
|
D | SSLEngineTest.java | 319 assertEquals(sourceCipherSuite, 1, destRes.bytesProduced()); in assertSendsCorrectly()
|
/external/webrtc/webrtc/modules/audio_device/win/ |
D | audio_device_core_win.cc | 3782 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/ |
D | CipherTest.java | 4603 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/ |
D | CipherTest.java | 4604 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()
|