Lines Matching defs:lh
874 struct labhash **lhp, *lh;
881 for (lh = *lhp; lh != NULL; lh = lh->lh_next)
882 if (lh->lh_hash == h && strcmp(cp->t, lh->lh_cmd->t) == 0)
884 if ((lh = malloc(sizeof (*lh))) == NULL)
886 lh->lh_next = *lhp;
887 lh->lh_hash = h;
888 lh->lh_cmd = cp;
889 lh->lh_ref = 0;
890 *lhp = lh;
900 struct labhash *lh;
906 for (lh = labels[h & LHMASK]; lh != NULL; lh = lh->lh_next) {
907 if (lh->lh_hash == h && strcmp(name, lh->lh_cmd->t) == 0) {
908 lh->lh_ref = 1;
909 return (lh->lh_cmd);
922 struct labhash *lh, *next;
926 for (lh = labels[i]; lh != NULL; lh = next) {
927 next = lh->lh_next;
928 if (!lh->lh_ref)
930 linenum, fname, lh->lh_cmd->t);
931 free(lh);