Home
last modified time | relevance | path

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

12

/external/webkit/Source/JavaScriptCore/runtime/
DOperations.h39 unsigned length1 = s1->length(); in jsString() local
40 if (!length1) in jsString()
45 if ((length1 + length2) < length1) in jsString()
64 unsigned length1 = u1.length(); in jsString() local
65 if (!length1) in jsString()
70 if ((length1 + length2) < length1) in jsString()
89 unsigned length1 = s1->length(); in jsString() local
90 if (!length1) in jsString()
95 if ((length1 + length2) < length1) in jsString()
114 unsigned length1 = u1.length(); in jsString() local
[all …]
/external/icu4c/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.cpp684 uprv_strCompare(const UChar *s1, int32_t length1, in uprv_strCompare() argument
695 if(length1<0 && length2<0) { in uprv_strCompare()
722 limit1=start1+length1; in uprv_strCompare()
743 limit2=start2+length1; /* use length1 here, too, to enforce assumption */ in uprv_strCompare()
748 if(length1<0) { in uprv_strCompare()
749 length1=u_strlen(s1); in uprv_strCompare()
756 if(length1<length2) { in uprv_strCompare()
758 limit1=start1+length1; in uprv_strCompare()
759 } else if(length1==length2) { in uprv_strCompare()
761 limit1=start1+length1; in uprv_strCompare()
[all …]
Dustrcase.cpp470 u_strcmpFold(const UChar *s1, int32_t length1, in u_strcmpFold() argument
508 if(length1==-1) { in u_strcmpFold()
511 limit1=s1+length1; in u_strcmpFold()
769 u_strCaseCompare(const UChar *s1, int32_t length1, in u_strCaseCompare() argument
777 if(s1==NULL || length1<-1 || s2==NULL || length2<-1) { in u_strCaseCompare()
781 return u_strcmpFold(s1, length1, s2, length2, in u_strCaseCompare()
Dustr_imp.h50 uprv_strCompare(const UChar *s1, int32_t length1,
60 u_strcmpFold(const UChar *s1, int32_t length1,
Duidna.cpp861 uidna_compare( const UChar *s1, int32_t length1, in uidna_compare() argument
877 b1Len = uidna_IDNToASCII(s1, length1, b1, b1Capacity, options, &parseError, status); in uidna_compare()
888 b1Len = uidna_IDNToASCII(s1,length1,b1,b1Len, options, &parseError, status); in uidna_compare()
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/
DInflaterOutputStreamTest.java173 int length1 = defaultDeflater.deflate(compressedBytes); in test_finish() local
179 int length2 = bestDeflater.deflate(compressedBytes,length1,compressedBytes.length-length1); in test_finish()
182 for (int i = 0; i < length1; i++) { in test_finish()
194 for (int i = length1; i < length2*2; i++) { in test_finish()
/external/google-diff-match-patch/name/fraser/neil/plaintext/
Ddiff_match_patch.java1698 String pattern = text.substring(patch.start2, patch.start2 + patch.length1); in patch_addContext()
1707 Math.min(text.length(), patch.start2 + patch.length1 + padding)); in patch_addContext()
1719 String suffix = text.substring(patch.start2 + patch.length1, in patch_addContext()
1720 Math.min(text.length(), patch.start2 + patch.length1 + padding)); in patch_addContext()
1729 patch.length1 += prefix.length() + suffix.length(); in patch_addContext()
1825 patch.length1 += aDiff.text.length(); in patch_make()
1835 patch.length1 += aDiff.text.length(); in patch_make()
1889 patchCopy.length1 = aPatch.length1; in patch_deepCopy()
1950 delta -= aPatch.length2 - aPatch.length1; in patch_apply()
2036 patch.length1 += paddingLength; in patch_addPadding()
[all …]
/external/icu4c/i18n/
Duspoof.cpp415 const UChar *s1, int32_t length1, in uspoof_areConfusable() argument
446 int32_t s1ScriptCount = This->scriptScan(s1, length1, t, *status); in uspoof_areConfusable()
453 s1Skeleton = getSkeleton(sc, flagsForSkeleton, s1, length1, s1SkeletonBuf, in uspoof_areConfusable()
489 s1Skeleton = getSkeleton(sc, flagsForSkeleton, s1, length1, s1SkeletonBuf, in uspoof_areConfusable()
538 const char *s1, int32_t length1, in uspoof_areConfusableUTF8() argument
549 … UChar *s1U = convertFromUTF8(s1Buf, USPOOF_STACK_BUFFER_SIZE, &lengthS1U, s1, length1, status); in uspoof_areConfusableUTF8()
574 int32_t length1 = s1.length(); in uspoof_areConfusableUnicodeString() local
578 int32_t results = uspoof_areConfusable(sc, u1, length1, u2, length2, status); in uspoof_areConfusableUnicodeString()
/external/icu4c/i18n/unicode/
Duspoof.h670 const UChar *s1, int32_t length1,
703 const char *s1, int32_t length1,
/external/compiler-rt/lib/asan/
Dasan_interceptors.cc61 static inline bool RangesOverlap(const char *offset1, uptr length1, in RangesOverlap() argument
63 return !((offset1 + length1 <= offset2) || (offset2 + length2 <= offset1)); in RangesOverlap()
65 #define CHECK_RANGES_OVERLAP(name, _offset1, length1, _offset2, length2) do { \ argument
68 if (RangesOverlap(offset1, length1, offset2, length2)) { \
70 ReportStringFunctionMemoryRangesOverlap(name, offset1, length1, \
Dasan_report.h46 const char *function, const char *offset1, uptr length1,
Dasan_report.cc572 const char *function, const char *offset1, uptr length1, in ReportStringFunctionMemoryRangesOverlap() argument
581 bug_type, offset1, offset1 + length1, offset2, offset2 + length2); in ReportStringFunctionMemoryRangesOverlap()
584 DescribeAddress((uptr)offset1, length1); in ReportStringFunctionMemoryRangesOverlap()
/external/webkit/Source/WebCore/icu/unicode/
Duidna.h303 uidna_compare( const UChar *s1, int32_t length1,
Dunorm.h568 unorm_compare(const UChar *s1, int32_t length1,
Dustring.h460 u_strCompare(const UChar *s1, int32_t length1,
538 u_strCaseCompare(const UChar *s1, int32_t length1,
/external/webkit/Source/WebKit/mac/icu/unicode/
Duidna.h303 uidna_compare( const UChar *s1, int32_t length1,
Dunorm.h568 unorm_compare(const UChar *s1, int32_t length1,
Dustring.h460 u_strCompare(const UChar *s1, int32_t length1,
538 u_strCaseCompare(const UChar *s1, int32_t length1,
/external/icu4c/test/intltest/
Didnaref.h216 idnaref_compare( const UChar *s1, int32_t length1,
/external/icu4c/common/unicode/
Dunorm.h554 unorm_compare(const UChar *s1, int32_t length1,
/external/webkit/Source/JavaScriptCore/icu/unicode/
Dunorm.h568 unorm_compare(const UChar *s1, int32_t length1,
Dustring.h460 u_strCompare(const UChar *s1, int32_t length1,
538 u_strCaseCompare(const UChar *s1, int32_t length1,
/external/webkit/Source/JavaScriptGlue/icu/unicode/
Dustring.h460 u_strCompare(const UChar *s1, int32_t length1,
538 u_strCaseCompare(const UChar *s1, int32_t length1,
/external/chromium/base/
Dfile_path.cc1070 int length1 = string1.length(); in HFSFastUnicodeCompare() local
1077 length1, in HFSFastUnicodeCompare()
1085 DCHECK_EQ(index1, length1); in HFSFastUnicodeCompare()

12