/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++) {
|
/libcore/luni/src/main/native/ |
cbigint.cpp | 130 addHighPrecision (uint64_t * arg1, int32_t length1, uint64_t * arg2, int32_t length2) 141 if (length1 == 0 || length2 == 0) 145 else if (length1 < length2) 147 length2 = length1; 166 else if (index == length1) 169 while (++arg1[index] == 0 && ++index < length1); 171 return index == length1; 175 subtractHighPrecision (uint64_t * arg1, int32_t length1, uint64_t * arg2, int32_t length2) 179 for (index = 0; index < length1; ++index) 181 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);
|
/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) {
|
/external/webkit/Source/JavaScriptCore/runtime/ |
Operations.h | 39 unsigned length1 = s1->length(); local 40 if (!length1) 45 if ((length1 + length2) < length1) 64 unsigned length1 = u1.length(); local 65 if (!length1) 70 if ((length1 + length2) < length1) 89 unsigned length1 = s1->length(); local 90 if (!length1) 114 unsigned length1 = u1.length(); local 129 unsigned length1 = u1.length(); local [all...] |
/external/icu4c/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) { 602 UnicodeString str1(length1<0, s1, length1); 624 length1=fcd1.length(); 636 return unorm_cmpEquivFold(s1, length1, s2, length2, options, pErrorCode);
|
ustr_imp.h | 50 uprv_strCompare(const UChar *s1, int32_t length1, 60 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...] |
utext.cpp | 455 utext_compare(UText *s1, int32_t length1, 459 if(length1<0 && length2<0) { 471 if(length1 < 0) { 472 length1 = INT32_MIN; 478 while((length1 > 0 || length1 == INT32_MIN) && (length2 > 0 || length2 == INT32_MIN)) { 488 if (length1 != INT32_MIN) { 489 length1 -= 1; 496 if(length1 <= 0 && length1 != INT32_MIN) [all...] |
/packages/inputmethods/LatinIME/native/jni/src/ |
bigram_dictionary.h | 34 bool isValidBigram(const int32_t *word1, int length1, const int32_t *word2, int length2) const;
|
dictionary.cpp | 97 bool Dictionary::isValidBigram(const int32_t *word1, int length1, const int32_t *word2, 99 return mBigramDictionary->isValidBigram(word1, length1, word2, length2);
|
dictionary.h | 57 bool isValidBigram(const int32_t *word1, int length1, const int32_t *word2, int length2) const;
|
bigram_dictionary.cpp | 209 bool BigramDictionary::isValidBigram(const int32_t *word1, int length1, const int32_t *word2, 212 int pos = getBigramListPositionForWord(word1, length1, false /* forceLowerCaseSearch */);
|
/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++) {
|
/external/compiler-rt/lib/asan/ |
asan_report.h | 42 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/webkit/Source/WebCore/icu/unicode/ |
uidna.h | 278 * @param length1 Length of first source string, or -1 if NUL-terminated. 303 uidna_compare( const UChar *s1, int32_t length1,
|
unorm.h | 525 * @param length1 Length of first source string, or -1 if NUL-terminated. 568 unorm_compare(const UChar *s1, int32_t length1,
|
/external/webkit/Source/WebKit/mac/icu/unicode/ |
uidna.h | 278 * @param length1 Length of first source string, or -1 if NUL-terminated. 303 uidna_compare( const UChar *s1, int32_t length1,
|
unorm.h | 525 * @param length1 Length of first source string, or -1 if NUL-terminated. 568 unorm_compare(const UChar *s1, int32_t length1,
|
/external/icu4c/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...] |
/external/google-diff-match-patch/name/fraser/neil/plaintext/ |
diff_match_patch.java | 2344 public int length1; field in class:Patch [all...] |
/external/icu4c/common/unicode/ |
unorm.h | 511 * @param length1 Length of first source string, or -1 if NUL-terminated. 554 unorm_compare(const UChar *s1, int32_t length1,
|
/external/webkit/Source/JavaScriptCore/icu/unicode/ |
unorm.h | 525 * @param length1 Length of first source string, or -1 if NUL-terminated. 568 unorm_compare(const UChar *s1, int32_t length1,
|
/external/icu4c/i18n/ |
uspoof.cpp | 414 const UChar *s1, int32_t length1, 445 int32_t s1ScriptCount = This->scriptScan(s1, length1, t, *status); 452 s1Skeleton = getSkeleton(sc, flagsForSkeleton, s1, length1, s1SkeletonBuf, 488 s1Skeleton = getSkeleton(sc, flagsForSkeleton, s1, length1, s1SkeletonBuf, 537 const char *s1, int32_t length1, 548 UChar *s1U = convertFromUTF8(s1Buf, USPOOF_STACK_BUFFER_SIZE, &lengthS1U, s1, length1, status); 573 int32_t length1 = s1.length(); local 577 int32_t results = uspoof_areConfusable(sc, u1, length1, u2, length2, status);
|