Lines Matching refs:max_nesting
610 state->max_nesting = 100; in cState_configure()
612 VALUE max_nesting = rb_hash_aref(opts, tmp); in cState_configure() local
613 if (RTEST(max_nesting)) { in cState_configure()
614 Check_Type(max_nesting, T_FIXNUM); in cState_configure()
615 state->max_nesting = FIX2LONG(max_nesting); in cState_configure()
617 state->max_nesting = 0; in cState_configure()
678 rb_hash_aset(result, ID2SYM(i_max_nesting), LONG2FIX(state->max_nesting)); in cState_to_h()
724 long max_nesting = state->max_nesting; in generate_json_object() local
732 if (max_nesting != 0 && depth > max_nesting) { in generate_json_object()
773 long max_nesting = state->max_nesting; in generate_json_array() local
778 if (max_nesting != 0 && depth > max_nesting) { in generate_json_array()
980 state->max_nesting = 100; in cState_initialize()
1227 return state->max_nesting ? Qtrue : Qfalse; in cState_check_circular_p()
1239 return LONG2FIX(state->max_nesting); in cState_max_nesting()
1252 return state->max_nesting = FIX2LONG(depth); in cState_max_nesting_set()