/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
get_pred_adv_b_add.cpp | 91 uint32 pred_word, word1, word2; local 119 word2 = *((uint32*)(prev += 4)); /* read 4 bytes, b8 b7 b6 b5 */ 121 pred_word = word1 | (word2 << 24); /* b5 b4 b3 b2 */ 125 word2 >>= 8; /* 0 b8 b7 b6 */ 126 pred_word = word2 | (word1 << 24); /* b9 b8 b7 b6 */ 141 word2 = *((uint32*)(prev += 4)); /* read 4 bytes, b8 b7 b6 b5 */ 143 pred_word = word1 | (word2 << 16); /* b6 b5 b4 b3 */ 147 word2 >>= 16; /* 0 0 b8 b7 */ 148 pred_word = word2 | (word1 << 16); /* b10 b9 b8 b7 */ 164 word2 = *((uint32*)(prev += 4)); /* read 4 bytes, b8 b7 b6 b5 * 191 uint32 word1, word2, word3, word12; local 520 uint32 word1, word2, word3, word12, word22; local [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
UserHistoryDictionaryBigramList.java | 47 public void addBigram(String word1, String word2) { 48 addBigram(word1, word2, FORGETTING_CURVE_INITIAL_VALUE); 54 public void addBigram(String word1, String word2, byte fcValue) { 56 Log.d(TAG, "--- add bigram: " + word1 + ", " + word2 + ", " + fcValue); 65 if (!map.containsKey(word2)) { 67 map.put(word2, fcValue); 74 public void updateBigram(String word1, String word2, byte fcValue) { 76 Log.d(TAG, "--- update bigram: " + word1 + ", " + word2 + ", " + fcValue); 84 if (!map.containsKey(word2)) { 87 map.put(word2, fcValue) [all...] |
UserHistoryDictionary.java | 149 public int addToUserHistory(final String word1, final String word2, final boolean isValid) { 150 if (word2.length() >= Constants.Dictionary.MAX_WORD_LENGTH || 157 word2, null /* the "shortcut" parameter is null */, FREQUENCY_FOR_TYPED); 158 mBigramList.addBigram(null, word2, (byte)FREQUENCY_FOR_TYPED); 160 if (word2.equals(word1)) { 168 word1, word2, new ForgettingCurveParams(isValid)); 170 mBigramList.addBigram(word1, word2); 179 public boolean cancelAddingUserHistory(final String word1, final String word2) { 182 if (mBigramList.removeBigram(word1, word2)) { 183 return super.removeBigram(word1, word2); [all...] |
UserHistoryDictIOUtils.java | 48 public void setBigram(final String word1, final String word2, final int frequency); 53 public int getFrequency(final String word1, final String word2); 143 for (final String word2 : word1Bigrams.keySet()) { 144 final int freq = dict.getFrequency(word1, word2); 151 Log.d(TAG, "add unigram: " + word2 + "," + Integer.toString(freq)); 154 + "," + word2 + "," + Integer.toString(freq)); 159 fusionDict.add(word2, freq, null, false /* isNotAWord */); 164 fusionDict.setBigram(word1, word2, freq); 166 bigrams.updateBigram(word1, word2, (byte)freq); 210 final String word2 = unigrams.get(attr.mAddress) local [all...] |
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);
|
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);
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
motion_comp.cpp | 358 ULong pred_word, word1, word2; local 389 word2 = *((ULong*)(prev + 4)); /* read 4 bytes, b8 b7 b6 b5 */ 391 pred_word = word1 | (word2 << 24); /* b5 b4 b3 b2 */ 395 word2 >>= 8; /* 0 b8 b7 b6 */ 396 pred_word = word2 | (word1 << 24); /* b9 b8 b7 b6 */ 411 word2 = *((ULong*)(prev + 4)); /* read 4 bytes, b8 b7 b6 b5 */ 413 pred_word = word1 | (word2 << 16); /* b6 b5 b4 b3 */ 417 word2 >>= 16; /* 0 0 b8 b7 */ 418 pred_word = word2 | (word1 << 16); /* b10 b9 b8 b7 */ 433 word2 = *((ULong*)(prev + 4)); /* read 4 bytes, b8 b7 b6 b5 * 458 ULong word1, word2, word3, word12; local 783 ULong word1, word2, word3, word12, word22; local [all...] |
/external/stlport/test/unit/ |
setdiff_test.cpp | 75 const char* word2 = "LMNOPQRSTUVWXYZ"; local 78 set_symmetric_difference(word1, word1 + ::strlen(word1), word2, word2 + ::strlen(word2), 126 const char* word2 = "LMNOPQRSTUVWXYZ"; local 129 set_difference(word1, word1 + ::strlen(word1), word2, word2 + ::strlen(word2), back_inserter(diff), less<char>());
|
setinter_test.cpp | 69 const char* word2 = "LMNOPQRSTUVWXYZ"; local 72 set_intersection(word1, word1 + ::strlen(word1), word2, word2 + ::strlen(word2),
|
setunion_test.cpp | 72 const char* word2 = "LMNOPQRSTUVWXYZ"; local 75 set_union(word1, word1 + ::strlen(word1), word2, word2 + ::strlen(word2),
|
swap_test.cpp | 58 char word2[] = "Hello"; local 59 swap_ranges((char*)word1, (char*)word1 + ::strlen(word1), (char*)word2); 61 CPPUNIT_ASSERT(!strcmp(word2, "World"));
|
/ndk/tests/device/test-gnustl-full/unit/ |
setdiff_test.cpp | 75 const char* word2 = "LMNOPQRSTUVWXYZ"; local 78 set_symmetric_difference(word1, word1 + ::strlen(word1), word2, word2 + ::strlen(word2), 126 const char* word2 = "LMNOPQRSTUVWXYZ"; local 129 set_difference(word1, word1 + ::strlen(word1), word2, word2 + ::strlen(word2), back_inserter(diff), less<char>());
|
setinter_test.cpp | 69 const char* word2 = "LMNOPQRSTUVWXYZ"; local 72 set_intersection(word1, word1 + ::strlen(word1), word2, word2 + ::strlen(word2),
|
setunion_test.cpp | 72 const char* word2 = "LMNOPQRSTUVWXYZ"; local 75 set_union(word1, word1 + ::strlen(word1), word2, word2 + ::strlen(word2),
|
swap_test.cpp | 58 char word2[] = "Hello"; local 59 swap_ranges((char*)word1, (char*)word1 + ::strlen(word1), (char*)word2); 61 CPPUNIT_ASSERT(!strcmp(word2, "World"));
|
/ndk/tests/device/test-stlport/unit/ |
setdiff_test.cpp | 75 const char* word2 = "LMNOPQRSTUVWXYZ"; local 78 set_symmetric_difference(word1, word1 + ::strlen(word1), word2, word2 + ::strlen(word2), 126 const char* word2 = "LMNOPQRSTUVWXYZ"; local 129 set_difference(word1, word1 + ::strlen(word1), word2, word2 + ::strlen(word2), back_inserter(diff), less<char>());
|
setinter_test.cpp | 69 const char* word2 = "LMNOPQRSTUVWXYZ"; local 72 set_intersection(word1, word1 + ::strlen(word1), word2, word2 + ::strlen(word2),
|
setunion_test.cpp | 72 const char* word2 = "LMNOPQRSTUVWXYZ"; local 75 set_union(word1, word1 + ::strlen(word1), word2, word2 + ::strlen(word2),
|
swap_test.cpp | 58 char word2[] = "Hello"; local 59 swap_ranges((char*)word1, (char*)word1 + ::strlen(word1), (char*)word2); 61 CPPUNIT_ASSERT(!strcmp(word2, "World"));
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/ |
UserDictionaryToolsListEN.java | 71 public int compare(WnnWord word1, WnnWord word2) { 72 return word1.stroke.compareTo(word2.stroke);
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/ |
UserDictionaryToolsListJAJP.java | 68 public int compare(WnnWord word1, WnnWord word2) { 69 return word1.stroke.compareTo(word2.stroke);
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
UserHistoryDictIOUtilsTests.java | 56 public int getFrequency(String word1, String word2) { 70 private void addBigram(final String word1, final String word2, 73 addWord(word2, addedWords); 74 addedWords.get(word1).add(word2); 77 private void addBigramToBigramList(final String word1, final String word2, 81 bigramList.addBigram(word1, word2); 83 addBigram(word1, word2, addedWords); 219 public void setBigram(final String word1, final String word2, final int frequency) { 220 Log.d(TAG, "in: setBigram: " + word1 + "," + word2 + "," + frequency); 221 resultList.addBigram(word1, word2, (byte)frequency) [all...] |
/packages/inputmethods/LatinIME/native/jni/src/ |
bigram_dictionary.h | 34 bool isValidBigram(const int *word1, int length1, const int *word2, int length2) const;
|
dictionary.cpp | 105 bool Dictionary::isValidBigram(const int *word1, int length1, const int *word2, int length2) const { 106 return mBigramDictionary->isValidBigram(word1, length1, word2, length2);
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/ |
omxVCM4P2_MCReconBlock_s.s | 115 ;// M_LOAD_XINT $pSrc, $srcStep, $offset, $word0, $word1, $word2, $word3 129 ;// $word0, $word1, $word2, $word3 137 ;// | Offset | Aligned Ptr | word0 | word1 | word2 | word3 | 151 ;// Note: {$word0, $word1, $word2, $word3} should be registers with ascending 155 M_LOAD_XINT $pSrc, $srcStep, $offset, $word0, $word1, $word2, $word3 157 LDM $pSrc, {$word0, $word1, $word2} 159 LDM $pSrc, {$word0, $word2, $word3} 169 ;// M_EXT_XINT $offset, $word0, $word1, $word2, $word3 175 ;// $word0, $word1, $word2, $word3 181 ;// | Offset | Aligned Ptr | word0 | word1 | word2 | word3 [all...] |