Lines Matching defs:wordLength
253 int32_t wordLength;
262 wordLength = 0;
269 wordLength = words[wordsFound%THAI_LOOKAHEAD].acceptMarked(text);
306 wordLength = words[wordsFound%THAI_LOOKAHEAD].acceptMarked(text);
315 if ((int32_t)utext_getNativeIndex(text) < rangeEnd && wordLength < THAI_ROOT_COMBINE_THRESHOLD) {
320 && (wordLength == 0
324 int32_t remaining = rangeEnd - (current+wordLength);
343 utext_setNativeIndex(text, current+wordLength+chars);
352 if (wordLength <= 0) {
357 wordLength += chars;
361 utext_setNativeIndex(text, current+wordLength);
369 wordLength += (int32_t)utext_getNativeIndex(text) - currPos;
376 if ((int32_t)utext_getNativeIndex(text) < rangeEnd && wordLength > 0) {
384 wordLength += 1; // Add PAIYANNOI to word
397 wordLength += 1; // Add MAIYAMOK to word
406 utext_setNativeIndex(text, current+wordLength);
411 if (wordLength > 0) {
412 foundBreaks.push((current+wordLength), status);