7 writes to buffer
System.ServiceModel (7)
System\ServiceModel\Dispatcher\QueryUtil.cs (7)
121
this.
buffer
= QueryBuffer<T>.EmptyBuffer;
125
this.
buffer
= new T[capacity];
230
Array.Resize<T>(ref this.
buffer
, this.count > 0 ? this.count * 2 : 16);
325
this.
buffer
= new T[addCount];
339
this.
buffer
= new T[1];
374
Array.Resize<T>(ref this.
buffer
, capacity > newCapacity ? capacity : newCapacity);
525
this.
buffer
= QueryBuffer<T>.EmptyBuffer;
65 references to buffer
System.ServiceModel (65)
System\ServiceModel\Dispatcher\QueryStack.cs (37)
190
return this.buffer.
buffer
;
214
return this.buffer.
buffer
[this.frames.stackPtr - frameIndex].Frame;
344
return this.buffer.
buffer
[index].GetBoolean();
350
return this.buffer.
buffer
[index].GetDouble();
362
return this.buffer.
buffer
[index].GetSequence();
368
return this.buffer.
buffer
[index].GetString();
392
this.buffer.
buffer
[i].Clear(context);
411
this.buffer.
buffer
[this.frames.stackPtr].StartFrame(this.stack.stackPtr);
423
dest.Push(this.buffer.
buffer
, topFrame.basePtr, argCount);
430
dest.Push(this.buffer.
buffer
[topFrame.basePtr].Sequence);
468
this.buffer.
buffer
[this.stack.stackPtr].String = val;
469
this.buffer.
buffer
[this.frames.stackPtr].FrameEndPtr = this.stack.stackPtr;
484
this.buffer.
buffer
[++stackPtr].String = val;
487
this.buffer.
buffer
[this.frames.stackPtr].FrameEndPtr = this.stack.stackPtr;
498
this.buffer.
buffer
[this.stack.stackPtr].Boolean = val;
499
this.buffer.
buffer
[this.frames.stackPtr].FrameEndPtr = this.stack.stackPtr;
516
this.buffer.
buffer
[++stackPtr].Boolean = val;
519
this.buffer.
buffer
[this.frames.stackPtr].FrameEndPtr = this.stack.stackPtr;
530
this.buffer.
buffer
[this.stack.stackPtr].Double = val;
531
this.buffer.
buffer
[this.frames.stackPtr].FrameEndPtr = this.stack.stackPtr;
548
this.buffer.
buffer
[++stackPtr].Double = val;
551
this.buffer.
buffer
[this.frames.stackPtr].FrameEndPtr = this.stack.stackPtr;
562
this.buffer.
buffer
[this.stack.stackPtr].Sequence = val;
563
this.buffer.
buffer
[this.frames.stackPtr].FrameEndPtr = this.stack.stackPtr;
583
this.buffer.
buffer
[++stackPtr].Sequence = val;
586
this.buffer.
buffer
[this.frames.stackPtr].FrameEndPtr = this.stack.stackPtr;
602
this.buffer.
buffer
[stackPtr] = buffer[startAt];
606
Array.Copy(buffer, startAt, this.buffer.
buffer
, stackPtr, addCount);
608
this.buffer.
buffer
[this.frames.stackPtr].FrameEndPtr = this.stack.stackPtr;
619
Fx.Assert(this.stack.IsValidStackPtr(index) && this.buffer.
buffer
[index].IsType(ValueDataType.Sequence), "");
620
this.buffer.
buffer
[index].Sequence = seq;
626
this.buffer.
buffer
[index].Update(context, val);
632
this.buffer.
buffer
[index].Update(context, val);
638
this.buffer.
buffer
[index].Update(context, val);
644
this.buffer.
buffer
[index].Update(context, val);
654
NodeSequence seq = this.buffer.
buffer
[i].Sequence;
676
NodeSequence seq = this.buffer.
buffer
[i].Sequence;
System\ServiceModel\Dispatcher\QueryUtil.cs (28)
204
return this.
buffer
[index];
208
this.
buffer
[index] = value;
228
if (this.count == this.
buffer
.Length)
232
this.
buffer
[this.count++] = t;
257
this.Add(addBuffer.
buffer
[0]);
262
if (newCount >= this.
buffer
.Length)
267
Array.Copy(addBuffer.
buffer
, 0, this.
buffer
, this.count, addBuffer.count);
323
if (addCount > this.
buffer
.Length)
328
Array.Copy(addBuffer.
buffer
, 0, this.
buffer
, 0, addCount);
337
if (this.
buffer
.Length == 0)
341
this.
buffer
[0] = addBuffer.
buffer
[0];
349
Array.Copy(this.
buffer
, dest, this.count);
373
int newCapacity = this.
buffer
.Length * 2;
381
if (t.Equals(this.
buffer
[i]))
393
if (t.Equals(this.
buffer
[i]))
430
if (newCount >= this.
buffer
.Length)
451
if (newCount >= this.
buffer
.Length)
461
if (newCount >= this.
buffer
.Length)
466
Array.Copy(this.
buffer
, index, this.
buffer
, index + reserveCount, this.count - index);
484
Array.Copy(this.
buffer
, index + 1, this.
buffer
, index, this.count - index - 1);
491
Array.Sort<T>(this.
buffer
, 0, this.count, comparer);
521
if (this.count < this.
buffer
.Length)
530
Array.Copy(this.
buffer
, newBuffer, this.count);