• Home
  • Raw
  • Download

Lines Matching refs:rangeEnd

61     int32_t rangeEnd;  in findBreaks()  local
68 rangeEnd = current; in findBreaks()
69 result = divideUpDictionaryRange(text, rangeStart, rangeEnd, foundBreaks); in findBreaks()
111 int32_t candidates( UText *text, DictionaryMatcher *dict, int32_t rangeEnd );
132 int32_t PossibleWord::candidates( UText *text, DictionaryMatcher *dict, int32_t rangeEnd ) { in candidates() argument
137 …count = dict->matches(text, rangeEnd-start, UPRV_LENGTHOF(cuLengths), cuLengths, cpLengths, NULL, … in candidates()
229 int32_t rangeEnd, in divideUpDictionaryRange() argument
233 if (utext_getNativeIndex(text) >= rangeEnd) { in divideUpDictionaryRange()
248 while (U_SUCCESS(status) && (current = (int32_t)utext_getNativeIndex(text)) < rangeEnd) { in divideUpDictionaryRange()
253 … int32_t candidates = words[wordsFound%THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd); in divideUpDictionaryRange()
264 if ((int32_t)utext_getNativeIndex(text) >= rangeEnd) { in divideUpDictionaryRange()
269 … if (words[(wordsFound + 1) % THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
277 if ((int32_t)utext_getNativeIndex(text) >= rangeEnd) { in divideUpDictionaryRange()
284 … if (words[(wordsFound + 2) % THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd)) { in divideUpDictionaryRange()
307 …if ((int32_t)utext_getNativeIndex(text) < rangeEnd && cpWordLength < THAI_ROOT_COMBINE_THRESHOLD)… in divideUpDictionaryRange()
311 if (words[wordsFound % THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd) <= 0 in divideUpDictionaryRange()
315 int32_t remaining = rangeEnd - (current+cuWordLength); in divideUpDictionaryRange()
334 … num_candidates = words[(wordsFound + 1) % THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd); in divideUpDictionaryRange()
358 …while ((currPos = (int32_t)utext_getNativeIndex(text)) < rangeEnd && fMarkSet.contains(utext_curre… in divideUpDictionaryRange()
367 if ((int32_t)utext_getNativeIndex(text) < rangeEnd && cuWordLength > 0) { in divideUpDictionaryRange()
368 if (words[wordsFound%THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd) <= 0 in divideUpDictionaryRange()
410 if (foundBreaks.peeki() >= rangeEnd) { in divideUpDictionaryRange()
471 int32_t rangeEnd, in divideUpDictionaryRange() argument
473 if ((rangeEnd - rangeStart) < LAO_MIN_WORD_SPAN) { in divideUpDictionaryRange()
486 while (U_SUCCESS(status) && (current = (int32_t)utext_getNativeIndex(text)) < rangeEnd) { in divideUpDictionaryRange()
491 … int32_t candidates = words[wordsFound%LAO_LOOKAHEAD].candidates(text, fDictionary, rangeEnd); in divideUpDictionaryRange()
502 if (utext_getNativeIndex(text) >= rangeEnd) { in divideUpDictionaryRange()
507 … if (words[(wordsFound + 1) % LAO_LOOKAHEAD].candidates(text, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
515 if ((int32_t)utext_getNativeIndex(text) >= rangeEnd) { in divideUpDictionaryRange()
522 … if (words[(wordsFound + 2) % LAO_LOOKAHEAD].candidates(text, fDictionary, rangeEnd)) { in divideUpDictionaryRange()
542 … if ((int32_t)utext_getNativeIndex(text) < rangeEnd && cpWordLength < LAO_ROOT_COMBINE_THRESHOLD) { in divideUpDictionaryRange()
546 if (words[wordsFound % LAO_LOOKAHEAD].candidates(text, fDictionary, rangeEnd) <= 0 in divideUpDictionaryRange()
550 int32_t remaining = rangeEnd - (current + cuWordLength); in divideUpDictionaryRange()
567 …t num_candidates = words[(wordsFound + 1) % LAO_LOOKAHEAD].candidates(text, fDictionary, rangeEnd); in divideUpDictionaryRange()
591 …while ((currPos = (int32_t)utext_getNativeIndex(text)) < rangeEnd && fMarkSet.contains(utext_curre… in divideUpDictionaryRange()
609 if (foundBreaks.peeki() >= rangeEnd) { in divideUpDictionaryRange()
667 int32_t rangeEnd, in divideUpDictionaryRange() argument
669 if ((rangeEnd - rangeStart) < BURMESE_MIN_WORD_SPAN) { in divideUpDictionaryRange()
682 while (U_SUCCESS(status) && (current = (int32_t)utext_getNativeIndex(text)) < rangeEnd) { in divideUpDictionaryRange()
687 … int32_t candidates = words[wordsFound%BURMESE_LOOKAHEAD].candidates(text, fDictionary, rangeEnd); in divideUpDictionaryRange()
698 if (utext_getNativeIndex(text) >= rangeEnd) { in divideUpDictionaryRange()
703 … if (words[(wordsFound + 1) % BURMESE_LOOKAHEAD].candidates(text, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
711 if ((int32_t)utext_getNativeIndex(text) >= rangeEnd) { in divideUpDictionaryRange()
718 … if (words[(wordsFound + 2) % BURMESE_LOOKAHEAD].candidates(text, fDictionary, rangeEnd)) { in divideUpDictionaryRange()
738 …if ((int32_t)utext_getNativeIndex(text) < rangeEnd && cpWordLength < BURMESE_ROOT_COMBINE_THRESHOL… in divideUpDictionaryRange()
742 if (words[wordsFound % BURMESE_LOOKAHEAD].candidates(text, fDictionary, rangeEnd) <= 0 in divideUpDictionaryRange()
746 int32_t remaining = rangeEnd - (current + cuWordLength); in divideUpDictionaryRange()
763 …m_candidates = words[(wordsFound + 1) % BURMESE_LOOKAHEAD].candidates(text, fDictionary, rangeEnd); in divideUpDictionaryRange()
787 …while ((currPos = (int32_t)utext_getNativeIndex(text)) < rangeEnd && fMarkSet.contains(utext_curre… in divideUpDictionaryRange()
805 if (foundBreaks.peeki() >= rangeEnd) { in divideUpDictionaryRange()
875 int32_t rangeEnd, in divideUpDictionaryRange() argument
877 if ((rangeEnd - rangeStart) < KHMER_MIN_WORD_SPAN) { in divideUpDictionaryRange()
890 while (U_SUCCESS(status) && (current = (int32_t)utext_getNativeIndex(text)) < rangeEnd) { in divideUpDictionaryRange()
895 … int32_t candidates = words[wordsFound%KHMER_LOOKAHEAD].candidates(text, fDictionary, rangeEnd); in divideUpDictionaryRange()
907 if ((int32_t)utext_getNativeIndex(text) >= rangeEnd) { in divideUpDictionaryRange()
912 … if (words[(wordsFound + 1) % KHMER_LOOKAHEAD].candidates(text, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
920 if ((int32_t)utext_getNativeIndex(text) >= rangeEnd) { in divideUpDictionaryRange()
927 … if (words[(wordsFound + 2) % KHMER_LOOKAHEAD].candidates(text, fDictionary, rangeEnd)) { in divideUpDictionaryRange()
947 …if ((int32_t)utext_getNativeIndex(text) < rangeEnd && cpWordLength < KHMER_ROOT_COMBINE_THRESHOLD)… in divideUpDictionaryRange()
951 if (words[wordsFound % KHMER_LOOKAHEAD].candidates(text, fDictionary, rangeEnd) <= 0 in divideUpDictionaryRange()
955 int32_t remaining = rangeEnd - (current+cuWordLength); in divideUpDictionaryRange()
971 …num_candidates = words[(wordsFound + 1) % KHMER_LOOKAHEAD].candidates(text, fDictionary, rangeEnd); in divideUpDictionaryRange()
995 …while ((currPos = (int32_t)utext_getNativeIndex(text)) < rangeEnd && fMarkSet.contains(utext_curre… in divideUpDictionaryRange()
1045 if (foundBreaks.peeki() >= rangeEnd) { in divideUpDictionaryRange()
1128 int32_t rangeEnd, in divideUpDictionaryRange() argument
1130 if (rangeStart >= rangeEnd) { in divideUpDictionaryRange()
1147 inText->chunkNativeLimit >= rangeEnd && in divideUpDictionaryRange()
1148 inText->nativeIndexingLimit >= rangeEnd - inText->chunkNativeStart) { in divideUpDictionaryRange()
1154 rangeEnd - rangeStart); in divideUpDictionaryRange()
1159 int32_t limit = rangeEnd; in divideUpDictionaryRange()