Lines Matching defs:lengths
106 // list of word candidate lengths, in increasing length order
107 int32_t lengths[POSSIBLE_WORD_LIST_MAX];
150 prefix = dict->matches(text, rangeEnd-start, lengths, count, sizeof(lengths)/sizeof(lengths[0]));
157 utext_setNativeIndex(text, start+lengths[count-1]);
166 utext_setNativeIndex(text, offset + lengths[mark]);
167 return lengths[mark];
173 utext_setNativeIndex(text, offset + lengths[--current]);
1045 AutoBuffer<int32_t, maxWordSize> lengths(numChars);
1059 fDictionary->matches(&normalizedText, maxSearchLength, lengths.elems(), count, maxSearchLength, values.elems());
1066 if((count == 0 || lengths[0] != 1) &&
1069 lengths[count++] = 1;
1074 if (newSnlp < bestSnlp[lengths[j] + i]) {
1075 bestSnlp[lengths[j] + i] = newSnlp;
1076 prev[lengths[j] + i] = i;