Lines Matching defs:from

415  * Allocate a new regexp and fill it with the result from the parser
1310 int from) {
1332 target->transTo[target->nbTransTo] = from;
1364 printf("Ignoring duplicate transition from %d to %d\n",
1393 printf("Add trans from %d to %d ", state->no, target->no);
1447 * @from: the from state
1454 xmlRegStatePtr from, xmlRegStatePtr to,
1462 xmlRegStateAddTrans(ctxt, from, NULL, to, -1, REGEXP_ALL_LAX_COUNTER);
1464 xmlRegStateAddTrans(ctxt, from, NULL, to, -1, REGEXP_ALL_COUNTER);
1470 * @from: the from state
1476 xmlRegStatePtr from, xmlRegStatePtr to) {
1482 xmlRegStateAddTrans(ctxt, from, NULL, to, -1, -1);
1488 * @from: the from state
1495 xmlRegStatePtr from, xmlRegStatePtr to, int counter) {
1501 xmlRegStateAddTrans(ctxt, from, NULL, to, counter, -1);
1507 * @from: the from state
1514 xmlRegStatePtr from, xmlRegStatePtr to, int counter) {
1520 xmlRegStateAddTrans(ctxt, from, NULL, to, -1, counter);
1526 * @from: the from state
1533 xmlFAGenerateTransitions(xmlRegParserCtxtPtr ctxt, xmlRegStatePtr from,
1567 * 1. set transition from atom start to new state
1568 * 2. set transition from atom end to this state.
1680 xmlFAGenerateEpsilonTransition(ctxt, from, to);
1696 xmlRegStateAddTrans(ctxt, from, atom, to, -1, -1);
1701 xmlFAGenerateEpsilonTransition(ctxt, from, to);
1705 xmlFAGenerateEpsilonTransition(ctxt, from, to);
1715 xmlFAGenerateEpsilonTransition(ctxt, from, to);
1728 * @fromnr: the from state
1737 xmlRegStatePtr from;
1743 from = ctxt->states[fromnr];
1744 if (from == NULL)
1758 from->type = XML_REGEXP_FINAL_STATE;
1772 xmlRegStateAddTrans(ctxt, from, NULL,
1777 printf("Found epsilon trans %d from %d to %d\n",
1795 xmlRegStateAddTrans(ctxt, from, to->trans[transnr].atom,
1799 xmlRegStateAddTrans(ctxt, from, to->trans[transnr].atom,
1816 * - if there exists an epsilon from X to Y
1817 * - if there is no other transition from X
1845 printf("Found simple epsilon trans from start %d to %d\n",
1850 printf("Found simple epsilon trans from %d to %d\n",
1916 * Process from the latests states backward to the start when
1941 printf("Found epsilon trans %d from %d to %d\n",
1993 * Mark all states reachable from the current reachable state
2327 * at that point we know both type 1 and type2 are from
2698 * from a state since there is no need to set-up rollback
2699 * from it
3376 printf("rollback from state %d on %d:%c\n", exec->state->no,
3642 * Examine all outside transitions from current state
3669 * Failed to find an exit transition out from current state for the
3692 * @compound: value was assembled from 2 strings
3772 * Check all counted transitions from the current state
3810 * Check all counted transitions from the current state
4129 * Extract informations from the regexp execution, internal routine to
4288 * Extract informations from the regexp execution,
4312 * Extract error informations from the regexp execution, the parameter
5648 * @from: the starting point of the transition
5654 * and then adds a transition from the @from state to the target state
5660 xmlAutomataNewTransition(xmlAutomataPtr am, xmlAutomataStatePtr from,
5665 if ((am == NULL) || (from == NULL) || (token == NULL))
5675 if (xmlFAGenerateTransitions(am, from, to, atom) < 0) {
5687 * @from: the starting point of the transition
5694 * and then adds a transition from the @from state to the target state
5700 xmlAutomataNewTransition2(xmlAutomataPtr am, xmlAutomataStatePtr from,
5705 if ((am == NULL) || (from == NULL) || (token == NULL))
5733 if (xmlFAGenerateTransitions(am, from, to, atom) < 0) {
5745 * @from: the starting point of the transition
5752 * and then adds a transition from the @from state to the target state
5760 xmlAutomataNewNegTrans(xmlAutomataPtr am, xmlAutomataStatePtr from,
5766 if ((am == NULL) || (from == NULL) || (token == NULL))
5798 if (xmlFAGenerateTransitions(am, from, to, atom) < 0) {
5811 * @from: the starting point of the transition
5820 * and then adds a transition from the @from state to the target state
5827 xmlAutomataNewCountTrans2(xmlAutomataPtr am, xmlAutomataStatePtr from,
5834 if ((am == NULL) || (from == NULL) || (token == NULL))
5878 /* xmlFAGenerateTransitions(am, from, to, atom); */
5883 xmlRegStateAddTrans(am, from, atom, to, counter, -1);
5892 xmlFAGenerateEpsilonTransition(am, from, to);
5899 * @from: the starting point of the transition
5907 * and then adds a transition from the @from state to the target state
5914 xmlAutomataNewCountTrans(xmlAutomataPtr am, xmlAutomataStatePtr from,
5920 if ((am == NULL) || (from == NULL) || (token == NULL))
5944 /* xmlFAGenerateTransitions(am, from, to, atom); */
5949 xmlRegStateAddTrans(am, from, atom, to, counter, -1);
5958 xmlFAGenerateEpsilonTransition(am, from, to);
5965 * @from: the starting point of the transition
5974 * and then adds a transition from the @from state to the target state
5982 xmlAutomataNewOnceTrans2(xmlAutomataPtr am, xmlAutomataStatePtr from,
5989 if ((am == NULL) || (from == NULL) || (token == NULL))
6030 /* xmlFAGenerateTransitions(am, from, to, atom); */
6035 xmlRegStateAddTrans(am, from, atom, to, counter, -1);
6046 * @from: the starting point of the transition
6054 * and then adds a transition from the @from state to the target state
6062 xmlAutomataNewOnceTrans(xmlAutomataPtr am, xmlAutomataStatePtr from,
6068 if ((am == NULL) || (from == NULL) || (token == NULL))
6089 /* xmlFAGenerateTransitions(am, from, to, atom); */
6094 xmlRegStateAddTrans(am, from, atom, to, counter, -1);
6122 * @from: the starting point of the transition
6126 * and then adds an epsilon transition from the @from state to the
6132 xmlAutomataNewEpsilon(xmlAutomataPtr am, xmlAutomataStatePtr from,
6134 if ((am == NULL) || (from == NULL))
6136 xmlFAGenerateEpsilonTransition(am, from, to);
6145 * @from: the starting point of the transition
6150 * and then adds a an ALL transition from the @from state to the
6152 * all transitions from the @from node have been activated.
6157 xmlAutomataNewAllTrans(xmlAutomataPtr am, xmlAutomataStatePtr from,
6159 if ((am == NULL) || (from == NULL))
6161 xmlFAGenerateAllTransition(am, from, to, lax);
6195 * @from: the starting point of the transition
6200 * and then adds an epsilon transition from the @from state to the target state
6206 xmlAutomataNewCountedTrans(xmlAutomataPtr am, xmlAutomataStatePtr from,
6208 if ((am == NULL) || (from == NULL) || (counter < 0))
6210 xmlFAGenerateCountedEpsilonTransition(am, from, to, counter);
6219 * @from: the starting point of the transition
6224 * and then adds an epsilon transition from the @from state to the target state
6230 xmlAutomataNewCounterTrans(xmlAutomataPtr am, xmlAutomataStatePtr from,
6232 if ((am == NULL) || (from == NULL) || (counter < 0))
6234 xmlFAGenerateCountedTransition(am, from, to, counter);
6508 * Get the unique entry from the hash table. The entry is created if
6756 /* Unlink it first from the hash table */
6802 * Get the atom associated to this name from that context
7201 * @remain: the remain from the derivation of the multiple
7717 * Evaluates the expression resulting from @exp consuming a sub expression @sub