Home
last modified time | relevance | path

Searched refs:depth (Results 26 – 43 of 43) sorted by last modified time

12

/PHP-7.4/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.4/main/
H A Dalloca.c156 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-7.4/ext/xml/tests/
H A Dbug65236.phpt14 Warning: xml_parse_into_struct(): Maximum depth exceeded - Results truncated in %s on line %d
/PHP-7.4/ext/xmlrpc/libxmlrpc/
H A Dxml_element.c369 …r)(void *data, const char *text, int size), void *data, XML_ELEM_OUTPUT_OPTIONS options, int depth) in xml_element_serialize() argument
376 depth++; in xml_element_serialize()
387 if(depth == 1) { in xml_element_serialize()
405 if(options->verbosity == xml_elem_pretty && depth > 2) { in xml_element_serialize()
406 xml_elem_writefunc(fptr, whitespace, data, depth - 2); in xml_element_serialize()
475 xml_element_serialize(kids, fptr, data, options, depth); in xml_element_serialize()
479 if(options->verbosity == xml_elem_pretty && depth > 2) { in xml_element_serialize()
480 xml_elem_writefunc(fptr, whitespace, data, depth - 2); in xml_element_serialize()
H A Dxml_to_soap.c233 int depth) { in xml_element_to_SOAP_REQUEST_worker() argument
242 depth ++; in xml_element_to_SOAP_REQUEST_worker()
308 if (depth == 3) { in xml_element_to_SOAP_REQUEST_worker()
390 if ( depth <= 2 || in xml_element_to_SOAP_REQUEST_worker()
391 (rtype == xmlrpc_request_response && depth <= 3) ) { in xml_element_to_SOAP_REQUEST_worker()
392 xml_element_to_SOAP_REQUEST_worker(request, NULL, ai, xCurrent, iter, depth); in xml_element_to_SOAP_REQUEST_worker()
398 xml_element_to_SOAP_REQUEST_worker(request, xCurrent, ai, xNext, iter, depth); in xml_element_to_SOAP_REQUEST_worker()
H A Dxml_to_xmlrpc.c185 XMLRPC_REQUEST_TYPE request_type, int depth) { in XMLRPC_to_xml_element_worker() argument
195 if (depth == 0 && in XMLRPC_to_xml_element_worker()
201 xml_element* next_el = XMLRPC_to_xml_element_worker(NULL, node, request_type, depth + 1); in XMLRPC_to_xml_element_worker()
253 if(depth == 0) { in XMLRPC_to_xml_element_worker()
284 … xml_element* next_el = XMLRPC_to_xml_element_worker(node, xIter, request_type, depth + 1); in XMLRPC_to_xml_element_worker()
300 if (depth == 1) { in XMLRPC_to_xml_element_worker()
/PHP-7.4/ext/standard/tests/serialize/
H A Dmax_depth.phpt6 function create_nested_data($depth, $prefix, $suffix, $inner = 'i:0;') {
7 return str_repeat($prefix, $depth) . $inner . str_repeat($suffix, $depth);
40 // But an explicitly specified depth still takes precedence
66 echo "Nested unserialize combined depth limit:\n";
77 // If depth limit is overridden, the depth should be counted
89 echo "Nested unserialize overridden depth limit:\n";
107 Warning: unserialize(): Maximum depth of 128 exceeded. The depth limit can be changed using the max…
114 Warning: unserialize(): Maximum depth of 128 exceeded. The depth limit can be changed using the max…
121 Warning: unserialize(): Maximum depth of 128 exceeded. The depth limit can be changed using the max…
132 Nested unserialize combined depth limit:
[all …]
H A Dbug78438.phpt21 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-7.4/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.4/ext/session/
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
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
/PHP-7.4/ext/gd/libgd/
H A Dbmp.h86 signed short int depth; member
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 …]
/PHP-7.4/ext/fileinfo/tests/
H A Dmagic私はガラスを食べられます15326 # skip arches.3200 , Finder.Root , Slp.1 by looking for low pixel depth 1 8 15 16 24 32
15372 # Image Pixel depth 1 8 15 16 24 32
15378 # Image descriptor: bits 3-0 give the alpha channel depth, bits 5-4 give direction
16013 # is a constant which is always either 1 or 2. Offset 12 is the pixmap depth,
16082 # test for bytes 0x0a,version byte (0,2,3,4,5),compression byte flag(0,1), bit depth (>0) of PCX or…
16084 # for PCX bit depth > 0
16703 # Color depth.
16720 # NOTE: 15-bit color formats usually have 16-bit listed as the color depth.
22145 >>>5 ubyte >0 MSX G9B image, depth=%d
H A Dmagic15326 # skip arches.3200 , Finder.Root , Slp.1 by looking for low pixel depth 1 8 15 16 24 32
15372 # Image Pixel depth 1 8 15 16 24 32
15378 # Image descriptor: bits 3-0 give the alpha channel depth, bits 5-4 give direction
16013 # is a constant which is always either 1 or 2. Offset 12 is the pixmap depth,
16082 # test for bytes 0x0a,version byte (0,2,3,4,5),compression byte flag(0,1), bit depth (>0) of PCX or…
16084 # for PCX bit depth > 0
16703 # Color depth.
16720 # NOTE: 15-bit color formats usually have 16-bit listed as the color depth.
22145 >>>5 ubyte >0 MSX G9B image, depth=%d
/PHP-7.4/Zend/
H A Dzend_signal.h55 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-7.4/Zend/tests/
H A Dbug62680.phpt2 Bug #62680 (Function isset() throws fatal error on set array if non-existent key depth >= 3)

Completed in 201 milliseconds

12