53 references to SetStartIndex
System.Text.RegularExpressions (53)
System\Text\RegularExpressions\RegexCharClass.cs (52)
559
int strLength =
SetStartIndex
+ set.Length + category.Length;
580
state.set.AsSpan(2).CopyTo(span.Slice(
SetStartIndex
));
581
index =
SetStartIndex
+ state.set.Length - 2;
588
state.set.AsSpan().CopyTo(span.Slice(
SetStartIndex
));
589
index =
SetStartIndex
+ state.set.Length;
602
return set[
SetStartIndex
];
628
(set[
SetStartIndex
] == LastChar || set[
SetStartIndex
] + 1 == set[
SetStartIndex
+ 1]);
635
(set[
SetStartIndex
] == LastChar || set[
SetStartIndex
] + 1 == set[
SetStartIndex
+ 1]);
660
int categoryEnd =
SetStartIndex
+ set[CategoryLengthIndex];
661
for (int pos =
SetStartIndex
; pos < categoryEnd; pos++)
764
set.Length ==
SetStartIndex
+ set[SetLengthIndex]) // and no subtraction
769
lowInclusive = set[
SetStartIndex
];
774
lowInclusive = set[
SetStartIndex
];
775
highInclusive = (char)(set[
SetStartIndex
+ 1] - 1);
795
set.Length ==
SetStartIndex
+ set[SetLengthIndex]) // and no subtraction
800
range0 = (set[
SetStartIndex
], (char)(set[
SetStartIndex
+ 1] - 1));
801
range1 = (set[
SetStartIndex
+ 2], setLength == 3 ? LastChar : (char)(set[
SetStartIndex
+ 3] - 1));
847
for (int i =
SetStartIndex
; i <
SetStartIndex
+ setLength; i += 2)
948
for (int i =
SetStartIndex
; i <
SetStartIndex
+ set2[SetLengthIndex]; i += 2)
1087
set.Length >
SetStartIndex
&&
1140
char firstValueInclusive = set[
SetStartIndex
];
1141
char lastValueExclusive = set[
SetStartIndex
+ set[SetLengthIndex] - 1];
1155
ContainsNoAscii = firstValueInclusive == 0 && set[
SetStartIndex
+ 1] >= 128,
1168
AllAsciiContained = firstValueInclusive == 0 && set[
SetStartIndex
+ 1] >= 128 && !hasSubtraction,
1177
charClass.Length >
SetStartIndex
+
1329
int endPosition = start +
SetStartIndex
+ setLength + categoryLength;
1355
int min = start +
SetStartIndex
;
1377
Debug.Assert((
SetStartIndex
& 0x1) == 1, "If SetStartIndex is not odd, the calculation below this will be reversed");
1388
return CharInCategory(ch, set.AsSpan(
SetStartIndex
+ start + setLength, categoryLength));
1487
int endPosition = start +
SetStartIndex
+ setLength + categoryLength;
1489
int i = start +
SetStartIndex
;
1513
int i =
SetStartIndex
;
1601
.Create(
SetStartIndex
+ count, (IntPtr)(&tmpChars), static (span, charsPtr) =>
1605
span[SetLengthIndex] = (char)(span.Length -
SetStartIndex
);
1607
int i =
SetStartIndex
;
1636
Span<char> headerSpan = vsb.AppendSpan(
SetStartIndex
);
1658
vsb[initialLength + SetLengthIndex] = (char)(vsb.Length - initialLength -
SetStartIndex
);
1872
int endPosition =
SetStartIndex
+ setLength + categoryLength;
1881
set[
SetStartIndex
] + 1 == set[
SetStartIndex
+ 1])
1883
return DescribeChar(set[
SetStartIndex
]);
1886
int index =
SetStartIndex
;
1893
int rangesEnd =
SetStartIndex
+ set[SetLengthIndex];
1948
while (index <
SetStartIndex
+ set[SetLengthIndex] + set[CategoryLengthIndex])
System\Text\RegularExpressions\Symbolic\RegexNodeConverter.cs (1)
383
int catStart = setLength + RegexCharClass.
SetStartIndex
;