Searched defs:length1 (Results 1 - 25 of 36) 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;
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/icu/icu4c/source/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.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/icu/icu4c/source/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_org/third_party/icu/source/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/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/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/icu/icu4c/source/i18n/
H A Duspoof.cpp339 const UChar *id1, int32_t length1,
346 if (length1 < -1 || length2 < -1) {
351 UnicodeString id1Str((length1==-1), id1, length1); // Aliasing constructor
359 const char *id1, int32_t length1,
366 if (length1 < -1 || length2 < -1) {
370 UnicodeString id1Str = UnicodeString::fromUTF8(StringPiece(id1, length1>=0? length1 : uprv_strlen(id1)));
338 uspoof_areConfusable(const USpoofChecker *sc, const UChar *id1, int32_t length1, const UChar *id2, int32_t length2, UErrorCode *status) argument
358 uspoof_areConfusableUTF8(const USpoofChecker *sc, const char *id1, int32_t length1, const char *id2, int32_t length2, UErrorCode *status) argument
/external/icu/icu4c/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/chromium_org/base/files/
H A Dfile_path.cc1163 int length1 = string1.length(); local
1170 length1,
1178 DCHECK_EQ(index1, length1);
/external/compiler-rt/lib/asan/
H A Dasan_interceptors.cc63 static inline bool RangesOverlap(const char *offset1, uptr length1, argument
65 return !((offset1 + length1 <= offset2) || (offset2 + length2 <= offset1));
67 #define CHECK_RANGES_OVERLAP(name, _offset1, length1, _offset2, length2) do { \
70 if (RangesOverlap(offset1, length1, offset2, length2)) { \
72 ReportStringFunctionMemoryRangesOverlap(name, offset1, length1, \
H A Dasan_report.cc715 const char *function, const char *offset1, uptr length1,
724 bug_type, offset1, offset1 + length1, offset2, offset2 + length2);
727 DescribeAddress((uptr)offset1, length1);
714 ReportStringFunctionMemoryRangesOverlap( const char *function, const char *offset1, uptr length1, const char *offset2, uptr length2, StackTrace *stack) argument
/external/wpa_supplicant_8/hostapd/src/pae/
H A Dieee802_1x_kay_i.h258 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/wpa_supplicant_8/src/pae/
H A Dieee802_1x_kay_i.h258 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/wpa_supplicant_8/wpa_supplicant/src/pae/
H A Dieee802_1x_kay_i.h258 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/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/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/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 );

Completed in 8229 milliseconds

12