Lines Matching defs:tostate
1049 Rule_t* tostate;
1052 if (!(tostate = staterule(RULE, to, NiL, 0)) && (fromstate = staterule(RULE, from, NiL, 0)))
1125 register Rule_t* tostate;
1134 tostate = staterule(RULE, to, NiL, 1);
1135 else if ((from->dynamic & D_alias) && (tostate = staterule(RULE, to, NiL, 0)))
1143 error(2, "MERGESTATE to: %s: %s time=[%s] event=[%s]", to->name, tostate->name, timestr(tostate->time), timestr(tostate->event));
1146 if ((from->dynamic & D_alias) && fromstate->time && !statetimeq(fromstate, tostate))
1159 if (fromstate->event != tostate->event)
1161 if (fromstate->event < tostate->event)
1171 fromstate = tostate;
1172 tostate = t;
1174 s = tostate->name;
1175 *tostate = *fromstate;
1176 tostate->prereqs = listcopy(fromstate->prereqs);
1177 tostate->name = s;
1181 tostate = staterule(i, to, NiL, 1);
1182 s = tostate->name;
1183 *tostate = *fromstate;
1184 tostate->prereqs = listcopy(fromstate->prereqs);
1185 tostate->name = s;