• Home
  • Raw
  • Download

Lines Matching refs:rest

649     int32_t pos=spanLength, rest=length-pos;  in span()  local
673 if(inc>rest) { in span()
678 if(inc==rest) { in span()
712 if(inc>rest || overlap<maxOverlap) { in span()
732 rest-=maxInc; in span()
733 if(rest==0) { in span()
757 spanLength=spanSet.span(s+pos, rest, USET_SPAN_CONTAINED); in span()
758 if( spanLength==rest || // Reached the end of the string, or in span()
764 rest-=spanLength; in span()
770 spanLength=spanOne(spanSet, s+pos, rest); in span()
772 if(spanLength==rest) { in span()
779 rest-=spanLength; in span()
789 rest-=minOffset; in span()
971 int32_t pos=spanLength, rest=length-pos; in spanUTF8() local
1003 if(inc>rest) { in spanUTF8()
1014 if(inc==rest) { in spanUTF8()
1049 if(inc>rest || overlap<maxOverlap) { in spanUTF8()
1074 rest-=maxInc; in spanUTF8()
1075 if(rest==0) { in spanUTF8()
1099 spanLength=spanSet.spanUTF8((const char *)s+pos, rest, USET_SPAN_CONTAINED); in spanUTF8()
1100 if( spanLength==rest || // Reached the end of the string, or in spanUTF8()
1106 rest-=spanLength; in spanUTF8()
1112 spanLength=spanOneUTF8(spanSet, s+pos, rest); in spanUTF8()
1114 if(spanLength==rest) { in spanUTF8()
1121 rest-=spanLength; in spanUTF8()
1131 rest-=minOffset; in spanUTF8()
1342 int32_t pos=0, rest=length; in spanNot() local
1347 i=pSpanNotSet->span(s+pos, rest, USET_SPAN_NOT_CONTAINED); in spanNot()
1348 if(i==rest) { in spanNot()
1352 rest-=i; in spanNot()
1356 int32_t cpLength=spanOne(spanSet, s+pos, rest); in spanNot()
1369 if(length16<=rest && matches16CPB(s, pos, length, s16, length16)) { in spanNot()
1378 rest+=cpLength; in spanNot()
1379 } while(rest!=0); in spanNot()
1426 int32_t pos=0, rest=length; in spanNotUTF8() local
1435 i=pSpanNotSet->spanUTF8((const char *)s+pos, rest, USET_SPAN_NOT_CONTAINED); in spanNotUTF8()
1436 if(i==rest) { in spanNotUTF8()
1440 rest-=i; in spanNotUTF8()
1444 int32_t cpLength=spanOneUTF8(spanSet, s+pos, rest); in spanNotUTF8()
1455 …if(length8!=0 && spanUTF8Lengths[i]!=ALL_CP_CONTAINED && length8<=rest && matches8(s+pos, s8, leng… in spanNotUTF8()
1465 rest+=cpLength; in spanNotUTF8()
1466 } while(rest!=0); in spanNotUTF8()