Lines Matching defs:lengths
103 // list of word candidate lengths, in increasing length order
104 int32_t lengths[POSSIBLE_WORD_LIST_MAX];
147 prefix = dict->matches(text, rangeEnd-start, lengths, count, sizeof(lengths)/sizeof(lengths[0]));
154 utext_setNativeIndex(text, start+lengths[count-1]);
163 utext_setNativeIndex(text, offset + lengths[mark]);
164 return lengths[mark];
170 utext_setNativeIndex(text, offset + lengths[--current]);
1042 AutoBuffer<int32_t, maxWordSize> lengths(numChars);
1056 fDictionary->matches(&normalizedText, maxSearchLength, lengths.elems(), count, maxSearchLength, values.elems());
1063 if((count == 0 || lengths[0] != 1) &&
1066 lengths[count++] = 1;
1071 if (newSnlp < bestSnlp[lengths[j] + i]) {
1072 bestSnlp[lengths[j] + i] = newSnlp;
1073 prev[lengths[j] + i] = i;