• Home
  • Raw
  • Download

Lines Matching refs:cuWordLength

260     int32_t cuWordLength = 0;    // Word length in code units (UText native indexing)  in divideUpDictionaryRange()  local
269 cuWordLength = 0; in divideUpDictionaryRange()
276 cuWordLength = words[wordsFound % THAI_LOOKAHEAD].acceptMarked(text); in divideUpDictionaryRange()
314 cuWordLength = words[wordsFound % THAI_LOOKAHEAD].acceptMarked(text); in divideUpDictionaryRange()
331 && (cuWordLength == 0 in divideUpDictionaryRange()
334 int32_t remaining = rangeEnd - (current+cuWordLength); in divideUpDictionaryRange()
354 utext_setNativeIndex(text, current + cuWordLength + chars); in divideUpDictionaryRange()
362 if (cuWordLength <= 0) { in divideUpDictionaryRange()
367 cuWordLength += chars; in divideUpDictionaryRange()
371 utext_setNativeIndex(text, current+cuWordLength); in divideUpDictionaryRange()
379 cuWordLength += (int32_t)utext_getNativeIndex(text) - currPos; in divideUpDictionaryRange()
386 if ((int32_t)utext_getNativeIndex(text) < rangeEnd && cuWordLength > 0) { in divideUpDictionaryRange()
395cuWordLength += utext_getNativeIndex(text) - paiyannoiIndex; // Add PAIYANNOI to word in divideUpDictionaryRange()
409cuWordLength += utext_getNativeIndex(text) - maiyamokIndex; // Add MAIYAMOK to word in divideUpDictionaryRange()
418 utext_setNativeIndex(text, current+cuWordLength); in divideUpDictionaryRange()
423 if (cuWordLength > 0) { in divideUpDictionaryRange()
424 foundBreaks.push((current+cuWordLength), status); in divideUpDictionaryRange()
495 int32_t cuWordLength = 0; in divideUpDictionaryRange() local
503 cuWordLength = 0; in divideUpDictionaryRange()
511 cuWordLength = words[wordsFound % LAO_LOOKAHEAD].acceptMarked(text); in divideUpDictionaryRange()
548 cuWordLength = words[wordsFound % LAO_LOOKAHEAD].acceptMarked(text); in divideUpDictionaryRange()
563 && (cuWordLength == 0 in divideUpDictionaryRange()
566 int32_t remaining = rangeEnd - (current + cuWordLength); in divideUpDictionaryRange()
584 utext_setNativeIndex(text, current + cuWordLength + chars); in divideUpDictionaryRange()
592 if (cuWordLength <= 0) { in divideUpDictionaryRange()
597 cuWordLength += chars; in divideUpDictionaryRange()
601 utext_setNativeIndex(text, current + cuWordLength); in divideUpDictionaryRange()
609 cuWordLength += (int32_t)utext_getNativeIndex(text) - currPos; in divideUpDictionaryRange()
619 if (cuWordLength > 0) { in divideUpDictionaryRange()
620 foundBreaks.push((current+cuWordLength), status); in divideUpDictionaryRange()
688 int32_t cuWordLength = 0; in divideUpDictionaryRange() local
696 cuWordLength = 0; in divideUpDictionaryRange()
704 cuWordLength = words[wordsFound % BURMESE_LOOKAHEAD].acceptMarked(text); in divideUpDictionaryRange()
741 cuWordLength = words[wordsFound % BURMESE_LOOKAHEAD].acceptMarked(text); in divideUpDictionaryRange()
756 && (cuWordLength == 0 in divideUpDictionaryRange()
759 int32_t remaining = rangeEnd - (current + cuWordLength); in divideUpDictionaryRange()
777 utext_setNativeIndex(text, current + cuWordLength + chars); in divideUpDictionaryRange()
785 if (cuWordLength <= 0) { in divideUpDictionaryRange()
790 cuWordLength += chars; in divideUpDictionaryRange()
794 utext_setNativeIndex(text, current + cuWordLength); in divideUpDictionaryRange()
802 cuWordLength += (int32_t)utext_getNativeIndex(text) - currPos; in divideUpDictionaryRange()
812 if (cuWordLength > 0) { in divideUpDictionaryRange()
813 foundBreaks.push((current+cuWordLength), status); in divideUpDictionaryRange()
893 int32_t cuWordLength = 0; in divideUpDictionaryRange() local
901 cuWordLength = 0; in divideUpDictionaryRange()
909 cuWordLength = words[wordsFound % KHMER_LOOKAHEAD].acceptMarked(text); in divideUpDictionaryRange()
947 cuWordLength = words[wordsFound % KHMER_LOOKAHEAD].acceptMarked(text); in divideUpDictionaryRange()
962 && (cuWordLength == 0 in divideUpDictionaryRange()
965 int32_t remaining = rangeEnd - (current+cuWordLength); in divideUpDictionaryRange()
982 utext_setNativeIndex(text, current+cuWordLength+chars); in divideUpDictionaryRange()
990 if (cuWordLength <= 0) { in divideUpDictionaryRange()
995 cuWordLength += chars; in divideUpDictionaryRange()
999 utext_setNativeIndex(text, current+cuWordLength); in divideUpDictionaryRange()
1007 cuWordLength += (int32_t)utext_getNativeIndex(text) - currPos; in divideUpDictionaryRange()
1049 if (cuWordLength > 0) { in divideUpDictionaryRange()
1050 foundBreaks.push((current+cuWordLength), status); in divideUpDictionaryRange()