Home | History | Annotate | Download | only in libxml2

Lines Matching defs:from

425  * Allocate a new regexp and fill it with the result from the parser
1321 int from) {
1343 target->transTo[target->nbTransTo] = from;
1375 printf("Ignoring duplicate transition from %d to %d\n",
1404 printf("Add trans from %d to %d ", state->no, target->no);
1458 * @from: the from state
1465 xmlRegStatePtr from, xmlRegStatePtr to,
1473 xmlRegStateAddTrans(ctxt, from, NULL, to, -1, REGEXP_ALL_LAX_COUNTER);
1475 xmlRegStateAddTrans(ctxt, from, NULL, to, -1, REGEXP_ALL_COUNTER);
1481 * @from: the from state
1487 xmlRegStatePtr from, xmlRegStatePtr to) {
1493 xmlRegStateAddTrans(ctxt, from, NULL, to, -1, -1);
1499 * @from: the from state
1506 xmlRegStatePtr from, xmlRegStatePtr to, int counter) {
1512 xmlRegStateAddTrans(ctxt, from, NULL, to, counter, -1);
1518 * @from: the from state
1525 xmlRegStatePtr from, xmlRegStatePtr to, int counter) {
1531 xmlRegStateAddTrans(ctxt, from, NULL, to, -1, counter);
1537 * @from: the from state
1544 xmlFAGenerateTransitions(xmlRegParserCtxtPtr ctxt, xmlRegStatePtr from,
1580 * 1. set transition from atom start to new state
1581 * 2. set transition from atom end to this state.
1698 xmlFAGenerateEpsilonTransition(ctxt, from, to);
1715 * Do not pollute the target state by adding transitions from
1733 xmlRegStateAddTrans(ctxt, from, atom, to, -1, -1);
1738 xmlFAGenerateEpsilonTransition(ctxt, from, to);
1742 xmlFAGenerateEpsilonTransition(ctxt, from, to);
1752 xmlFAGenerateEpsilonTransition(ctxt, from, to);
1765 * @fromnr: the from state
1774 xmlRegStatePtr from;
1780 from = ctxt->states[fromnr];
1781 if (from == NULL)
1795 from->type = XML_REGEXP_FINAL_STATE;
1809 xmlRegStateAddTrans(ctxt, from, NULL,
1814 printf("Found epsilon trans %d from %d to %d\n",
1832 xmlRegStateAddTrans(ctxt, from, to->trans[transnr].atom,
1836 xmlRegStateAddTrans(ctxt, from, to->trans[transnr].atom,
1853 * - if there exists an epsilon from X to Y
1854 * - if there is no other transition from X
1882 printf("Found simple epsilon trans from start %d to %d\n",
1887 printf("Found simple epsilon trans from %d to %d\n",
1953 * Process from the latests states backward to the start when
1978 printf("Found epsilon trans %d from %d to %d\n",
2030 * Mark all states reachable from the current reachable state
2365 * at that point we know both type 1 and type2 are from
2766 * from a state since there is no need to set-up rollback
2767 * from it
3447 printf("rollback from state %d on %d:%c\n", exec->state->no,
3715 * Examine all outside transitions from current state
3742 * Failed to find an exit transition out from current state for the
3765 * @compound: value was assembled from 2 strings
3845 * Check all counted transitions from the current state
3883 * Check all counted transitions from the current state
4202 * Extract informations from the regexp execution, internal routine to
4361 * Extract informations from the regexp execution,
4385 * Extract error informations from the regexp execution, the parameter
5689 * @from: the starting point of the transition
5695 * and then adds a transition from the @from state to the target state
5701 xmlAutomataNewTransition(xmlAutomataPtr am, xmlAutomataStatePtr from,
5706 if ((am == NULL) || (from == NULL) || (token == NULL))
5714 if (xmlFAGenerateTransitions(am, from, to, atom) < 0) {
5726 * @from: the starting point of the transition
5733 * and then adds a transition from the @from state to the target state
5739 xmlAutomataNewTransition2(xmlAutomataPtr am, xmlAutomataStatePtr from,
5744 if ((am == NULL) || (from == NULL) || (token == NULL))
5772 if (xmlFAGenerateTransitions(am, from, to, atom) < 0) {
5784 * @from: the starting point of the transition
5791 * and then adds a transition from the @from state to the target state
5799 xmlAutomataNewNegTrans(xmlAutomataPtr am, xmlAutomataStatePtr from,
5805 if ((am == NULL) || (from == NULL) || (token == NULL))
5837 if (xmlFAGenerateTransitions(am, from, to, atom) < 0) {
5850 * @from: the starting point of the transition
5859 * and then adds a transition from the @from state to the target state
5866 xmlAutomataNewCountTrans2(xmlAutomataPtr am, xmlAutomataStatePtr from,
5873 if ((am == NULL) || (from == NULL) || (token == NULL))
5917 /* xmlFAGenerateTransitions(am, from, to, atom); */
5922 xmlRegStateAddTrans(am, from, atom, to, counter, -1);
5931 xmlFAGenerateEpsilonTransition(am, from, to);
5938 * @from: the starting point of the transition
5946 * and then adds a transition from the @from state to the target state
5953 xmlAutomataNewCountTrans(xmlAutomataPtr am, xmlAutomataStatePtr from,
5959 if ((am == NULL) || (from == NULL) || (token == NULL))
5983 /* xmlFAGenerateTransitions(am, from, to, atom); */
5988 xmlRegStateAddTrans(am, from, atom, to, counter, -1);
5997 xmlFAGenerateEpsilonTransition(am, from, to);
6004 * @from: the starting point of the transition
6013 * and then adds a transition from the @from state to the target state
6021 xmlAutomataNewOnceTrans2(xmlAutomataPtr am, xmlAutomataStatePtr from,
6028 if ((am == NULL) || (from == NULL) || (token == NULL))
6069 /* xmlFAGenerateTransitions(am, from, to, atom); */
6074 xmlRegStateAddTrans(am, from, atom, to, counter, -1);
6085 * @from: the starting point of the transition
6093 * and then adds a transition from the @from state to the target state
6101 xmlAutomataNewOnceTrans(xmlAutomataPtr am, xmlAutomataStatePtr from,
6107 if ((am == NULL) || (from == NULL) || (token == NULL))
6128 /* xmlFAGenerateTransitions(am, from, to, atom); */
6133 xmlRegStateAddTrans(am, from, atom, to, counter, -1);
6161 * @from: the starting point of the transition
6165 * and then adds an epsilon transition from the @from state to the
6171 xmlAutomataNewEpsilon(xmlAutomataPtr am, xmlAutomataStatePtr from,
6173 if ((am == NULL) || (from == NULL))
6175 xmlFAGenerateEpsilonTransition(am, from, to);
6184 * @from: the starting point of the transition
6189 * and then adds a an ALL transition from the @from state to the
6191 * all transitions from the @from node have been activated.
6196 xmlAutomataNewAllTrans(xmlAutomataPtr am, xmlAutomataStatePtr from,
6198 if ((am == NULL) || (from == NULL))
6200 xmlFAGenerateAllTransition(am, from, to, lax);
6234 * @from: the starting point of the transition
6239 * and then adds an epsilon transition from the @from state to the target state
6245 xmlAutomataNewCountedTrans(xmlAutomataPtr am, xmlAutomataStatePtr from,
6247 if ((am == NULL) || (from == NULL) || (counter < 0))
6249 xmlFAGenerateCountedEpsilonTransition(am, from, to, counter);
6258 * @from: the starting point of the transition
6263 * and then adds an epsilon transition from the @from state to the target state
6269 xmlAutomataNewCounterTrans(xmlAutomataPtr am, xmlAutomataStatePtr from,
6271 if ((am == NULL) || (from == NULL) || (counter < 0))
6273 xmlFAGenerateCountedTransition(am, from, to, counter);
6549 * Get the unique entry from the hash table. The entry is created if
6797 /* Unlink it first from the hash table */
6843 * Get the atom associated to this name from that context
7242 * @remain: the remain from the derivation of the multiple
7758 * Evaluates the expression resulting from @exp consuming a sub expression @sub