Lines Matching refs:numCodeUnits

1227     decodes them. If `numCodeUnits` is passed in, it gets set to the number
1233 numCodeUnits = set to number of code units processed
1246 ref S str, out size_t numCodeUnits)
1263 numCodeUnits = 1;
1274 immutable retval = decodeImpl!(canIndex, useReplacementDchar)(str, numCodeUnits);
1278 str = str[numCodeUnits .. str.length];
1286 ref scope S str, out size_t numCodeUnits) @trusted pure
1300 numCodeUnits = 1;
1307 … immutable retval = decodeImpl!(true, useReplacementDchar)(cast(const(C)[]) str, numCodeUnits);
1308 str = str[numCodeUnits .. $];
1317 size_t numCodeUnits;
1318 return decodeFront!useReplacementDchar(str, numCodeUnits);
1340 decodes them. If `numCodeUnits` is passed in, it gets set to the number
1346 numCodeUnits = gives the number of code units processed
1354 but there is no guarantee as to the value of `numCodeUnits` (when passed).
1357 ref S str, out size_t numCodeUnits)
1371 numCodeUnits = 1;
1378 numCodeUnits = strideBack(str);
1379 immutable newLength = str.length - numCodeUnits;
1389 ref S str, out size_t numCodeUnits)
1404 numCodeUnits = 1;
1411 numCodeUnits = strideBack(str);
1414 size_t index = str.length - numCodeUnits;
1416 str.popBackExactly(numCodeUnits);
1424 for (size_t i = numCodeUnits; i > 0; )
1429 const Char[] codePoint = codeUnits[0 .. numCodeUnits];
1453 size_t numCodeUnits;
1454 return decodeBack!useReplacementDchar(str, numCodeUnits);
1960 size_t numCodeUnits;
1961 immutable result = decodeFront(range, numCodeUnits);
1964 enforce(numCodeUnits == expectedNumCodeUnits,
1965 … new AssertError(format("decodeFront: Wrong numCodeUnits: %s", numCodeUnits), __FILE__, line));
1969 enforce(range.length == lenBefore - numCodeUnits,
1991 size_t numCodeUnits;
1992 immutable result = decodeBack(range, numCodeUnits);
1995 enforce(numCodeUnits == expectedNumCodeUnits,
1996 … new AssertError(format("decodeBack: Wrong numCodeUnits: %s", numCodeUnits), __FILE__, line));
2000 enforce(range.length == lenBefore - numCodeUnits,