31 references to ActiveLength
System.Net.Security (31)
src\runtime\src\libraries\Common\src\System\Net\ArrayBuffer.cs (8)
97Debug.Assert(byteCount <= ActiveLength, $"Expected {byteCount} <= {ActiveLength}"); 144Buffer.BlockCopy(_bytes, _activeStart, _bytes, 0, ActiveLength); 145_availableStart = ActiveLength; 151int desiredSize = ActiveLength + byteCount; 166if (ActiveLength != 0) 168Buffer.BlockCopy(oldBytes, _activeStart, newBytes, 0, ActiveLength); 171_availableStart = ActiveLength;
System\Net\Security\SslStream.cs (2)
94public int ActiveLength => _buffer.ActiveLength; 100public int EncryptedLength => _buffer.ActiveLength - _decryptedPadding - _decryptedLength;
System\Net\Security\TlsSession.cs (20)
219public bool HasPendingOutput => _pendingBuffer.ActiveLength > 0; 905if (_pendingBuffer.ActiveLength > 0) 908return _pendingBuffer.ActiveLength > 0 ? TlsOperationStatus.DestinationTooSmall : TlsOperationStatus.Complete; 1108if (_pendingBuffer.ActiveLength > 0) 1135if (_pendingBuffer.ActiveLength > 0) 1138if (_pendingBuffer.ActiveLength > 0) 1197if (_pendingBuffer.ActiveLength > 0) 1200return _pendingBuffer.ActiveLength > 0 ? TlsOperationStatus.DestinationTooSmall : TlsOperationStatus.Complete; 1246return _pendingBuffer.ActiveLength > 0 ? TlsOperationStatus.DestinationTooSmall : TlsOperationStatus.Complete; 1267if (_pendingBuffer.ActiveLength > 0) 1533if (_pendingBuffer.ActiveLength > 0) 1621return _pendingBuffer.ActiveLength > 0 ? TlsOperationStatus.DestinationTooSmall : TlsOperationStatus.Closed; 1630return _pendingBuffer.ActiveLength > 0 ? TlsOperationStatus.DestinationTooSmall : TlsOperationStatus.Complete; 1649int n = Math.Min(output.Length, _pendingBuffer.ActiveLength); 2048while (_pendingBuffer.ActiveLength > 0) 2058if (_pendingBuffer.ActiveLength == 0) 2099if (_pendingBuffer.ActiveLength > 0) 2215if (_socketInBuffer.ActiveLength > 0) 2294if (_pendingBuffer.ActiveLength > 0) 2384if (_pendingBuffer.ActiveLength > 0)
System\Net\Security\TlsSession.OpenSsl.cs (1)
94else if (_socketInBuffer.ActiveLength > 0)