Searched refs:bytesProduced (Results 1 – 20 of 20) sorted by relevance
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 …]
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) {
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 …]
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) {
482 int bytesProduced = unwrapResult.bytesProduced(); in unwrap() local483 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()
354 totalProduced += result.bytesProduced();
475 int bytesProduced = unwrapResult.bytesProduced(); in unwrap() local476 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()
349 totalProduced += result.bytesProduced();
197 assertEquals(0, unwrapResult.bytesProduced()); in handshakeCompleted()216 wrapResult.bytesProduced()); in handshakeCompleted()
202 assertEquals(0, unwrapResult.bytesProduced()); in handshakeCompleted()221 wrapResult.bytesProduced()); in handshakeCompleted()
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()
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()
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()
323 assertEquals(sourceCipherSuite, 1, destRes.bytesProduced()); in assertSendsCorrectly()
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()
319 assertEquals(sourceCipherSuite, 1, destRes.bytesProduced()); in assertSendsCorrectly()
3782 ULONG bytesProduced = 0; in DoCaptureThreadPollDMO() local3786 hr = _mediaBuffer->GetBufferAndLength(&data, &bytesProduced); in DoCaptureThreadPollDMO()3797 if (bytesProduced > 0) in DoCaptureThreadPollDMO()3799 const int kSamplesProduced = bytesProduced / _recAudioFrameSize; in DoCaptureThreadPollDMO()
4604 int bytesProduced = cipher.doFinal(buffer, 0, buffer.length, buffer); in testDecryptBufferZeroSize_mustDecodeToEmptyString() local4605 assertEquals("", new String(buffer, 0, bytesProduced, StandardCharsets.US_ASCII)); in testDecryptBufferZeroSize_mustDecodeToEmptyString()
4603 int bytesProduced = cipher.doFinal(buffer, 0, buffer.length, buffer); in testDecryptBufferZeroSize_mustDecodeToEmptyString() local4604 assertEquals("", new String(buffer, 0, bytesProduced, StandardCharsets.US_ASCII)); in testDecryptBufferZeroSize_mustDecodeToEmptyString()
META-INF/ META-INF/MANIFEST.MF io/ io/grpc/ io/ ...