Lines Matching defs:hp
708 const Char *hp;
732 hp = HIST_FIRST(el);
733 if (hp == NULL)
739 hp = HIST_NEXT(el);
741 while (hp != NULL) {
743 (void) fprintf(el->el_errfile, "Comparing with \"%s\"\n", hp);
745 if ((Strncmp(hp, el->el_line.buffer, (size_t)
747 hp[el->el_line.lastchar - el->el_line.buffer]) &&
748 c_hmatch(el, hp)) {
753 hp = HIST_NEXT(el);
776 const Char *hp;
790 hp = HIST_FIRST(el);
791 if (hp == NULL)
796 for (h = 1; h < el->el_history.eventno && hp; h++) {
798 (void) fprintf(el->el_errfile, "Comparing with \"%s\"\n", hp);
800 if ((Strncmp(hp, el->el_line.buffer, (size_t)
802 hp[el->el_line.lastchar - el->el_line.buffer]) &&
803 c_hmatch(el, hp))
805 hp = HIST_NEXT(el);