Lines Matching refs:wp
78 struct wlist *wp;
80 for (wp = hashtab[hash(s)]; wp != NULL; wp = wp->next)
81 if (*s == *wp->string && strcmp(s, wp->string) == 0)
82 return wp;
87 install(struct wlist *wp)
91 if (lookup(wp->string) == NULL) {
92 hashval = hash(wp->string);
93 wp->next = hashtab[hashval];
94 hashtab[hashval] = wp;
96 printf("Multiply defined %s.\n", wp->string);
102 struct wlist *wp;
108 if ((wp = lookup(words[n])) == NULL) {
112 wordvalue[n] = wp->value;
113 wordtype[n] = wp->article;