Lines Matching refs:fromstate
1048 Rule_t* fromstate;
1052 if (!(tostate = staterule(RULE, to, NiL, 0)) && (fromstate = staterule(RULE, from, NiL, 0)))
1053 *staterule(RULE, to, NiL, 1) = *fromstate;
1124 register Rule_t* fromstate;
1133 if (fromstate = staterule(RULE, from, NiL, 0))
1136 fromstate = staterule(RULE, from, NiL, 1);
1142 error(2, "MERGESTATE from: %s: %s time=[%s] event=[%s]", from->name, fromstate->name, timestr(fromstate->time), timestr(fromstate->event));
1146 if ((from->dynamic & D_alias) && fromstate->time && !statetimeq(fromstate, tostate))
1159 if (fromstate->event != tostate->event)
1161 if (fromstate->event < tostate->event)
1170 t = fromstate;
1171 fromstate = tostate;
1175 *tostate = *fromstate;
1176 tostate->prereqs = listcopy(fromstate->prereqs);
1179 if ((fromstate = staterule(i, from, NiL, 0)) && !staterule(i, to, NiL, 0))
1183 *tostate = *fromstate;
1184 tostate->prereqs = listcopy(fromstate->prereqs);