Home
last modified time | relevance | path

Searched refs:max_depth (Results 1 – 13 of 13) sorted by relevance

/PHP-7.2/ext/json/
H A Dphp_json_parser.h59 int max_depth; member
69 int max_depth,
78 int max_depth);
H A Djson_parser.y41 if (parser->max_depth && parser->depth >= parser->max_depth) { \
331 int max_depth, in php_json_parser_init_ex() argument
337 parser->max_depth = max_depth; in php_json_parser_init_ex()
347 int max_depth) in php_json_parser_init() argument
355 max_depth, in php_json_parser_init()
H A Dphp_json_encoder.h29 int max_depth; member
H A Djson.c195 encoder.max_depth = depth; in php_json_encode_ex()
244 encoder.max_depth = (int)depth; in PHP_FUNCTION()
H A Djson_parser.tab.c103 if (parser->max_depth && parser->depth >= parser->max_depth) { \
1939 int max_depth, in php_json_parser_init_ex() argument
1945 parser->max_depth = max_depth; in php_json_parser_init_ex()
1955 int max_depth) in php_json_parser_init() argument
1963 max_depth, in php_json_parser_init()
H A Djson_encoder.c228 if (encoder->depth > encoder->max_depth) { in php_json_encode_array()
/PHP-7.2/ext/spl/tests/
H A Diterator_021.phpt30 private $max_depth;
34 function __construct($it, $max_depth)
36 $this->max_depth = $max_depth;
80 $res = $this->getDepth() < $this->max_depth && $has;
H A Diterator_022.phpt30 private $max_depth;
34 function __construct($it, $max_depth)
36 $this->max_depth = $max_depth;
80 $res = $this->getDepth() < $this->max_depth && $has;
H A Diterator_034.phpt36 private $max_depth;
39 function __construct($it, $max_depth)
41 $this->max_depth = $max_depth;
79 $res = $this->getDepth() < $this->max_depth && $has;
H A Diterator_023.phpt30 private $max_depth;
34 function __construct($it, $max_depth)
36 $this->max_depth = $max_depth;
80 $res = $this->getDepth() < $this->max_depth && $has;
H A Dbug54281.phpt7 function __construct($it, $max_depth) { }
H A Diterator_028.phpt110 string(33) "Parameter max_depth must be >= -1"
/PHP-7.2/ext/spl/
H A Dspl_iterators.c107 int max_depth; member
288 if (object->max_depth == -1 || object->max_depth > object->level) { in spl_recursive_it_move_forward_ex()
551 intern->max_depth = -1; in spl_recursive_it_it_construct()
857 zend_long max_depth = -1; in SPL_METHOD() local
862 if (max_depth < -1) { in SPL_METHOD()
865 } else if (max_depth > INT_MAX) { in SPL_METHOD()
866 max_depth = INT_MAX; in SPL_METHOD()
869 object->max_depth = (int)max_depth; in SPL_METHOD()
882 if (object->max_depth == -1) { in SPL_METHOD()
885 RETURN_LONG(object->max_depth); in SPL_METHOD()
[all …]

Completed in 36 milliseconds