Lines Matching defs:s2
498 Suff *s2 = NULL; /* the suffix descriptor in this element */
504 s2 = (Suff *)Lst_Datum(ln);
505 if (s2->sNum >= s->sNum) {
521 } else if (s2->sNum != s->sNum) {
523 fprintf(debug_file, "before %s(%d)\n", s2->name, s2->sNum);
847 Suff *s2;
861 s2 = (Suff *)Lst_Datum(ln);
862 SuffInsert(s2->children, s);
863 SuffInsert(s->parents, s2);
888 s2 = (Suff *)Lst_Datum(ln);
889 SuffInsert(s->children, s2);
890 SuffInsert(s2->parents, s);
1196 Src *s2; /* new Src structure */
1207 s2 = bmake_malloc(sizeof(Src));
1208 s2->file = bmake_strdup(targ->pref);
1209 s2->pref = targ->pref;
1210 s2->parent = targ;
1211 s2->node = NULL;
1212 s2->suff = s;
1214 s2->children = 0;
1216 (void)Lst_AtEnd(ls->l, s2);
1218 s2->cp = Lst_Init(FALSE);
1219 Lst_AtEnd(targ->cp, s2);
1220 fprintf(debug_file, "1 add %p %p to %p:", targ, s2, ls->l);
1225 s2 = bmake_malloc(sizeof(Src));
1226 s2->file = str_concat(targ->pref, s->name, 0);
1227 s2->pref = targ->pref;
1228 s2->parent = targ;
1229 s2->node = NULL;
1230 s2->suff = s;
1232 s2->children = 0;
1234 (void)Lst_AtEnd(ls->l, s2);
1236 s2->cp = Lst_Init(FALSE);
1237 Lst_AtEnd(targ->cp, s2);
1238 fprintf(debug_file, "2 add %p %p to %p:", targ, s2, ls->l);