112 writes to bufPos
dotnet-svcutil-lib (112)
FrameworkFork\Microsoft.Xml\Xml\Core\HtmlEncodedRawTextWriter.cs (34)
100
bufChars[
bufPos
++] = (char)'"';
106
bufChars[
bufPos
++] = (char)'"';
110
bufChars[
bufPos
++] = (char)' ';
115
bufChars[
bufPos
++] = (char)'[';
117
bufChars[
bufPos
++] = (char)']';
120
bufChars[this.
bufPos
++] = (char)'>';
136
base.bufChars[
bufPos
++] = (char)'<';
152
base.bufChars[base.
bufPos
++] = (char)'>';
177
bufChars[base.
bufPos
++] = (char)'<';
178
bufChars[base.
bufPos
++] = (char)'/';
180
bufChars[base.
bufPos
++] = (char)'>';
202
bufChars[base.
bufPos
++] = (char)'<';
203
bufChars[base.
bufPos
++] = (char)'/';
205
bufChars[base.
bufPos
++] = (char)'>';
325
base.bufChars[
bufPos
++] = (char)' ';
345
base.bufChars[
bufPos
++] = (char)'=';
346
base.bufChars[
bufPos
++] = (char)'"';
374
base.bufChars[
bufPos
++] = (char)'"';
387
bufChars[base.
bufPos
++] = (char)'<';
388
bufChars[base.
bufPos
++] = (char)'?';
390
bufChars[base.
bufPos
++] = (char)' ';
394
base.bufChars[base.
bufPos
++] = (char)'>';
613
bufPos
= (int)(pDst - pDstBegin);
657
bufPos
= (int)(pDst - pDstBegin);
701
bufPos
= (int)(pDst - pDstBegin);
760
bufPos
= (int)(pDst - pDstBegin);
767
base.bufChars[
bufPos
++] = (char)'a';
768
base.bufChars[
bufPos
++] = (char)'m';
769
base.bufChars[
bufPos
++] = (char)'p';
770
base.bufChars[
bufPos
++] = (char)';';
876
base.bufChars[
bufPos
++] = (char)'<';
888
base.bufChars[base.
bufPos
++] = (char)'<';
892
base.bufChars[base.
bufPos
++] = (char)':';
901
base.bufChars[base.
bufPos
++] = (char)'>';
FrameworkFork\Microsoft.Xml\Xml\Core\XmlEncodedRawTextWriter.cs (78)
278
bufChars[
bufPos
++] = (char)'"';
284
bufChars[
bufPos
++] = (char)'"';
288
bufChars[
bufPos
++] = (char)' ';
293
bufChars[
bufPos
++] = (char)'[';
295
bufChars[
bufPos
++] = (char)']';
298
bufChars[this.
bufPos
++] = (char)'>';
309
bufChars[
bufPos
++] = (char)'<';
313
bufChars[this.
bufPos
++] = (char)':';
324
bufChars[
bufPos
++] = (char)'>';
344
bufChars[
bufPos
++] = (char)'<';
345
bufChars[
bufPos
++] = (char)'/';
350
bufChars[
bufPos
++] = (char)':';
353
bufChars[
bufPos
++] = (char)'>';
358
bufPos
--;
359
bufChars[
bufPos
++] = (char)' ';
360
bufChars[
bufPos
++] = (char)'/';
361
bufChars[
bufPos
++] = (char)'>';
373
bufChars[
bufPos
++] = (char)'<';
374
bufChars[
bufPos
++] = (char)'/';
379
bufChars[
bufPos
++] = (char)':';
382
bufChars[
bufPos
++] = (char)'>';
395
bufChars[
bufPos
++] = (char)' ';
401
bufChars[
bufPos
++] = (char)':';
404
bufChars[
bufPos
++] = (char)'=';
405
bufChars[
bufPos
++] = (char)'"';
414
bufChars[
bufPos
++] = (char)'"';
453
bufChars[
bufPos
++] = (char)'=';
454
bufChars[
bufPos
++] = (char)'"';
466
bufChars[
bufPos
++] = (char)'"';
482
bufPos
-= 3;
487
bufChars[
bufPos
++] = (char)'<';
488
bufChars[
bufPos
++] = (char)'!';
489
bufChars[
bufPos
++] = (char)'[';
490
bufChars[
bufPos
++] = (char)'C';
491
bufChars[
bufPos
++] = (char)'D';
492
bufChars[
bufPos
++] = (char)'A';
493
bufChars[
bufPos
++] = (char)'T';
494
bufChars[
bufPos
++] = (char)'A';
495
bufChars[
bufPos
++] = (char)'[';
500
bufChars[
bufPos
++] = (char)']';
501
bufChars[
bufPos
++] = (char)']';
502
bufChars[
bufPos
++] = (char)'>';
515
bufChars[
bufPos
++] = (char)'<';
516
bufChars[
bufPos
++] = (char)'!';
517
bufChars[
bufPos
++] = (char)'-';
518
bufChars[
bufPos
++] = (char)'-';
522
bufChars[
bufPos
++] = (char)'-';
523
bufChars[
bufPos
++] = (char)'-';
524
bufChars[
bufPos
++] = (char)'>';
535
bufChars[
bufPos
++] = (char)'<';
536
bufChars[
bufPos
++] = (char)'?';
541
bufChars[
bufPos
++] = (char)' ';
545
bufChars[
bufPos
++] = (char)'?';
546
bufChars[
bufPos
++] = (char)'>';
556
bufChars[
bufPos
++] = (char)'&';
558
bufChars[
bufPos
++] = (char)';';
581
bufChars[
bufPos
++] = (char)'&';
582
bufChars[
bufPos
++] = (char)'#';
583
bufChars[
bufPos
++] = (char)'x';
585
bufChars[
bufPos
++] = (char)';';
643
bufChars[
bufPos
++] = (char)'&';
644
bufChars[
bufPos
++] = (char)'#';
645
bufChars[
bufPos
++] = (char)'x';
647
bufChars[
bufPos
++] = (char)';';
843
bufPos
= 1; // Buffer position starts at 1, because we need to be able to safely step back -1 in case we need to
928
bufPos
= (int)(pDst - pDstBegin);
995
bufPos
= (int)(pDst - pDstBegin);
1034
bufPos
= (int)(pDst - pDstBegin);
1098
bufPos
= (int)(pDst - pDstBegin);
1147
bufPos
= (int)(pDst - pDstBegin);
1156
bufPos
= (int)(pDst - pDstBegin);
1194
bufPos
= (int)(pDst - pDstBegin);
1244
bufPos
= (int)(pDst - pDstBegin);
1296
bufPos
= (int)(pDst - pDstBegin);
1375
bufPos
= (int)(pDst - pDstBegin);
1429
bufPos
= (int)(pDst - pDstBegin);
1502
bufPos
= (int)(pDst - pDstBegin);
1590
bufPos
= (int)(pDst - pDstBegin);
61 references to bufPos
dotnet-svcutil-lib (61)
FrameworkFork\Microsoft.Xml\Xml\Core\HtmlEncodedRawTextWriter.cs (19)
138
base.attrEndPos =
bufPos
;
155
this.contentPos = this.
bufPos
;
323
if (base.attrEndPos ==
bufPos
)
362
base.attrEndPos =
bufPos
;
377
base.attrEndPos =
bufPos
;
396
if (base.
bufPos
> base.bufLen)
583
char* pDst = pDstBegin + this.
bufPos
;
674
char* pDst = pDstBegin + this.
bufPos
;
853
_endBlockPos = base.
bufPos
;
870
if (_endBlockPos == base.
bufPos
&& (base.currentElementProperties & ElementProperties.BLOCK_WS) != 0)
882
if (_endBlockPos == base.
bufPos
)
896
base.attrEndPos =
bufPos
;
904
base.contentPos = base.
bufPos
;
910
_endBlockPos = base.
bufPos
;
915
_endBlockPos = base.
bufPos
;
932
if (_endBlockPos == base.
bufPos
&& base.contentPos != base.
bufPos
)
947
_endBlockPos = base.
bufPos
;
966
_endBlockPos = (_endBlockPos == base.
bufPos
) ? 1 : 0;
FrameworkFork\Microsoft.Xml\Xml\Core\XmlEncodedRawTextWriter.cs (42)
318
attrEndPos =
bufPos
;
329
contentPos =
bufPos
;
341
if (contentPos !=
bufPos
)
393
if (attrEndPos ==
bufPos
)
416
attrEndPos =
bufPos
;
467
attrEndPos =
bufPos
;
478
if (mergeCDataSections &&
bufPos
== cdataPos)
481
Debug.Assert(
bufPos
>= 4);
504
textPos =
bufPos
;
505
cdataPos =
bufPos
;
560
if (
bufPos
> bufLen)
565
textPos =
bufPos
;
587
if (
bufPos
> bufLen)
592
textPos =
bufPos
;
648
textPos =
bufPos
;
691
textPos =
bufPos
;
707
textPos =
bufPos
;
818
EncodeChars(1,
bufPos
, true);
823
writer.Write(bufChars, 1,
bufPos
- 1);
836
bufChars[0] = bufChars[
bufPos
- 1];
839
textPos = (textPos ==
bufPos
) ? 1 : 0;
840
attrEndPos = (attrEndPos ==
bufPos
) ? 1 : 0;
878
Debug.Assert(
bufPos
== 1);
900
char* pDst = pDstBegin + this.
bufPos
;
1006
char* pDst = pDstBegin + this.
bufPos
;
1099
textPos =
bufPos
;
1118
char* pDst = pDstBegin + this.
bufPos
;
1165
char* pDst = pDstBegin +
bufPos
;
1252
if (
bufPos
>= bufLen)
1267
char* pDst = pDstBegin +
bufPos
;
1383
if (
bufPos
>= bufLen)
1400
char* pDst = pDstBegin +
bufPos
;
1573
_textContentMarks[++_lastMarkPos] = this.
bufPos
;
1593
return pDstBegin +
bufPos
;
1836
if (!mixedContent && base.textPos != base.
bufPos
)
1848
if (!mixedContent && base.textPos != base.
bufPos
)
1885
if (!mixedContent && base.contentPos != base.
bufPos
)
1888
if (base.textPos != base.
bufPos
)
1902
if (!mixedContent && base.contentPos != base.
bufPos
)
1905
if (base.textPos != base.
bufPos
)
1935
if (!mixedContent && base.textPos != base.
bufPos
)
1945
if (!mixedContent && base.textPos != base.
bufPos
)