27 references to _pendingBuffer
System.Net.Security (27)
System\Net\Security\TlsSession.cs (27)
219public bool HasPendingOutput => _pendingBuffer.ActiveLength > 0; 896if (_pendingBuffer.ActiveLength > 0) 899return _pendingBuffer.ActiveLength > 0 ? TlsOperationStatus.DestinationTooSmall : TlsOperationStatus.Complete; 1099if (_pendingBuffer.ActiveLength > 0) 1126if (_pendingBuffer.ActiveLength > 0) 1129if (_pendingBuffer.ActiveLength > 0) 1188if (_pendingBuffer.ActiveLength > 0) 1191return _pendingBuffer.ActiveLength > 0 ? TlsOperationStatus.DestinationTooSmall : TlsOperationStatus.Complete; 1237return _pendingBuffer.ActiveLength > 0 ? TlsOperationStatus.DestinationTooSmall : TlsOperationStatus.Complete; 1258if (_pendingBuffer.ActiveLength > 0) 1520if (_pendingBuffer.ActiveLength > 0) 1608return _pendingBuffer.ActiveLength > 0 ? TlsOperationStatus.DestinationTooSmall : TlsOperationStatus.Closed; 1617return _pendingBuffer.ActiveLength > 0 ? TlsOperationStatus.DestinationTooSmall : TlsOperationStatus.Complete; 1629_pendingBuffer.EnsureAvailableSpace(data.Length); 1630data.CopyTo(_pendingBuffer.AvailableSpan); 1631_pendingBuffer.Commit(data.Length); 1636int n = Math.Min(output.Length, _pendingBuffer.ActiveLength); 1642_pendingBuffer.ActiveSpan.Slice(0, n).CopyTo(output); 1643_pendingBuffer.Discard(n); 1991while (_pendingBuffer.ActiveLength > 0) 1994_pendingBuffer.ActiveReadOnlySpan, 2000_pendingBuffer.Discard(sent); 2001if (_pendingBuffer.ActiveLength == 0) 2042if (_pendingBuffer.ActiveLength > 0) 2237if (_pendingBuffer.ActiveLength > 0) 2327if (_pendingBuffer.ActiveLength > 0) 2459_pendingBuffer.Dispose();