28 references to _pendingBuffer
System.Net.Security (28)
System\Net\Security\TlsSession.cs (28)
205
public bool HasPendingOutput =>
_pendingBuffer
.ActiveLength > 0;
871
if (
_pendingBuffer
.ActiveLength > 0)
874
return
_pendingBuffer
.ActiveLength > 0 ? TlsOperationStatus.DestinationTooSmall : TlsOperationStatus.Complete;
1074
if (
_pendingBuffer
.ActiveLength > 0)
1101
if (
_pendingBuffer
.ActiveLength > 0)
1104
if (
_pendingBuffer
.ActiveLength > 0)
1163
if (
_pendingBuffer
.ActiveLength > 0)
1166
return
_pendingBuffer
.ActiveLength > 0 ? TlsOperationStatus.DestinationTooSmall : TlsOperationStatus.Complete;
1212
return
_pendingBuffer
.ActiveLength > 0 ? TlsOperationStatus.DestinationTooSmall : TlsOperationStatus.Complete;
1233
if (
_pendingBuffer
.ActiveLength > 0)
1426
if (
_pendingBuffer
.ActiveLength == 0)
1452
return
_pendingBuffer
.ActiveLength > 0 ? TlsOperationStatus.DestinationTooSmall : TlsOperationStatus.Complete;
1532
return
_pendingBuffer
.ActiveLength > 0 ? TlsOperationStatus.DestinationTooSmall : TlsOperationStatus.Closed;
1541
return
_pendingBuffer
.ActiveLength > 0 ? TlsOperationStatus.DestinationTooSmall : TlsOperationStatus.Complete;
1553
_pendingBuffer
.EnsureAvailableSpace(data.Length);
1554
data.CopyTo(
_pendingBuffer
.AvailableSpan);
1555
_pendingBuffer
.Commit(data.Length);
1560
int n = Math.Min(output.Length,
_pendingBuffer
.ActiveLength);
1566
_pendingBuffer
.ActiveSpan.Slice(0, n).CopyTo(output);
1567
_pendingBuffer
.Discard(n);
1915
while (
_pendingBuffer
.ActiveLength > 0)
1918
_pendingBuffer
.ActiveReadOnlySpan,
1924
_pendingBuffer
.Discard(sent);
1925
if (
_pendingBuffer
.ActiveLength == 0)
1966
if (
_pendingBuffer
.ActiveLength > 0)
2153
if (
_pendingBuffer
.ActiveLength > 0)
2243
if (
_pendingBuffer
.ActiveLength > 0)
2359
_pendingBuffer
.Dispose();