Home
last modified time | relevance | path

Searched refs:limit2 (Results 1 – 6 of 6) sorted by relevance

/external/icu4c/common/
Dunormcmp.cpp151 const UChar *start1, *start2, *limit1, *limit2; in unorm_cmpEquivFold() local
205 limit2=NULL; in unorm_cmpEquivFold()
207 limit2=s2+length2; in unorm_cmpEquivFold()
246 if(s2==limit2 || ((c2=*s2)==0 && (limit2==NULL || (options&_STRNCMP_STYLE)))) { in unorm_cmpEquivFold()
262 limit2=stack2[level2].limit; in unorm_cmpEquivFold()
305 if(s2!=limit2 && U16_IS_TRAIL(c=*s2)) { in unorm_cmpEquivFold()
390 stack2[0].limit=limit2; in unorm_cmpEquivFold()
404 limit2=fold2+length; in unorm_cmpEquivFold()
476 stack2[level2].limit=limit2; in unorm_cmpEquivFold()
486 limit2=p+length; in unorm_cmpEquivFold()
[all …]
Dustrcase.c656 const UChar *start1, *start2, *limit1, *limit2; in u_strcmpFold() local
695 limit2=NULL; in u_strcmpFold()
697 limit2=s2+length2; in u_strcmpFold()
736 if(s2==limit2 || ((c2=*s2)==0 && (limit2==NULL || (options&_STRNCMP_STYLE)))) { in u_strcmpFold()
752 limit2=stack2[level2].limit; in u_strcmpFold()
795 if(s2!=limit2 && U16_IS_TRAIL(c=*s2)) { in u_strcmpFold()
880 stack2[0].limit=limit2; in u_strcmpFold()
894 limit2=fold2+length; in u_strcmpFold()
931 (c2<=0xdbff && s2!=limit2 && U16_IS_TRAIL(*s2)) || in u_strcmpFold()
Dutext.cpp516 UText *s2, int64_t limit2) { in utext_compareNativeLimit() argument
519 if(limit1<0 && limit2<0) { in utext_compareNativeLimit()
533 int64_t index2 = (limit2 >= 0 ? UTEXT_GETNATIVEINDEX(s2) : 0); in utext_compareNativeLimit()
535 while((limit1 < 0 || index1 < limit1) && (limit2 < 0 || index2 < limit2)) { in utext_compareNativeLimit()
548 if (limit2 >= 0) { in utext_compareNativeLimit()
554 if(index2 >= limit2) { in utext_compareNativeLimit()
692 UText *s2, int64_t limit2, in utext_caseCompareNativeLimit() argument
723 index2 = (limit2 >= 0 ? UTEXT_GETNATIVEINDEX(s2) : 0); in utext_caseCompareNativeLimit()
729 (foldOffset2 < foldLength2 || limit2 < 0 || index2 < limit2)) { in utext_caseCompareNativeLimit()
773 if (limit2 >= 0) { in utext_caseCompareNativeLimit()
[all …]
Dustring.c686 const UChar *start1, *start2, *limit1, *limit2; in uprv_strCompare() local
714 limit1=limit2=NULL; in uprv_strCompare()
742 limit2=start2+length1; /* use length1 here, too, to enforce assumption */ in uprv_strCompare()
787 limit2=start2+length2; in uprv_strCompare()
804 (c2<=0xdbff && (s2+1)!=limit2 && UTF_IS_TRAIL(*(s2+1))) || in uprv_strCompare()
/external/icu4c/common/unicode/
Dutext.h737 UText *s2, int64_t limit2);
816 UText *s2, int64_t limit2,
/external/protobuf/src/google/protobuf/io/
Dcoded_stream_unittest.cc818 CodedInputStream::Limit limit2 = coded_input.PushLimit(4); in TEST_1D() local
829 coded_input.PopLimit(limit2); in TEST_1D()
860 CodedInputStream::Limit limit2 = coded_input.PushLimit(8); in TEST_1D() local
873 coded_input.PopLimit(limit2); in TEST_1D()