113 writes to bufPos
dotnet-svcutil-lib (113)
FrameworkFork\Microsoft.Xml\Xml\Core\HtmlUtf8RawTextWriter.cs (34)
99
bufBytes[
bufPos
++] = (byte)'"';
105
bufBytes[
bufPos
++] = (byte)'"';
109
bufBytes[
bufPos
++] = (byte)' ';
114
bufBytes[
bufPos
++] = (byte)'[';
116
bufBytes[
bufPos
++] = (byte)']';
119
bufBytes[this.
bufPos
++] = (byte)'>';
135
base.bufBytes[
bufPos
++] = (byte)'<';
151
base.bufBytes[base.
bufPos
++] = (byte)'>';
176
bufBytes[base.
bufPos
++] = (byte)'<';
177
bufBytes[base.
bufPos
++] = (byte)'/';
179
bufBytes[base.
bufPos
++] = (byte)'>';
201
bufBytes[base.
bufPos
++] = (byte)'<';
202
bufBytes[base.
bufPos
++] = (byte)'/';
204
bufBytes[base.
bufPos
++] = (byte)'>';
324
base.bufBytes[
bufPos
++] = (byte)' ';
344
base.bufBytes[
bufPos
++] = (byte)'=';
345
base.bufBytes[
bufPos
++] = (byte)'"';
373
base.bufBytes[
bufPos
++] = (byte)'"';
386
bufBytes[base.
bufPos
++] = (byte)'<';
387
bufBytes[base.
bufPos
++] = (byte)'?';
389
bufBytes[base.
bufPos
++] = (byte)' ';
393
base.bufBytes[base.
bufPos
++] = (byte)'>';
610
bufPos
= (int)(pDst - pDstBegin);
654
bufPos
= (int)(pDst - pDstBegin);
698
bufPos
= (int)(pDst - pDstBegin);
757
bufPos
= (int)(pDst - pDstBegin);
764
base.bufBytes[
bufPos
++] = (byte)'a';
765
base.bufBytes[
bufPos
++] = (byte)'m';
766
base.bufBytes[
bufPos
++] = (byte)'p';
767
base.bufBytes[
bufPos
++] = (byte)';';
872
base.bufBytes[
bufPos
++] = (byte)'<';
884
base.bufBytes[base.
bufPos
++] = (byte)'<';
888
base.bufBytes[base.
bufPos
++] = (byte)':';
897
base.bufBytes[base.
bufPos
++] = (byte)'>';
FrameworkFork\Microsoft.Xml\Xml\Core\XmlUtf8RawTextWriter.cs (79)
134
bufPos
+= bom.Length;
228
bufBytes[
bufPos
++] = (byte)'"';
234
bufBytes[
bufPos
++] = (byte)'"';
238
bufBytes[
bufPos
++] = (byte)' ';
243
bufBytes[
bufPos
++] = (byte)'[';
245
bufBytes[
bufPos
++] = (byte)']';
248
bufBytes[this.
bufPos
++] = (byte)'>';
257
bufBytes[
bufPos
++] = (byte)'<';
261
bufBytes[this.
bufPos
++] = (byte)':';
272
bufBytes[
bufPos
++] = (byte)'>';
290
bufBytes[
bufPos
++] = (byte)'<';
291
bufBytes[
bufPos
++] = (byte)'/';
296
bufBytes[
bufPos
++] = (byte)':';
299
bufBytes[
bufPos
++] = (byte)'>';
304
bufPos
--;
305
bufBytes[
bufPos
++] = (byte)' ';
306
bufBytes[
bufPos
++] = (byte)'/';
307
bufBytes[
bufPos
++] = (byte)'>';
317
bufBytes[
bufPos
++] = (byte)'<';
318
bufBytes[
bufPos
++] = (byte)'/';
323
bufBytes[
bufPos
++] = (byte)':';
326
bufBytes[
bufPos
++] = (byte)'>';
337
bufBytes[
bufPos
++] = (byte)' ';
343
bufBytes[
bufPos
++] = (byte)':';
346
bufBytes[
bufPos
++] = (byte)'=';
347
bufBytes[
bufPos
++] = (byte)'"';
355
bufBytes[
bufPos
++] = (byte)'"';
392
bufBytes[
bufPos
++] = (byte)'=';
393
bufBytes[
bufPos
++] = (byte)'"';
403
bufBytes[
bufPos
++] = (byte)'"';
417
bufPos
-= 3;
422
bufBytes[
bufPos
++] = (byte)'<';
423
bufBytes[
bufPos
++] = (byte)'!';
424
bufBytes[
bufPos
++] = (byte)'[';
425
bufBytes[
bufPos
++] = (byte)'C';
426
bufBytes[
bufPos
++] = (byte)'D';
427
bufBytes[
bufPos
++] = (byte)'A';
428
bufBytes[
bufPos
++] = (byte)'T';
429
bufBytes[
bufPos
++] = (byte)'A';
430
bufBytes[
bufPos
++] = (byte)'[';
435
bufBytes[
bufPos
++] = (byte)']';
436
bufBytes[
bufPos
++] = (byte)']';
437
bufBytes[
bufPos
++] = (byte)'>';
448
bufBytes[
bufPos
++] = (byte)'<';
449
bufBytes[
bufPos
++] = (byte)'!';
450
bufBytes[
bufPos
++] = (byte)'-';
451
bufBytes[
bufPos
++] = (byte)'-';
455
bufBytes[
bufPos
++] = (byte)'-';
456
bufBytes[
bufPos
++] = (byte)'-';
457
bufBytes[
bufPos
++] = (byte)'>';
466
bufBytes[
bufPos
++] = (byte)'<';
467
bufBytes[
bufPos
++] = (byte)'?';
472
bufBytes[
bufPos
++] = (byte)' ';
476
bufBytes[
bufPos
++] = (byte)'?';
477
bufBytes[
bufPos
++] = (byte)'>';
485
bufBytes[
bufPos
++] = (byte)'&';
487
bufBytes[
bufPos
++] = (byte)';';
508
bufBytes[
bufPos
++] = (byte)'&';
509
bufBytes[
bufPos
++] = (byte)'#';
510
bufBytes[
bufPos
++] = (byte)'x';
512
bufBytes[
bufPos
++] = (byte)';';
567
bufBytes[
bufPos
++] = (byte)'&';
568
bufBytes[
bufPos
++] = (byte)'#';
569
bufBytes[
bufPos
++] = (byte)'x';
571
bufBytes[
bufPos
++] = (byte)';';
717
bufPos
= 1; // Buffer position starts at 1, because we need to be able to safely step back -1 in case we need to
763
bufPos
= (int)(pDst - pDstBegin);
830
bufPos
= (int)(pDst - pDstBegin);
869
bufPos
= (int)(pDst - pDstBegin);
933
bufPos
= (int)(pDst - pDstBegin);
982
bufPos
= (int)(pDst - pDstBegin);
991
bufPos
= (int)(pDst - pDstBegin);
1029
bufPos
= (int)(pDst - pDstBegin);
1079
bufPos
= (int)(pDst - pDstBegin);
1131
bufPos
= (int)(pDst - pDstBegin);
1210
bufPos
= (int)(pDst - pDstBegin);
1264
bufPos
= (int)(pDst - pDstBegin);
1337
bufPos
= (int)(pDst - pDstBegin);
1470
bufPos
= (int)(pDst - pDstBegin);
61 references to bufPos
dotnet-svcutil-lib (61)
FrameworkFork\Microsoft.Xml\Xml\Core\HtmlUtf8RawTextWriter.cs (19)
137
base.attrEndPos =
bufPos
;
154
this.contentPos = this.
bufPos
;
322
if (base.attrEndPos ==
bufPos
)
361
base.attrEndPos =
bufPos
;
376
base.attrEndPos =
bufPos
;
395
if (base.
bufPos
> base.bufLen)
582
byte* pDst = pDstBegin + this.
bufPos
;
671
byte* pDst = pDstBegin + this.
bufPos
;
849
_endBlockPos = base.
bufPos
;
866
if (_endBlockPos == base.
bufPos
&& (base.currentElementProperties & ElementProperties.BLOCK_WS) != 0)
878
if (_endBlockPos == base.
bufPos
)
892
base.attrEndPos =
bufPos
;
900
base.contentPos = base.
bufPos
;
906
_endBlockPos = base.
bufPos
;
911
_endBlockPos = base.
bufPos
;
928
if (_endBlockPos == base.
bufPos
&& base.contentPos != base.
bufPos
)
943
_endBlockPos = base.
bufPos
;
962
_endBlockPos = (_endBlockPos == base.
bufPos
) ? 1 : 0;
FrameworkFork\Microsoft.Xml\Xml\Core\XmlUtf8RawTextWriter.cs (42)
266
attrEndPos =
bufPos
;
277
contentPos =
bufPos
;
287
if (contentPos !=
bufPos
)
335
if (attrEndPos ==
bufPos
)
357
attrEndPos =
bufPos
;
404
attrEndPos =
bufPos
;
413
if (mergeCDataSections &&
bufPos
== cdataPos)
416
Debug.Assert(
bufPos
>= 4);
439
textPos =
bufPos
;
440
cdataPos =
bufPos
;
489
if (
bufPos
> bufLen)
494
textPos =
bufPos
;
514
if (
bufPos
> bufLen)
519
textPos =
bufPos
;
572
textPos =
bufPos
;
611
textPos =
bufPos
;
625
textPos =
bufPos
;
689
stream.Write(bufBytes, 1,
bufPos
- 1);
701
bufBytes[0] = bufBytes[
bufPos
- 1];
707
bufBytes[1] = bufBytes[
bufPos
];
708
bufBytes[2] = bufBytes[
bufPos
+ 1];
709
bufBytes[3] = bufBytes[
bufPos
+ 2];
713
textPos = (textPos ==
bufPos
) ? 1 : 0;
714
attrEndPos = (attrEndPos ==
bufPos
) ? 1 : 0;
735
byte* pDst = pDstBegin + this.
bufPos
;
841
byte* pDst = pDstBegin + this.
bufPos
;
934
textPos =
bufPos
;
953
byte* pDst = pDstBegin + this.
bufPos
;
1000
byte* pDst = pDstBegin +
bufPos
;
1087
if (
bufPos
>= bufLen)
1102
byte* pDst = pDstBegin +
bufPos
;
1218
if (
bufPos
>= bufLen)
1235
byte* pDst = pDstBegin +
bufPos
;
1473
return pDstBegin +
bufPos
;
1711
if (!mixedContent && base.textPos != base.
bufPos
)
1723
if (!mixedContent && base.textPos != base.
bufPos
)
1760
if (!mixedContent && base.contentPos != base.
bufPos
)
1763
if (base.textPos != base.
bufPos
)
1777
if (!mixedContent && base.contentPos != base.
bufPos
)
1780
if (base.textPos != base.
bufPos
)
1810
if (!mixedContent && base.textPos != base.
bufPos
)
1820
if (!mixedContent && base.textPos != base.
bufPos
)