Home
last modified time | relevance | path

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

/PHP-7.1/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.c193 encoder.max_depth = JSON_G(encode_max_depth); in php_json_encode()
234 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.c229 if (encoder->depth > encoder->max_depth) { in php_json_encode_array()
/PHP-7.1/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.1/ext/spl/
H A Dspl_iterators.c108 int max_depth; member
289 if (object->max_depth == -1 || object->max_depth > object->level) { in spl_recursive_it_move_forward_ex()
552 intern->max_depth = -1; in spl_recursive_it_it_construct()
858 zend_long max_depth = -1; in SPL_METHOD() local
863 if (max_depth < -1) { in SPL_METHOD()
866 } else if (max_depth > INT_MAX) { in SPL_METHOD()
867 max_depth = INT_MAX; in SPL_METHOD()
870 object->max_depth = (int)max_depth; in SPL_METHOD()
883 if (object->max_depth == -1) { in SPL_METHOD()
886 RETURN_LONG(object->max_depth); in SPL_METHOD()
[all …]

Completed in 37 milliseconds