Searched refs:max_depth (Results 1 – 13 of 13) sorted by relevance
/PHP-7.1/ext/json/ |
H A D | php_json_parser.h | 59 int max_depth; member 69 int max_depth, 78 int max_depth);
|
H A D | json_parser.y | 41 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 D | php_json_encoder.h | 29 int max_depth; member
|
H A D | json.c | 193 encoder.max_depth = JSON_G(encode_max_depth); in php_json_encode() 234 encoder.max_depth = (int)depth; in PHP_FUNCTION()
|
H A D | json_parser.tab.c | 103 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 D | json_encoder.c | 229 if (encoder->depth > encoder->max_depth) { in php_json_encode_array()
|
/PHP-7.1/ext/spl/tests/ |
H A D | iterator_021.phpt | 30 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 D | iterator_022.phpt | 30 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 D | iterator_034.phpt | 36 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 D | iterator_023.phpt | 30 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 D | bug54281.phpt | 7 function __construct($it, $max_depth) { }
|
H A D | iterator_028.phpt | 110 string(33) "Parameter max_depth must be >= -1"
|
/PHP-7.1/ext/spl/ |
H A D | spl_iterators.c | 108 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