HomeSort by relevance Sort by last modified time
    Searched defs:wordLength (Results 1 - 11 of 11) sorted by null

  /external/webkit/Source/WebCore/platform/text/android/
HyphenationAndroid.cpp 78 size_t wordLength = 0;
88 if (isASCIISpace(ch) && !wordLength)
92 word[wordLength++] = ch;
94 if (wordLength < minWordLen)
98 const int leadingSpacesCount = length - wordLength;
100 if (!hnj_hyphen_hyphenate(dict, word, wordLength, hyphens)) {
  /external/webkit/Tools/DumpRenderTree/chromium/
MockSpellCheck.cpp 78 int wordLength = wordEnd == -1 ? stringText.length() - wordOffset : wordEnd - wordOffset;
85 WTF::String word = stringText.substring(wordOffset, wordLength);
90 *misspelledLength = wordLength;
  /external/webkit/Source/WebKit/gtk/WebCoreSupport/
TextCheckerClientEnchant.cpp 96 int wordLength;
101 wordLength = end - start;
110 g_utf8_strncpy(word.get(), cstart, wordLength);
114 if (enchant_dict_check(dict, word.get(), wordLength)) {
116 *misspellingLength = wordLength;
  /external/webkit/Tools/DumpRenderTree/win/
EditingDelegate.cpp 365 static int wordLength(const TCHAR* text)
414 wstring word = textString.substr(wordStart, wordLength(textString.c_str() + wordStart));
  /external/icu4c/common/
dictbe.cpp 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
    [all...]
  /packages/inputmethods/LatinIME/native/jni/src/
words_priority_queue.h 38 void setParams(int score, unsigned short *word, int wordLength, int type) {
40 mWordLength = wordLength;
41 memcpy(mWord, word, sizeof(unsigned short) * wordLength);
60 void push(int score, unsigned short *word, int wordLength, int type) {
73 sw = getFreeSuggestedWord(score, word, wordLength, type);
75 sw->setParams(score, word, wordLength, type);
82 AKLOGI("Push word. %d, %d", score, wordLength);
83 DUMP_WORD(word, wordLength);
141 const unsigned int wordLength = sw->mWordLength;
145 memcpy(targetAddress, sw->mWord, wordLength * sizeof(unsigned short))
    [all...]
correction.cpp 170 int Correction::getFinalProbability(const int probability, unsigned short **word, int *wordLength) {
171 return getFinalProbabilityInternal(probability, word, wordLength, mInputSize);
175 int *wordLength, const int inputSize) {
176 return getFinalProbabilityInternal(probability, word, wordLength, inputSize);
180 int *wordLength, const int inputSize) {
183 *wordLength = outputIndex + 1;
    [all...]
unigram_dictionary.cpp 292 const int wordLength = sw->mWordLength;
294 correction->getPrimaryInputWord(), i, word, wordLength, score);
299 DUMP_WORD(word, wordLength);
384 int wordLength;
390 correction->getFinalProbability(probability, &wordPointer, &wordLength);
397 addWord(wordPointer, wordLength, finalProbability, masterQueue,
441 probability, &wordPointer, &wordLength, inputIndex);
442 addWord(wordPointer, wordLength, finalProbability, subQueue, Dictionary::KIND_CORRECTION);
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
ExpandableDictionary.java 207 final int wordLength = word.length();
208 if (wordLength <= depth) return;
228 if (wordLength == depth + 1 && shortcutTarget != null) {
576 final int wordLength = word.length();
594 if (wordLength == depth + 1) {
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
AndroidContentAssist.java 678 int wordLength = word.length();
679 if (wordLength < prefixLength) {
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
com.ibm.icu_4.2.1.v20100412.jar 

Completed in 538 milliseconds