55 references to SetStartIndex
System.Text.RegularExpressions (55)
System\Text\RegularExpressions\RegexCharClass.cs (54)
432
int strLength =
SetStartIndex
+ set.Length + category.Length;
453
state.set.AsSpan(2).CopyTo(span.Slice(
SetStartIndex
));
454
index =
SetStartIndex
+ state.set.Length - 2;
461
state.set.AsSpan().CopyTo(span.Slice(
SetStartIndex
));
462
index =
SetStartIndex
+ state.set.Length;
475
return set[
SetStartIndex
];
501
(set[
SetStartIndex
] == LastChar || set[
SetStartIndex
] + 1 == set[
SetStartIndex
+ 1]);
508
(set[
SetStartIndex
] == LastChar || set[
SetStartIndex
] + 1 == set[
SetStartIndex
+ 1]);
533
int categoryEnd =
SetStartIndex
+ set[CategoryLengthIndex];
534
for (int pos =
SetStartIndex
; pos < categoryEnd; pos++)
637
set.Length ==
SetStartIndex
+ set[SetLengthIndex]) // and no subtraction
642
lowInclusive = set[
SetStartIndex
];
647
lowInclusive = set[
SetStartIndex
];
648
highInclusive = (char)(set[
SetStartIndex
+ 1] - 1);
668
set.Length ==
SetStartIndex
+ set[SetLengthIndex]) // and no subtraction
673
range0 = (set[
SetStartIndex
], (char)(set[
SetStartIndex
+ 1] - 1));
674
range1 = (set[
SetStartIndex
+ 2], setLength == 3 ? LastChar : (char)(set[
SetStartIndex
+ 3] - 1));
720
for (int i =
SetStartIndex
; i <
SetStartIndex
+ setLength; i += 2)
866
for (int i =
SetStartIndex
; i <
SetStartIndex
+ set2[SetLengthIndex]; i += 2)
903
for (int i =
SetStartIndex
; i <
SetStartIndex
+ subset[SetLengthIndex]; i += 2)
1053
set.Length >
SetStartIndex
&&
1106
char firstValueInclusive = set[
SetStartIndex
];
1107
char lastValueExclusive = set[
SetStartIndex
+ set[SetLengthIndex] - 1];
1121
ContainsNoAscii = firstValueInclusive == 0 && set[
SetStartIndex
+ 1] >= 128,
1134
AllAsciiContained = firstValueInclusive == 0 && set[
SetStartIndex
+ 1] >= 128 && !hasSubtraction,
1143
charClass.Length >
SetStartIndex
+
1302
int endPosition = start +
SetStartIndex
+ setLength + categoryLength;
1328
int min = start +
SetStartIndex
;
1350
Debug.Assert((
SetStartIndex
& 0x1) == 1, "If SetStartIndex is not odd, the calculation below this will be reversed");
1361
return CharInCategory(ch, set.AsSpan(
SetStartIndex
+ start + setLength, categoryLength));
1464
int endPosition = pos +
SetStartIndex
+ setLength + categoryLength;
1471
int end = pos +
SetStartIndex
+ setLength;
1502
int i =
SetStartIndex
;
1585
return string.Create(
SetStartIndex
+ count, tmpChars, static (span, chars) =>
1589
span[SetLengthIndex] = (char)(span.Length -
SetStartIndex
);
1591
int i =
SetStartIndex
;
1642
Span<char> headerSpan = vsb.AppendSpan(
SetStartIndex
);
1664
vsb[initialLength + SetLengthIndex] = (char)(vsb.Length - initialLength -
SetStartIndex
);
1883
int endPosition =
SetStartIndex
+ setLength + categoryLength;
1893
set[
SetStartIndex
] + 1 == set[
SetStartIndex
+ 1])
1895
return DescribeChar(set[
SetStartIndex
]);
1898
int index =
SetStartIndex
;
1905
int rangesEnd =
SetStartIndex
+ set[SetLengthIndex];
1960
while (index <
SetStartIndex
+ set[SetLengthIndex] + set[CategoryLengthIndex])
System\Text\RegularExpressions\Symbolic\RegexNodeConverter.cs (1)
383
int catStart = setLength + RegexCharClass.
SetStartIndex
;