Lines Matching defs:lh
1008 struct labhash **lhp, *lh;
1015 for (lh = *lhp; lh != NULL; lh = lh->lh_next)
1016 if (lh->lh_hash == h && strcmp(cp->t, lh->lh_cmd->t) == 0)
1018 if ((lh = malloc(sizeof *lh)) == NULL)
1020 lh->lh_next = *lhp;
1021 lh->lh_hash = h;
1022 lh->lh_cmd = cp;
1023 lh->lh_ref = 0;
1024 *lhp = lh;
1034 struct labhash *lh;
1040 for (lh = labels[h & LHMASK]; lh != NULL; lh = lh->lh_next) {
1041 if (lh->lh_hash == h && strcmp(name, lh->lh_cmd->t) == 0) {
1042 lh->lh_ref = 1;
1043 return (lh->lh_cmd);
1056 struct labhash *lh, *next;
1060 for (lh = labels[i]; lh != NULL; lh = next) {
1061 next = lh->lh_next;
1062 if (!lh->lh_ref)
1064 linenum, fname, lh->lh_cmd->t);
1065 free(lh);