Lines Matching refs:np
82 Nlist *np; in setup_kwtab() local
91 np = lookup(&t, 1); in setup_kwtab()
92 np->flag = (char) kp->flag; in setup_kwtab()
93 np->val = (char) kp->val; in setup_kwtab()
94 if (np->val == KDEFINED) in setup_kwtab()
96 kwdefined = np; in setup_kwtab()
97 np->val = NAME; in setup_kwtab()
98 np->vp = &deftr; in setup_kwtab()
99 np->ap = 0; in setup_kwtab()
108 Nlist *np; in lookup() local
115 np = nlist[h]; in lookup()
116 while (np) in lookup()
118 if (*tp->t == *np->name && tp->len == (unsigned int)np->len in lookup()
119 && strncmp((char *)tp->t, (char *)np->name, tp->len) == 0) in lookup()
120 return np; in lookup()
121 np = np->next; in lookup()
125 np = new(Nlist); in lookup()
126 np->vp = NULL; in lookup()
127 np->ap = NULL; in lookup()
128 np->flag = 0; in lookup()
129 np->val = 0; in lookup()
130 np->len = tp->len; in lookup()
131 np->name = newstring(tp->t, tp->len, 0); in lookup()
132 np->next = nlist[h]; in lookup()
133 nlist[h] = np; in lookup()
135 return np; in lookup()