Home | History | Annotate | Download | only in sed

Lines Matching defs:lh

1031 	struct labhash **lhp, *lh;
1038 for (lh = *lhp; lh != NULL; lh = lh->lh_next)
1039 if (lh->lh_hash == h && strcmp(cp->t, lh->lh_cmd->t) == 0)
1041 lh = xmalloc(sizeof *lh);
1042 lh->lh_next = *lhp;
1043 lh->lh_hash = h;
1044 lh->lh_cmd = cp;
1045 lh->lh_ref = 0;
1046 *lhp = lh;
1056 struct labhash *lh;
1062 for (lh = labels[h & LHMASK]; lh != NULL; lh = lh->lh_next) {
1063 if (lh->lh_hash == h && strcmp(name, lh->lh_cmd->t) == 0) {
1064 lh->lh_ref = 1;
1065 return (lh->lh_cmd);
1078 struct labhash *lh, *next;
1082 for (lh = labels[i]; lh != NULL; lh = next) {
1083 next = lh->lh_next;
1084 if (!lh->lh_ref)
1086 linenum, fname, lh->lh_cmd->t);
1087 free(lh);