Home
last modified time | relevance | path

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

12

/PHP-7.1/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.1/ext/json/
H A Djson.c50 ZEND_ARG_INFO(0, depth)
56 ZEND_ARG_INFO(0, depth)
207 php_json_parser_init(&parser, return_value, str, str_len, (int)options, (int)depth); in php_json_decode_ex()
227 zend_long depth = PHP_JSON_PARSER_DEFAULT_DEPTH; in PHP_FUNCTION() local
229 if (zend_parse_parameters(ZEND_NUM_ARGS(), "z|ll", &parameter, &options, &depth) == FAILURE) { in PHP_FUNCTION()
234 encoder.max_depth = (int)depth; in PHP_FUNCTION()
259 zend_long depth = PHP_JSON_PARSER_DEFAULT_DEPTH; in PHP_FUNCTION() local
262 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|bll", &str, &str_len, &assoc, &depth, &options) == F… in PHP_FUNCTION()
273 if (depth <= 0) { in PHP_FUNCTION()
278 if (depth > INT_MAX) { in PHP_FUNCTION()
[all …]
H A Dphp_json.h97 …_json_decode_ex(zval *return_value, char *str, size_t str_len, zend_long options, zend_long depth);
99 …e int php_json_decode(zval *return_value, char *str, int str_len, zend_bool assoc, zend_long depth) in php_json_decode() argument
101 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
336 parser->depth = 1; in php_json_parser_init_ex()
H A Dphp_json_parser.h58 int depth; member
/PHP-7.1/Zend/
H A Dzend_signal.h59 int depth; member
81 # define ZEND_SIGNAL_BLOCK_INTERRUPTIONS() if (EXPECTED(zend_signal_globals_id)) { SIGG(depth)++; }
82 …INTERRUPTIONS() if (EXPECTED(zend_signal_globals_id) && UNEXPECTED(((SIGG(depth)--) == SIGG(blocke…
84 # define ZEND_SIGNAL_BLOCK_INTERRUPTIONS() SIGG(depth)++;
85 # define ZEND_SIGNAL_UNBLOCK_INTERRUPTIONS() if (((SIGG(depth)--) == SIGG(blocked))) { zend_signal…
H A Dzend_signal.c100 if (UNEXPECTED(SIGG(depth) == 0)) { /* try to handle signal */ in zend_signal_handler_defer()
332 SIGG(depth) = 0; in zend_signal_activate()
344 if (SIGG(depth) != 0) { in zend_signal_deactivate()
345 …zend_error(E_CORE_WARNING, "zend_signal: shutdown with non-zero blocking depth (%d)", SIGG(depth)); in zend_signal_deactivate()
360 SIGG(depth) = 0; in zend_signal_deactivate()
/PHP-7.1/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.1/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.1/ext/xmlreader/examples/
H A Dxmlreader_validatedtd.php10 print str_repeat(" ", $xml->depth * $indent).$xml->name."\n";
13 print str_repeat(" ", $xml->depth * $indent)." Number of Attributes: ".$xml->attributeCount."\n";
H A Dxmlreader_relaxNG.php13 print str_repeat(" ", $reader->depth * $indent).$reader->name."\n";
H A Dxmlreader_file.php8 print "Node Depth: ".$reader->depth."\n";
H A Dxmlreader_string.php19 print "Node Depth: ".$reader->depth."\n";
/PHP-7.1/main/
H A Dalloca.c162 register char *depth = ADDRESS_FUNCTION (probe); local
180 if ((STACK_DIR > 0 && hp->h.deep > depth)
181 || (STACK_DIR < 0 && hp->h.deep < depth))
212 ((header *) new)->h.deep = depth;
/PHP-7.1/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.1/ext/xmlrpc/libxmlrpc/
H A Dxml_element.c376 …r)(void *data, const char *text, int size), void *data, XML_ELEM_OUTPUT_OPTIONS options, int depth) in xml_element_serialize() argument
383 depth++; in xml_element_serialize()
394 if(depth == 1) { in xml_element_serialize()
412 if(options->verbosity == xml_elem_pretty && depth > 2) { in xml_element_serialize()
413 xml_elem_writefunc(fptr, whitespace, data, depth - 2); in xml_element_serialize()
482 xml_element_serialize(kids, fptr, data, options, depth); in xml_element_serialize()
486 if(options->verbosity == xml_elem_pretty && depth > 2) { in xml_element_serialize()
487 xml_elem_writefunc(fptr, whitespace, data, depth - 2); in xml_element_serialize()
H A Dxml_to_xmlrpc.c190 XMLRPC_REQUEST_TYPE request_type, int depth) { in XMLRPC_to_xml_element_worker() argument
200 if (depth == 0 && in XMLRPC_to_xml_element_worker()
206 xml_element* next_el = XMLRPC_to_xml_element_worker(NULL, node, request_type, depth + 1); in XMLRPC_to_xml_element_worker()
258 if(depth == 0) { in XMLRPC_to_xml_element_worker()
289 … xml_element* next_el = XMLRPC_to_xml_element_worker(node, xIter, request_type, depth + 1); in XMLRPC_to_xml_element_worker()
305 if (depth == 1) { in XMLRPC_to_xml_element_worker()
H A Dxml_to_soap.c238 int depth) { in xml_element_to_SOAP_REQUEST_worker() argument
247 depth ++; in xml_element_to_SOAP_REQUEST_worker()
313 if (depth == 3) { in xml_element_to_SOAP_REQUEST_worker()
395 if ( depth <= 2 || in xml_element_to_SOAP_REQUEST_worker()
396 (rtype == xmlrpc_request_response && depth <= 3) ) { in xml_element_to_SOAP_REQUEST_worker()
397 xml_element_to_SOAP_REQUEST_worker(request, NULL, ai, xCurrent, iter, depth); in xml_element_to_SOAP_REQUEST_worker()
403 xml_element_to_SOAP_REQUEST_worker(request, xCurrent, ai, xNext, iter, depth); in xml_element_to_SOAP_REQUEST_worker()
/PHP-7.1/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) {
/PHP-7.1/Zend/tests/
H A Dbug62680.phpt2 Bug #62680 (Function isset() throws fatal error on set array if non-existent key depth >= 3)
/PHP-7.1/ext/xml/tests/
H A Dbug65236.phpt14 Warning: xml_parse_into_struct(): Maximum depth exceeded - Results truncated in %s on line %d
/PHP-7.1/ext/json/tests/
H A D007.phpt29 string(28) "Maximum stack depth exceeded"

Completed in 44 milliseconds

12