28 references to _pendingBuffer
System.Net.Security (28)
System\Net\Security\TlsSession.cs (28)
199
public bool HasPendingOutput =>
_pendingBuffer
.ActiveLength > 0;
865
if (
_pendingBuffer
.ActiveLength > 0)
868
return
_pendingBuffer
.ActiveLength > 0 ? TlsOperationStatus.DestinationTooSmall : TlsOperationStatus.Complete;
1068
if (
_pendingBuffer
.ActiveLength > 0)
1095
if (
_pendingBuffer
.ActiveLength > 0)
1098
if (
_pendingBuffer
.ActiveLength > 0)
1157
if (
_pendingBuffer
.ActiveLength > 0)
1160
return
_pendingBuffer
.ActiveLength > 0 ? TlsOperationStatus.DestinationTooSmall : TlsOperationStatus.Complete;
1206
return
_pendingBuffer
.ActiveLength > 0 ? TlsOperationStatus.DestinationTooSmall : TlsOperationStatus.Complete;
1227
if (
_pendingBuffer
.ActiveLength > 0)
1420
if (
_pendingBuffer
.ActiveLength == 0)
1446
return
_pendingBuffer
.ActiveLength > 0 ? TlsOperationStatus.DestinationTooSmall : TlsOperationStatus.Complete;
1526
return
_pendingBuffer
.ActiveLength > 0 ? TlsOperationStatus.DestinationTooSmall : TlsOperationStatus.Closed;
1535
return
_pendingBuffer
.ActiveLength > 0 ? TlsOperationStatus.DestinationTooSmall : TlsOperationStatus.Complete;
1547
_pendingBuffer
.EnsureAvailableSpace(data.Length);
1548
data.CopyTo(
_pendingBuffer
.AvailableSpan);
1549
_pendingBuffer
.Commit(data.Length);
1554
int n = Math.Min(output.Length,
_pendingBuffer
.ActiveLength);
1560
_pendingBuffer
.ActiveSpan.Slice(0, n).CopyTo(output);
1561
_pendingBuffer
.Discard(n);
1909
while (
_pendingBuffer
.ActiveLength > 0)
1912
_pendingBuffer
.ActiveReadOnlySpan,
1918
_pendingBuffer
.Discard(sent);
1919
if (
_pendingBuffer
.ActiveLength == 0)
1960
if (
_pendingBuffer
.ActiveLength > 0)
2147
if (
_pendingBuffer
.ActiveLength > 0)
2237
if (
_pendingBuffer
.ActiveLength > 0)
2353
_pendingBuffer
.Dispose();