/PHP-8.2/sapi/phpdbg/ |
H A D | phpdbg_btree.c | 34 tree->depth = depth; in phpdbg_btree_init() 42 int i = tree->depth - 1; in phpdbg_btree_find() 69 int i = tree->depth - 1, last_superior_i = -1; in phpdbg_btree_find_closest() 89 i = tree->depth - 1; in phpdbg_btree_find_closest() 145 int i = tree->depth - 1; in phpdbg_btree_insert_or_update() 180 int i = tree->depth; in phpdbg_btree_delete() 229 while (depth--) { in phpdbg_btree_clean_recursive() 249 if (depth--) { in phpdbg_btree_branch_dump() 250 phpdbg_btree_branch_dump(branch->branches[0], depth); in phpdbg_btree_branch_dump() 251 phpdbg_btree_branch_dump(branch->branches[1], depth); in phpdbg_btree_branch_dump() [all …]
|
H A D | phpdbg_btree.h | 37 zend_ulong depth; member 48 void phpdbg_btree_init(phpdbg_btree *tree, zend_ulong depth); 67 void phpdbg_btree_branch_dump(phpdbg_btree_branch *branch, zend_ulong depth);
|
/PHP-8.2/ext/opcache/tests/jit/ |
H A D | bug80447.phpt | 13 function createTree($depth) { 14 if (!$depth) { 17 $depth--; 20 createTree($depth), 21 createTree($depth)
|
H A D | reg_alloc_004.phpt | 15 function createTree($depth) { 16 if (!$depth) { 19 $depth--; 20 [createTree($d), createTree($depth)]();
|
/PHP-8.2/ext/standard/tests/serialize/ |
H A D | max_depth.phpt | 10 function create_nested_data($depth, $prefix, $suffix, $inner = 'i:0;') { 11 return str_repeat($prefix, $depth) . $inner . str_repeat($suffix, $depth); 53 // But an explicitly specified depth still takes precedence 79 echo "Nested unserialize combined depth limit:\n"; 90 // If depth limit is overridden, the depth should be counted 102 echo "Nested unserialize overridden depth limit:\n"; 116 Warning: unserialize(): Maximum depth of 128 exceeded. The depth limit can be changed using the max… 123 Warning: unserialize(): Maximum depth of 128 exceeded. The depth limit can be changed using the max… 130 Warning: unserialize(): Maximum depth of 128 exceeded. The depth limit can be changed using the max… 143 Nested unserialize combined depth limit: [all …]
|
H A D | bug78438.phpt | 21 function createTree ($width, $depth) { 26 for ($level=1; $level<$depth; $level++) { 50 foreach (range(1, 8) as $depth) { 51 $tree = createTree($width, $depth); 53 echo "Testcase tree $width x $depth".PHP_EOL; 62 $expectedSize = ($width**$depth - 1)/($width-1);
|
/PHP-8.2/ext/json/ |
H A D | json.c | 121 PHP_JSON_API zend_result php_json_encode_ex(smart_str *buf, zval *val, int options, zend_long depth… in php_json_encode_ex() argument 127 encoder.max_depth = depth; in php_json_encode_ex() 179 php_json_parser_init(&parser, return_value, str, str_len, (int)options, (int)depth); in php_json_decode_ex() 203 zend_long depth = PHP_JSON_PARSER_DEFAULT_DEPTH; in PHP_FUNCTION() local 209 Z_PARAM_LONG(depth) in PHP_FUNCTION() 213 encoder.max_depth = (int)depth; in PHP_FUNCTION() 241 zend_long depth = PHP_JSON_PARSER_DEFAULT_DEPTH; in PHP_FUNCTION() local 248 Z_PARAM_LONG(depth) in PHP_FUNCTION() 265 if (depth <= 0) { in PHP_FUNCTION() 270 if (depth > INT_MAX) { in PHP_FUNCTION() [all …]
|
H A D | php_json.h | 102 PHP_JSON_API zend_result php_json_encode_ex(smart_str *buf, zval *val, int options, zend_long depth… 104 …decode_ex(zval *return_value, const char *str, size_t str_len, zend_long options, zend_long depth); 106 …t php_json_decode(zval *return_value, const char *str, size_t str_len, bool assoc, zend_long depth) in php_json_decode() argument 108 return php_json_decode_ex(return_value, str, str_len, assoc ? PHP_JSON_OBJECT_AS_ARRAY : 0, depth); in php_json_decode()
|
H A D | json.stub.php | 155 function json_encode(mixed $value, int $flags = 0, int $depth = 512): string|false {} argument 157 function json_decode(string $json, ?bool $associative = null, int $depth = 512, int $flags = 0): mi… argument
|
H A D | json_parser.y | 34 #define PHP_JSON_DEPTH_DEC --parser->depth 36 if (parser->max_depth && parser->depth >= parser->max_depth) { \ 40 ++parser->depth 299 parser->depth = 1; in php_json_parser_init_ex()
|
H A D | php_json_encoder.h | 26 int depth; member
|
H A D | json_encoder.c | 61 for (i = 0; i < encoder->depth; ++i) { in php_json_pretty_print_indent() 142 ++encoder->depth; in php_json_encode_array() 186 if (encoder->depth > encoder->max_depth) { in php_json_encode_array() 192 --encoder->depth; in php_json_encode_array() 220 ++encoder->depth; in php_json_encode_array() 292 if (encoder->depth > encoder->max_depth) { in php_json_encode_array() 299 --encoder->depth; in php_json_encode_array()
|
H A D | json_arginfo.h | 7 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, depth, IS_LONG, 0, "512") 13 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, depth, IS_LONG, 0, "512")
|
/PHP-8.2/ext/json/tests/ |
H A D | bug81532.phpt | 2 Bug #81532: Change of $depth behaviour in json_encode() on PHP 8.1 6 // depth 1 9 // depth 2 13 // depth 3
|
H A D | json_decode_error.phpt | 7 echo "\n-- Testing json_decode() function with depth below 0 --\n"; 19 -- Testing json_decode() function with depth below 0 -- 20 json_decode(): Argument #3 ($depth) must be greater than 0
|
H A D | bug72787.phpt | 16 json_decode(): Argument #3 ($depth) must be less than %d
|
/PHP-8.2/Zend/ |
H A D | zend_signal.h | 55 int depth; member 79 # define ZEND_SIGNAL_BLOCK_INTERRUPTIONS() if (EXPECTED(zend_signal_globals_id)) { SIGG(depth)++; } 80 …INTERRUPTIONS() if (EXPECTED(zend_signal_globals_id) && UNEXPECTED(((SIGG(depth)--) == SIGG(blocke… 82 # define ZEND_SIGNAL_BLOCK_INTERRUPTIONS() SIGG(depth)++; 83 # define ZEND_SIGNAL_UNBLOCK_INTERRUPTIONS() if (((SIGG(depth)--) == SIGG(blocked))) { zend_signal…
|
/PHP-8.2/ext/session/ |
H A D | mod_files.sh | 21 depth="$2" 60 echo "Creating session path in $directory with a depth of $depth for session.sid_bits_per_character… 65 bash $0 $newpath `expr $depth - 1` $bitsperchar recurse
|
H A D | mod_files.bat | 9 ECHO Usage %0 ^<basedir^> ^<depth^> ^[^hash_bits^] 12 ECHO ^<depth^> is the number of levels defined in session.save_path 52 ECHO ERROR: Invalid depth : %2
|
/PHP-8.2/ext/standard/tests/strings/ |
H A D | sscanf_basic3.phpt | 13 list($part, $length, $width, $depth) = sscanf($str, $format); 14 var_dump($part, $length, $width, $depth); 18 $res = sscanf($str, $format, $part, $length, $width, $depth); 19 var_dump($res, $part, $length, $width, $depth);
|
/PHP-8.2/ext/gd/libgd/ |
H A D | gd_bmp.c | 477 if (info->depth >= 16) { in gdImageCreateFromBmpCtx() 489 switch (info->depth) { in gdImageCreateFromBmpCtx() 620 info->numcolors = 1 << info->depth; in bmp_read_os2_v1_info() 684 if (info->depth == 24) { in bmp_read_direct() 693 if (info->depth != 8) { in bmp_read_direct() 699 if (info->depth != 4) { in bmp_read_direct() 734 if (info->depth == 16) { in bmp_read_direct() 743 } else if (info->depth == 24) { in bmp_read_direct() 1025 int pixels_per_byte = 8 / info->depth; in bmp_read_rle() 1040 …index = (rle_data & (((1 << info->depth) - 1) << (8 - (j * info->depth)))) >> (8 - (j * info->dept… in bmp_read_rle() [all …]
|
H A D | bmp.h | 86 signed short int depth; member
|
/PHP-8.2/ext/xml/tests/ |
H A D | bug65236.phpt | 12 Warning: xml_parse_into_struct(): Maximum depth exceeded - Results truncated in %s on line %d
|
/PHP-8.2/Zend/tests/ |
H A D | bug62680.phpt | 2 Bug #62680 (Function isset() throws fatal error on set array if non-existent key depth >= 3)
|
/PHP-8.2/ext/standard/tests/array/ |
H A D | 001.phpt | 16 function make_nested_array ($depth, $breadth, $function = NULL, $args = array ()) { 23 for ($y = 1; $y < $depth; ++$y) {
|