20 instantiations of BufferOffsetSize
System (20)
net\System\Net\_ConnectStream.cs (7)
652
buffers[0] = new
BufferOffsetSize
(chunkHeaderBuffer, chunkHeaderOffset, chunkHeaderBuffer.Length - chunkHeaderOffset, false);
657
buffers[++index] = new
BufferOffsetSize
(NclConstants.CRLF, 0, NclConstants.CRLF.Length, false);
658
buffers[++index] = new
BufferOffsetSize
(NclConstants.ChunkTerminator, 0, NclConstants.ChunkTerminator.Length, false);
980
buffers[0] = new
BufferOffsetSize
(NclConstants.ChunkTerminator, 0, NclConstants.ChunkTerminator.Length, false);
984
buffers[0] = new
BufferOffsetSize
(chunkHeaderBuffer, chunkHeaderOffset, chunkHeaderBuffer.Length - chunkHeaderOffset, false);
985
buffers[1] = new
BufferOffsetSize
(buffer, offset, size, false);
986
buffers[2] = new
BufferOffsetSize
(NclConstants.CRLF, 0, NclConstants.CRLF.Length, false);
net\System\Net\_ScatterGatherBuffers.cs (1)
45
array[index] = new
BufferOffsetSize
(thisMemoryChunk.Buffer, 0, thisMemoryChunk.FreeOffset, false);
net\System\Net\_StreamFramer.cs (4)
361
buffers[0] = new
BufferOffsetSize
(m_WriteHeaderBuffer, 0, m_WriteHeaderBuffer.Length, false);
362
buffers[1] = new
BufferOffsetSize
(message, 0, message.Length, false);
388
buffers[0] = new
BufferOffsetSize
(m_WriteHeaderBuffer, 0, m_WriteHeaderBuffer.Length, false);
389
buffers[1] = new
BufferOffsetSize
(message, 0, message.Length, false);
net\System\Net\Internal.cs (2)
2311
_RealBuffers[j++] = new
BufferOffsetSize
(_UserBuffers[curIndex].Buffer, _UserBuffers[curIndex].Offset + firstBufferConsumed, _UserBuffers[curIndex].Size-firstBufferConsumed, false);
2317
_RealBuffers[j] = new
BufferOffsetSize
(_UserBuffers[curIndex].Buffer, _UserBuffers[curIndex].Offset + _LastBufferConsumed, lastChunkSize, false);
net\System\Net\SecureProtocols\_SslStream.cs (5)
372
buffers[0] = new
BufferOffsetSize
(buffer, offset, count, false);
490
arrayList.Add(new
BufferOffsetSize
(lastHandshakePayload, false));
499
arrayList.Add(new
BufferOffsetSize
(outBuffer, 0, outSize, false));
508
arrayList.Add(new
BufferOffsetSize
(outBuffer, 0, outSize, false));
534
result[0] = new
BufferOffsetSize
(lastHandshakePayload, false);
net\System\Net\WebSockets\WebSocketConnectionStream.cs (1)
609
buffers[index] = new
BufferOffsetSize
(sendBuffer.Array, sendBuffer.Offset, sendBuffer.Count, false);
59 references to BufferOffsetSize
System (59)
net\System\Net\_Connection.cs (1)
3653
BufferOffsetSize
[] buffers = writeBuffer.GetBuffers();
net\System\Net\_ConnectStream.cs (9)
650
BufferOffsetSize
[] dataBuffers = bufferedData.GetBuffers();
651
BufferOffsetSize
[] buffers = new
BufferOffsetSize
[dataBuffers.Length + 3];
654
foreach (
BufferOffsetSize
buffer in dataBuffers) {
662
BufferOffsetSize
[] sendBuffers = splitState.GetNextBuffers();
670
foreach (
BufferOffsetSize
bufferOffsetSize in bufferedData.GetBuffers()) {
971
BufferOffsetSize
[] buffers;
979
buffers = new
BufferOffsetSize
[1];
983
buffers = new
BufferOffsetSize
[3];
net\System\Net\_NestedMultipleAsyncResult.cs (2)
21
internal
BufferOffsetSize
[] Buffers;
27
internal NestedMultipleAsyncResult(Object asyncObject, Object asyncState, AsyncCallback asyncCallback,
BufferOffsetSize
[] buffers)
net\System\Net\_PooledStream.cs (2)
521
internal void MultipleWrite(
BufferOffsetSize
[] buffers) {
742
internal IAsyncResult BeginMultipleWrite(
BufferOffsetSize
[] buffers, AsyncCallback callback, object state) {
net\System\Net\_ScatterGatherBuffers.cs (3)
32
internal
BufferOffsetSize
[] GetBuffers() {
37
BufferOffsetSize
[] array = new
BufferOffsetSize
[chunkCount];
net\System\Net\_StreamFramer.cs (4)
360
BufferOffsetSize
[] buffers = new
BufferOffsetSize
[2];
387
BufferOffsetSize
[] buffers = new
BufferOffsetSize
[2];
net\System\Net\_TLSstream.cs (3)
342
internal override void MultipleWrite(
BufferOffsetSize
[] buffers) {
372
internal override IAsyncResult BeginMultipleWrite(
BufferOffsetSize
[] buffers, AsyncCallback callback, object state) {
398
internal override IAsyncResult UnsafeBeginMultipleWrite(
BufferOffsetSize
[] buffers, AsyncCallback callback, object state) {
net\System\Net\Internal.cs (5)
2231
private
BufferOffsetSize
[] _UserBuffers;
2234
private
BufferOffsetSize
[] _RealBuffers;
2237
internal SplitWritesState(
BufferOffsetSize
[] buffers)
2269
internal
BufferOffsetSize
[] GetNextBuffers()
2306
_RealBuffers = new
BufferOffsetSize
[buffersCount];
net\System\Net\SecureProtocols\_HelperAsyncResults.cs (2)
35
public
BufferOffsetSize
[] Buffers;
42
public BufferAsyncResult(object asyncObject,
BufferOffsetSize
[] buffers, object asyncState, AsyncCallback asyncCallback)
net\System\Net\SecureProtocols\_SslStream.cs (15)
121
internal void Write(
BufferOffsetSize
[] buffers)
179
internal IAsyncResult BeginWrite(
BufferOffsetSize
[] buffers, AsyncCallback asyncCallback, object asyncState)
320
private void ProcessWrite(
BufferOffsetSize
[] buffers, SplitWriteAsyncProtocolRequest asyncRequest)
324
foreach (
BufferOffsetSize
buffer in buffers)
371
BufferOffsetSize
[] buffers = new
BufferOffsetSize
[1];
436
BufferOffsetSize
[] buffers = splitWrite.GetNextBuffers();
467
private
BufferOffsetSize
[] EncryptBuffers(
BufferOffsetSize
[] buffers, byte[] lastHandshakePayload)
470
List<
BufferOffsetSize
> arrayList = null;
473
foreach(
BufferOffsetSize
buffer in buffers)
488
arrayList = new List<
BufferOffsetSize
>(buffers.Length * (buffer.Size/chunkBytes+1));
492
foreach(
BufferOffsetSize
oldBuffer in buffers)
532
BufferOffsetSize
[] result = new
BufferOffsetSize
[buffers.Length+1];
net\System\Net\Sockets\_OverlappedAsyncResult.cs (2)
109
internal void SetUnmanagedStructures(
BufferOffsetSize
[] buffers)
131
internal void SetUnmanagedStructures(
BufferOffsetSize
[] buffers, ref OverlappedCache overlappedCache)
net\System\Net\Sockets\NetworkStream.cs (3)
1067
internal virtual void MultipleWrite(
BufferOffsetSize
[] buffers)
1110
BufferOffsetSize
[] buffers,
1164
BufferOffsetSize
[] buffers,
net\System\Net\Sockets\Socket.cs (4)
6979
internal void MultipleSend(
BufferOffsetSize
[] buffers, SocketFlags socketFlags) {
7191
internal IAsyncResult BeginMultipleSend(
BufferOffsetSize
[] buffers, SocketFlags socketFlags, AsyncCallback callback, object state) {
7204
internal IAsyncResult UnsafeBeginMultipleSend(
BufferOffsetSize
[] buffers, SocketFlags socketFlags, AsyncCallback callback, object state)
7212
private void DoBeginMultipleSend(
BufferOffsetSize
[] buffers, SocketFlags socketFlags, OverlappedAsyncResult asyncResult)
net\System\Net\webclient.cs (2)
1180
BufferOffsetSize
[] bufferArray = SgBuffers.GetBuffers();
1184
BufferOffsetSize
bufferOffsetSize = bufferArray[i];
net\System\Net\WebSockets\WebSocketConnectionStream.cs (2)
604
BufferOffsetSize
[] buffers = new
BufferOffsetSize
[sendBuffers.Count];