Lines Matching refs:numCodeUnits

1084     decodes them. If $(D numCodeUnits) is passed in, it gets set to the number
1090 numCodeUnits = set to number of code units processed
1103 ref S str, out size_t numCodeUnits)
1120 numCodeUnits = 1;
1129 immutable retval = decodeImpl!(canIndex, useReplacementDchar)(str, numCodeUnits);
1133 str = str[numCodeUnits .. str.length];
1140 ref S str, out size_t numCodeUnits) @trusted pure
1154 numCodeUnits = 1;
1161 immutable retval = decodeImpl!(true, useReplacementDchar)(str, numCodeUnits);
1162 str = str[numCodeUnits .. $];
1171 size_t numCodeUnits; variable
1172 return decodeFront!useReplacementDchar(str, numCodeUnits);
1180 decodes them. If $(D numCodeUnits) is passed in, it gets set to the number
1186 numCodeUnits = gives the number of code units processed
1194 but there is no guarantee as to the value of $(D numCodeUnits) (when passed).
1197 ref S str, out size_t numCodeUnits)
1211 numCodeUnits = 1;
1218 numCodeUnits = strideBack(str);
1219 immutable newLength = str.length - numCodeUnits;
1229 ref S str, out size_t numCodeUnits)
1244 numCodeUnits = 1;
1251 numCodeUnits = strideBack(str);
1254 size_t index = str.length - numCodeUnits;
1256 str.popBackExactly(numCodeUnits);
1264 for (size_t i = numCodeUnits; i > 0; )
1269 const Char[] codePoint = codeUnits[0 .. numCodeUnits];
1293 size_t numCodeUnits; variable
1294 return decodeBack!useReplacementDchar(str, numCodeUnits);
1779 size_t numCodeUnits; in version() local
1780 immutable result = decodeFront(range, numCodeUnits); in version()
1783 enforce(numCodeUnits == expectedNumCodeUnits, in version()
1784 … new AssertError(format("decodeFront: Wrong numCodeUnits: %s", numCodeUnits), __FILE__, line)); in version()
1788 enforce(range.length == lenBefore - numCodeUnits, in version()
1809 size_t numCodeUnits; in version() local
1810 immutable result = decodeBack(range, numCodeUnits); in version()
1813 enforce(numCodeUnits == expectedNumCodeUnits, in version()
1814 … new AssertError(format("decodeBack: Wrong numCodeUnits: %s", numCodeUnits), __FILE__, line)); in version()
1818 enforce(range.length == lenBefore - numCodeUnits, in version()