/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | ConscryptEngine.java | 869 int bytesProduced = 0; 881 bytesProduced += bytesRead; 891 return newResult(bytesConsumed, bytesProduced, handshakeStatus); 900 bytesConsumed, bytesProduced); 917 return newResult(bytesConsumed, bytesProduced, handshakeStatus); 936 bytesConsumed, bytesProduced); 939 return newResult(bytesConsumed, bytesProduced, handshakeStatus); 1222 int bytesProduced, SSLEngineResult.HandshakeStatus status) throws SSLException { 1233 bytesConsumed, bytesProduced); 1245 bytesProduced += produced; [all …]
|
D | ConscryptEngineSocket.java | 664 if (target.position() != engineResult.bytesProduced()) { 665 throw new SSLException("Engine bytesProduced " + engineResult.bytesProduced() 672 if (engineResult.getStatus() == CLOSED && engineResult.bytesProduced() == 0) { 853 if (engineResult.bytesProduced() == 0) { 886 if (!needMoreDataFromSocket && engineResult.bytesProduced() == 0) {
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | ConscryptEngine.java | 866 int bytesProduced = 0; 878 bytesProduced += bytesRead; 888 return newResult(bytesConsumed, bytesProduced, handshakeStatus); 897 bytesConsumed, bytesProduced); 914 return newResult(bytesConsumed, bytesProduced, handshakeStatus); 933 bytesConsumed, bytesProduced); 936 return newResult(bytesConsumed, bytesProduced, handshakeStatus); 1219 int bytesProduced, SSLEngineResult.HandshakeStatus status) throws SSLException { 1230 bytesConsumed, bytesProduced); 1242 bytesProduced += produced; [all …]
|
D | ConscryptEngineSocket.java | 680 if (target.position() != engineResult.bytesProduced()) { 681 throw new SSLException("Engine bytesProduced " + engineResult.bytesProduced() 688 if (engineResult.getStatus() == CLOSED && engineResult.bytesProduced() == 0) { 869 if (engineResult.bytesProduced() == 0) { 902 if (!needMoreDataFromSocket && engineResult.bytesProduced() == 0) {
|
/external/conscrypt/common/src/test/java/org/conscrypt/javax/net/ssl/ |
D | SSLEngineVersionCompatibilityTest.java | 134 assertEquals(sourceCipherSuite, 1, destRes.bytesProduced()); in assertSendsCorrectly() 445 assertTrue(res.bytesProduced() > 0); in test_SSLEngine_CloseOutbound() 461 assertTrue(res.bytesProduced() > 0); in test_SSLEngine_CloseOutbound() 493 assertNotEquals(0, res.bytesProduced()); in test_SSLEngine_Closed() 498 assertEquals(0, res.bytesProduced()); in test_SSLEngine_Closed() 845 assertEquals(0, result.bytesProduced()); in sendAppDataInMultipleBuffers() 851 assertEquals(0, result.bytesProduced()); in sendAppDataInMultipleBuffers() 870 produced += result.bytesProduced(); in sendAppDataInMultipleBuffers()
|
D | SSLEngineTest.java | 324 assertEquals(sourceCipherSuite, 1, destRes.bytesProduced()); in assertSendsCorrectly()
|
/external/conscrypt/openjdk/src/test/java/org/conscrypt/ |
D | ConscryptEngineTest.java | 518 int bytesProduced = unwrapResult.bytesProduced(); in unwrap() local 519 assertEquals(bytesProduced, newPos - prevPos); in unwrap() 522 if (bytesProduced > 0 || status == Status.BUFFER_OVERFLOW) { in unwrap() 523 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 | 527 int bytesProduced = unwrapResult.bytesProduced(); in unwrap() local 528 assertEquals(bytesProduced, newPos - prevPos); in unwrap() 531 if (bytesProduced > 0 || status == Status.BUFFER_OVERFLOW) { in unwrap() 532 byte[] decryptedBytes = new byte[unwrapResult.bytesProduced()]; in unwrap()
|
D | RenegotiationTest.java | 354 totalProduced += result.bytesProduced();
|
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/javax/net/ssl/ |
D | SSLEngineVersionCompatibilityTest.java | 136 assertEquals(sourceCipherSuite, 1, destRes.bytesProduced()); in assertSendsCorrectly() 447 assertTrue(res.bytesProduced() > 0); in test_SSLEngine_CloseOutbound() 463 assertTrue(res.bytesProduced() > 0); in test_SSLEngine_CloseOutbound() 495 assertNotEquals(0, res.bytesProduced()); in test_SSLEngine_Closed() 500 assertEquals(0, res.bytesProduced()); in test_SSLEngine_Closed() 845 assertEquals(0, result.bytesProduced()); in sendAppDataInMultipleBuffers() 851 assertEquals(0, result.bytesProduced()); in sendAppDataInMultipleBuffers() 870 produced += result.bytesProduced(); in sendAppDataInMultipleBuffers()
|
D | SSLEngineTest.java | 328 assertEquals(sourceCipherSuite, 1, destRes.bytesProduced()); in assertSendsCorrectly()
|
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/javax/net/ssl/ |
D | TestSSLEnginePair.java | 190 assertEquals(0, unwrapResult.bytesProduced()); in handshakeStep() 209 wrapResult.bytesProduced()); in handshakeStep()
|
/external/conscrypt/testing/src/main/java/org/conscrypt/javax/net/ssl/ |
D | TestSSLEnginePair.java | 194 assertEquals(0, unwrapResult.bytesProduced()); in handshakeStep() 213 wrapResult.bytesProduced()); in handshakeStep()
|
/external/conscrypt/testing/src/main/java/org/conscrypt/ |
D | TestUtils.java | 496 assertEquals(clientPacketBuffer.position() - cTOsPos, clientResult.bytesProduced()); in doEngineHandshake() 497 assertEquals(serverPacketBuffer.position() - sTOcPos, serverResult.bytesProduced()); in doEngineHandshake() 527 clientResult.bytesProduced()); in doEngineHandshake() 529 serverResult.bytesProduced()); in doEngineHandshake()
|
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/ |
D | TestUtils.java | 502 assertEquals(clientPacketBuffer.position() - cTOsPos, clientResult.bytesProduced()); in doEngineHandshake() 503 assertEquals(serverPacketBuffer.position() - sTOcPos, serverResult.bytesProduced()); in doEngineHandshake() 533 clientResult.bytesProduced()); in doEngineHandshake() 535 serverResult.bytesProduced()); in doEngineHandshake()
|
/external/webrtc/modules/audio_device/win/ |
D | audio_device_core_win.cc | 3006 ULONG bytesProduced = 0; in DoCaptureThreadPollDMO() local 3010 hr = _mediaBuffer->GetBufferAndLength(&data, &bytesProduced); in DoCaptureThreadPollDMO() 3018 if (bytesProduced > 0) { in DoCaptureThreadPollDMO() 3019 const int kSamplesProduced = bytesProduced / _recAudioFrameSize; in DoCaptureThreadPollDMO()
|
/external/conscrypt/common/src/test/java/org/conscrypt/javax/crypto/ |
D | CipherTest.java | 4591 int bytesProduced = cipher.doFinal(buffer, 0, buffer.length, buffer); in testDecryptBufferZeroSize_mustDecodeToEmptyString() local 4592 assertEquals("", new String(buffer, 0, bytesProduced, StandardCharsets.US_ASCII)); in testDecryptBufferZeroSize_mustDecodeToEmptyString()
|
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/javax/crypto/ |
D | CipherTest.java | 4587 int bytesProduced = cipher.doFinal(buffer, 0, buffer.length, buffer); in testDecryptBufferZeroSize_mustDecodeToEmptyString() local 4588 assertEquals("", new String(buffer, 0, bytesProduced, StandardCharsets.US_ASCII)); in testDecryptBufferZeroSize_mustDecodeToEmptyString()
|