55 references to SetStartIndex
System.Text.RegularExpressions (55)
System\Text\RegularExpressions\RegexCharClass.cs (54)
579
int strLength =
SetStartIndex
+ set.Length + category.Length;
600
state.set.AsSpan(2).CopyTo(span.Slice(
SetStartIndex
));
601
index =
SetStartIndex
+ state.set.Length - 2;
608
state.set.AsSpan().CopyTo(span.Slice(
SetStartIndex
));
609
index =
SetStartIndex
+ state.set.Length;
622
return set[
SetStartIndex
];
648
(set[
SetStartIndex
] == LastChar || set[
SetStartIndex
] + 1 == set[
SetStartIndex
+ 1]);
655
(set[
SetStartIndex
] == LastChar || set[
SetStartIndex
] + 1 == set[
SetStartIndex
+ 1]);
680
int categoryEnd =
SetStartIndex
+ set[CategoryLengthIndex];
681
for (int pos =
SetStartIndex
; pos < categoryEnd; pos++)
784
set.Length ==
SetStartIndex
+ set[SetLengthIndex]) // and no subtraction
789
lowInclusive = set[
SetStartIndex
];
794
lowInclusive = set[
SetStartIndex
];
795
highInclusive = (char)(set[
SetStartIndex
+ 1] - 1);
815
set.Length ==
SetStartIndex
+ set[SetLengthIndex]) // and no subtraction
820
range0 = (set[
SetStartIndex
], (char)(set[
SetStartIndex
+ 1] - 1));
821
range1 = (set[
SetStartIndex
+ 2], setLength == 3 ? LastChar : (char)(set[
SetStartIndex
+ 3] - 1));
867
for (int i =
SetStartIndex
; i <
SetStartIndex
+ setLength; i += 2)
1013
for (int i =
SetStartIndex
; i <
SetStartIndex
+ set2[SetLengthIndex]; i += 2)
1152
set.Length >
SetStartIndex
&&
1205
char firstValueInclusive = set[
SetStartIndex
];
1206
char lastValueExclusive = set[
SetStartIndex
+ set[SetLengthIndex] - 1];
1220
ContainsNoAscii = firstValueInclusive == 0 && set[
SetStartIndex
+ 1] >= 128,
1233
AllAsciiContained = firstValueInclusive == 0 && set[
SetStartIndex
+ 1] >= 128 && !hasSubtraction,
1242
charClass.Length >
SetStartIndex
+
1325
for (int i =
SetStartIndex
; i <
SetStartIndex
+ set[SetLengthIndex]; i += 2)
1446
int endPosition = start +
SetStartIndex
+ setLength + categoryLength;
1472
int min = start +
SetStartIndex
;
1494
Debug.Assert((
SetStartIndex
& 0x1) == 1, "If SetStartIndex is not odd, the calculation below this will be reversed");
1505
return CharInCategory(ch, set.AsSpan(
SetStartIndex
+ start + setLength, categoryLength));
1604
int endPosition = start +
SetStartIndex
+ setLength + categoryLength;
1606
int i = start +
SetStartIndex
;
1630
int i =
SetStartIndex
;
1713
return string.Create(
SetStartIndex
+ count, tmpChars, static (span, chars) =>
1717
span[SetLengthIndex] = (char)(span.Length -
SetStartIndex
);
1719
int i =
SetStartIndex
;
1772
Span<char> headerSpan = vsb.AppendSpan(
SetStartIndex
);
1794
vsb[initialLength + SetLengthIndex] = (char)(vsb.Length - initialLength -
SetStartIndex
);
2008
int endPosition =
SetStartIndex
+ setLength + categoryLength;
2017
set[
SetStartIndex
] + 1 == set[
SetStartIndex
+ 1])
2019
return DescribeChar(set[
SetStartIndex
]);
2022
int index =
SetStartIndex
;
2029
int rangesEnd =
SetStartIndex
+ set[SetLengthIndex];
2084
while (index <
SetStartIndex
+ set[SetLengthIndex] + set[CategoryLengthIndex])
System\Text\RegularExpressions\Symbolic\RegexNodeConverter.cs (1)
383
int catStart = setLength + RegexCharClass.
SetStartIndex
;