Home
last modified time | relevance | path

Searched refs:depth (Results 1 – 25 of 45) sorted by relevance

12

/PHP-7.3/sapi/phpdbg/
H A Dphpdbg_btree.c36 tree->depth = depth; in phpdbg_btree_init()
44 int i = tree->depth - 1; in phpdbg_btree_find()
71 int i = tree->depth - 1, last_superior_i = -1; in phpdbg_btree_find_closest()
91 i = tree->depth - 1; in phpdbg_btree_find_closest()
147 int i = tree->depth - 1; in phpdbg_btree_insert_or_update()
182 int i = tree->depth; in phpdbg_btree_delete()
231 while (depth--) { in phpdbg_btree_clean_recursive()
251 if (depth--) { in phpdbg_btree_branch_dump()
252 phpdbg_btree_branch_dump(branch->branches[0], depth); in phpdbg_btree_branch_dump()
253 phpdbg_btree_branch_dump(branch->branches[1], depth); in phpdbg_btree_branch_dump()
[all …]
H A Dphpdbg_btree.h39 zend_ulong depth; member
50 void phpdbg_btree_init(phpdbg_btree *tree, zend_ulong depth);
69 void phpdbg_btree_branch_dump(phpdbg_btree_branch *branch, zend_ulong depth);
/PHP-7.3/ext/json/
H A Djson.c49 ZEND_ARG_INFO(0, depth)
55 ZEND_ARG_INFO(0, depth)
200 encoder.max_depth = depth; in php_json_encode_ex()
275 zend_long depth = PHP_JSON_PARSER_DEFAULT_DEPTH; in PHP_FUNCTION() local
281 Z_PARAM_LONG(depth) in PHP_FUNCTION()
285 encoder.max_depth = (int)depth; in PHP_FUNCTION()
318 zend_long depth = PHP_JSON_PARSER_DEFAULT_DEPTH; in PHP_FUNCTION() local
325 Z_PARAM_LONG(depth) in PHP_FUNCTION()
342 if (depth <= 0) { in PHP_FUNCTION()
347 if (depth > INT_MAX) { in PHP_FUNCTION()
[all …]
H A Dphp_json.h99 PHP_JSON_API int php_json_encode_ex(smart_str *buf, zval *val, int options, zend_long depth);
101 …_json_decode_ex(zval *return_value, char *str, size_t str_len, zend_long options, zend_long depth);
103 …e int php_json_decode(zval *return_value, 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 Dphp_json_encoder.h28 int depth; member
H A Djson_parser.y39 #define PHP_JSON_DEPTH_DEC --parser->depth
41 if (parser->max_depth && parser->depth >= parser->max_depth) { \
45 ++parser->depth
335 parser->depth = 1; in php_json_parser_init_ex()
H A Dphp_json_parser.h58 int depth; member
H A Djson_encoder.c85 for (i = 0; i < encoder->depth; ++i) { in php_json_pretty_print_indent()
157 ++encoder->depth; in php_json_encode_array()
228 if (encoder->depth > encoder->max_depth) { in php_json_encode_array()
234 --encoder->depth; in php_json_encode_array()
/PHP-7.3/Zend/
H A Dzend_signal.h57 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 Dzend_signal.c98 if (UNEXPECTED(SIGG(depth) == 0)) { /* try to handle signal */ in zend_signal_handler_defer()
330 SIGG(depth) = 0; in zend_signal_activate()
342 if (SIGG(depth) != 0) { in zend_signal_deactivate()
343 …zend_error(E_CORE_WARNING, "zend_signal: shutdown with non-zero blocking depth (%d)", SIGG(depth)); in zend_signal_deactivate()
362 SIGG(depth) = 0; in zend_signal_deactivate()
/PHP-7.3/ext/session/
H A Dmod_files.sh21 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 Dmod_files.bat9 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-7.3/ext/standard/tests/strings/
H A Dsscanf_basic3.phpt18 list($part, $length, $width, $depth) = sscanf($str, $format);
19 var_dump($part, $length, $width, $depth);
23 $res = sscanf($str, $format, $part, $length, $width, $depth);
24 var_dump($res, $part, $length, $width, $depth);
/PHP-7.3/ext/gd/libgd/
H A Dgd_bmp.c477 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 Dbmp.h86 signed short int depth; member
/PHP-7.3/main/
H A Dalloca.c160 register char *depth = ADDRESS_FUNCTION (probe); local
178 if ((STACK_DIR > 0 && hp->h.deep > depth)
179 || (STACK_DIR < 0 && hp->h.deep < depth))
210 ((header *) new)->h.deep = depth;
/PHP-7.3/ext/spl/internal/
H A Drecursivetreeiterator.inc43 /** Prefix used if $level < depth and hasNext($level) == true. */
45 /** Prefix used if $level < depth and hasNext($level) == false. */
47 /** Prefix used if $level == depth and hasNext($level) == true. */
49 /** Prefix used if $level == depth and hasNext($level) == false. */
/PHP-7.3/ext/json/tests/
H A Djson_decode_error.phpt16 echo "\n-- Testing json_decode() function with depth below 0 --\n";
34 -- Testing json_decode() function with depth below 0 --
H A D007.phpt29 string(28) "Maximum stack depth exceeded"
/PHP-7.3/ext/xmlrpc/libxmlrpc/
H A Dxml_element.c373 …r)(void *data, const char *text, int size), void *data, XML_ELEM_OUTPUT_OPTIONS options, int depth) in xml_element_serialize() argument
380 depth++; in xml_element_serialize()
391 if(depth == 1) { in xml_element_serialize()
409 if(options->verbosity == xml_elem_pretty && depth > 2) { in xml_element_serialize()
410 xml_elem_writefunc(fptr, whitespace, data, depth - 2); in xml_element_serialize()
479 xml_element_serialize(kids, fptr, data, options, depth); in xml_element_serialize()
483 if(options->verbosity == xml_elem_pretty && depth > 2) { in xml_element_serialize()
484 xml_elem_writefunc(fptr, whitespace, data, depth - 2); in xml_element_serialize()
H A Dxml_to_xmlrpc.c187 XMLRPC_REQUEST_TYPE request_type, int depth) { in XMLRPC_to_xml_element_worker() argument
197 if (depth == 0 && in XMLRPC_to_xml_element_worker()
203 xml_element* next_el = XMLRPC_to_xml_element_worker(NULL, node, request_type, depth + 1); in XMLRPC_to_xml_element_worker()
255 if(depth == 0) { in XMLRPC_to_xml_element_worker()
286 … xml_element* next_el = XMLRPC_to_xml_element_worker(node, xIter, request_type, depth + 1); in XMLRPC_to_xml_element_worker()
302 if (depth == 1) { in XMLRPC_to_xml_element_worker()
H A Dxml_to_soap.c235 int depth) { in xml_element_to_SOAP_REQUEST_worker() argument
244 depth ++; in xml_element_to_SOAP_REQUEST_worker()
310 if (depth == 3) { in xml_element_to_SOAP_REQUEST_worker()
392 if ( depth <= 2 || in xml_element_to_SOAP_REQUEST_worker()
393 (rtype == xmlrpc_request_response && depth <= 3) ) { in xml_element_to_SOAP_REQUEST_worker()
394 xml_element_to_SOAP_REQUEST_worker(request, NULL, ai, xCurrent, iter, depth); in xml_element_to_SOAP_REQUEST_worker()
400 xml_element_to_SOAP_REQUEST_worker(request, xCurrent, ai, xNext, iter, depth); in xml_element_to_SOAP_REQUEST_worker()
/PHP-7.3/Zend/tests/
H A Dbug62680.phpt2 Bug #62680 (Function isset() throws fatal error on set array if non-existent key depth >= 3)
/PHP-7.3/ext/xml/tests/
H A Dbug65236.phpt14 Warning: xml_parse_into_struct(): Maximum depth exceeded - Results truncated in %s on line %d
/PHP-7.3/ext/standard/tests/array/
H A D001.phpt16 function make_nested_array ($depth, $breadth, $function = NULL, $args = array ()) {
23 for ($y = 1; $y < $depth; ++$y) {

Completed in 45 milliseconds

12