Lines Matching refs:bytesToCopy
726 int bytesToCopy = min(sspi->readBufferUsed, len); in _httpTLSRead() local
729 memcpy(buf, sspi->readBuffer, bytesToCopy); in _httpTLSRead()
730 sspi->readBufferUsed -= bytesToCopy; in _httpTLSRead()
733 memmove(sspi->readBuffer, sspi->readBuffer + bytesToCopy, sspi->readBufferUsed); in _httpTLSRead()
735 DEBUG_printf(("5_httpTLSRead: Returning %d bytes previously decrypted.", bytesToCopy)); in _httpTLSRead()
737 return (bytesToCopy); in _httpTLSRead()
845 int bytesToCopy = min((int)pDataBuffer->cbBuffer, len); in _httpTLSRead() local
847 int bytesToSave = pDataBuffer->cbBuffer - bytesToCopy; in _httpTLSRead()
850 if (bytesToCopy) in _httpTLSRead()
851 memcpy(buf, pDataBuffer->pvBuffer, bytesToCopy); in _httpTLSRead()
875 …i->readBuffer) + sspi->readBufferUsed, ((BYTE *)pDataBuffer->pvBuffer) + bytesToCopy, bytesToSave); in _httpTLSRead()
880 num = bytesToCopy; in _httpTLSRead()