Lines Matching full:short
51 int Dictionary::getSuggestions(int *codes, int codesSize, unsigned short *outWords, int *frequencies,
88 Dictionary::registerNextLetter(unsigned short c)
95 unsigned short
98 unsigned short ch = (unsigned short) (mDict[(*pos)++] & 0xFF);
123 Dictionary::wideStrLen(unsigned short *str)
126 unsigned short *end = str;
133 Dictionary::addWord(unsigned short *word, int length, int frequency)
157 memmove((char*) mOutputChars + (insertAt + 1) * mMaxWordLength * sizeof(short),
158 (char*) mOutputChars + (insertAt ) * mMaxWordLength * sizeof(short),
159 (mMaxWords - insertAt - 1) * sizeof(short) * mMaxWordLength);
160 unsigned short *dest = mOutputChars + (insertAt ) * mMaxWordLength;
171 unsigned short
172 Dictionary::toLowerCase(unsigned short c) {
185 Dictionary::sameAsTyped(unsigned short *word, int length)
223 unsigned short c = getChar(&pos);
224 unsigned short lowerC = toLowerCase(c);
281 Dictionary::isValidWord(unsigned short *word, int length)
287 Dictionary::isValidWordRec(int pos, unsigned short *word, int offset, int length) {
289 unsigned short currentChar = (unsigned short) word[offset];
291 unsigned short c = getChar(&pos);