/packages/inputmethods/LatinIME/native/jni/src/utils/ |
ngram_utils.h | 49 static AK_FORCE_INLINE NgramType getNgramTypeFromWordCount(const int wordCount) { 51 if (wordCount <= 0 || wordCount > MAX_PREV_WORD_COUNT_FOR_N_GRAM + 1) { 55 return static_cast<NgramType>(wordCount - 1);
|
/external/icu/icu4c/source/common/ |
dictionarydata.cpp | 49 int32_t wordCount = 0; 57 if (wordCount < limit) { 59 values[wordCount] = uct.getValue(); 62 lengths[wordCount] = lengthMatched; 65 cpLengths[wordCount] = codePointsMatched; 67 ++wordCount; 84 return wordCount; 116 int32_t wordCount = 0; 124 if (wordCount < limit) { 126 values[wordCount] = bt.getValue() [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
LatinImeStressTests.java | 37 final int wordCount = random.nextInt(maxWordCountToTypeInEachIteration); 38 for (int j = 0; j < wordCount; ++j) { 55 final int wordCount = random.nextInt(maxWordCountToTypeInEachIteration); 56 for (int j = 0; j < wordCount; ++j) {
|
BinaryDictionaryTests.java | 240 final int wordCount = 1000; 249 for (int i = 0; i < wordCount; ++i) { 315 final int wordCount = 100; 328 for (int i = 0; i < wordCount; ++i) { 337 final String word0 = words.get(random.nextInt(wordCount)); 338 final String word1 = words.get(random.nextInt(wordCount)); 451 final int wordCount = 100; 466 for (int i = 0; i < wordCount; ++i) { 475 final String word0 = words.get(random.nextInt(wordCount)); 476 final String word1 = words.get(random.nextInt(wordCount)); [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
DictionaryStats.java | 53 final int wordCount) { 56 mDictFileSize = wordCount; 59 mWordCount = wordCount;
|
/dalvik/dexgen/src/com/android/dexgen/dex/code/form/ |
Form35c.java | 93 return (wordCount(regs) >= 0); 131 private static int wordCount(RegisterSpecList regs) { 168 int wordCount = wordCount(orig); 171 if (wordCount == sz) { 175 RegisterSpecList result = new RegisterSpecList(wordCount);
|
/dalvik/dx/src/com/android/dx/dex/code/form/ |
Form35c.java | 94 return (wordCount(regs) >= 0); 148 private static int wordCount(RegisterSpecList regs) { 185 int wordCount = wordCount(orig); 188 if (wordCount == sz) { 192 RegisterSpecList result = new RegisterSpecList(wordCount);
|
/external/dexmaker/src/dx/java/com/android/dx/dex/code/form/ |
Form35c.java | 95 return (wordCount(regs) >= 0); 149 private static int wordCount(RegisterSpecList regs) { 186 int wordCount = wordCount(orig); 189 if (wordCount == sz) { 193 RegisterSpecList result = new RegisterSpecList(wordCount);
|
/libcore/ojluni/src/main/java/sun/misc/ |
FDBigInt.java | 101 int wordcount = c>>5; local 106 if ( nWords+wordcount+1 > t.length ){ 108 t = new int[ nWords+wordcount+1 ]; 110 int target = nWords+wordcount; 114 System.arraycopy( s, 0, t, wordcount, nWords ); 115 target = wordcount-1; 127 nWords += wordcount + 1; 148 int wordcount = 0; local 152 wordcount += 1; 159 * In most cases, we assume that wordcount is zero. This onl [all...] |
/external/icu/icu4c/source/test/intltest/ |
thcoll.cpp | 97 int32_t wordCount = 0; 101 ++wordCount; 102 if (wordCount <= 8) { 104 logln((UnicodeString)"Word " + wordCount + ": " + IntlTest::prettify(word, str)); 116 logln((UnicodeString)"Words checked: " + wordCount); 144 int32_t wordCount = 0; 148 ++wordCount; 149 if (wordCount <= 8) { 151 logln((UnicodeString)"Word " + wordCount + ": " + IntlTest::prettify(word, str)); 196 logln((UnicodeString)"Words checked: " + wordCount); [all...] |
/prebuilts/go/darwin-x86/src/bufio/ |
scan_test.go | 113 var wordCount int 114 for wordCount = 0; wordCount < len(words); wordCount++ { 119 if got != words[wordCount] { 120 t.Errorf("#%d: %d: expected %q got %q", n, wordCount, words[wordCount], got) 126 if wordCount != len(words) { 127 t.Errorf("#%d: termination expected at %d; got %d", n, len(words), wordCount)
|
/prebuilts/go/linux-x86/src/bufio/ |
scan_test.go | 113 var wordCount int 114 for wordCount = 0; wordCount < len(words); wordCount++ { 119 if got != words[wordCount] { 120 t.Errorf("#%d: %d: expected %q got %q", n, wordCount, words[wordCount], got) 126 if wordCount != len(words) { 127 t.Errorf("#%d: termination expected at %d; got %d", n, len(words), wordCount)
|
/system/bt/embdrv/sbc/decoder/srce/ |
framing.c | 225 PRIVATE void shift_buffer(SBC_BUFFER_T *dest, SBC_BUFFER_T *src, OI_UINT wordCount) 228 memmove(dest, src, wordCount * sizeof(SBC_BUFFER_T)); 230 OI_ASSERT(((OI_CHAR *)(dest) - (OI_CHAR *)(src)) >= wordCount*sizeof(*dest)); 231 memcpy(dest, src, wordCount * sizeof(SBC_BUFFER_T)); 236 n = wordCount / 4 / (sizeof(OI_INT32)/sizeof(*dest)); 237 OI_ASSERT((n * 4 * (sizeof(OI_INT32)/sizeof(*dest))) == wordCount); 239 d = (void*)(dest + wordCount); 240 s = (void*)(src + wordCount);
|
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
Info.java | 42 int wordCount = 0; 47 ++wordCount; 61 System.out.println("Words in the dictionary : " + wordCount);
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
CandidateTextView.java | 91 * @param wordCount candidate id 96 public CandidateTextView setCandidateTextView(WnnWord word, int wordCount, 101 setId(wordCount);
|
TextCandidates1LineViewManager.java | 165 int wordcount = text.getId(); 166 WnnWord word = getWnnWord(wordcount); 186 int wordcount = ((TextView)v).getId(); 187 mWord = mWnnWordArray.get(wordcount);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
CollationThaiTest.java | 136 int wordCount = 0; 158 ++wordCount; 159 if (wordCount <= 8) { 160 logln("Word " + wordCount + ": " + word); 210 logln("Words checked: " + wordCount);
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
CollationThaiTest.java | 132 int wordCount = 0; 154 ++wordCount; 155 if (wordCount <= 8) { 156 logln("Word " + wordCount + ": " + word); 206 logln("Words checked: " + wordCount);
|
/external/deqp/external/vulkancts/framework/vulkan/ |
vkSpirVAsm.cpp | 62 dst->resize(binary->wordCount); 63 std::copy(&binary->code[0], &binary->code[0] + binary->wordCount, dst->begin());
|
/external/icu/icu4c/source/tools/gendict/ |
gendict.cpp | 334 int wordCount = 0; 373 wordCount++; 379 wordCount++; 390 if (verbose) { printf("Processed %d lines, added %d words, minlen %d, maxlen %d\n", lineCount, wordCount, minlen, maxlen); }
|
/external/deqp/modules/gles31/functional/ |
es31fMultisampleTests.cpp | 510 const int wordCount = getEffectiveSampleMaskWordCount(m_numSamples - 1); 514 for (int wordNdx = 0; wordNdx < wordCount; ++wordNdx) 518 const bool isFinalWord = (wordNdx + 1) == wordCount; 820 const int wordCount = getEffectiveSampleMaskWordCount(m_numSamples - 1); 824 for (int wordNdx = 0; wordNdx < wordCount; ++wordNdx) 827 const bool isFinalWord = (wordNdx + 1) == wordCount; [all...] |
/system/bt/embdrv/sbc/decoder/include/ |
oi_codec_sbc_private.h | 183 PRIVATE void shift_buffer(SBC_BUFFER_T *dest, SBC_BUFFER_T *src, OI_UINT wordCount);
|
/frameworks/base/core/java/android/app/ |
LauncherActivity.java | 213 int wordCount = words.length; 215 for (int k = 0; k < wordCount; k++) {
|
/frameworks/base/core/java/android/widget/ |
SimpleAdapter.java | 391 int wordCount = words.length; 393 for (int k = 0; k < wordCount; k++) {
|
SpellChecker.java | 587 int wordCount = 0; 666 if (wordCount >= MAX_NUMBER_OF_WORDS) { 708 wordCount++; [all...] |