Lines Matching refs:curState
2543 REProgState *curState; in ExecuteREBytecode() local
2587 curState = &gData->stateStack[gData->stateStackTop]; in ExecuteREBytecode()
2636 curState->parenSoFar = parenSoFar; in ExecuteREBytecode()
2721 curState->u.assertion.top = in ExecuteREBytecode()
2723 curState->u.assertion.sz = gData->cursz; in ExecuteREBytecode()
2724 curState->index = x->cp - gData->cpbegin; in ExecuteREBytecode()
2725 curState->parenSoFar = parenSoFar; in ExecuteREBytecode()
2744 curState->u.assertion.top in ExecuteREBytecode()
2747 curState->u.assertion.sz = gData->cursz; in ExecuteREBytecode()
2748 curState->index = x->cp - gData->cpbegin; in ExecuteREBytecode()
2749 curState->parenSoFar = parenSoFar; in ExecuteREBytecode()
2759 --curState; in ExecuteREBytecode()
2760 x->cp = gData->cpbegin + curState->index; in ExecuteREBytecode()
2763 curState->u.assertion.top); in ExecuteREBytecode()
2764 gData->cursz = curState->u.assertion.sz; in ExecuteREBytecode()
2771 --curState; in ExecuteREBytecode()
2772 x->cp = gData->cpbegin + curState->index; in ExecuteREBytecode()
2775 curState->u.assertion.top); in ExecuteREBytecode()
2776 gData->cursz = curState->u.assertion.sz; in ExecuteREBytecode()
2780 curState->u.quantifier.min = 0; in ExecuteREBytecode()
2781 curState->u.quantifier.max = (UINT)-1; in ExecuteREBytecode()
2784 curState->u.quantifier.min = 1; in ExecuteREBytecode()
2785 curState->u.quantifier.max = (UINT)-1; in ExecuteREBytecode()
2788 curState->u.quantifier.min = 0; in ExecuteREBytecode()
2789 curState->u.quantifier.max = 1; in ExecuteREBytecode()
2793 curState->u.quantifier.min = k; in ExecuteREBytecode()
2796 curState->u.quantifier.max = k - 1; in ExecuteREBytecode()
2797 assert(curState->u.quantifier.min <= curState->u.quantifier.max); in ExecuteREBytecode()
2799 if (curState->u.quantifier.max == 0) { in ExecuteREBytecode()
2811 if (curState->u.quantifier.min == 0) in ExecuteREBytecode()
2821 curState->index = startcp - gData->cpbegin; in ExecuteREBytecode()
2822 curState->continue_op = REOP_REPEAT; in ExecuteREBytecode()
2823 curState->continue_pc = pc; in ExecuteREBytecode()
2824 curState->parenSoFar = parenSoFar; in ExecuteREBytecode()
2826 if (curState->u.quantifier.min == 0 && in ExecuteREBytecode()
2835 pc = curState[-1].continue_pc; in ExecuteREBytecode()
2836 op = (REOp) curState[-1].continue_op; in ExecuteREBytecode()
2843 --curState; in ExecuteREBytecode()
2848 if (curState->u.quantifier.min == 0) in ExecuteREBytecode()
2852 if (curState->u.quantifier.min == 0 && in ExecuteREBytecode()
2853 x->cp == gData->cpbegin + curState->index) { in ExecuteREBytecode()
2858 if (curState->u.quantifier.min != 0) in ExecuteREBytecode()
2859 curState->u.quantifier.min--; in ExecuteREBytecode()
2860 if (curState->u.quantifier.max != (UINT) -1) in ExecuteREBytecode()
2861 curState->u.quantifier.max--; in ExecuteREBytecode()
2862 if (curState->u.quantifier.max == 0) in ExecuteREBytecode()
2870 if (curState->u.quantifier.min == 0) in ExecuteREBytecode()
2877 curState->index = startcp - gData->cpbegin; in ExecuteREBytecode()
2879 if (curState->u.quantifier.min == 0 && in ExecuteREBytecode()
2882 curState->parenSoFar, in ExecuteREBytecode()
2884 curState->parenSoFar)) { in ExecuteREBytecode()
2890 parenSoFar = curState->parenSoFar; in ExecuteREBytecode()
2899 curState->u.quantifier.min = 0; in ExecuteREBytecode()
2900 curState->u.quantifier.max = (UINT)-1; in ExecuteREBytecode()
2903 curState->u.quantifier.min = 1; in ExecuteREBytecode()
2904 curState->u.quantifier.max = (UINT)-1; in ExecuteREBytecode()
2907 curState->u.quantifier.min = 0; in ExecuteREBytecode()
2908 curState->u.quantifier.max = 1; in ExecuteREBytecode()
2912 curState->u.quantifier.min = k; in ExecuteREBytecode()
2915 curState->u.quantifier.max = k - 1; in ExecuteREBytecode()
2916 assert(curState->u.quantifier.min in ExecuteREBytecode()
2917 <= curState->u.quantifier.max); in ExecuteREBytecode()
2919 curState->index = x->cp - gData->cpbegin; in ExecuteREBytecode()
2920 curState->parenSoFar = parenSoFar; in ExecuteREBytecode()
2922 if (curState->u.quantifier.min != 0) { in ExecuteREBytecode()
2923 curState->continue_op = REOP_MINIMALREPEAT; in ExecuteREBytecode()
2924 curState->continue_pc = pc; in ExecuteREBytecode()
2941 --curState; in ExecuteREBytecode()
2943 TRACE("{%d,%d}\n", curState->u.quantifier.min, curState->u.quantifier.max); in ExecuteREBytecode()
2946 curState->index = x->cp - gData->cpbegin; \ in ExecuteREBytecode()
2947 curState->continue_op = REOP_MINIMALREPEAT; \ in ExecuteREBytecode()
2948 curState->continue_pc = pc; \ in ExecuteREBytecode()
2950 for (k = curState->parenSoFar; k < parenSoFar; k++) \ in ExecuteREBytecode()
2962 if (curState->u.quantifier.max == (UINT) -1 || in ExecuteREBytecode()
2963 curState->u.quantifier.max > 0) { in ExecuteREBytecode()
2970 if (curState->u.quantifier.min == 0 && in ExecuteREBytecode()
2971 x->cp == gData->cpbegin + curState->index) { in ExecuteREBytecode()
2976 if (curState->u.quantifier.min != 0) in ExecuteREBytecode()
2977 curState->u.quantifier.min--; in ExecuteREBytecode()
2978 if (curState->u.quantifier.max != (UINT) -1) in ExecuteREBytecode()
2979 curState->u.quantifier.max--; in ExecuteREBytecode()
2980 if (curState->u.quantifier.min != 0) { in ExecuteREBytecode()
2984 curState->index = x->cp - gData->cpbegin; in ExecuteREBytecode()
2985 curState->parenSoFar = parenSoFar; in ExecuteREBytecode()
2989 curState->parenSoFar, in ExecuteREBytecode()
2990 parenSoFar - curState->parenSoFar)) { in ExecuteREBytecode()
3036 curState = &gData->stateStack[gData->stateStackTop - 1]; in ExecuteREBytecode()
3045 for (k = curState->parenSoFar; k < parenSoFar; k++) in ExecuteREBytecode()
3047 parenSoFar = curState->parenSoFar; in ExecuteREBytecode()