Home
last modified time | relevance | path

Searched refs:length1 (Results 1 – 25 of 51) sorted by relevance

123

/external/strace/tests/
Dmmap.c40 const unsigned long length1 = pagesize * 6; in main() local
64 p = mmap(addr, length1, PROT_READ | PROT_WRITE, in main()
70 name, addr, length1, fd, uoffset, p); in main()
72 if (msync(p, length1, MS_SYNC)) in main()
74 printf("msync(%p, %lu, MS_SYNC) = 0\n", p, length1); in main()
76 if (mprotect(p, length1, PROT_NONE)) in main()
78 printf("mprotect(%p, %lu, PROT_NONE) = 0\n", p, length1); in main()
80 addr = mremap(p, length1, length2, 0); in main()
83 printf("mremap(%p, %lu, %lu, 0) = %p\n", p, length1, length2, addr); in main()
/external/strace/tests-mx32/
Dmmap.c40 const unsigned long length1 = pagesize * 6; in main() local
64 p = mmap(addr, length1, PROT_READ | PROT_WRITE, in main()
70 name, addr, length1, fd, uoffset, p); in main()
72 if (msync(p, length1, MS_SYNC)) in main()
74 printf("msync(%p, %lu, MS_SYNC) = 0\n", p, length1); in main()
76 if (mprotect(p, length1, PROT_NONE)) in main()
78 printf("mprotect(%p, %lu, PROT_NONE) = 0\n", p, length1); in main()
80 addr = mremap(p, length1, length2, 0); in main()
83 printf("mremap(%p, %lu, %lu, 0) = %p\n", p, length1, length2, addr); in main()
/external/strace/tests-m32/
Dmmap.c40 const unsigned long length1 = pagesize * 6; in main() local
64 p = mmap(addr, length1, PROT_READ | PROT_WRITE, in main()
70 name, addr, length1, fd, uoffset, p); in main()
72 if (msync(p, length1, MS_SYNC)) in main()
74 printf("msync(%p, %lu, MS_SYNC) = 0\n", p, length1); in main()
76 if (mprotect(p, length1, PROT_NONE)) in main()
78 printf("mprotect(%p, %lu, PROT_NONE) = 0\n", p, length1); in main()
80 addr = mremap(p, length1, length2, 0); in main()
83 printf("mremap(%p, %lu, %lu, 0) = %p\n", p, length1, length2, addr); in main()
/external/icu/icu4c/source/common/
Dunormcmp.cpp143 unorm_cmpEquivFold(const UChar *s1, int32_t length1, in unorm_cmpEquivFold() argument
197 if(length1==-1) { in unorm_cmpEquivFold()
200 limit1=s1+length1; in unorm_cmpEquivFold()
567 unorm_compare(const UChar *s1, int32_t length1, in unorm_compare() argument
575 if(s1==0 || length1<-1 || s2==0 || length2<-1) { in unorm_compare()
619 if(_normalize(&fn2, s1, length1, fcd1, pErrorCode)) { in unorm_compare()
621 length1=fcd1.length(); in unorm_compare()
628 if(_normalize(n2, s1, length1, fcd1, pErrorCode)) { in unorm_compare()
630 length1=fcd1.length(); in unorm_compare()
640 return unorm_cmpEquivFold(s1, length1, s2, length2, options, pErrorCode); in unorm_compare()
Dustring.cpp686 uprv_strCompare(const UChar *s1, int32_t length1, in uprv_strCompare() argument
697 if(length1<0 && length2<0) { in uprv_strCompare()
724 limit1=start1+length1; in uprv_strCompare()
745 limit2=start2+length1; /* use length1 here, too, to enforce assumption */ in uprv_strCompare()
750 if(length1<0) { in uprv_strCompare()
751 length1=u_strlen(s1); in uprv_strCompare()
758 if(length1<length2) { in uprv_strCompare()
760 limit1=start1+length1; in uprv_strCompare()
761 } else if(length1==length2) { in uprv_strCompare()
763 limit1=start1+length1; in uprv_strCompare()
[all …]
Dustr_imp.h52 uprv_strCompare(const UChar *s1, int32_t length1,
62 u_strcmpFold(const UChar *s1, int32_t length1,
80 u_caseInsensitivePrefixMatch(const UChar *s1, int32_t length1,
Dustrcase.cpp1130 const UChar *s1, int32_t length1, in _cmpFold() argument
1183 if(length1==-1) { in _cmpFold()
1186 limit1=s1+length1; in _cmpFold()
1496 u_strcmpFold(const UChar *s1, int32_t length1, in u_strcmpFold() argument
1500 return _cmpFold(s1, length1, s2, length2, options, NULL, NULL, pErrorCode); in u_strcmpFold()
1506 u_strCaseCompare(const UChar *s1, int32_t length1, in u_strCaseCompare() argument
1514 if(s1==NULL || length1<-1 || s2==NULL || length2<-1) { in u_strCaseCompare()
1518 return u_strcmpFold(s1, length1, s2, length2, in u_strCaseCompare()
1549 u_caseInsensitivePrefixMatch(const UChar *s1, int32_t length1, in u_caseInsensitivePrefixMatch() argument
1554 _cmpFold(s1, length1, s2, length2, options, in u_caseInsensitivePrefixMatch()
Duidna.cpp862 uidna_compare( const UChar *s1, int32_t length1, in uidna_compare() argument
878 b1Len = uidna_IDNToASCII(s1, length1, b1, b1Capacity, options, &parseError, status); in uidna_compare()
889 b1Len = uidna_IDNToASCII(s1,length1,b1,b1Len, options, &parseError, status); in uidna_compare()
/external/wpa_supplicant_8/src/pae/
Dieee802_1x_kay_i.h167 u8 length1; member
206 u8 length1; member
239 u8 length1; member
303 u8 length1; member
357 u8 length1; member
394 u8 length1; member
417 u8 length1; member
/external/protobuf/javanano/src/main/java/com/google/protobuf/nano/
DInternalNano.java207 int length1 = field1 == null ? 0 : field1.length; in equals() local
211 while (index1 < length1 && field1[index1] == null) { in equals()
217 boolean atEndOf1 = index1 >= length1; in equals()
242 int length1 = field1 == null ? 0 : field1.length; in equals() local
246 while (index1 < length1 && field1[index1] == null) { in equals()
252 boolean atEndOf1 = index1 >= length1; in equals()
/external/icu/icu4c/source/i18n/
Duspoof.cpp385 const UChar *id1, int32_t length1, in uspoof_areConfusable() argument
392 if (length1 < -1 || length2 < -1) { in uspoof_areConfusable()
397 UnicodeString id1Str((length1==-1), id1, length1); // Aliasing constructor in uspoof_areConfusable()
405 const char *id1, int32_t length1, in uspoof_areConfusableUTF8() argument
412 if (length1 < -1 || length2 < -1) { in uspoof_areConfusableUTF8()
416 …UnicodeString id1Str = UnicodeString::fromUTF8(StringPiece(id1, length1>=0? length1 : uprv_strlen(… in uspoof_areConfusableUTF8()
/external/autotest/client/cros/chameleon/
Daudio_test_utils.py615 length1, length2 = len(list1), len(list2)
616 matching = [[0] * (length2 + 1)] * (length1 + 1)
619 for i in xrange(length1):
632 matched1 = [False] * length1
634 i, j = length1, length2
/external/compiler-rt/lib/asan/
Dasan_interceptors.cc99 static inline bool RangesOverlap(const char *offset1, uptr length1, in RangesOverlap() argument
101 return !((offset1 + length1 <= offset2) || (offset2 + length2 <= offset1)); in RangesOverlap()
103 #define CHECK_RANGES_OVERLAP(name, _offset1, length1, _offset2, length2) do { \ argument
106 if (RangesOverlap(offset1, length1, offset2, length2)) { \
108 ReportStringFunctionMemoryRangesOverlap(name, offset1, length1, \
Dasan_report.h67 const char *offset1, uptr length1,
/external/icu/icu4c/source/i18n/unicode/
Duspoof.h1307 const UChar *id1, int32_t length1,
1340 const char *id1, int32_t length1,
/external/icu/icu4c/source/test/intltest/
Didnaref.h218 idnaref_compare( const UChar *s1, int32_t length1,
Didnaref.cpp991 idnaref_compare( const UChar *s1, int32_t length1, in idnaref_compare() argument
1007 b1Len = idnaref_IDNToASCII(s1, length1, b1, b1Capacity, options, &parseError, status); in idnaref_compare()
1019 b1Len = idnaref_IDNToASCII(s1,length1,b1,b1Len, options, &parseError, status); in idnaref_compare()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DCodedOutputStreamTest.java425 final int length1 = 5000;
426 for (int i = 0; i < length1; i++) {
435 final int length3 = bufferSize - length1 - length2;
444 for (int i = 0; i < length1; i++) {
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DUTF16.java2552 int length1 = s1.length(); in compareCaseSensitive() local
2554 int minlength = length1; in compareCaseSensitive()
2556 if (length1 < length2) { in compareCaseSensitive()
2558 } else if (length1 > length2) { in compareCaseSensitive()
2585 …if ((c1 <= LEAD_SURROGATE_MAX_VALUE && (index + 1) != length1 && isTrailSurrogate(s1.charAt(index … in compareCaseSensitive()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DUTF16.java2466 int length1 = s1.length(); in compareCaseSensitive() local
2468 int minlength = length1; in compareCaseSensitive()
2470 if (length1 < length2) { in compareCaseSensitive()
2472 } else if (length1 > length2) { in compareCaseSensitive()
2499 …if ((c1 <= LEAD_SURROGATE_MAX_VALUE && (index + 1) != length1 && isTrailSurrogate(s1.charAt(index … in compareCaseSensitive()
/external/icu/icu4c/source/common/unicode/
Dustring.h473 u_strCompare(const UChar *s1, int32_t length1,
551 u_strCaseCompare(const UChar *s1, int32_t length1,
Dunorm2.h620 unorm_compare(const UChar *s1, int32_t length1,
Duidna.h763 uidna_compare( const UChar *s1, int32_t length1,
/external/libchrome/base/files/
Dfile_path.cc1178 int length1 = string1.length(); in HFSFastUnicodeCompare() local
1185 length1, in HFSFastUnicodeCompare()
1193 DCHECK_EQ(index1, length1); in HFSFastUnicodeCompare()
/external/webrtc/webrtc/modules/rtp_rtcp/test/testFec/
Dtest_packet_masks_metrics.cc913 int length1 = code_params_[code_index1].num_media_packets + in TEST_F() local
925 if ((protection_level2 > protection_level1 && length2 >= length1) || in TEST_F()
926 (protection_level2 == protection_level1 && length2 > length1)) { in TEST_F()

123