Home | History | Annotate | Download | only in csh

Lines Matching defs:hp

56     struct Hist *hp, *np;
77 for (hp = &Histlist; (np = hp->Hnext) != NULL;)
79 hp->Hnext = np->Hnext, hfree(np);
81 hp = np;
87 loadhist(struct Hist *hp) {
90 if (hi == NULL || hp == NULL)
92 loadhist(hp->Hnext);
93 if (sprlex(&h, &hp->Hlex) != -1) {
131 hfree(struct Hist *hp)
133 freelex(&hp->Hlex);
134 free(hp);
181 dohist1(struct Hist *hp, int *np, int rflg, int hflg)
187 for (; hp != 0; hp = hp->Hnext) {
189 hp->Href++;
191 dohist1(hp->Hnext, np, rflg, hflg);
193 phist(hp, hflg);
197 phist(hp, hflg);
202 phist(struct Hist *hp, int hflg)
205 (void)fprintf(cshout, "%6d\t", hp->Hnum);
206 prlex(cshout, &hp->Hlex);