Lines Matching defs:lh
890 struct labhash **lhp, *lh;
897 for (lh = *lhp; lh != NULL; lh = lh->lh_next)
898 if (lh->lh_hash == h && strcmp(cp->t, lh->lh_cmd->t) == 0)
900 if ((lh = malloc(sizeof *lh)) == NULL)
902 lh->lh_next = *lhp;
903 lh->lh_hash = h;
904 lh->lh_cmd = cp;
905 lh->lh_ref = 0;
906 *lhp = lh;
916 struct labhash *lh;
922 for (lh = labels[h & LHMASK]; lh != NULL; lh = lh->lh_next) {
923 if (lh->lh_hash == h && strcmp(name, lh->lh_cmd->t) == 0) {
924 lh->lh_ref = 1;
925 return (lh->lh_cmd);
938 struct labhash *lh, *next;
942 for (lh = labels[i]; lh != NULL; lh = next) {
943 next = lh->lh_next;
944 if (!lh->lh_ref)
946 linenum, fname, lh->lh_cmd->t);
947 free(lh);