HomeSort by relevance Sort by last modified time
    Searched refs:length2 (Results 1 - 25 of 99) sorted by null

1 2 3 4

  /packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/
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 / 2f)) / m)) / 3;
167 return jaro + Math.min(0.1f, 1f / length2) * prefix * (1 - jaro);
  /external/chromium_org/third_party/icu/source/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...]
  /external/icu4c/i18n/
ucol_wgt.h 29 int32_t length2; member in struct:WeightRange
ucol_wgt.cpp 126 length=range->length2+1;
130 range->length2=length;
366 /* set the length2 and count2 fields */
368 ranges[i].length2=ranges[i].length;
375 minLength=ranges[0].length2;
380 lengthCounts[ranges[i].length2]+=ranges[i].count2;
425 ranges[1].length2=minLength;
442 /* set the bytes in the end weight at length+1..length2 to maxByte */
467 for(i=0; ranges[i].length2==minLength; ++i) {
482 printf("ranges[%ld] .start=0x%08lx .end=0x%08lx .length=%ld .length2=%ld .count=%ld .count2=%lu\n"
    [all...]
uspoof.cpp 307 const UChar *id2, int32_t length2,
313 if (length1 < -1 || length2 < -1) {
319 UnicodeString id2Str((length2==-1), id2, length2); // Aliasing constructor
327 const char *id2, int32_t length2,
333 if (length1 < -1 || length2 < -1) {
338 UnicodeString id2Str = UnicodeString::fromUTF8(StringPiece(id2, length2>=0? length2 : uprv_strlen(id2)));
  /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;
  /external/replicaisland/src/com/replica/replicaisland/
PopOutComponent.java 77 if (mDistance.length2() < (mAppearDistance * mAppearDistance)) {
84 if (mDistance.length2() > (mHideDistance * mHideDistance)) {
86 } else if (mDistance.length2() < (mAttackDistance * mAttackDistance)
SimpleCollisionComponent.java 50 if (mPreviousPosition.length2() > 0.0f) {
54 if (mMovementDirection.length2() > 0.0f) {
Vector2.java 87 return (float) Math.sqrt(length2());
90 public final float length2() { method in class:Vector2
OrbitalMagnetComponent.java 74 final float distanceFromCenter2 = mDelta.length2();
119 if (targetVelocity.length2() > (speed * speed)) {
AttackAtDistanceComponent.java 66 } else if (mDistance.length2() < (mAttackDistance * mAttackDistance)
  /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;
164 while (++index < length2);
177 subtractHighPrecision (uint64_t * arg1, int32_t length1, uint64_t * arg2, int32_t length2)
185 while (length2 > 0 && arg2[length2 - 1] == 0)
186 --length2;
188 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/icu4c/common/
unormcmp.cpp 144 const UChar *s2, int32_t length2,
204 if(length2==-1) {
207 limit2=s2+length2;
568 const UChar *s2, int32_t length2,
575 if(s1==0 || length1<-1 || s2==0 || length2<-1) {
623 if(_normalize(&fn2, s2, length2, fcd2, pErrorCode)) {
625 length2=fcd2.length();
632 if(_normalize(n2, s2, length2, fcd2, pErrorCode)) {
634 length2=fcd2.length();
640 return unorm_cmpEquivFold(s1, length1, s2, length2, options, pErrorCode)
    [all...]
ustr_imp.h 51 const UChar *s2, int32_t length2,
61 const UChar *s2, int32_t length2,
  /external/chromium_org/third_party/icu/source/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/test/java/libcore/java/util/
OldPriorityQueueTest.java 88 int length2 = object2.length(); local
89 if (length1 > length2) {
91 } else if (length1 == length2) {
  /external/chromium_org/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/compiler-rt/lib/asan/
asan_report.h 47 const char *offset2, uptr length2, StackTrace *stack);
  /external/icu4c/test/intltest/
idnaref.h 201 * @param length2 Length of second source string, or -1 if NUL-terminated.
217 const UChar *s2, int32_t length2,
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
ResizableIntArrayTests.java 289 final int length2 = srcLen * 2 - startPos; local
290 final int largeEnd = startPos + length2;
293 src.fill(value2, startPos, length2);
305 final int startPos2 = largeEnd + length2;
306 final int endPos2 = startPos2 + length2;
308 src.fill(value3, startPos2, length2);
  /external/chromium_org/third_party/icu/source/i18n/unicode/
uspoof.h 657 * @param length2 The length of the second string, expressed in
673 const UChar *s2, int32_t length2,
691 * @param length2 The length of the second string in bytes, or -1
706 const char *s2, int32_t length2,
    [all...]

Completed in 773 milliseconds

1 2 3 4