/external/strace/tests/ |
mmap.c | 41 const unsigned long length1 = pagesize * 6; local 65 p = mmap(addr, length1, PROT_READ | PROT_WRITE, 71 name, addr, length1, fd, uoffset, p); 73 if (msync(p, length1, MS_SYNC)) 75 printf("msync(%p, %lu, MS_SYNC) = 0\n", p, length1); 77 if (mprotect(p, length1, PROT_NONE)) 79 printf("mprotect(%p, %lu, PROT_NONE) = 0\n", p, length1); 81 addr = mremap(p, length1, length2, 0); 84 printf("mremap(%p, %lu, %lu, 0) = %p\n", p, length1, length2, addr);
|
/external/strace/tests-m32/ |
mmap.c | 41 const unsigned long length1 = pagesize * 6; local 65 p = mmap(addr, length1, PROT_READ | PROT_WRITE, 71 name, addr, length1, fd, uoffset, p); 73 if (msync(p, length1, MS_SYNC)) 75 printf("msync(%p, %lu, MS_SYNC) = 0\n", p, length1); 77 if (mprotect(p, length1, PROT_NONE)) 79 printf("mprotect(%p, %lu, PROT_NONE) = 0\n", p, length1); 81 addr = mremap(p, length1, length2, 0); 84 printf("mremap(%p, %lu, %lu, 0) = %p\n", p, length1, length2, addr);
|
/external/strace/tests-mx32/ |
mmap.c | 41 const unsigned long length1 = pagesize * 6; local 65 p = mmap(addr, length1, PROT_READ | PROT_WRITE, 71 name, addr, length1, fd, uoffset, p); 73 if (msync(p, length1, MS_SYNC)) 75 printf("msync(%p, %lu, MS_SYNC) = 0\n", p, length1); 77 if (mprotect(p, length1, PROT_NONE)) 79 printf("mprotect(%p, %lu, PROT_NONE) = 0\n", p, length1); 81 addr = mremap(p, length1, length2, 0); 84 printf("mremap(%p, %lu, %lu, 0) = %p\n", p, length1, length2, addr);
|
/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 | 70 addHighPrecision (uint64_t * arg1, int32_t length1, uint64_t * arg2, int32_t length2) 81 if (length1 == 0 || length2 == 0) 85 else if (length1 < length2) 87 length2 = length1; 106 else if (index == length1) 109 while (++arg1[index] == 0 && ++index < length1) { 112 return index == length1; 116 subtractHighPrecision (uint64_t * arg1, int32_t length1, uint64_t * arg2, int32_t length2) 120 for (index = 0; index < length1; ++index) 122 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);
|
/frameworks/support/work/workmanager/src/main/java/androidx/work/ |
ArrayCreatingInputMerger.java | 108 int length1 = Array.getLength(array1); local 111 length1 + length2); 112 System.arraycopy(array1, 0, newArray, 0, length1); 113 System.arraycopy(array2, 0, newArray, length1, length2);
|
/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 | 143 unorm_cmpEquivFold(const UChar *s1, int32_t length1, 191 if(length1==-1) { 194 limit1=s1+length1; 561 unorm_compare(const UChar *s1, int32_t length1, 569 if(s1==0 || length1<-1 || s2==0 || length2<-1) { 613 if(_normalize(&fn2, s1, length1, fcd1, pErrorCode)) { 615 length1=fcd1.length(); 622 if(_normalize(n2, s1, length1, fcd1, pErrorCode)) { 624 length1=fcd1.length(); 634 return unorm_cmpEquivFold(s1, length1, s2, length2, options, pErrorCode) [all...] |
ustring.cpp | 687 uprv_strCompare(const UChar *s1, int32_t length1, 698 if(length1<0 && length2<0) { 720 /* special handling for strncmp, assume length1==length2>=0 but also check for NUL */ 725 limit1=start1+length1; 746 limit2=start2+length1; /* use length1 here, too, to enforce assumption */ 751 if(length1<0) { 752 length1=u_strlen(s1); 759 if(length1<length2) { 761 limit1=start1+length1; [all...] |
ustr_imp.h | 36 uprv_strCompare(const UChar *s1, int32_t length1,
|
ucasemap_imp.h | 39 u_strcmpFold(const UChar *s1, int32_t length1, 48 * @param length1 length of string 1, or -1 (NULL terminated) 57 u_caseInsensitivePrefixMatch(const UChar *s1, int32_t length1,
|
ustrcase.cpp | [all...] |
/external/wpa_supplicant_8/src/pae/ |
ieee802_1x_kay_i.h | 167 u8 length1; member in struct:ieee802_1x_mka_hdr 182 * @length1: Parameter set body length (cont) 206 u8 length1; member in struct:ieee802_1x_mka_basic_body 222 * @length1: Parameter set body length (cont) 239 u8 length1; member in struct:ieee802_1x_mka_peer_body 303 u8 length1; member in struct:ieee802_1x_mka_sak_use_body 325 * @length1: Parameter set body length (cont) 357 u8 length1; member in struct:ieee802_1x_mka_dist_sak_body 372 * @length1: Parameter set body length (cont) 394 u8 length1; member in struct:ieee802_1x_mka_dist_cak_body 417 u8 length1; member in struct:ieee802_1x_mka_icv_body [all...] |
/libcore/luni/src/test/java/libcore/java/util/ |
OldPriorityQueueTest.java | 88 int length1 = object1.length(); local 90 if (length1 > length2) { 92 } else if (length1 == length2) {
|
/libcore/ojluni/src/main/java/sun/reflect/ |
Reflection.java | 184 int length1 = lastDot1 - idx1; local 187 if (length1 != length2) { 190 return name1.regionMatches(false, idx1, name2, idx2, length1);
|
/external/annotation-tools/asmx/src/org/objectweb/asm/ |
ByteVector.java | 287 int length1 = 2 * data.length; local 289 byte[] newData = new byte[length1 > length2 ? length1 : length2];
|
/external/icu/icu4c/source/test/intltest/ |
idnaref.h | 200 * @param length1 Length of first source string, or -1 if NUL-terminated. 218 idnaref_compare( const UChar *s1, int32_t length1,
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
InflaterOutputStreamTest.java | 192 int length1 = defaultDeflater.deflate(compressedBytes); local 199 int length2 = bestDeflater.deflate(compressedBytes, length1, compressedBytes.length - length1); 203 for (int i = 0; i < length1; i++) { 215 for (int i = length1; i < length2 * 2; i++) {
|
/external/protobuf/javanano/src/main/java/com/google/protobuf/nano/ |
InternalNano.java | 207 int length1 = field1 == null ? 0 : field1.length; local 211 while (index1 < length1 && field1[index1] == null) { 217 boolean atEndOf1 = index1 >= length1; 242 int length1 = field1 == null ? 0 : field1.length; local 246 while (index1 < length1 && field1[index1] == null) { 252 boolean atEndOf1 = index1 >= length1;
|
/external/icu/icu4c/source/i18n/ |
uspoof.cpp | 385 const UChar *id1, int32_t length1, 392 if (length1 < -1 || length2 < -1) { 397 UnicodeString id1Str((length1==-1), id1, length1); // Aliasing constructor 405 const char *id1, int32_t length1, 412 if (length1 < -1 || length2 < -1) { 416 UnicodeString id1Str = UnicodeString::fromUTF8(StringPiece(id1, length1>=0? length1 : static_cast<int32_t>(uprv_strlen(id1))));
|
/toolchain/binutils/binutils-2.27/include/ |
xregex2.h | 474 int length1, const char *string2, int length2, 487 int length1, const char *string2, int length2,
|
/external/compiler-rt/lib/asan/ |
asan_report.h | 67 const char *offset1, uptr length1,
|
/external/icu/icu4c/source/i18n/unicode/ |
uspoof.h | [all...] |
/external/autotest/client/cros/chameleon/ |
audio_test_utils.py | 631 length1, length2 = len(list1), len(list2) 632 matching = [[0] * (length2 + 1)] * (length1 + 1) 635 for i in xrange(length1): 648 matched1 = [False] * length1 650 i, j = length1, length2
|