Lines Matching refs:nextBreak
229 int32_t nextBreak = 0; in compareWordBreaks() local
235 nextBreak = breakIter->next(); in compareWordBreaks()
237 if (nextSpaceBreak == BreakIterator::DONE || nextBreak == BreakIterator::DONE) { in compareWordBreaks()
238 if (nextBreak != BreakIterator::DONE) { in compareWordBreaks()
247 while (nextSpaceBreak != nextBreak && in compareWordBreaks()
248 nextSpaceBreak != BreakIterator::DONE && nextBreak != BreakIterator::DONE) { in compareWordBreaks()
249 if (nextSpaceBreak < nextBreak) { in compareWordBreaks()
253 } else if (nextSpaceBreak > nextBreak) { in compareWordBreaks()
254 foundInvalidBreak(nextBreak); in compareWordBreaks()
256 nextBreak = breakIter->next(); in compareWordBreaks()
261 printf("%d %d\n", nextSpaceBreak, nextBreak); in compareWordBreaks()
532 int32_t nextBreak; in next() local
534 nextBreak = fBreakIter->next(); in next()
536 if (nextBreak == BreakIterator::DONE) { in next()
541 while(nextBreak > 0 && fComplexContext.contains(fText[nextBreak-1]) in next()
542 && fComplexContext.contains(fText[nextBreak])); in next()
544 int32_t result = nextBreak - fSpaceCount; in next()
546 if (nextBreak < fTextCount) { in next()
547 if (fText[nextBreak] == 0x0020 /*Unicode::isSpaceChar(fText[nextBreak])*/) { in next()
548 fSpaceCount += fBreakIter->next() - nextBreak; in next()