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