Lines Matching refs:recursion_depth
13 int recursion_depth; /* current recursion depth */ member
167 if (++state->recursion_depth > state->recursion_limit) { in validate_constant()
196 --state->recursion_depth; in validate_constant()
214 if (++state->recursion_depth > state->recursion_limit) { in validate_expr()
394 state->recursion_depth--; in validate_expr()
540 if (++state->recursion_depth > state->recursion_limit) { in validate_pattern()
686 state->recursion_depth--; in validate_pattern()
721 if (++state->recursion_depth > state->recursion_limit) { in validate_stmt()
929 state->recursion_depth--; in validate_stmt()
1005 int recursion_depth = tstate->recursion_limit - tstate->recursion_remaining; in _PyAST_Validate() local
1006 starting_recursion_depth = (recursion_depth< INT_MAX / COMPILER_STACK_FRAME_SCALE) ? in _PyAST_Validate()
1007 recursion_depth * COMPILER_STACK_FRAME_SCALE : recursion_depth; in _PyAST_Validate()
1008 state.recursion_depth = starting_recursion_depth; in _PyAST_Validate()
1035 if (res && state.recursion_depth != starting_recursion_depth) { in _PyAST_Validate()
1038 starting_recursion_depth, state.recursion_depth); in _PyAST_Validate()