HomeSort by relevance Sort by last modified time
    Searched full:wordlength (Results 1 - 17 of 17) sorted by null

  /external/chromium_org/third_party/WebKit/Source/testing/runner/
MockSpellCheck.cpp 89 int wordLength;
98 wordLength = static_cast<int>(m_misspelledWords.at(i).length()) > maxWordLength ? maxWordLength : static_cast<int>(m_misspelledWords.at(i).length());
99 word = stringText.substr(wordOffset, wordLength);
100 if (word == m_misspelledWords.at(i) && (static_cast<int>(stringText.length()) == wordOffset + wordLength || isNotASCIIAlpha(stringText[wordOffset + wordLength]))) {
102 *misspelledLength = wordLength;
112 wordLength = static_cast<int>(stringText.length()) - wordOffset;
114 wordLength = distance(firstChar, lastChar);
116 BLINK_ASSERT(0 < wordOffset + wordLength);
117 stringText = stringText.substr(wordOffset + wordLength);
    [all...]
  /external/icu4c/common/
dictbe.cpp 247 int32_t wordLength;
256 wordLength = 0;
263 wordLength = words[wordsFound % THAI_LOOKAHEAD].acceptMarked(text);
299 wordLength = words[wordsFound % THAI_LOOKAHEAD].acceptMarked(text);
308 if ((int32_t)utext_getNativeIndex(text) < rangeEnd && wordLength < THAI_ROOT_COMBINE_THRESHOLD) {
313 && (wordLength == 0
317 int32_t remaining = rangeEnd - (current+wordLength);
336 utext_setNativeIndex(text, current + wordLength + chars);
345 if (wordLength <= 0) {
350 wordLength += chars
    [all...]
  /external/chromium_org/third_party/icu/source/common/
dictbe.cpp 256 int32_t wordLength;
265 wordLength = 0;
272 wordLength = words[wordsFound%THAI_LOOKAHEAD].acceptMarked(text);
309 wordLength = words[wordsFound%THAI_LOOKAHEAD].acceptMarked(text);
318 if ((int32_t)utext_getNativeIndex(text) < rangeEnd && wordLength < THAI_ROOT_COMBINE_THRESHOLD) {
323 && (wordLength == 0
327 int32_t remaining = rangeEnd - (current+wordLength);
346 utext_setNativeIndex(text, current+wordLength+chars);
355 if (wordLength <= 0) {
360 wordLength += chars
    [all...]
  /packages/inputmethods/LatinIME/native/jni/
com_android_inputmethod_latin_BinaryDictionary.cpp 235 const jsize wordLength = env->GetArrayLength(word);
236 int codePoints[wordLength];
237 env->GetIntArrayRegion(word, 0, wordLength, codePoints);
238 return dictionary->getProbability(codePoints, wordLength);
285 jsize wordLength = env->GetArrayLength(word);
286 int codePoints[wordLength];
287 env->GetIntArrayRegion(word, 0, wordLength, codePoints);
288 dictionary->addUnigramWord(codePoints, wordLength, probability);
  /external/kernel-headers/original/linux/
serial_reg.h 95 #define UART_LCR_WLEN5 0x00 /* Wordlength: 5 bits */
96 #define UART_LCR_WLEN6 0x01 /* Wordlength: 6 bits */
97 #define UART_LCR_WLEN7 0x02 /* Wordlength: 7 bits */
98 #define UART_LCR_WLEN8 0x03 /* Wordlength: 8 bits */
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/
serial_reg.h 97 #define UART_LCR_WLEN5 0x00 /* Wordlength: 5 bits */
98 #define UART_LCR_WLEN6 0x01 /* Wordlength: 6 bits */
99 #define UART_LCR_WLEN7 0x02 /* Wordlength: 7 bits */
100 #define UART_LCR_WLEN8 0x03 /* Wordlength: 8 bits */
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/
serial_reg.h 97 #define UART_LCR_WLEN5 0x00 /* Wordlength: 5 bits */
98 #define UART_LCR_WLEN6 0x01 /* Wordlength: 6 bits */
99 #define UART_LCR_WLEN7 0x02 /* Wordlength: 7 bits */
100 #define UART_LCR_WLEN8 0x03 /* Wordlength: 8 bits */
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/
serial_reg.h 97 #define UART_LCR_WLEN5 0x00 /* Wordlength: 5 bits */
98 #define UART_LCR_WLEN6 0x01 /* Wordlength: 6 bits */
99 #define UART_LCR_WLEN7 0x02 /* Wordlength: 7 bits */
100 #define UART_LCR_WLEN8 0x03 /* Wordlength: 8 bits */
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
AndroidSpellCheckerService.java 264 int wordLength, int score) {
282 // mBestSuggestion = new String(word, wordOffset, wordLength);
293 final String wordString = new String(word, wordOffset, wordLength);
  /external/chromium_org/third_party/WebKit/Source/core/editing/
TextCheckingHelper.cpp 82 int wordLength = wordEnd - wordStart;
85 client.checkSpellingOfString(String(text + start + wordStart, wordLength), &misspellingLocation, &misspellingLength);
87 ASSERT(0 <= misspellingLocation && misspellingLocation <= wordLength);
88 ASSERT(0 < misspellingLength && misspellingLocation + misspellingLength <= wordLength);
SpellChecker.cpp 329 int wordLength = word.length();
334 return misspellingLength == wordLength ? word : String();
    [all...]
  /external/clang/lib/Frontend/
TextDiagnostic.cpp 641 unsigned WordLength = WordEnd - WordStart;
642 if (Column + WordLength < Columns) {
648 applyTemplateHighlighting(OS, Str.substr(WordStart, WordLength),
650 Column += WordLength;
658 applyTemplateHighlighting(OS, Str.substr(WordStart, WordLength),
660 Column = Indentation + WordLength;
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
ExpandableDictionary.java 189 final int wordLength = word.length();
190 if (wordLength <= depth) return;
210 if (wordLength == depth + 1) {
561 final int wordLength = word.length();
579 if (wordLength == depth + 1) {
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
AndroidContentAssist.java     [all...]
  /external/kernel-headers/original/asm-mips/mach-au1x00/
au1000.h     [all...]
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderBlockLineLayout.cpp 497 int wordLength = lastEndOffset - wordMeasurement.startOffset;
498 measuredWidth += renderer->width(wordMeasurement.startOffset, wordLength, xPos, lineInfo.isFirstLine());
499 if (i > 0 && wordLength == 1 && renderer->characterAt(wordMeasurement.startOffset) == ' ')
    [all...]
  /external/chromium_org/third_party/icu/patches/
segmentation.patch 107 +static inline uint32_t getKatakanaCost(int wordLength){
111 + return (wordLength > kMaxKatakanaLength) ? 8192 : katakanaCost[wordLength];
    [all...]

Completed in 1798 milliseconds