/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
BinaryDictIOUtilsTests.java | 140 private int getWordPosition(final File file, final String word) { 146 position = dictDecoder.getTerminalPosition(word); 154 * Find a word using the DictDecoder. 157 * @param word the word searched 163 final String word) throws IOException, UnsupportedFormatException { 164 int position = dictDecoder.getTerminalPosition(word); 174 private PtNodeInfo findWordFromFile(final File file, final String word) { 179 info = findWordByBinaryDictReader(dictDecoder, word); 186 // return amount of time to insert a word [all...] |
/dalvik/vm/alloc/ |
HeapBitmap.cpp | 105 unsigned long word = bitmap->bits[i]; local 106 if (UNLIKELY(word != 0)) { 109 while (word != 0) { 110 const int shift = CLZ(word); 113 word &= ~(highBit >> shift); 140 unsigned long word = bitmap->bits[i]; local 141 if (UNLIKELY(word != 0)) { 145 while (word != 0) { 146 const int shift = CLZ(word); 149 word &= ~(highBit >> shift) [all...] |
/dalvik/vm/compiler/template/mips/ |
footer.S | 103 .word 0xdeadf00d 115 .word dvmAsmInstructionStart 117 .word dvmJitToInterpNoChainNoProfile 119 .word dvmJitToInterpTraceSelectNoChain 121 .word dvmJitToInterpNoChain 123 .word dvmMterpStdBail 125 .word dvmMterpCommonExceptionThrown 127 .word dvmLockObject 130 .word gDvmICHitCount 134 .word dvmSelfVerificationMemOpDecod [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
BinaryDictionaryTests.java | 143 // Test a word that isn't contained within the dictionary. 147 final String word = CodePointUtils.generateWord(random, codePointSet); local 148 probabilityMap.put(word, random.nextInt(0xFF)); 150 for (String word : probabilityMap.keySet()) { 151 binaryDictionary.addUnigramWord(word, probabilityMap.get(word)); 153 for (String word : probabilityMap.keySet()) { 154 assertEquals(word, (int)probabilityMap.get(word), binaryDictionary.getFrequency(word)); 248 final String word = CodePointUtils.generateWord(random, codePointSet); local 445 final String word = CodePointUtils.generateWord(random, codePointSet); local 512 final String word = CodePointUtils.generateWord(random, codePointSet); local 528 final String word = CodePointUtils.generateWord(random, codePointSet); local 564 final String word = words.get(i); local 614 final String word = CodePointUtils.generateWord(random, codePointSet); local 622 final String word = words.get(j); local 659 final String word = CodePointUtils.generateWord(random, codePointSet); local [all...] |
/external/icu4c/test/intltest/ |
thcoll.cpp | 91 // Loop through each word in the dictionary and compare it to the previous 92 // word. They should be in sorted order. 94 UnicodeString lastWord, word; local 97 while (names.readLineSkippingComments(word, ec, FALSE) && U_SUCCESS(ec)) { 103 logln((UnicodeString)"Word " + wordCount + ": " + IntlTest::prettify(word, str)); 107 Collator::EComparisonResult result = coll->compare(lastWord, word); 108 doTest(coll, lastWord, word, result); 110 lastWord = word; 138 // Loop through each word in the dictionary and compare it to the previou 141 UnicodeString lastWord, word; local [all...] |
/external/zlib/src/contrib/gcc_gvmat64/ |
gvmat64.S | 230 //;;; It is then shifted into the high word, to make room for the wmask
289 movzx r12d,word ptr [r9]
290 movzx ebx, word ptr [r9 + r11 - 1]
298 cmp bx,word ptr [rsi + r8 - 1]
306 movzx r8d, word ptr [rdi + r8*2]
318 cmp bx,word ptr [rsi + r8 - 1]
326 movzx r8d, word ptr [rdi + r8*2]
337 cmp bx,word ptr [rsi + r8 - 1]
345 movzx r8d, word ptr [rdi + r8*2]
357 cmp bx,word ptr [rsi + r8 - 1] [all...] |
/external/bison/lib/ |
ebitset.c | 600 of the word of interest. */ 618 bitset_word word; local 620 word = srcp[woffset] << (BITSET_WORD_BITS - 1 - bcount); 622 for (; word; bcount--) 624 if (word & BITSET_MSB) 633 word <<= 1; 664 bitset_word word; local 692 word = srcp[windex - woffset] >> (bitno % BITSET_WORD_BITS); 694 for (; word; bitno++) 696 if (word & 1 [all...] |
/external/srtp/crypto/math/ |
datatypes.c | 339 /* copy each word from left size to right side */ 346 /* set each word to the "or" of the two bit-shifted words */ 426 v->word = NULL; 428 v->word = (uint32_t*)crypto_alloc(l); 429 if (v->word == NULL) { 430 v->word = NULL; 446 if (v->word != NULL) 447 crypto_free(v->word); 448 v->word = NULL; 456 memset(x->word, 0, x->length >> 3) [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
OpenWnnDictionaryImpl.java | 50 /** The type name of user word */ 52 /** The type name of learn word */ 413 * @param wnnWord The previous word for link search 466 /* If link search is enabled, insert information of the previous word */ 524 /* If no word is retrieved, deactivate the cursor for reduce the resource */ 536 /* Unset the previous word information */ 549 /* If the key string is "", no word is retrieved */ 648 /* Get the information of word */ [all...] |
SymbolList.java | 210 public int searchWords(WnnWord word) {return 0;} 218 WnnWord word = new WnnWord(str, str); local 219 return word; 223 public boolean learn(WnnWord word) {return false;} 226 public int addWord(WnnWord word) {return 0;} 229 public boolean deleteWord(WnnWord word) {return false;}
|
/art/runtime/gc/accounting/ |
space_bitmap-inl.h | 33 const word mask = OffsetToMask(offset); 34 word* const address = &bitmap_begin_[index]; 36 word old_word; 101 // Handle the right edge, and also the left edge if both edges are on the same word. 104 // If word_start == word_end then we need to use the word which we removed the left bits. 125 const word mask = OffsetToMask(offset); 127 word* address = &bitmap_begin_[index]; 128 word old_word = *address;
|
/external/chromium_org/native_client_sdk/src/tools/tests/ |
quote_test.py | 102 usage='Usage: %prog [options] word...') 123 for word in args: 127 qq = quote.unquote(word, options.special_chars, options.quote) 129 % (word, ''.join(qq))) 134 q = quote.quote(word, options.special_chars, options.quote) 137 % (word, q, q, ''.join(qq))) 138 if word != ''.join(qq):
|
/external/chromium_org/net/websockets/ |
websocket_deflater_test.cc | 107 const std::string word = "Chromium"; local 108 std::string input = word + std::string(256, 'a') + word; 124 const std::string word = "Chromium"; local 125 std::string input = word + std::string(256, 'a') + word;
|
/external/srec/srec/include/ |
srec_context.h | 43 /* todo: for dynamic vocabs, a word should eventually be replaced 44 not so much "char* word" but "wordblock* head", Jean to merge 124 /* caching for add word, because FST_AddWordToSlot() is often sequentially 137 wordmap *olabels; /* word labels */ 140 /* word graph, for a-star */ 196 const char* word, 222 int wordmap_whether_in_rule(wordmap* wmap, wordID word, wordID rule); 223 wordID wordmap_find_index(wordmap* wmap, const char* word); 224 wordID wordmap_find_index_in_rule(wordmap* wmap, const char* word, wordID rule); 228 wordID wordmap_add_word(wordmap* wmap, const char* word); [all...] |
astar.h | 29 * Word Graph for Astar * 35 /* an arc_token is used for the word graph, this implementation 75 wordID word; /* quick access to word (wta[token_index].word) */ member in struct:partial_path_t 125 arc_token* get_arc_for_word(arc_token* atoken, wordID word, void* context_void, 128 arc_token* get_arc_for_word_without_slot_annotation(arc_token* atoken, const char* word,
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ |
MainLogBuffer.java | 37 * This class maintains a list of LogUnits, each corresponding to a word. As the user completes 38 * words, they are added here. But if the user backs up over their current word to edit a word 161 // word is out-of-vocabulary or not. Therefore, we must judge the entire buffer 166 // Check each word in the buffer. If any word poses a privacy threat, we cannot upload 179 for (final String word : words) { 181 if (ResearchLogger.hasLetters(word) && !(dictionary.isValidWord(word))) { 183 Log.d(TAG, "\"" + word + "\" NOT SAFE!: hasLetters: [all...] |
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/ |
dictionary.cpp | 84 int Dictionary::getBigrams(const int *word, int length, int *outWords, int *frequencies, 87 return mBigramDictionary->getPredictions(word, length, outWords, frequencies, outputTypes); 90 int Dictionary::getProbability(const int *word, int length) const { 91 int pos = getDictionaryStructurePolicy()->getTerminalNodePositionOfWord(word, length, 104 void Dictionary::addUnigramWord(const int *const word, const int length, const int probability) { 105 mDictionaryStructureWithBufferPolicy->addUnigramWord(word, length, probability);
|
/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.7/share/gdb/python/gdb/command/ |
type_printers.py | 88 def add_some(self, result, word, printers): 90 if p.name.startswith(word): 93 def complete(self, text, word): 96 self.add_some(result, word, objfile.type_printers) 97 self.add_some(result, word, gdb.current_progspace().type_printers) 98 self.add_some(result, word, gdb.type_printers)
|
/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/share/gdb/python/gdb/command/ |
type_printers.py | 88 def add_some(self, result, word, printers): 90 if p.name.startswith(word): 93 def complete(self, text, word): 96 self.add_some(result, word, objfile.type_printers) 97 self.add_some(result, word, gdb.current_progspace().type_printers) 98 self.add_some(result, word, gdb.type_printers)
|
/external/qemu/distrib/sdl-1.2.15/src/video/ |
math_private.h | 27 n0 = ((*(int*)&one)>>29)^1; * index of high word * 28 ix0 = *(n0+(int*)&x); * high word of x * 29 ix1 = *((1-n0)+(int*)&x); * low word of x * 137 u_int32_t word; member in union:__anon25173 146 (i) = gf_u.word; \ 154 sf_u.word = (i); \
|
/external/srec/tools/cmd/ |
pht_to_short.pl | 56 ($word, $pron) = split(/\s*\t\s*/, $_, 2); 61 die "error: unknown lph $lph in $word\n" if(!defined $sph_for_lph{$lph}); 65 print OO "$word $sphPron\n";
|
/art/compiler/dex/ |
arena_bit_vector.cc | 67 /* Round up to word boundaries for "num+1" bits */ 120 for (unsigned int word = 0; word < storage_size_; word++) { 121 count += __builtin_popcount(storage_[word]);
|
/bionic/libc/arch-arm/bionic/ |
sigsetjmp.S | 58 .word _JB_MAGIC__SETJMP
|
/development/samples/SearchableDictionary/src/com/example/android/searchabledict/ |
WordActivity.java | 35 * Displays a word and its definition. 41 setContentView(R.layout.word); 56 TextView word = (TextView) findViewById(R.id.word); local 62 word.setText(cursor.getString(wIndex));
|
/external/chromium/chrome/browser/ |
spellcheck_host.h | 25 // * Adding a word to the user dictionary; 60 // Adds the given word to the custom words list and inform renderer of the 62 virtual void AddWord(const std::string& word) = 0;
|