• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/gettext-0.17/gnulib-local/lib/libxml/

Lines Matching refs:counter

10  *    - RELAX-NG/TREX i.e. the counter proposal
207 int counter;
1037 if (trans->counter >= 0) {
1038 fprintf(output, "counted %d, ", trans->counter);
1172 xmlRegexpErrMemory(ctxt, "allocating counter");
1182 xmlRegexpErrMemory(ctxt, "allocating counter");
1214 xmlRegexpErrMemory(ctxt, "allocating counter");
1256 int counter, int count) {
1278 (trans->counter == counter) &&
1315 else if (counter >= 0)
1316 printf("counted %d\n", counter);
1325 state->trans[state->nbTrans].counter = counter;
1407 * counter: the counter for that transition
1412 xmlRegStatePtr from, xmlRegStatePtr to, int counter) {
1418 xmlRegStateAddTrans(ctxt, from, NULL, to, counter, -1);
1426 * counter: the counter for that transition
1431 xmlRegStatePtr from, xmlRegStatePtr to, int counter) {
1437 xmlRegStateAddTrans(ctxt, from, NULL, to, -1, counter);
1500 int counter;
1509 * 2/ register a new counter
1511 * this counter going from atom->stop to atom->start
1525 counter = xmlRegGetCounter(ctxt);
1526 ctxt->counters[counter].min = atom->min - 1;
1527 ctxt->counters[counter].max = atom->max - 1;
1539 newstate, counter);
1546 atom->start, counter);
1609 * @counter: should that transition be associated to a counted
1614 int tonr, int counter) {
1659 if (to->trans[transnr].counter >= 0) {
1662 to->trans[transnr].counter);
1666 counter);
1673 if (to->trans[transnr].counter >= 0) {
1676 to->trans[transnr].counter, -1);
1679 ctxt->states[newto], counter, -1);
1716 (state->trans[0].counter < 0) &&
1818 newto, state->trans[transnr].counter);
3051 xmlRegCounterPtr counter;
3062 counter = &exec->comp->counters[trans->count];
3065 trans->count, count, counter->min, counter->max);
3067 ret = ((count >= counter->min) && (count <= counter->max));
3068 if ((ret) && (counter->min != counter->max))
3082 * If there is a counter associated increment it now.
3085 if (trans->counter >= 0) {
3091 printf("Increasing count %d\n", trans->counter);
3093 exec->counts[trans->counter]++;
3144 if (trans->counter >= 0) {
3150 printf("Decreasing count %d\n", trans->counter);
3152 exec->counts[trans->counter]--;
3184 if (trans->counter >= 0) {
3190 printf("Increasing count %d\n", trans->counter);
3192 exec->counts[trans->counter]++;
3615 xmlRegCounterPtr counter;
3630 if ((t->counter < 0) || (t == trans))
3632 counter = &exec->comp->counters[t->counter];
3633 count = exec->counts[t->counter];
3634 if ((count < counter->max) &&
3640 if ((count >= counter->min) &&
3641 (count < counter->max) &&
3653 xmlRegCounterPtr counter;
3665 if ((t->counter < 0) || (t == trans))
3667 counter = &exec->comp->counters[t->counter];
3668 count = exec->counts[t->counter];
3669 if ((count < counter->min) || (count > counter->max)) {
3676 xmlRegCounterPtr counter;
3683 counter = &exec->comp->counters[trans->count];
3686 trans->count, count, counter->min, counter->max);
3688 ret = ((count >= counter->min) && (count <= counter->max));
3700 if ((ret == 1) && (trans->counter >= 0)) {
3701 xmlRegCounterPtr counter;
3704 count = exec->counts[trans->counter];
3705 counter = &exec->comp->counters[trans->counter];
3706 if (count >= counter->max)
3789 if (trans->counter >= 0) {
3791 printf("Increasing count %d\n", trans->counter);
3793 exec->counts[trans->counter]++;
4071 } else if (trans->counter >= 0) {
4072 xmlRegCounterPtr counter = NULL;
4076 count = exec->errCounts[trans->counter];
4078 count = exec->counts[trans->counter];
4080 counter = &exec->comp->counters[trans->counter];
4081 if ((counter == NULL) || (count < counter->max)) {
4113 } else if (trans->counter >= 0) {
4232 xmlRegCounterPtr counter;
4239 counter = &exec->comp->counters[trans->count];
4242 trans->count, count, counter->min, counter->max);
4244 ret = ((count >= counter->min) && (count <= counter->max));
4322 if (trans->counter >= 0) {
4324 printf("Increasing count %d\n", trans->counter);
4326 exec->counts[trans->counter]++;
5665 int counter;
5705 * associate a counter to the transition.
5707 counter = xmlRegGetCounter(am);
5708 am->counters[counter].min = min;
5709 am->counters[counter].max = max;
5716 xmlRegStateAddTrans(am, from, atom, to, counter, -1);
5751 int counter;
5771 * associate a counter to the transition.
5773 counter = xmlRegGetCounter(am);
5774 am->counters[counter].min = min;
5775 am->counters[counter].max = max;
5782 xmlRegStateAddTrans(am, from, atom, to, counter, -1);
5820 int counter;
5857 * associate a counter to the transition.
5859 counter = xmlRegGetCounter(am);
5860 am->counters[counter].min = 1;
5861 am->counters[counter].max = 1;
5868 xmlRegStateAddTrans(am, from, atom, to, counter, -1);
5899 int counter;
5916 * associate a counter to the transition.
5918 counter = xmlRegGetCounter(am);
5919 am->counters[counter].min = 1;
5920 am->counters[counter].max = 1;
5927 xmlRegStateAddTrans(am, from, atom, to, counter, -1);
6003 * @min: the minimal value on the counter
6004 * @max: the maximal value on the counter
6006 * Create a new counter
6008 * Returns the counter number or -1 in case of error
6030 * @counter: the counter associated to that transition
6034 * which will increment the counter provided
6040 xmlAutomataStatePtr to, int counter) {
6041 if ((am == NULL) || (from == NULL) || (counter < 0))
6043 xmlFAGenerateCountedEpsilonTransition(am, from, to, counter);
6054 * @counter: the counter associated to that transition
6058 * which will be allowed only if the counter is within the right range.
6064 xmlAutomataStatePtr to, int counter) {
6065 if ((am == NULL) || (from == NULL) || (counter < 0))
6067 xmlFAGenerateCountedTransition(am, from, to, counter);