/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);
|
/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) {
|
/external/icu/icu4c/source/common/ |
dictionarydata.cpp | 51 int32_t wordCount = 0; 59 if (wordCount < limit) { 61 values[wordCount] = uct.getValue(); 64 lengths[wordCount] = lengthMatched; 67 cpLengths[wordCount] = codePointsMatched; 69 ++wordCount; 86 return wordCount; 118 int32_t wordCount = 0; 126 if (wordCount < limit) { 128 values[wordCount] = bt.getValue() [all...] |
/frameworks/support/work/integration-tests/testapp/src/main/java/androidx/work/integration/testapp/db/ |
WordCountDao.java | 26 * The Data Access Object for {@link WordCount}. 32 * Inserts a {@link WordCount} into the database. 34 * @param wordCount The {@link WordCount} to insert 37 void insertWordCount(WordCount wordCount); 40 * Gets all {@link WordCount}s in the database. 42 * @return A {@link LiveData} list of all {@link WordCount}s in the database 44 @Query("SELECT * FROM wordcount") 45 LiveData<List<WordCount>> getWordCounts() [all...] |
/prebuilts/jdk/jdk8/darwin-x86/sample/lambda/BulkDataOperations/src/ |
WC.java | 180 private long wordCount; 191 wordCount += nonWordPattern.splitAsStream(line) 200 wordCount += stat.wordCount; 211 sb.append("Word count = ").append(wordCount).append('\n');
|
/prebuilts/jdk/jdk8/linux-x86/sample/lambda/BulkDataOperations/src/ |
WC.java | 180 private long wordCount; 191 wordCount += nonWordPattern.splitAsStream(line) 200 wordCount += stat.wordCount; 211 sb.append("Word count = ").append(wordCount).append('\n');
|
/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);
|
Form45cc.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 | 96 return (wordCount(regs) >= 0); 150 private static int wordCount(RegisterSpecList regs) { 187 int wordCount = wordCount(orig); 190 if (wordCount == sz) { 194 RegisterSpecList result = new RegisterSpecList(wordCount);
|
Form45cc.java | 102 return (wordCount(regs) >= 0); 160 private static int wordCount(RegisterSpecList regs) { 197 int wordCount = wordCount(orig); 200 if (wordCount == sz) { 204 RegisterSpecList result = new RegisterSpecList(wordCount);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
DictionaryStats.java | 53 final int wordCount) { 56 mDictFileSize = wordCount; 59 mWordCount = wordCount;
|
/frameworks/rs/rsov/compiler/spirit/ |
core_defs.h | 64 OpCodeAndWordCount(uint32_t opcode, uint32_t wordCount) 65 : mOpCode((uint16_t)opcode), mWordCount((uint16_t)wordCount) {}
|
/external/icu/icu4c/source/test/intltest/ |
thcoll.cpp | 100 int32_t wordCount = 0; 104 ++wordCount; 105 if (wordCount <= 8) { 107 logln((UnicodeString)"Word " + wordCount + ": " + IntlTest::prettify(word, str)); 119 logln((UnicodeString)"Words checked: " + wordCount); 147 int32_t wordCount = 0; 151 ++wordCount; 152 if (wordCount <= 8) { 154 logln((UnicodeString)"Word " + wordCount + ": " + IntlTest::prettify(word, str)); 199 logln((UnicodeString)"Words checked: " + wordCount); [all...] |
/prebuilts/ndk/r16/sources/third_party/shaderc/third_party/spirv-tools/source/ |
opcode.cpp | 67 uint32_t spvOpcodeMake(uint16_t wordCount, SpvOp opcode) { 68 return ((uint32_t)opcode) | (((uint32_t)wordCount) << 16); 157 const uint16_t wordCount, const spv_endianness_t endian, 160 pInst->words.resize(wordCount); 161 for (uint16_t wordIndex = 0; wordIndex < wordCount; ++wordIndex) { 168 wordCount == thisWordCount && "Endianness failed!");
|
validate.cpp | 233 return spvValidateBinary(context, binary->code, binary->wordCount, 321 instructions.reserve(binary->wordCount / 2); 323 while (index < binary->wordCount) { 324 uint16_t wordCount; 326 spvOpcodeSplit(spvFixWord(binary->code[index], endian), &wordCount, 330 wordCount, endian, &inst); 332 index += wordCount; 378 hijack_context, binary->code, binary->wordCount, pDiagnostic, &vstate);
|
name_mapper.h | 65 // wordCount, and should be parseable in the specified context. 67 const size_t wordCount);
|
spirv_endian.cpp | 51 if (!binary->code || !binary->wordCount) return SPV_ERROR_INVALID_BINARY;
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
CollationThaiTest.java | 140 int wordCount = 0; 162 ++wordCount; 163 if (wordCount <= 8) { 164 logln("Word " + wordCount + ": " + word); 214 logln("Words checked: " + wordCount);
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
CollationThaiTest.java | 137 int wordCount = 0; 159 ++wordCount; 160 if (wordCount <= 8) { 161 logln("Word " + wordCount + ": " + word); 211 logln("Words checked: " + wordCount);
|
/external/deqp/external/vulkancts/framework/vulkan/ |
vkSpirVAsm.cpp | 80 DE_ASSERT(binary->wordCount > 0); 81 dst->resize(binary->wordCount); 82 std::copy(&binary->code[0], &binary->code[0] + binary->wordCount, dst->begin());
|
/frameworks/base/apct-tests/perftests/core/src/android/text/ |
DynamicLayoutPerfTest.java | 92 final int wordCount = 5 + r.nextInt(20); 94 final int replacedWordIndex = containsReplacementSpan ? r.nextInt(wordCount) : -1; 95 for (int j = 0; j < wordCount; j++) {
|
/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);
|
/system/bt/embdrv/sbc/decoder/srce/ |
framing.c | 263 OI_UINT wordCount) { 265 memmove(dest, src, wordCount * sizeof(SBC_BUFFER_T)); 267 OI_ASSERT(((OI_CHAR*)(dest) - (OI_CHAR*)(src)) >= wordCount * sizeof(*dest)); 268 memcpy(dest, src, wordCount * sizeof(SBC_BUFFER_T)); 273 n = wordCount / 4 / (sizeof(int32_t) / sizeof(*dest)); 274 OI_ASSERT((n * 4 * (sizeof(int32_t) / sizeof(*dest))) == wordCount); 276 d = (void*)(dest + wordCount); 277 s = (void*)(src + wordCount);
|
/frameworks/base/core/java/android/webkit/ |
FindAddress.java | 370 int wordCount = 1; 394 if (++wordCount > MAX_ADDRESS_WORDS) break; 414 if (wordCount == MAX_LOCATION_NAME_DISTANCE && !foundLocationName) { 420 if (foundLocationName && wordCount > MIN_ADDRESS_WORDS) {
|
/prebuilts/ndk/r16/sources/third_party/shaderc/third_party/glslang/SPIRV/ |
SPVRemapper.cpp | 466 const unsigned wordCount = asWordCount(instructionStart); 467 const int nextInst = word++ + wordCount; 474 unsigned numOperands = wordCount - 1; 837 const int wordCount = asWordCount(start); 866 if (wordCount > 4 && (spv[start+4] & spv::MemoryAccessVolatileMask)) { [all...] |