2 writes to buffer
System (2)
net\System\Net\_ChunkParser.cs (2)
109
this.
buffer
= internalBuffer;
400
buffer
= newBuffer;
26 references to buffer
System (26)
net\System\Net\_ChunkParser.cs (26)
203
buffer = this.
buffer
;
319
int readSize =
buffer
.Length - bufferFillLength;
332
IAsyncResult ar = dataSource.BeginRead(
buffer
, bufferFillLength, readSize, ReadCallback, null);
345
bytesRead = dataSource.Read(
buffer
, bufferFillLength, readSize);
370
if ((currentPos > 0) || (bufferFillLength <
buffer
.Length))
378
Buffer.BlockCopy(
buffer
, currentPos,
buffer
, 0, count);
389
Contract.Assert(bufferFillLength ==
buffer
.Length);
391
if (
buffer
.Length == maxBufferLength)
396
int newBufferLength = Math.Min(maxBufferLength,
buffer
.Length * 2);
399
Buffer.BlockCopy(
buffer
, 0, newBuffer, 0,
buffer
.Length);
469
Buffer.BlockCopy(
buffer
, bufferCurrentPos, userBuffer, userBufferOffset, bufferedBytesToRead);
553
byte c =
buffer
[i];
671
result = trailer.ParseHeaders(
buffer
, bufferFillLength, ref currentPos, ref totalTrailerHeadersLength,
676
result = trailer.ParseHeadersStrict(
buffer
, bufferFillLength, ref currentPos,
713
if ((
buffer
[pos] != '\r') || (
buffer
[pos + 1] != '\n'))
732
byte c =
buffer
[currentPos];
765
while (
buffer
[currentPos] == ';')
790
if (
buffer
[currentPos] == '=')
834
if (
buffer
[pos] != '"')
843
if ((
buffer
[currentPos] == '"'))
853
if (
buffer
[currentPos] == '\\')
864
if (
buffer
[currentPos] <= 0x7F)
884
if (!IsTokenChar(
buffer
[currentPos]))