27 references to _pendingBuffer
System.Net.Security (27)
System\Net\Security\TlsSession.cs (27)
219
public bool HasPendingOutput =>
_pendingBuffer
.ActiveLength > 0;
905
if (
_pendingBuffer
.ActiveLength > 0)
908
return
_pendingBuffer
.ActiveLength > 0 ? TlsOperationStatus.DestinationTooSmall : TlsOperationStatus.Complete;
1136
if (
_pendingBuffer
.ActiveLength > 0)
1163
if (
_pendingBuffer
.ActiveLength > 0)
1166
if (
_pendingBuffer
.ActiveLength > 0)
1225
if (
_pendingBuffer
.ActiveLength > 0)
1228
return
_pendingBuffer
.ActiveLength > 0 ? TlsOperationStatus.DestinationTooSmall : TlsOperationStatus.Complete;
1274
return
_pendingBuffer
.ActiveLength > 0 ? TlsOperationStatus.DestinationTooSmall : TlsOperationStatus.Complete;
1295
if (
_pendingBuffer
.ActiveLength > 0)
1561
if (
_pendingBuffer
.ActiveLength > 0)
1649
return
_pendingBuffer
.ActiveLength > 0 ? TlsOperationStatus.DestinationTooSmall : TlsOperationStatus.Closed;
1658
return
_pendingBuffer
.ActiveLength > 0 ? TlsOperationStatus.DestinationTooSmall : TlsOperationStatus.Complete;
1670
_pendingBuffer
.EnsureAvailableSpace(data.Length);
1671
data.CopyTo(
_pendingBuffer
.AvailableSpan);
1672
_pendingBuffer
.Commit(data.Length);
1677
int n = Math.Min(output.Length,
_pendingBuffer
.ActiveLength);
1683
_pendingBuffer
.ActiveSpan.Slice(0, n).CopyTo(output);
1684
_pendingBuffer
.Discard(n);
2076
while (
_pendingBuffer
.ActiveLength > 0)
2079
_pendingBuffer
.ActiveReadOnlySpan,
2085
_pendingBuffer
.Discard(sent);
2086
if (
_pendingBuffer
.ActiveLength == 0)
2127
if (
_pendingBuffer
.ActiveLength > 0)
2322
if (
_pendingBuffer
.ActiveLength > 0)
2412
if (
_pendingBuffer
.ActiveLength > 0)
2544
_pendingBuffer
.Dispose();