Searched refs:maxInc (Results 1 – 3 of 3) sorted by relevance
434 int maxInc = 0, maxOverlap = 0; in spanWithStrings() local459 … if ((overlap > maxOverlap || /* redundant overlap==maxOverlap && */inc > maxInc) in spanWithStrings()461 maxInc = inc; // Longest match from earliest start. in spanWithStrings()470 if (maxInc != 0 || maxOverlap != 0) { in spanWithStrings()473 pos += maxInc; in spanWithStrings()474 rest -= maxInc; in spanWithStrings()570 int maxInc = (cpLength > 0) ? cpLength : 0; in spanAndCount() local575 if (maxInc < length16 && length16 <= rest && in spanAndCount()577 maxInc = length16; in spanAndCount()581 if (maxInc == 0) { in spanAndCount()[all …]
438 int maxInc = 0, maxOverlap = 0; in spanWithStrings() local463 … if ((overlap > maxOverlap || /* redundant overlap==maxOverlap && */inc > maxInc) in spanWithStrings()465 maxInc = inc; // Longest match from earliest start. in spanWithStrings()474 if (maxInc != 0 || maxOverlap != 0) { in spanWithStrings()477 pos += maxInc; in spanWithStrings()478 rest -= maxInc; in spanWithStrings()574 int maxInc = (cpLength > 0) ? cpLength : 0; in spanAndCount() local579 if (maxInc < length16 && length16 <= rest && in spanAndCount()581 maxInc = length16; in spanAndCount()585 if (maxInc == 0) { in spanAndCount()[all …]
689 int32_t maxInc=0, maxOverlap=0; in span() local714 if( (overlap>maxOverlap || /* redundant overlap==maxOverlap && */ inc>maxInc) && in span()717 maxInc=inc; // Longest match from earliest start. in span()726 if(maxInc!=0 || maxOverlap!=0) { in span()729 pos+=maxInc; in span()730 rest-=maxInc; in span()1026 int32_t maxInc=0, maxOverlap=0; in spanUTF8() local1054 (overlap>maxOverlap || /* redundant overlap==maxOverlap && */ inc>maxInc) && in spanUTF8()1058 maxInc=inc; // Longest match from earliest start. in spanUTF8()1068 if(maxInc!=0 || maxOverlap!=0) { in spanUTF8()[all …]