/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
BinaryDictionary.java | 93 private static native boolean isValidBigramNative(long dict, int[] word1, int[] word2); 205 public boolean isValidBigram(final String word1, final String word2) { 206 if (TextUtils.isEmpty(word1) || TextUtils.isEmpty(word2)) return false; 208 final int[] codePoints2 = StringUtils.toCodePointArray(word2);
|
ExpandableBinaryDictionary.java | 241 protected boolean isValidBigram(final String word1, final String word2) { 243 return mBinaryDictionary.isValidBigram(word1, word2); 246 protected boolean isValidBigramInner(final String word1, final String word2) { 249 return isValidBigramLocked(word1, word2); 257 protected boolean isValidBigramLocked(final String word1, final String word2) { 259 return mBinaryDictionary.isValidBigram(word1, word2);
|
ExpandableDictionary.java | 328 protected boolean removeBigram(final String word1, final String word2) { 331 final Node secondWord = searchWord(mRoots, word2, 0, null); 359 protected NextWord getBigramWord(final String word1, final String word2) { 362 final Node secondWord = searchWord(mRoots, word2, 0, null); 533 public int setBigramAndGetFrequency(final String word1, final String word2, 535 return setBigramAndGetFrequency(word1, word2, frequency, null /* unused */); 538 public int setBigramAndGetFrequency(final String word1, final String word2, 540 return setBigramAndGetFrequency(word1, word2, 0 /* unused */, fcp); 546 * @param word2 the second word of this bigram 551 private int setBigramAndGetFrequency(final String word1, final String word2, [all...] |
/external/chromium/base/i18n/ |
break_iterator_unittest.cc | 69 const string16 word2(str.substr(11, 5)); 80 EXPECT_EQ(word2, iter.GetString()); 177 const string16 word2(str.substr(11, 5)); 185 EXPECT_EQ(word2, iter.GetString());
|
/external/dropbear/libtomcrypt/src/pk/asn1/der/object_identifier/ |
der_length_object_identifier.c | 53 /* word1 = 0,1,2,3 and word2 0..39 */
|
/packages/inputmethods/LatinIME/native/jni/src/ |
dictionary.h | 61 bool isValidBigram(const int *word1, int length1, const int *word2, int length2) const;
|
bigram_dictionary.cpp | 209 bool BigramDictionary::isValidBigram(const int *word1, int length1, const int *word2, 215 int nextWordPos = BinaryFormat::getTerminalPosition(root, word2, length2,
|
/libcore/luni/src/test/java/libcore/java/util/ |
OldScannerTest.java | 188 s = new Scanner("word1 WorD2 "); 197 s = new Scanner("word1 WorD2 wOrd3 "); 200 assertEquals("WorD2", s.next());
|
/external/ipsec-tools/src/racoon/ |
eaytest.c | 843 char *word1 = "1234567890", *word2 = "12345678901234567890"; local 860 buf = vmalloc(strlen(word2)); 861 memcpy(buf->v, word2, buf->l); 880 char *word1 = "1234567890", *word2 = "12345678901234567890"; local 897 buf = vmalloc(strlen(word2)); 898 memcpy(buf->v, word2, buf->l);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
FusionDictionary.java | 416 * @param word2 the next word of the context 419 public void setBigram(final String word1, final String word2, final int frequency) { 422 final CharGroup charGroup2 = findWordInTree(mRoot, word2); 424 add(getCodePoints(word2), 0, null, false /* isNotAWord */, 427 // if word1 and word2 share a common stem that happens not to have been 431 charGroup.addBigram(word2, frequency); [all...] |
/external/regex-re2/re2/testing/ |
re2_test.cc | 321 string word2; local 324 CHECK(RE2::PartialMatch("foo", r, &word1, &word2, &word3)); 326 CHECK_EQ(word2, ""); 328 CHECK(RE2::PartialMatch("bar", r, &word1, &word2, &word3)); 330 CHECK_EQ(word2, "bar"); 332 CHECK(RE2::PartialMatch("baz", r, &word1, &word2, &word3)); 334 CHECK_EQ(word2, ""); 336 CHECK(!RE2::PartialMatch("f", r, &word1, &word2, &word3)); [all...] |
/packages/apps/Email/src/org/apache/james/mime4j/codec/ |
EncoderUtil.java | 530 String word2 = encodeB(prefix, part2, 0, charset, bytes2); local 532 return word1 + " " + word2; 558 String word2 = encodeQ(prefix, part2, usage, 0, charset, bytes2); local 560 return word1 + " " + word2;
|
/external/chromium/sdch/open-vcdiff/src/ |
blockhash.cc | 252 const char* word2) { 255 memcpy(&aligned_word2, word2, sizeof(aligned_word2));
|
/external/open-vcdiff/src/ |
blockhash.cc | 253 const char* word2) { 256 memcpy(&aligned_word2, word2, sizeof(aligned_word2));
|
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
intra_est.cpp | 219 uint32 word1, word2, word3, word4; local 235 word2 = *((uint32*)(top + 4)); /* read 4 bytes from top */ 242 *((uint32*)(pred + 4)) = word2; 251 word1 = (word2 & 0xFF00FF); 253 word2 = (word2 >> 8) & 0xFF00FF; 254 sum += word2; [all...] |
motion_comp.cpp | 1702 uint32 word1, word2, word3; local [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
BinaryDictIOTests.java | 366 final String word2 = resultWords.get(attr.mAddress); local 370 actBigrams.get(word1).add(word2);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
ScannerTest.java | 682 s = new Scanner("word1 word2 "); 684 assertEquals("word2", s.next()); 822 s = new Scanner("word1 word2 "); 825 assertEquals("word2", s.next(pattern)); [all...] |
/external/libvpx/libvpx/examples/includes/geshi/geshi/ |
winbatch.php | 66 'ZOOMED', 'YES', 'WORD4', 'WORD2', 'WORD1', 'WHOLESECTION', 'WAIT', 'UNSORTED', 'UNCHECK', 'TRUE', 'TILE', [all...] |
/external/valgrind/main/VEX/pub/ |
libvex_guest_x86.h | 260 UInt word2; member in struct:__anon16528::__anon16529::__anon16531
|
/external/grub/netboot/ |
eepro.c | 80 /* Word2,3,4: */
|
/external/valgrind/main/coregrind/m_syswrap/ |
syswrap-x86-linux.c | 457 out->LdtEnt.Words.word2 = entry_2; 673 && gdt[idx].LdtEnt.Words.word2 == 0) [all...] |
/external/llvm/lib/Target/R600/ |
R600Instructions.td | [all...] |
/external/svox/pico/lib/ |
picokdt.c | 87 - wordmaptable (in or out, usage varies) = NRWORDS2 {WORD2}=NRWORDS2 114 - WORD2: two bytes, the sequence is used to determine the values [all...] |
/external/valgrind/main/VEX/priv/ |
guest_mips_toIR.c | 1265 UInt word2 = 0x00000742; local [all...] |