HomeSort by relevance Sort by last modified time
    Searched refs:length1 (Results 1 - 25 of 75) 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);
  /external/protobuf/java/src/main/java/com/google/protobuf/nano/
InternalNano.java 198 int length1 = field1 == null ? 0 : field1.length; local
202 while (index1 < length1 && field1[index1] == null) {
208 boolean atEndOf1 = index1 >= length1;
233 int length1 = field1 == null ? 0 : field1.length; local
237 while (index1 < length1 && field1[index1] == null) {
243 boolean atEndOf1 = index1 >= 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/icu/icu4c/source/common/
unormcmp.cpp 141 unorm_cmpEquivFold(const UChar *s1, int32_t length1,
195 if(length1==-1) {
198 limit1=s1+length1;
565 unorm_compare(const UChar *s1, int32_t length1,
573 if(s1==0 || length1<-1 || s2==0 || length2<-1) {
617 if(_normalize(&fn2, s1, length1, fcd1, pErrorCode)) {
619 length1=fcd1.length();
626 if(_normalize(n2, s1, length1, fcd1, pErrorCode)) {
628 length1=fcd1.length();
638 return unorm_cmpEquivFold(s1, length1, s2, length2, options, pErrorCode)
    [all...]
ustr_imp.h 50 uprv_strCompare(const UChar *s1, int32_t length1,
60 u_strcmpFold(const UChar *s1, int32_t length1,
69 * @param length1 length of string 1, or -1 (NULL terminated)
78 u_caseInsensitivePrefixMatch(const UChar *s1, int32_t length1,
ustrcase.cpp 472 * @param length1 length of string 1, or -1 (NULL terminated)
482 const UChar *s1, int32_t length1,
535 if(length1==-1) {
538 limit1=s1+length1;
848 u_strcmpFold(const UChar *s1, int32_t length1,
852 return _cmpFold(s1, length1, s2, length2, options, NULL, NULL, pErrorCode);
858 u_strCaseCompare(const UChar *s1, int32_t length1,
866 if(s1==NULL || length1<-1 || s2==NULL || length2<-1) {
870 return u_strcmpFold(s1, length1, s2, length2,
901 u_caseInsensitivePrefixMatch(const UChar *s1, int32_t length1,
    [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...]
uidna.cpp 860 uidna_compare( const UChar *s1, int32_t length1,
876 b1Len = uidna_IDNToASCII(s1, length1, b1, b1Capacity, options, &parseError, status);
887 b1Len = uidna_IDNToASCII(s1,length1,b1,b1Len, options, &parseError, status);
  /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) {
  /libcore/harmony-tests/src/test/java/org/apache/harmony/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/mockito/cglib-and-asm/src/org/mockito/asm/
ByteVector.java 287 int length1 = 2 * data.length; local
289 byte[] newData = new byte[length1 > length2 ? length1 : length2];
  /external/wpa_supplicant_8/src/pae/
ieee802_1x_kay_i.h 258 u32 length1:8; member in struct:ieee802_1x_mka_hdr
281 u32 length1:8; member in struct:ieee802_1x_mka_basic_body
306 u32 length1:8; member in struct:ieee802_1x_mka_peer_body
348 u32 length1:8; member in struct:ieee802_1x_mka_sak_use_body
388 u32 length1:8; member in struct:ieee802_1x_mka_dist_sak_body
413 u32 length1:8; member in struct:ieee802_1x_mka_icv_body
  /external/icu/icu4c/source/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/icu/icu4c/source/i18n/
uspoof.cpp 350 const UChar *id1, int32_t length1,
357 if (length1 < -1 || length2 < -1) {
362 UnicodeString id1Str((length1==-1), id1, length1); // Aliasing constructor
370 const char *id1, int32_t length1,
377 if (length1 < -1 || length2 < -1) {
381 UnicodeString id1Str = UnicodeString::fromUTF8(StringPiece(id1, length1>=0? length1 : uprv_strlen(id1)));
  /external/compiler-rt/lib/asan/
asan_report.h 71 const char *offset1, uptr length1,
asan_interceptors.cc 92 static inline bool RangesOverlap(const char *offset1, uptr length1,
94 return !((offset1 + length1 <= offset2) || (offset2 + length2 <= offset1));
96 #define CHECK_RANGES_OVERLAP(name, _offset1, length1, _offset2, length2) do { \
99 if (RangesOverlap(offset1, length1, offset2, length2)) { \
101 ReportStringFunctionMemoryRangesOverlap(name, offset1, length1, \
  /external/icu/icu4c/source/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,
uidna.h 736 * @param length1 Length of first source string, or -1 if NUL-terminated.
    [all...]
ustring.h 458 * @param length1 Length of first source string, or -1 if NUL-terminated.
471 u_strCompare(const UChar *s1, int32_t length1,
526 * @param length1 Length of first source string, or -1 if NUL-terminated.
549 u_strCaseCompare(const UChar *s1, int32_t length1,
    [all...]
  /external/protobuf/java/src/test/java/com/google/protobuf/
CodedOutputStreamTest.java 339 final int length1 = 5000;
340 for (int i = 0; i < length1; i++) {
349 final int length3 = bufferSize - length1 - length2;
358 for (int i = 0; i < length1; i++) {
  /external/icu/icu4c/source/i18n/unicode/
uspoof.h     [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
UTF16.java 2559 int length1 = s1.length(); local
    [all...]
  /external/icu/icu4c/source/test/cintltst/
cucdapi.c 30 const UScriptCode scripts1[], int32_t length1,
39 scriptsToString(scripts1, length1, s1);

Completed in 1529 milliseconds

1 2 3