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

1 2 3

  /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 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);
  /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/
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);
dictionary.h 61 bool isValidBigram(const int *word1, int length1, const int *word2, int length2) const;
  /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...]
  /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...]
ustr_imp.h 50 uprv_strCompare(const UChar *s1, int32_t length1,
60 u_strcmpFold(const UChar *s1, int32_t length1,
ustrcase.cpp 470 u_strcmpFold(const UChar *s1, int32_t length1,
508 if(length1==-1) {
511 limit1=s1+length1;
769 u_strCaseCompare(const UChar *s1, int32_t length1,
777 if(s1==NULL || length1<-1 || s2==NULL || length2<-1) {
781 return u_strcmpFold(s1, length1, s2, length2,
  /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/
dic_node_state_prevword.h 70 const int *const src1, const int16_t length1, const int *const prevSpacePositions,
76 DicNodeUtils::appendTwoWords(src0, length0, src1, length1, mPrevWord);
dic_node_utils.h 36 const int16_t length1, int *dest);
dic_node_utils.cpp 245 const int *const src1, const int16_t length1, int *dest) {
255 if (!src1 || length1 == 0) {
259 for (int i = 0; i < length1; ++i) {
  /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/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,
  /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,
  /external/icu4c/i18n/unicode/
uspoof.h 650 * @param length1 the length of the first string, expressed in
670 const UChar *s1, int32_t length1,
685 * @param length1 the length of the first string, in bytes, or -1
703 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,

Completed in 576 milliseconds

1 2 3