Lines Matching refs:cuWordLength
235 int32_t cuWordLength = 0; // Word length in code units (UText native indexing) in divideUpDictionaryRange() local
244 cuWordLength = 0; in divideUpDictionaryRange()
251 cuWordLength = words[wordsFound % THAI_LOOKAHEAD].acceptMarked(text); in divideUpDictionaryRange()
289 cuWordLength = words[wordsFound % THAI_LOOKAHEAD].acceptMarked(text); in divideUpDictionaryRange()
306 && (cuWordLength == 0 in divideUpDictionaryRange()
309 int32_t remaining = rangeEnd - (current+cuWordLength); in divideUpDictionaryRange()
329 utext_setNativeIndex(text, current + cuWordLength + chars); in divideUpDictionaryRange()
337 if (cuWordLength <= 0) { in divideUpDictionaryRange()
342 cuWordLength += chars; in divideUpDictionaryRange()
346 utext_setNativeIndex(text, current+cuWordLength); in divideUpDictionaryRange()
354 cuWordLength += (int32_t)utext_getNativeIndex(text) - currPos; in divideUpDictionaryRange()
361 if ((int32_t)utext_getNativeIndex(text) < rangeEnd && cuWordLength > 0) { in divideUpDictionaryRange()
370 … cuWordLength += (int32_t)utext_getNativeIndex(text) - paiyannoiIndex; // Add PAIYANNOI to word in divideUpDictionaryRange()
384 … cuWordLength += (int32_t)utext_getNativeIndex(text) - maiyamokIndex; // Add MAIYAMOK to word in divideUpDictionaryRange()
393 utext_setNativeIndex(text, current+cuWordLength); in divideUpDictionaryRange()
398 if (cuWordLength > 0) { in divideUpDictionaryRange()
399 foundBreaks.push((current+cuWordLength), status); in divideUpDictionaryRange()
470 int32_t cuWordLength = 0; in divideUpDictionaryRange() local
478 cuWordLength = 0; in divideUpDictionaryRange()
486 cuWordLength = words[wordsFound % LAO_LOOKAHEAD].acceptMarked(text); in divideUpDictionaryRange()
523 cuWordLength = words[wordsFound % LAO_LOOKAHEAD].acceptMarked(text); in divideUpDictionaryRange()
538 && (cuWordLength == 0 in divideUpDictionaryRange()
541 int32_t remaining = rangeEnd - (current + cuWordLength); in divideUpDictionaryRange()
559 utext_setNativeIndex(text, current + cuWordLength + chars); in divideUpDictionaryRange()
567 if (cuWordLength <= 0) { in divideUpDictionaryRange()
572 cuWordLength += chars; in divideUpDictionaryRange()
576 utext_setNativeIndex(text, current + cuWordLength); in divideUpDictionaryRange()
584 cuWordLength += (int32_t)utext_getNativeIndex(text) - currPos; in divideUpDictionaryRange()
594 if (cuWordLength > 0) { in divideUpDictionaryRange()
595 foundBreaks.push((current+cuWordLength), status); in divideUpDictionaryRange()
663 int32_t cuWordLength = 0; in divideUpDictionaryRange() local
671 cuWordLength = 0; in divideUpDictionaryRange()
679 cuWordLength = words[wordsFound % BURMESE_LOOKAHEAD].acceptMarked(text); in divideUpDictionaryRange()
716 cuWordLength = words[wordsFound % BURMESE_LOOKAHEAD].acceptMarked(text); in divideUpDictionaryRange()
731 && (cuWordLength == 0 in divideUpDictionaryRange()
734 int32_t remaining = rangeEnd - (current + cuWordLength); in divideUpDictionaryRange()
752 utext_setNativeIndex(text, current + cuWordLength + chars); in divideUpDictionaryRange()
760 if (cuWordLength <= 0) { in divideUpDictionaryRange()
765 cuWordLength += chars; in divideUpDictionaryRange()
769 utext_setNativeIndex(text, current + cuWordLength); in divideUpDictionaryRange()
777 cuWordLength += (int32_t)utext_getNativeIndex(text) - currPos; in divideUpDictionaryRange()
787 if (cuWordLength > 0) { in divideUpDictionaryRange()
788 foundBreaks.push((current+cuWordLength), status); in divideUpDictionaryRange()
868 int32_t cuWordLength = 0; in divideUpDictionaryRange() local
876 cuWordLength = 0; in divideUpDictionaryRange()
884 cuWordLength = words[wordsFound % KHMER_LOOKAHEAD].acceptMarked(text); in divideUpDictionaryRange()
922 cuWordLength = words[wordsFound % KHMER_LOOKAHEAD].acceptMarked(text); in divideUpDictionaryRange()
937 && (cuWordLength == 0 in divideUpDictionaryRange()
940 int32_t remaining = rangeEnd - (current+cuWordLength); in divideUpDictionaryRange()
957 utext_setNativeIndex(text, current+cuWordLength+chars); in divideUpDictionaryRange()
965 if (cuWordLength <= 0) { in divideUpDictionaryRange()
970 cuWordLength += chars; in divideUpDictionaryRange()
974 utext_setNativeIndex(text, current+cuWordLength); in divideUpDictionaryRange()
982 cuWordLength += (int32_t)utext_getNativeIndex(text) - currPos; in divideUpDictionaryRange()
1024 if (cuWordLength > 0) { in divideUpDictionaryRange()
1025 foundBreaks.push((current+cuWordLength), status); in divideUpDictionaryRange()