Home | History | Annotate | Download | only in csh

Lines Matching defs:np

56     struct Hist *hp, *np;
77 for (hp = &Histlist; (np = hp->Hnext) != NULL;)
78 if (eventno - np->Href >= histlen || histlen == 0)
79 hp->Hnext = np->Hnext, hfree(np);
81 hp = np;
103 struct Hist *np;
114 np = xmalloc(sizeof(*np));
115 np->Hnum = np->Href = event;
117 copylex(&np->Hlex, lp);
120 np->Hlex.next = lp->next;
121 lp->next->prev = &np->Hlex;
122 np->Hlex.prev = lp->prev;
123 lp->prev->next = &np->Hlex;
125 np->Hnext = Histlist.Hnext;
126 Histlist.Hnext = np;
127 return (np);
181 dohist1(struct Hist *hp, int *np, int rflg, int hflg)
185 print = (*np) > 0;
188 (*np)--;
191 dohist1(hp->Hnext, np, rflg, hflg);
196 if (*np >= 0)