Lines Matching refs:maxcount
484 Py_ssize_t maxcount) in STRINGLIB()
498 if (count == maxcount) { in STRINGLIB()
499 return maxcount; in STRINGLIB()
519 Py_ssize_t maxcount, int mode) in FASTSEARCH() argument
527 if (w < 0 || (mode == FAST_COUNT && maxcount == 0)) in FASTSEARCH()
543 if (count == maxcount) in FASTSEARCH()
544 return maxcount; in FASTSEARCH()
564 return STRINGLIB(_two_way_count)(s, n, p, m, maxcount); in FASTSEARCH()
603 if (count == maxcount) { in FASTSEARCH()
604 return maxcount; in FASTSEARCH()
624 s+i, n-i, p, m, maxcount-count); in FASTSEARCH()
664 if (count == maxcount) { in FASTSEARCH()
665 return maxcount; in FASTSEARCH()