Lines Matching refs:bytesToCopy
727 int bytesToCopy = min(sspi->readBufferUsed, len); in _httpTLSRead() local
730 memcpy(buf, sspi->readBuffer, bytesToCopy); in _httpTLSRead()
731 sspi->readBufferUsed -= bytesToCopy; in _httpTLSRead()
734 memmove(sspi->readBuffer, sspi->readBuffer + bytesToCopy, sspi->readBufferUsed); in _httpTLSRead()
736 DEBUG_printf(("5_httpTLSRead: Returning %d bytes previously decrypted.", bytesToCopy)); in _httpTLSRead()
738 return (bytesToCopy); in _httpTLSRead()
846 int bytesToCopy = min((int)pDataBuffer->cbBuffer, len); in _httpTLSRead() local
848 int bytesToSave = pDataBuffer->cbBuffer - bytesToCopy; in _httpTLSRead()
851 if (bytesToCopy) in _httpTLSRead()
852 memcpy(buf, pDataBuffer->pvBuffer, bytesToCopy); in _httpTLSRead()
876 …i->readBuffer) + sspi->readBufferUsed, ((BYTE *)pDataBuffer->pvBuffer) + bytesToCopy, bytesToSave); in _httpTLSRead()
881 num = bytesToCopy; in _httpTLSRead()