Lines Matching refs:bestlen
203 #define FINISH { ADDL(0) if ((_p-tmp) > bestlen) \
204 (void) memmove(best, tmp, bestlen = _p-tmp); }
228 static int bestlen; variable
364 bestlen = re_lit(pat, &lb, &le); in dogre()
366 if (bestlen && pat->fullmatch) { /* Full Boyer Moore */ in dogre()
368 printf("BESTLEN %d\n", bestlen); in dogre()
379 if (bestlen > 1) { in dogre()
1160 bestlen = 0; in re_lit()
1165 if (bestlen < 2) in re_lit()
1167 *b = egmalloc(bestlen * sizeof (uchar_t)); in re_lit()
1168 (void) memmove(*b, best, bestlen); in re_lit()
1169 *e = *b + bestlen - 1; in re_lit()
1170 return (bestlen - 1); in re_lit()