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