Home
last modified time | relevance | path

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

/PHP-7.3/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) { \
330 int max_depth, in php_json_parser_init_ex() argument
336 parser->max_depth = max_depth; in php_json_parser_init_ex()
346 int max_depth) in php_json_parser_init() argument
354 max_depth, in php_json_parser_init()
H A Dphp_json_encoder.h29 int max_depth; member
H A Djson_parser.tab.c103 if (parser->max_depth && parser->depth >= parser->max_depth) { \
1938 int max_depth, in php_json_parser_init_ex() argument
1944 parser->max_depth = max_depth; in php_json_parser_init_ex()
1954 int max_depth) in php_json_parser_init() argument
1962 max_depth, in php_json_parser_init()
H A Djson.c200 encoder.max_depth = depth; in php_json_encode_ex()
285 encoder.max_depth = (int)depth; in PHP_FUNCTION()
H A Djson_encoder.c228 if (encoder->depth > encoder->max_depth) { in php_json_encode_array()
/PHP-7.3/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.3/ext/spl/
H A Dspl_iterators.c105 int max_depth; member
286 if (object->max_depth == -1 || object->max_depth > object->level) { in spl_recursive_it_move_forward_ex()
550 intern->max_depth = -1; in spl_recursive_it_it_construct()
853 zend_long max_depth = -1; in SPL_METHOD() local
858 if (max_depth < -1) { in SPL_METHOD()
861 } else if (max_depth > INT_MAX) { in SPL_METHOD()
862 max_depth = INT_MAX; in SPL_METHOD()
865 object->max_depth = (int)max_depth; in SPL_METHOD()
878 if (object->max_depth == -1) { in SPL_METHOD()
881 RETURN_LONG(object->max_depth); in SPL_METHOD()
[all …]

Completed in 56 milliseconds