Lines Matching refs:bytesToCopy
720 int bytesToCopy = min(sspi->readBufferUsed, len); in _httpTLSRead() local
723 memcpy(buf, sspi->readBuffer, bytesToCopy); in _httpTLSRead()
724 sspi->readBufferUsed -= bytesToCopy; in _httpTLSRead()
727 memmove(sspi->readBuffer, sspi->readBuffer + bytesToCopy, sspi->readBufferUsed); in _httpTLSRead()
729 DEBUG_printf(("5_httpTLSRead: Returning %d bytes previously decrypted.", bytesToCopy)); in _httpTLSRead()
731 return (bytesToCopy); in _httpTLSRead()
839 int bytesToCopy = min((int)pDataBuffer->cbBuffer, len); in _httpTLSRead() local
841 int bytesToSave = pDataBuffer->cbBuffer - bytesToCopy; in _httpTLSRead()
844 if (bytesToCopy) in _httpTLSRead()
845 memcpy(buf, pDataBuffer->pvBuffer, bytesToCopy); in _httpTLSRead()
869 …i->readBuffer) + sspi->readBufferUsed, ((BYTE *)pDataBuffer->pvBuffer) + bytesToCopy, bytesToSave); in _httpTLSRead()
874 num = bytesToCopy; in _httpTLSRead()