Lines Matching refs:wordsFound
258 uint32_t wordsFound = 0;
272 int32_t candidates = words[wordsFound%THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd);
276 cuWordLength = words[wordsFound % THAI_LOOKAHEAD].acceptMarked(text);
277 cpWordLength = words[wordsFound % THAI_LOOKAHEAD].markedCPLength();
278 wordsFound += 1;
288 if (words[(wordsFound + 1) % THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd) > 0) {
291 words[wordsFound%THAI_LOOKAHEAD].markCurrent();
303 if (words[(wordsFound + 2) % THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd)) {
304 words[wordsFound % THAI_LOOKAHEAD].markCurrent();
308 while (words[(wordsFound + 1) % THAI_LOOKAHEAD].backUp(text));
311 while (words[wordsFound % THAI_LOOKAHEAD].backUp(text));
314 cuWordLength = words[wordsFound % THAI_LOOKAHEAD].acceptMarked(text);
315 cpWordLength = words[wordsFound % THAI_LOOKAHEAD].markedCPLength();
316 wordsFound += 1;
330 if (words[wordsFound % THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd) <= 0
332 || words[wordsFound%THAI_LOOKAHEAD].longestPrefix() < THAI_PREFIX_COMBINE_THRESHOLD)) {
353 int32_t candidates = words[(wordsFound + 1) % THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd);
363 wordsFound += 1;
387 if (words[wordsFound%THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd) <= 0
431 wordsFound -= 1;
434 return wordsFound;
493 uint32_t wordsFound = 0;
507 int32_t candidates = words[wordsFound%LAO_LOOKAHEAD].candidates(text, fDictionary, rangeEnd);
511 cuWordLength = words[wordsFound % LAO_LOOKAHEAD].acceptMarked(text);
512 cpWordLength = words[wordsFound % LAO_LOOKAHEAD].markedCPLength();
513 wordsFound += 1;
523 if (words[(wordsFound + 1) % LAO_LOOKAHEAD].candidates(text, fDictionary, rangeEnd) > 0) {
526 words[wordsFound%LAO_LOOKAHEAD].markCurrent();
538 if (words[(wordsFound + 2) % LAO_LOOKAHEAD].candidates(text, fDictionary, rangeEnd)) {
539 words[wordsFound % LAO_LOOKAHEAD].markCurrent();
543 while (words[(wordsFound + 1) % LAO_LOOKAHEAD].backUp(text));
546 while (words[wordsFound % LAO_LOOKAHEAD].backUp(text));
548 cuWordLength = words[wordsFound % LAO_LOOKAHEAD].acceptMarked(text);
549 cpWordLength = words[wordsFound % LAO_LOOKAHEAD].markedCPLength();
550 wordsFound += 1;
562 if (words[wordsFound % LAO_LOOKAHEAD].candidates(text, fDictionary, rangeEnd) <= 0
564 || words[wordsFound%LAO_LOOKAHEAD].longestPrefix() < LAO_PREFIX_COMBINE_THRESHOLD)) {
583 int32_t candidates = words[(wordsFound + 1) % LAO_LOOKAHEAD].candidates(text, fDictionary, rangeEnd);
593 wordsFound += 1;
627 wordsFound -= 1;
630 return wordsFound;
686 uint32_t wordsFound = 0;
700 int32_t candidates = words[wordsFound%BURMESE_LOOKAHEAD].candidates(text, fDictionary, rangeEnd);
704 cuWordLength = words[wordsFound % BURMESE_LOOKAHEAD].acceptMarked(text);
705 cpWordLength = words[wordsFound % BURMESE_LOOKAHEAD].markedCPLength();
706 wordsFound += 1;
716 if (words[(wordsFound + 1) % BURMESE_LOOKAHEAD].candidates(text, fDictionary, rangeEnd) > 0) {
719 words[wordsFound%BURMESE_LOOKAHEAD].markCurrent();
731 if (words[(wordsFound + 2) % BURMESE_LOOKAHEAD].candidates(text, fDictionary, rangeEnd)) {
732 words[wordsFound % BURMESE_LOOKAHEAD].markCurrent();
736 while (words[(wordsFound + 1) % BURMESE_LOOKAHEAD].backUp(text));
739 while (words[wordsFound % BURMESE_LOOKAHEAD].backUp(text));
741 cuWordLength = words[wordsFound % BURMESE_LOOKAHEAD].acceptMarked(text);
742 cpWordLength = words[wordsFound % BURMESE_LOOKAHEAD].markedCPLength();
743 wordsFound += 1;
755 if (words[wordsFound % BURMESE_LOOKAHEAD].candidates(text, fDictionary, rangeEnd) <= 0
757 || words[wordsFound%BURMESE_LOOKAHEAD].longestPrefix() < BURMESE_PREFIX_COMBINE_THRESHOLD)) {
776 int32_t candidates = words[(wordsFound + 1) % BURMESE_LOOKAHEAD].candidates(text, fDictionary, rangeEnd);
786 wordsFound += 1;
820 wordsFound -= 1;
823 return wordsFound;
891 uint32_t wordsFound = 0;
905 int32_t candidates = words[wordsFound%KHMER_LOOKAHEAD].candidates(text, fDictionary, rangeEnd);
909 cuWordLength = words[wordsFound % KHMER_LOOKAHEAD].acceptMarked(text);
910 cpWordLength = words[wordsFound % KHMER_LOOKAHEAD].markedCPLength();
911 wordsFound += 1;
922 if (words[(wordsFound + 1) % KHMER_LOOKAHEAD].candidates(text, fDictionary, rangeEnd) > 0) {
925 words[wordsFound % KHMER_LOOKAHEAD].markCurrent();
937 if (words[(wordsFound + 2) % KHMER_LOOKAHEAD].candidates(text, fDictionary, rangeEnd)) {
938 words[wordsFound % KHMER_LOOKAHEAD].markCurrent();
942 while (words[(wordsFound + 1) % KHMER_LOOKAHEAD].backUp(text));
945 while (words[wordsFound % KHMER_LOOKAHEAD].backUp(text));
947 cuWordLength = words[wordsFound % KHMER_LOOKAHEAD].acceptMarked(text);
948 cpWordLength = words[wordsFound % KHMER_LOOKAHEAD].markedCPLength();
949 wordsFound += 1;
961 if (words[wordsFound % KHMER_LOOKAHEAD].candidates(text, fDictionary, rangeEnd) <= 0
963 || words[wordsFound % KHMER_LOOKAHEAD].longestPrefix() < KHMER_PREFIX_COMBINE_THRESHOLD)) {
981 int32_t candidates = words[(wordsFound + 1) % KHMER_LOOKAHEAD].candidates(text, fDictionary, rangeEnd);
991 wordsFound += 1;
1015 // if (words[wordsFound%KHMER_LOOKAHEAD].candidates(text, fDictionary, rangeEnd) <= 0
1057 wordsFound -= 1;
1060 return wordsFound;