Lines Matching defs:env

381 			n *= 8 * state.env->ps.current;
385 n *= 6 * state.env->ps.current;
395 n *= 6 * state.env->vs.current;
436 n *= state.env->ps.current / 12;
438 n /= state.env->ps.current / 12;
460 n *= 8 * state.env->ps.current;
462 n /= 8 * state.env->ps.current;
467 n *= 6 * state.env->ps.current;
469 n /= 6 * state.env->ps.current;
483 n *= 6 * state.env->vs.current;
485 n /= 6 * state.env->vs.current;
997 env(char* s)
1408 n = state.env->ft.current;
1415 n = state.env->in.current;
1421 n = state.env->ll.current;
1430 n = state.env->ps.previous;
1432 n = state.env->ps.current;
1439 n = state.env->ps.previous;
1441 n = state.env->ps.current;
1447 n = !state.env->nf;
1453 n = 6 * state.env->vs.current;
1459 n = 6 * state.env->ps.current;
1709 c = state.env->ft.previous;
1710 state.env->ft.previous = state.env->ft.current;
1711 state.env->ft.current = c;
1722 state.env->ps.previous = state.env->ps.current;
1723 state.env->ps.current = n;
1737 if (state.divert || state.env->nf)
1739 if (state.env->nf)
1745 while (state.env->in.current < state.list->in)
1747 message((-2, "DROP %d %d %d:%d %d:%d", state.list - state.list_stack, state.list->dl, state.list->ti, state.list->in, force ? state.env->ti.current : 0, state.env->in.current));
1754 message((-2, "TEST %d %d %d:%d %d:%d ops=%d df=%d dc=%d dl=%d", state.list - state.list_stack, state.list->dl, state.list->ti, state.list->in, force ? state.env->ti.current : 0, state.env->in.current, state.list - list, force, state.it.dc, state.it.dl));
1755 if (state.env->in.current > state.list->in || force > 0 && state.env->ti.current > state.list->in)
1762 state.list->in = state.env->in.current;
1763 state.list->ti = state.env->in.current > state.list->in ? state.env->in.current : state.env->ti.current;
1766 else if (!force && state.env->in.current < state.list->in)
1768 message((-2, "LIST %d %d %d:%d %d:%d ops=%d df=%d dc=%d dl=%d", state.list - state.list_stack, state.list->dl, state.list->ti, state.list->in, force ? state.env->ti.current : 0, state.env->in.current, state.list - list, force, state.it.dc, state.it.dl));
1780 if (state.env->nf)
1782 if (state.env->in.current > 0)
2535 state.env->c2 = (ap->argc >= 1) ? ap->argv[1][0] : DEFAULT_c2;
2542 state.env->cc = (ap->argc >= 1) ? ap->argv[1][0] : DEFAULT_cc;
2650 state.dl = state.env->dl;
2651 state.dn = state.env->dn;
2652 if (dp->env->ft.current != state.env->ft.current)
2653 code_1(OP_ft + dp->env->ft.current);
2654 if (dp->env->ps.current != state.env->ps.current)
2655 code_2(OP_ps, dp->env->ps.current);
2656 state.env = dp->env;
2678 dp->env = state.env;
2679 dp->environment = *state.env;
2680 state.env = &dp->environment;
2681 state.env->dl = 0;
2682 state.env->dn = 0;
2729 *++state.env_sp = env(ap->argv[1]);
2730 oe = state.env;
2731 ne = state.env = *state.env_sp;
2758 if (state.env->nf)
2760 state.env->nf = 0;
2860 if (v || s[0] != state.env->cc && s[0] != state.env->c2 || s[1] != 'i')
2942 n = state.env->in.previous;
2950 n += state.env->in.current;
2954 state.env->in.previous = state.env->in.current;
2955 state.env->in.current = n;
2991 n = state.env->ll.previous;
2999 n += state.env->ll.current;
3003 state.env->ll.previous = state.env->ll.current;
3004 state.env->ll.current = n;
3020 if (!state.env->nf)
3025 state.env->nf = 1;
3098 n = state.env->ps.previous;
3106 n += state.env->ps.current;
3110 n = state.env->ps.previous;
3226 n = state.env->ti.previous;
3234 n += state.env->ti.current;
3238 state.env->ti.previous = state.env->ti.current;
3239 state.env->ti.current = n;
3241 if (state.list > state.list_stack && state.env->ti.current < state.list->in)
3312 n = state.env->vs.previous;
3320 n += state.env->vs.current;
3324 n = state.env->vs.previous;
3330 state.env->vs.previous = state.env->vs.current;
3331 state.env->vs.current = n;
3682 *(state.env_sp = state.env_stack) = state.env = env("0");
3872 n = 6 * state.env->vs.current;
3874 state.env->dn += n;
3875 n = 6 * state.env->ps.current;
3876 if (n > state.env->dl)
3877 state.env->dl = n;
3960 if (state.env->ss <= 0)
3962 state.env->ss--;
3967 state.env->ss++;
4104 n = state.env->ps.previous;
4108 n = state.env->ps.current - n;
4111 n = state.env->ps.current + n;
4124 if (state.env->ss >= 0)
4126 state.env->ss++;
4131 state.env->ss--;
4335 if ((c == state.env->cc || c == state.env->c2) && !cc)
4347 else if ((c == state.env->cc || c == state.env->c2) && !cc)
4415 if ((tp->flags & TAG_BREAK) && n == state.env->cc)