/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
NameDistance.java | 97 int length2 = array2.length; local 98 if (length2 > mMaxLength) { 99 length2 = mMaxLength; 103 Arrays.fill(mMatchFlags2, 0, length2, false); 105 int range = length2 / 2 - 1; 120 if (to > length2) { 121 to = length2; 152 float jaro = ((m / length1 + m / length2 + (m - (transpositions / 2)) / m)) / 3; 167 return jaro + Math.min(0.1f, 1f / length2) * prefix * (1 - jaro);
|
/external/chromium/third_party/icu/source/i18n/ |
ucol_wgt.h | 29 int32_t length2; member in struct:WeightRange
|
ucol_wgt.c | 113 length=range->length2+1; 117 range->length2=length; 353 /* set the length2 and count2 fields */ 355 ranges[i].length2=ranges[i].length; 362 minLength=ranges[0].length2; 367 lengthCounts[ranges[i].length2]+=ranges[i].count2; 412 ranges[1].length2=minLength; 429 /* set the bytes in the end weight at length+1..length2 to maxByte */ 454 for(i=0; ranges[i].length2==minLength; ++i) { 469 printf("ranges[%ld] .start=0x%08lx .end=0x%08lx .length=%ld .length2=%ld .count=%ld .count2=%lu\n" [all...] |
/external/icu4c/i18n/ |
ucol_wgt.h | 29 int32_t length2; member in struct:WeightRange
|
ucol_wgt.cpp | 113 length=range->length2+1; 117 range->length2=length; 353 /* set the length2 and count2 fields */ 355 ranges[i].length2=ranges[i].length; 362 minLength=ranges[0].length2; 367 lengthCounts[ranges[i].length2]+=ranges[i].count2; 412 ranges[1].length2=minLength; 429 /* set the bytes in the end weight at length+1..length2 to maxByte */ 454 for(i=0; ranges[i].length2==minLength; ++i) { 469 printf("ranges[%ld] .start=0x%08lx .end=0x%08lx .length=%ld .length2=%ld .count=%ld .count2=%lu\n" [all...] |
/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; 163 while (++index < length2); 175 subtractHighPrecision (uint64_t * arg1, int32_t length1, uint64_t * arg2, int32_t length2) 183 while (length2 > 0 && arg2[length2 - 1] == 0) 184 --length2; 186 addHighPrecision (arg1, length1, arg2, length2); [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);
|
/external/chromium/third_party/icu/source/common/ |
unormcmp.cpp | 140 const UChar *s2, int32_t length2, 199 if(length2==-1) { 202 limit2=s2+length2; 534 const UChar *s2, int32_t length2, 548 if(s1==0 || length1<-1 || s2==0 || length2<-1) { 604 isFCD2= UNORM_YES==unorm_internalQuickCheck(s2, length2, mode, TRUE, nx, pErrorCode); 648 s2, length2, 662 s2, length2, 671 length2=_len2; 676 result=unorm_cmpEquivFold(s1, length1, s2, length2, options, pErrorCode) [all...] |
ustr_imp.h | 37 const UChar *s2, int32_t length2, 48 const UChar *s2, int32_t length2,
|
/external/icu4c/common/ |
unormcmp.cpp | 144 const UChar *s2, int32_t length2, 204 if(length2==-1) { 207 limit2=s2+length2; 539 const UChar *s2, int32_t length2, 546 if(s1==0 || length1<-1 || s2==0 || length2<-1) { 600 UnicodeString str2(length2<0, s2, length2); 628 length2=fcd2.length(); 633 return unorm_cmpEquivFold(s1, length1, s2, length2, options, pErrorCode);
|
locdispnames.cpp | 436 int32_t length, length2, length3 = 0; local 524 length2=uloc_getDisplayScript(locale, displayLocale, 528 length2=uloc_getDisplayScript(locale, displayLocale, 532 hasScript= length2>0; 533 length+=length2; 550 length2=uloc_getDisplayCountry(locale, displayLocale, 554 length2=uloc_getDisplayCountry(locale, displayLocale, 558 hasCountry= length2>0; 559 length+=length2; 576 length2=uloc_getDisplayVariant(locale, displayLocale [all...] |
ustr_imp.h | 54 const UChar *s2, int32_t length2, 65 const UChar *s2, int32_t length2,
|
/libcore/luni/src/main/java/java/util/ |
BitSet.java | 153 int length1 = this.actualArrayLength, length2 = ((BitSet) obj).actualArrayLength; local 155 && length1 != length2) { 160 if (length1 <= length2) { 166 for (int i = length1; i < length2; i++) { 172 for (int i = 0; i < length2; i++) { 177 for (int i = length2; i < length1; i++) { 613 int length1 = actualArrayLength, length2 = bs.actualArrayLength; local 615 if (length1 <= length2) { 622 for (int i = 0; i < length2; i++) { 646 int length1 = actualArrayLength, length2 = bs.actualArrayLength local [all...] |
/libcore/luni/src/test/java/libcore/java/util/ |
OldPriorityQueueTest.java | 175 int length2 = object2.length(); local 176 if (length1 > length2) { 178 } else if (length1 == length2) {
|
/external/chromium/third_party/icu/public/common/unicode/ |
uidna.h | 283 * @param length2 Length of second source string, or -1 if NUL-terminated. 306 const UChar *s2, int32_t length2,
|
/external/chromium/third_party/icu/source/test/intltest/ |
idnaref.h | 205 * @param length2 Length of second source string, or -1 if NUL-terminated. 222 const UChar *s2, int32_t length2,
|
/external/icu4c/common/unicode/ |
uidna.h | 281 * @param length2 Length of second source string, or -1 if NUL-terminated. 304 const UChar *s2, int32_t length2,
|
/external/icu4c/test/intltest/ |
idnaref.h | 205 * @param length2 Length of second source string, or -1 if NUL-terminated. 222 const UChar *s2, int32_t length2,
|
/external/webkit/WebCore/icu/unicode/ |
uidna.h | 281 * @param length2 Length of second source string, or -1 if NUL-terminated. 304 const UChar *s2, int32_t length2,
|
/external/webkit/WebKit/mac/icu/unicode/ |
uidna.h | 281 * @param length2 Length of second source string, or -1 if NUL-terminated. 304 const UChar *s2, int32_t length2,
|
/external/chromium/third_party/icu/public/i18n/unicode/ |
uspoof.h | 630 * @param length2 The length of the second string, expressed in 646 const UChar *s2, int32_t length2, 664 * @param length2 The length of the second string in bytes, or -1 679 const char *s2, int32_t length2, [all...] |
/external/clearsilver/util/regex/ |
regex.h | 442 int length1, const char *string2, int length2, 456 int length1, const char *string2, int length2,
|
/external/icu4c/i18n/unicode/ |
uspoof.h | 662 * @param length2 The length of the second string, expressed in 678 const UChar *s2, int32_t length2, 696 * @param length2 The length of the second string in bytes, or -1 711 const char *s2, int32_t length2, [all...] |
/external/chromium/third_party/icu/source/test/cintltst/ |
udatatst.c | 1343 int32_t length, dataLength, length2, headerLength; local [all...] |
/external/icu4c/test/cintltst/ |
udatatst.c | 1352 int32_t length, dataLength, length2, headerLength; local [all...] |