Home | History | Annotate | Download | only in common

Lines Matching refs:length1

683 uprv_strCompare(const UChar *s1, int32_t length1,
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;
758 } else if(length1==length2) {
760 limit1=start1+length1;
761 } else /* length1>length2 */ {
786 limit1=start1+length1;
921 u_strCompare(const UChar *s1, int32_t length1,
925 if(s1==NULL || length1<-1 || s2==NULL || length2<-1) {
928 return uprv_strCompare(s1, length1, s2, length2, FALSE, codePointOrder);