/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/ |
NameDistance.java | 75 int length1 = array1.length; local 76 if (length1 >= MIN_EXACT_PREFIX_LENGTH) { 93 if (length1 > mMaxLength) { 94 length1 = mMaxLength; 102 Arrays.fill(mMatchFlags1, 0, length1, false); 111 for (int i = 0; i < length1; i++) { 139 for (int i = 0; i < length1; i++) { 152 float jaro = ((m / length1 + m / length2 + (m - (transpositions / 2f)) / m)) / 3; 160 for (int i = 0; i < length1; i++) {
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/policy/ |
dictionary_structure_with_buffer_policy.h | 71 const int length1, const int probability) = 0; 75 const int *const word1, const int length1) = 0;
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/ |
bigram_dictionary.h | 32 int getBigramProbability(const int *word1, int length1, const int *word2, int length2) const;
|
dictionary.h | 70 int getBigramProbability(const int *word0, int length0, const int *word1, int length1) const; 75 const int length1, const int probability); 78 const int length1);
|
dictionary.cpp | 100 int length1) const { 101 return mBigramDictionary->getBigramProbability(word0, length0, word1, length1); 109 const int length1, const int probability) { 110 mDictionaryStructureWithBufferPolicy->addBigramWords(word0, length0, word1, length1, 115 const int *const word1, const int length1) { 116 mDictionaryStructureWithBufferPolicy->removeBigramWords(word0, length0, word1, length1);
|
bigram_dictionary.cpp | 154 int length1) const { 158 int nextWordPos = mDictionaryStructurePolicy->getTerminalNodePositionOfWord(word1, length1,
|
/libcore/luni/src/main/native/ |
cbigint.cpp | 131 addHighPrecision (uint64_t * arg1, int32_t length1, uint64_t * arg2, int32_t length2) 142 if (length1 == 0 || length2 == 0) 146 else if (length1 < length2) 148 length2 = length1; 167 else if (index == length1) 170 while (++arg1[index] == 0 && ++index < length1) { 173 return index == length1; 177 subtractHighPrecision (uint64_t * arg1, int32_t length1, uint64_t * arg2, int32_t length2) 181 for (index = 0; index < length1; ++index) 183 simpleAddHighPrecision (arg1, length1, 1) [all...] |
cbigint.h | 88 void multiplyHighPrecision(uint64_t* arg1, int32_t length1, uint64_t* arg2, int32_t length2, 93 int32_t compareHighPrecision(uint64_t* arg1, int32_t length1, uint64_t* arg2, int32_t length2); 95 void subtractHighPrecision(uint64_t* arg1, int32_t length1, uint64_t* arg2, int32_t length2); 97 int32_t addHighPrecision(uint64_t* arg1, int32_t length1, uint64_t* arg2, int32_t length2);
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/ |
dynamic_patricia_trie_policy.h | 86 const int length1, const int probability); 89 const int length1);
|
patricia_trie_policy.h | 87 const int length1, const int probability) { 94 const int length1) {
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/utils/ |
damerau_levenshtein_edit_distance_policy.h | 28 const int *const string1, const int length1) 30 mString1Length(length1) {}
|
/external/icu4c/common/ |
unormcmp.cpp | 143 unorm_cmpEquivFold(const UChar *s1, int32_t length1, 197 if(length1==-1) { 200 limit1=s1+length1; 567 unorm_compare(const UChar *s1, int32_t length1, 575 if(s1==0 || length1<-1 || s2==0 || length2<-1) { 619 if(_normalize(&fn2, s1, length1, fcd1, pErrorCode)) { 621 length1=fcd1.length(); 628 if(_normalize(n2, s1, length1, fcd1, pErrorCode)) { 630 length1=fcd1.length(); 640 return unorm_cmpEquivFold(s1, length1, s2, length2, options, pErrorCode) [all...] |
ustring.cpp | 684 uprv_strCompare(const UChar *s1, int32_t length1, 695 if(length1<0 && length2<0) { 717 /* special handling for strncmp, assume length1==length2>=0 but also check for NUL */ 722 limit1=start1+length1; 743 limit2=start2+length1; /* use length1 here, too, to enforce assumption */ 748 if(length1<0) { 749 length1=u_strlen(s1); 756 if(length1<length2) { 758 limit1=start1+length1; [all...] |
/external/chromium_org/third_party/icu/source/common/ |
unormcmp.cpp | 143 unorm_cmpEquivFold(const UChar *s1, int32_t length1, 197 if(length1==-1) { 200 limit1=s1+length1; 538 unorm_compare(const UChar *s1, int32_t length1, 546 if(s1==0 || length1<-1 || s2==0 || length2<-1) { 599 UnicodeString str1(length1<0, s1, length1); 621 length1=fcd1.length(); 633 return unorm_cmpEquivFold(s1, length1, s2, length2, options, pErrorCode);
|
ustr_imp.h | 53 uprv_strCompare(const UChar *s1, int32_t length1, 64 u_strcmpFold(const UChar *s1, int32_t length1,
|
ustring.c | 683 uprv_strCompare(const UChar *s1, int32_t length1, 694 if(length1<0 && length2<0) { 716 /* special handling for strncmp, assume length1==length2>=0 but also check for NUL */ 721 limit1=start1+length1; 742 limit2=start2+length1; /* use length1 here, too, to enforce assumption */ 747 if(length1<0) { 748 length1=u_strlen(s1); 755 if(length1<length2) { 757 limit1=start1+length1; [all...] |
/libcore/luni/src/test/java/libcore/java/util/ |
OldPriorityQueueTest.java | 87 int length1 = object1.length(); local 89 if (length1 > length2) { 91 } else if (length1 == length2) {
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/ |
dic_node_utils.cpp | 112 const int *const src1, const int16_t length1, int *dest) { 122 if (!src1 || length1 == 0) { 126 for (int i = 0; i < length1; ++i) {
|
dic_node_utils.h | 34 const int16_t length1, int *dest);
|
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/ |
InflaterOutputStreamTest.java | 173 int length1 = defaultDeflater.deflate(compressedBytes); local 179 int length2 = bestDeflater.deflate(compressedBytes,length1,compressedBytes.length-length1); 182 for (int i = 0; i < length1; i++) { 194 for (int i = length1; i < length2*2; i++) {
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/internal/ |
dic_node_state_prevword.h | 70 const int *const src1, const int16_t length1, 76 DicNodeUtils::appendTwoWords(src0, length0, src1, length1, mPrevWord);
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
idnaref.h | 202 * @param length1 Length of first source string, or -1 if NUL-terminated. 221 idnaref_compare( const UChar *s1, int32_t length1,
|
/external/compiler-rt/lib/asan/ |
asan_report.h | 46 const char *function, const char *offset1, uptr length1,
|
/external/icu4c/test/intltest/ |
idnaref.h | 198 * @param length1 Length of first source string, or -1 if NUL-terminated. 216 idnaref_compare( const UChar *s1, int32_t length1,
|
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
uspoof.h | 652 * @param length1 the length of the first string, expressed in 672 const UChar *s1, int32_t length1, 687 * @param length1 the length of the first string, in bytes, or -1 705 const char *s1, int32_t length1, [all...] |