Lines Matching refs:shp
134 struct s_hook *shp; in emit_documentation() local
140 shp = XNEW (struct s_hook); in emit_documentation()
141 shp->name = upstrdup (buf); in emit_documentation()
142 shp->pos = -1; in emit_documentation()
143 p = htab_find_slot (start_hooks, shp, INSERT); in emit_documentation()
145 fatal ("Duplicate placement for hook %s\n", shp->name); in emit_documentation()
146 *(struct s_hook **) p = shp; in emit_documentation()
152 struct s_hook sh, *shp; in emit_documentation() local
161 shp = (struct s_hook *) p; in emit_documentation()
162 if (shp->pos >= 0) in emit_documentation()
164 shp->pos = i; in emit_documentation()
180 struct s_hook sh, *shp; in emit_documentation() local
200 shp = (struct s_hook *) htab_find (start_hooks, &sh); in emit_documentation()
201 if (!shp || shp->pos < 0) in emit_documentation()
203 i = shp->pos; in emit_documentation()
216 if (i != shp->pos) in emit_documentation()