Lines Matching refs:srcIndex
224 int32_t srcIndex = srcStart; in toLower() local
228 while (srcIndex < srcLimit) { in toLower()
229 lead = src[srcIndex]; in toLower()
234 ++srcIndex; in toLower()
242 ++srcIndex; in toLower()
249 src + prev, srcIndex - 1 - prev, options, edits); in toLower()
260 prev = srcIndex; in toLower()
262 if (srcIndex >= srcLimit) { in toLower()
266 int32_t cpStart = srcIndex++; in toLower()
269 if (U16_IS_LEAD(lead) && srcIndex < srcLimit && U16_IS_TRAIL(trail = src[srcIndex])) { in toLower()
271 ++srcIndex; in toLower()
278 csc->cpLimit = srcIndex; in toLower()
288 srcIndex - cpStart, options, edits); in toLower()
294 prev = srcIndex; in toLower()
298 src + prev, srcIndex - prev, options, edits); in toLower()
319 int32_t srcIndex = 0; in toUpper() local
323 while (srcIndex < srcLength) { in toUpper()
324 lead = src[srcIndex]; in toUpper()
329 ++srcIndex; in toUpper()
337 ++srcIndex; in toUpper()
344 src + prev, srcIndex - 1 - prev, options, edits); in toUpper()
355 prev = srcIndex; in toUpper()
357 if (srcIndex >= srcLength) { in toUpper()
362 csc->cpStart = cpStart = srcIndex++; in toUpper()
365 if (U16_IS_LEAD(lead) && srcIndex < srcLength && U16_IS_TRAIL(trail = src[srcIndex])) { in toUpper()
367 ++srcIndex; in toUpper()
371 csc->cpLimit = srcIndex; in toUpper()
379 srcIndex - cpStart, options, edits); in toUpper()
385 prev = srcIndex; in toUpper()
389 src + prev, srcIndex - prev, options, edits); in toUpper()