/PHP-8.0/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.0/ext/standard/tests/serialize/ |
H A D | max_depth.phpt | 6 function create_nested_data($depth, $prefix, $suffix, $inner = 'i:0;') { 7 return str_repeat($prefix, $depth) . $inner . str_repeat($suffix, $depth); 49 // But an explicitly specified depth still takes precedence 75 echo "Nested unserialize combined depth limit:\n"; 86 // If depth limit is overridden, the depth should be counted 98 echo "Nested unserialize overridden depth limit:\n"; 112 Warning: unserialize(): Maximum depth of 128 exceeded. The depth limit can be changed using the max… 119 Warning: unserialize(): Maximum depth of 128 exceeded. The depth limit can be changed using the max… 126 Warning: unserialize(): Maximum depth of 128 exceeded. The depth limit can be changed using the max… 137 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.0/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.0/ext/json/ |
H A D | json.c | 148 PHP_JSON_API int php_json_encode_ex(smart_str *buf, zval *val, int options, zend_long depth) /* {{{… in php_json_encode_ex() argument 154 encoder.max_depth = depth; in php_json_encode_ex() 204 php_json_parser_init(&parser, return_value, str, str_len, (int)options, (int)depth); in php_json_decode_ex() 228 zend_long depth = PHP_JSON_PARSER_DEFAULT_DEPTH; in PHP_FUNCTION() local 234 Z_PARAM_LONG(depth) in PHP_FUNCTION() 238 encoder.max_depth = (int)depth; in PHP_FUNCTION() 270 zend_long depth = PHP_JSON_PARSER_DEFAULT_DEPTH; in PHP_FUNCTION() local 277 Z_PARAM_LONG(depth) in PHP_FUNCTION() 294 if (depth <= 0) { in PHP_FUNCTION() 299 if (depth > INT_MAX) { in PHP_FUNCTION() [all …]
|
H A D | php_json.h | 99 PHP_JSON_API int php_json_encode_ex(smart_str *buf, zval *val, int options, zend_long depth); 101 …decode_ex(zval *return_value, const char *str, size_t str_len, zend_long options, zend_long depth); 103 …php_json_decode(zval *return_value, const char *str, int str_len, zend_bool assoc, zend_long depth) in php_json_decode() argument 105 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 | 5 function json_encode(mixed $value, int $flags = 0, int $depth = 512): string|false {} argument 7 function json_decode(string $json, ?bool $associative = null, int $depth = 512, int $flags = 0): mi… argument
|
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")
|
H A D | php_json_encoder.h | 26 int depth; member
|
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 298 parser->depth = 1; in php_json_parser_init_ex()
|
/PHP-8.0/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.0/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…
|
H A D | zend_signal.c | 97 if (UNEXPECTED(SIGG(depth) == 0)) { /* try to handle signal */ in zend_signal_handler_defer() 329 SIGG(depth) = 0; in zend_signal_activate() 339 if (SIGG(depth) != 0) { in zend_signal_deactivate() 340 …zend_error(E_CORE_WARNING, "zend_signal: shutdown with non-zero blocking depth (%d)", SIGG(depth)); in zend_signal_deactivate() 359 SIGG(depth) = 0; in zend_signal_deactivate()
|
/PHP-8.0/ext/json/tests/ |
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.0/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.0/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.0/main/ |
H A D | alloca.c | 156 register char *depth = ADDRESS_FUNCTION (probe); local 174 if ((STACK_DIR > 0 && hp->h.deep > depth) 175 || (STACK_DIR < 0 && hp->h.deep < depth)) 206 ((header *) new)->h.deep = depth;
|
/PHP-8.0/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.0/ext/xml/tests/ |
H A D | bug65236.phpt | 14 Warning: xml_parse_into_struct(): Maximum depth exceeded - Results truncated in %s on line %d
|
/PHP-8.0/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) {
|