Searched defs:length1 (Results 1 - 25 of 33) sorted by relevance

12

/external/chromium_org/ppapi/tests/
H A Dtest_browser_font.cc53 int32_t length1 = font.MeasureText(pp::BrowserFontTextRun("WWW")); local
54 ASSERT_TRUE(length1 > 0);
57 ASSERT_TRUE(length2 >= length1 * 2);
/external/chromium_org/third_party/icu/source/common/
H A Dunormcmp.cpp143 unorm_cmpEquivFold(const UChar *s1, int32_t length1, argument
197 if(length1==-1) {
200 limit1=s1+length1;
538 unorm_compare(const UChar *s1, int32_t length1, argument
546 if(s1==0 || length1<-1 || s2==0 || length2<-1) {
599 UnicodeString str1(length1<0, s1, length1);
621 length1=fcd1.length();
633 return unorm_cmpEquivFold(s1, length1, s2, length2, options, pErrorCode);
H A Duidna.cpp861 uidna_compare( const UChar *s1, int32_t length1, argument
877 b1Len = uidna_IDNToASCII(s1, length1, b1, b1Capacity, options, &parseError, status);
888 b1Len = uidna_IDNToASCII(s1,length1,b1,b1Len, options, &parseError, status);
H A Dustrcase.c649 u_strcmpFold(const UChar *s1, int32_t length1, argument
687 if(length1==-1) {
690 limit1=s1+length1;
948 u_strCaseCompare(const UChar *s1, int32_t length1, argument
956 if(s1==NULL || length1<-1 || s2==NULL || length2<-1) {
960 return u_strcmpFold(s1, length1, s2, length2,
H A Dustring.c683 uprv_strCompare(const UChar *s1, int32_t length1, argument
694 if(length1<0 && length2<0) {
716 /* special handling for strncmp, assume length1==length2>=0 but also check for NUL */
721 limit1=start1+length1;
742 limit2=start2+length1; /* use length1 here, too, to enforce assumption */
747 if(length1<0) {
748 length1=u_strlen(s1);
755 if(length1<length2) {
757 limit1=start1+length1;
921 u_strCompare(const UChar *s1, int32_t length1, const UChar *s2, int32_t length2, UBool codePointOrder) argument
[all...]
H A Dutext.cpp455 utext_compare(UText *s1, int32_t length1, argument
459 if(length1<0 && length2<0) {
471 if(length1 < 0) {
472 length1 = INT32_MIN;
478 while((length1 > 0 || length1 == INT32_MIN) && (length2 > 0 || length2 == INT32_MIN)) {
488 if (length1 != INT32_MIN) {
489 length1 -= 1;
496 if(length1 <= 0 && length1 !
570 utext_caseCompare(UText *s1, int32_t length1, UText *s2, int32_t length2, uint32_t options, UErrorCode *pErrorCode) argument
[all...]
/external/icu4c/common/
H A Dunormcmp.cpp143 unorm_cmpEquivFold(const UChar *s1, int32_t length1, argument
197 if(length1==-1) {
200 limit1=s1+length1;
567 unorm_compare(const UChar *s1, int32_t length1, argument
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, s
[all...]
H A Duidna.cpp861 uidna_compare( const UChar *s1, int32_t length1, argument
877 b1Len = uidna_IDNToASCII(s1, length1, b1, b1Capacity, options, &parseError, status);
888 b1Len = uidna_IDNToASCII(s1,length1,b1,b1Len, options, &parseError, status);
H A Dustrcase.cpp470 u_strcmpFold(const UChar *s1, int32_t length1, argument
508 if(length1==-1) {
511 limit1=s1+length1;
769 u_strCaseCompare(const UChar *s1, int32_t length1, argument
777 if(s1==NULL || length1<-1 || s2==NULL || length2<-1) {
781 return u_strcmpFold(s1, length1, s2, length2,
H A Dustring.cpp684 uprv_strCompare(const UChar *s1, int32_t length1, argument
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;
922 u_strCompare(const UChar *s1, int32_t length1, const UChar *s2, int32_t length2, UBool codePointOrder) argument
[all...]
/external/chromium_org/third_party/icu/source/test/intltest/
H A Didnaref.cpp987 idnaref_compare( const UChar *s1, int32_t length1, argument
1003 b1Len = idnaref_IDNToASCII(s1, length1, b1, b1Capacity, options, &parseError, status);
1015 b1Len = idnaref_IDNToASCII(s1,length1,b1,b1Len, options, &parseError, status);
/external/icu4c/test/intltest/
H A Didnaref.cpp989 idnaref_compare( const UChar *s1, int32_t length1, argument
1005 b1Len = idnaref_IDNToASCII(s1, length1, b1, b1Capacity, options, &parseError, status);
1017 b1Len = idnaref_IDNToASCII(s1,length1,b1,b1Len, options, &parseError, status);
/external/chromium/base/
H A Dfile_path.cc1070 int length1 = string1.length(); local
1077 length1,
1085 DCHECK_EQ(index1, length1);
/external/chromium_org/third_party/icu/source/i18n/
H A Duspoof.cpp412 const UChar *s1, int32_t length1,
443 int32_t s1ScriptCount = This->scriptScan(s1, length1, t, *status);
450 s1Skeleton = getSkeleton(sc, flagsForSkeleton, s1, length1, s1SkeletonBuf,
486 s1Skeleton = getSkeleton(sc, flagsForSkeleton, s1, length1, s1SkeletonBuf,
535 const char *s1, int32_t length1,
546 UChar *s1U = convertFromUTF8(s1Buf, USPOOF_STACK_BUFFER_SIZE, &lengthS1U, s1, length1, status);
571 int32_t length1 = s1.length(); local
575 int32_t results = uspoof_areConfusable(sc, u1, length1, u2, length2, status);
411 uspoof_areConfusable(const USpoofChecker *sc, const UChar *s1, int32_t length1, const UChar *s2, int32_t length2, UErrorCode *status) argument
534 uspoof_areConfusableUTF8(const USpoofChecker *sc, const char *s1, int32_t length1, const char *s2, int32_t length2, UErrorCode *status) argument
/external/chromium_org/third_party/icu/source/test/cintltst/
H A Dtrie2test.c547 int32_t length1, length2, length3; local
600 length1=utrie2_serialize(trie, NULL, 0, &errorCode);
616 if(length1!=length2) {
/external/compiler-rt/lib/asan/
H A Dasan_interceptors.cc61 static inline bool RangesOverlap(const char *offset1, uptr length1, argument
63 return !((offset1 + length1 <= offset2) || (offset2 + length2 <= offset1));
65 #define CHECK_RANGES_OVERLAP(name, _offset1, length1, _offset2, length2) do { \
68 if (RangesOverlap(offset1, length1, offset2, length2)) { \
70 ReportStringFunctionMemoryRangesOverlap(name, offset1, length1, \
H A Dasan_report.cc617 const char *function, const char *offset1, uptr length1,
626 bug_type, offset1, offset1 + length1, offset2, offset2 + length2);
629 DescribeAddress((uptr)offset1, length1);
616 ReportStringFunctionMemoryRangesOverlap( const char *function, const char *offset1, uptr length1, const char *offset2, uptr length2, StackTrace *stack) argument
/external/google-diff-match-patch/name/fraser/neil/plaintext/
H A Ddiff_match_patch.java1698 String pattern = text.substring(patch.start2, patch.start2 + patch.length1);
1707 Math.min(text.length(), patch.start2 + patch.length1 + padding));
1719 String suffix = text.substring(patch.start2 + patch.length1,
1720 Math.min(text.length(), patch.start2 + patch.length1 + padding));
1729 patch.length1 += prefix.length() + suffix.length();
1825 patch.length1 += aDiff.text.length();
1835 patch.length1 += aDiff.text.length();
1889 patchCopy.length1 = aPatch.length1;
1950 delta -= aPatch.length2 - aPatch.length1;
2344 public int length1; field in class:diff_match_patch.Patch
[all...]
/external/icu4c/i18n/
H A Duspoof.cpp306 const UChar *id1, int32_t length1,
313 if (length1 < -1 || length2 < -1) {
318 UnicodeString id1Str((length1==-1), id1, length1); // Aliasing constructor
326 const char *id1, int32_t length1,
333 if (length1 < -1 || length2 < -1) {
337 UnicodeString id1Str = UnicodeString::fromUTF8(StringPiece(id1, length1>=0? length1 : uprv_strlen(id1)));
305 uspoof_areConfusable(const USpoofChecker *sc, const UChar *id1, int32_t length1, const UChar *id2, int32_t length2, UErrorCode *status) argument
325 uspoof_areConfusableUTF8(const USpoofChecker *sc, const char *id1, int32_t length1, const char *id2, int32_t length2, UErrorCode *status) argument
/external/icu4c/test/cintltst/
H A Dtrie2test.c547 int32_t length1, length2, length3; local
600 length1=utrie2_serialize(trie, NULL, 0, &errorCode);
616 if(length1!=length2) {
/external/chromium_org/base/files/
H A Dfile_path.cc1161 int length1 = string1.length(); local
1168 length1,
1176 DCHECK_EQ(index1, length1);
/external/chromium_org/third_party/freetype/src/base/
H A Dftstroke.c1634 FT_Fixed length1, length2; local
1643 length1 = FT_DivFix( stroker->radius, FT_Cos( theta1 ) );
1657 FT_Vector_From_Polar( &ctrl1, length1, phi1 + rotate );
/external/freetype/src/base/
H A Dftstroke.c1634 FT_Fixed length1, length2; local
1643 length1 = FT_DivFix( stroker->radius, FT_Cos( theta1 ) );
1657 FT_Vector_From_Polar( &ctrl1, length1, phi1 + rotate );
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.core.resources.compatibility_3.4.0.v20090505.jar ... int, int, byte[], int, int) byte[] buffer1 int offset1 int length1 byte[] buffer2 int offset2 int length2 int i int j1 ...
H A Dorg.eclipse.equinox.p2.repository.tools_2.0.1.R36x_v20100823.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 754 milliseconds

12