Lines Matching refs:rangeEnd
59 int32_t rangeEnd; in findBreaks() local
79 rangeEnd = utext_getNativeIndex(text); in findBreaks()
87 rangeEnd = current; in findBreaks()
90 result = divideUpDictionaryRange(text, rangeStart, rangeEnd, foundBreaks); in findBreaks()
133 int32_t candidates( UText *text, DictionaryMatcher *dict, int32_t rangeEnd );
154 int32_t PossibleWord::candidates( UText *text, DictionaryMatcher *dict, int32_t rangeEnd ) { in candidates() argument
159 …count = dict->matches(text, rangeEnd-start, UPRV_LENGTHOF(cuLengths), cuLengths, cpLengths, NULL, … in candidates()
248 int32_t rangeEnd, in divideUpDictionaryRange() argument
252 if (utext_getNativeIndex(text) >= rangeEnd) { in divideUpDictionaryRange()
267 while (U_SUCCESS(status) && (current = (int32_t)utext_getNativeIndex(text)) < rangeEnd) { in divideUpDictionaryRange()
272 … int32_t candidates = words[wordsFound%THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd); in divideUpDictionaryRange()
283 if ((int32_t)utext_getNativeIndex(text) >= rangeEnd) { in divideUpDictionaryRange()
288 … if (words[(wordsFound + 1) % THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
296 if ((int32_t)utext_getNativeIndex(text) >= rangeEnd) { in divideUpDictionaryRange()
303 … if (words[(wordsFound + 2) % THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd)) { in divideUpDictionaryRange()
326 …if ((int32_t)utext_getNativeIndex(text) < rangeEnd && cpWordLength < THAI_ROOT_COMBINE_THRESHOLD)… in divideUpDictionaryRange()
330 if (words[wordsFound % THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd) <= 0 in divideUpDictionaryRange()
334 int32_t remaining = rangeEnd - (current+cuWordLength); in divideUpDictionaryRange()
353 …32_t candidates = words[(wordsFound + 1) % THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd); in divideUpDictionaryRange()
377 …while ((currPos = (int32_t)utext_getNativeIndex(text)) < rangeEnd && fMarkSet.contains(utext_curre… in divideUpDictionaryRange()
386 if ((int32_t)utext_getNativeIndex(text) < rangeEnd && cuWordLength > 0) { in divideUpDictionaryRange()
387 if (words[wordsFound%THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd) <= 0 in divideUpDictionaryRange()
429 if (foundBreaks.peeki() >= rangeEnd) { in divideUpDictionaryRange()
487 int32_t rangeEnd, in divideUpDictionaryRange() argument
489 if ((rangeEnd - rangeStart) < LAO_MIN_WORD_SPAN) { in divideUpDictionaryRange()
502 while (U_SUCCESS(status) && (current = (int32_t)utext_getNativeIndex(text)) < rangeEnd) { in divideUpDictionaryRange()
507 … int32_t candidates = words[wordsFound%LAO_LOOKAHEAD].candidates(text, fDictionary, rangeEnd); in divideUpDictionaryRange()
518 if (utext_getNativeIndex(text) >= rangeEnd) { in divideUpDictionaryRange()
523 … if (words[(wordsFound + 1) % LAO_LOOKAHEAD].candidates(text, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
531 if ((int32_t)utext_getNativeIndex(text) >= rangeEnd) { in divideUpDictionaryRange()
538 … if (words[(wordsFound + 2) % LAO_LOOKAHEAD].candidates(text, fDictionary, rangeEnd)) { in divideUpDictionaryRange()
558 … if ((int32_t)utext_getNativeIndex(text) < rangeEnd && cpWordLength < LAO_ROOT_COMBINE_THRESHOLD) { in divideUpDictionaryRange()
562 if (words[wordsFound % LAO_LOOKAHEAD].candidates(text, fDictionary, rangeEnd) <= 0 in divideUpDictionaryRange()
566 int32_t remaining = rangeEnd - (current + cuWordLength); in divideUpDictionaryRange()
583 …t32_t candidates = words[(wordsFound + 1) % LAO_LOOKAHEAD].candidates(text, fDictionary, rangeEnd); in divideUpDictionaryRange()
607 …while ((currPos = (int32_t)utext_getNativeIndex(text)) < rangeEnd && fMarkSet.contains(utext_curre… in divideUpDictionaryRange()
625 if (foundBreaks.peeki() >= rangeEnd) { in divideUpDictionaryRange()
680 int32_t rangeEnd, in divideUpDictionaryRange() argument
682 if ((rangeEnd - rangeStart) < BURMESE_MIN_WORD_SPAN) { in divideUpDictionaryRange()
695 while (U_SUCCESS(status) && (current = (int32_t)utext_getNativeIndex(text)) < rangeEnd) { in divideUpDictionaryRange()
700 … int32_t candidates = words[wordsFound%BURMESE_LOOKAHEAD].candidates(text, fDictionary, rangeEnd); in divideUpDictionaryRange()
711 if (utext_getNativeIndex(text) >= rangeEnd) { in divideUpDictionaryRange()
716 … if (words[(wordsFound + 1) % BURMESE_LOOKAHEAD].candidates(text, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
724 if ((int32_t)utext_getNativeIndex(text) >= rangeEnd) { in divideUpDictionaryRange()
731 … if (words[(wordsFound + 2) % BURMESE_LOOKAHEAD].candidates(text, fDictionary, rangeEnd)) { in divideUpDictionaryRange()
751 …if ((int32_t)utext_getNativeIndex(text) < rangeEnd && cpWordLength < BURMESE_ROOT_COMBINE_THRESHOL… in divideUpDictionaryRange()
755 if (words[wordsFound % BURMESE_LOOKAHEAD].candidates(text, fDictionary, rangeEnd) <= 0 in divideUpDictionaryRange()
759 int32_t remaining = rangeEnd - (current + cuWordLength); in divideUpDictionaryRange()
776 …t candidates = words[(wordsFound + 1) % BURMESE_LOOKAHEAD].candidates(text, fDictionary, rangeEnd); in divideUpDictionaryRange()
800 …while ((currPos = (int32_t)utext_getNativeIndex(text)) < rangeEnd && fMarkSet.contains(utext_curre… in divideUpDictionaryRange()
818 if (foundBreaks.peeki() >= rangeEnd) { in divideUpDictionaryRange()
885 int32_t rangeEnd, in divideUpDictionaryRange() argument
887 if ((rangeEnd - rangeStart) < KHMER_MIN_WORD_SPAN) { in divideUpDictionaryRange()
900 while (U_SUCCESS(status) && (current = (int32_t)utext_getNativeIndex(text)) < rangeEnd) { in divideUpDictionaryRange()
905 … int32_t candidates = words[wordsFound%KHMER_LOOKAHEAD].candidates(text, fDictionary, rangeEnd); in divideUpDictionaryRange()
917 if ((int32_t)utext_getNativeIndex(text) >= rangeEnd) { in divideUpDictionaryRange()
922 … if (words[(wordsFound + 1) % KHMER_LOOKAHEAD].candidates(text, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
930 if ((int32_t)utext_getNativeIndex(text) >= rangeEnd) { in divideUpDictionaryRange()
937 … if (words[(wordsFound + 2) % KHMER_LOOKAHEAD].candidates(text, fDictionary, rangeEnd)) { in divideUpDictionaryRange()
957 …if ((int32_t)utext_getNativeIndex(text) < rangeEnd && cpWordLength < KHMER_ROOT_COMBINE_THRESHOLD)… in divideUpDictionaryRange()
961 if (words[wordsFound % KHMER_LOOKAHEAD].candidates(text, fDictionary, rangeEnd) <= 0 in divideUpDictionaryRange()
965 int32_t remaining = rangeEnd - (current+cuWordLength); in divideUpDictionaryRange()
981 …2_t candidates = words[(wordsFound + 1) % KHMER_LOOKAHEAD].candidates(text, fDictionary, rangeEnd); in divideUpDictionaryRange()
1005 …while ((currPos = (int32_t)utext_getNativeIndex(text)) < rangeEnd && fMarkSet.contains(utext_curre… in divideUpDictionaryRange()
1055 if (foundBreaks.peeki() >= rangeEnd) { in divideUpDictionaryRange()
1135 int32_t rangeEnd, in divideUpDictionaryRange() argument
1137 if (rangeStart >= rangeEnd) { in divideUpDictionaryRange()
1154 inText->chunkNativeLimit >= rangeEnd && in divideUpDictionaryRange()
1155 inText->nativeIndexingLimit >= rangeEnd - inText->chunkNativeStart) { in divideUpDictionaryRange()
1161 rangeEnd - rangeStart); in divideUpDictionaryRange()
1166 int32_t limit = rangeEnd; in divideUpDictionaryRange()