Lines Matching full:anchored
445 int anchored = *str == '?' ? (++str, 0) : 1;
448 if ((n = findhist(histptr - history - 1, 0, str, anchored)) < 0)
512 findhist(int start, int fwd, const char *str, int anchored)
524 if ((anchored && strncmp(*hp, str, len) == 0) ||
525 (!anchored && strstr(*hp, str)))