Searched refs:depth (Results 1 - 23 of 23) sorted by relevance

/PHP_5_6/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.sh12 echo "Can't create a directory tree with depth of 0, exiting."
20 depth="$2"
59 echo "Creating session path in $directory with a depth of $depth for session.hash_bits_per_character = $hashbits"
64 sh $0 $newpath `expr $depth - 1` $hashbits recurse
/PHP_5_6/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_5_6/Zend/
H A Dzend_signal.c80 if (SIGG(depth) == 0) { /* try to handle signal */
291 SIGG(depth) = 0;
302 if (SIGG(depth) != 0) {
303 zend_error(E_CORE_WARNING, "zend_signal: shutdown with non-zero blocking depth (%d)", SIGG(depth));
318 SIGG(depth) = 0;
H A Dzend_signal.h57 int depth; member in struct:_zend_signal_globals_t
72 # define ZEND_SIGNAL_BLOCK_INTERRUPUTIONS() if (EXPECTED(zend_signal_globals_id)) { SIGG(depth)++; }
73 # define ZEND_SIGNAL_UNBLOCK_INTERRUPTIONS() if (EXPECTED(zend_signal_globals_id) && UNEXPECTED((--SIGG(depth))==SIGG(blocked))) { zend_signal_handler_unblock(TSRMLS_C); }
77 # define ZEND_SIGNAL_BLOCK_INTERRUPUTIONS() SIGG(depth)++;
78 # define ZEND_SIGNAL_UNBLOCK_INTERRUPTIONS() if (UNEXPECTED((--SIGG(depth))==SIGG(blocked))) { zend_signal_handler_unblock(TSRMLS_C); }
/PHP_5_6/ext/xmlreader/examples/
H A Dxmlreader_file.php8 print "Node Depth: ".$reader->depth."\n";
H A Dxmlreader_relaxNG.php12 /* Print node name indenting it based on depth and $indent var */
13 print str_repeat(" ", $reader->depth * $indent).$reader->name."\n";
H A Dxmlreader_string.php19 print "Node Depth: ".$reader->depth."\n";
H A Dxmlreader_validatedtd.php9 /* Print node name indenting it based on depth and $indent var */
10 print str_repeat(" ", $xml->depth * $indent).$xml->name."\n";
13 print str_repeat(" ", $xml->depth * $indent)." Number of Attributes: ".$xml->attributeCount."\n";
/PHP_5_6/ext/xmlrpc/libxmlrpc/
H A Dxml_element.c376 static void xml_element_serialize(xml_element *el, int (*fptr)(void *data, const char *text, int size), void *data, XML_ELEM_OUTPUT_OPTIONS options, int depth) argument
383 depth++;
394 if(depth == 1) {
412 if(options->verbosity == xml_elem_pretty && depth > 2) {
413 xml_elem_writefunc(fptr, whitespace, data, depth - 2);
482 xml_element_serialize(kids, fptr, data, options, depth);
486 if(options->verbosity == xml_elem_pretty && depth > 2) {
487 xml_elem_writefunc(fptr, whitespace, data, depth - 2);
H A Dxml_to_xmlrpc.c190 XMLRPC_REQUEST_TYPE request_type, int depth) {
200 if (depth == 0 &&
206 xml_element* next_el = XMLRPC_to_xml_element_worker(NULL, node, request_type, depth + 1);
259 if(depth == 0) {
290 xml_element* next_el = XMLRPC_to_xml_element_worker(node, xIter, request_type, depth + 1);
306 if (depth == 1) {
189 XMLRPC_to_xml_element_worker(XMLRPC_VALUE current_vector, XMLRPC_VALUE node, XMLRPC_REQUEST_TYPE request_type, int depth) argument
H A Dxml_to_soap.c238 int depth) {
246 /* increment recursion depth gauge */
247 depth ++;
312 depth 1 = Envelope, 2 = Header, Body & Fault, 3 = methodcall or response. */
313 if (depth == 3) {
395 if ( depth <= 2 ||
396 (rtype == xmlrpc_request_response && depth <= 3) ) {
397 xml_element_to_SOAP_REQUEST_worker(request, NULL, ai, xCurrent, iter, depth);
403 xml_element_to_SOAP_REQUEST_worker(request, xCurrent, ai, xNext, iter, depth);
233 xml_element_to_SOAP_REQUEST_worker(XMLRPC_REQUEST request, XMLRPC_VALUE xParent, struct array_info* parent_array, XMLRPC_VALUE xCurrent, xml_element* el, int depth) argument
/PHP_5_6/main/
H A Dalloca.c129 (b) keep track of stack depth.
144 char *deep; /* For stack depth measure. */
161 auto char probe; /* Probes stack depth: */
162 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_5_6/ext/json/
H A DJSON_parser.c205 if (jp->top >= jp->depth) {
231 object. It takes a depth parameter that restricts the level of maximum
242 new_JSON_parser(int depth) argument
246 jp->depth = depth;
249 jp->stack = (int*)ecalloc(depth, sizeof(int));
250 if (depth > JSON_PARSER_DEFAULT_DEPTH) {
251 jp->the_zstack = (zval **)safe_emalloc(depth, sizeof(zval), 0);
H A DJSON_parser.h14 int depth; member in struct:JSON_parser_struct
34 extern JSON_parser new_JSON_parser(int depth);
H A Dphp_json.h53 PHP_JSON_API void php_json_decode_ex(zval *return_value, char *str, int str_len, int options, long depth TSRMLS_DC);
77 static inline void php_json_decode(zval *return_value, char *str, int str_len, zend_bool assoc, long depth TSRMLS_DC)
79 php_json_decode_ex(return_value, str, str_len, assoc ? PHP_JSON_OBJECT_AS_ARRAY : 0, depth TSRMLS_CC);
H A Djson.c50 ZEND_ARG_INFO(0, depth)
56 ZEND_ARG_INFO(0, depth)
666 PHP_JSON_API void php_json_decode_ex(zval *return_value, char *str, int str_len, int options, long depth TSRMLS_DC) /* {{{ */
684 if (depth <= 0) {
691 jp = new_JSON_parser(depth);
775 /* {{{ proto string json_encode(mixed data [, int options[, int depth]])
782 long depth = JSON_PARSER_DEFAULT_DEPTH; local
784 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z|ll", &parameter, &options, &depth) == FAILURE) {
790 JSON_G(encode_max_depth) = depth;
804 /* {{{ proto mixed json_decode(string json [, bool assoc [, long depth]])
811 long depth = JSON_PARSER_DEFAULT_DEPTH; local
[all...]
/PHP_5_6/ext/xmlrpc/
H A Dxmlrpc-epi-php.c520 static XMLRPC_VALUE PHP_to_XMLRPC_worker (const char* key, zval* in_val, int depth TSRMLS_DC)
599 XMLRPC_AddValueToVector(xReturn, PHP_to_XMLRPC_worker(num_str, *pIter, depth++ TSRMLS_CC));
604 XMLRPC_AddValueToVector(xReturn, PHP_to_XMLRPC_worker(my_key, *pIter, depth++ TSRMLS_CC));
/PHP_5_6/sapi/phpdbg/
H A Dphpdbg_btree.c32 /* depth in bits */
33 void phpdbg_btree_init(phpdbg_btree *tree, zend_ulong depth) { argument
34 tree->depth = depth;
41 int i = tree->depth - 1;
68 int i = tree->depth - 1, last_superior_i = -1;
86 i = tree->depth - 1;
141 int i = tree->depth - 1;
176 int i = tree->depth;
H A Dphpdbg_btree.h39 zend_ulong depth; member in struct:__anon3
49 void phpdbg_btree_init(phpdbg_btree *tree, zend_ulong depth);
/PHP_5_6/ext/openssl/
H A Dxp_ssl.c235 int err, depth, ret; local
243 depth = X509_STORE_CTX_get_error_depth(ctx);
257 /* check the depth */
259 if ((unsigned long)depth > allowed_depth) {
607 /* check the depth */
/PHP_5_6/
H A Dserver-tests.php1081 // matches directory depth from the base path
1083 $depth = substr_count($parts['path'],'/'); variable
1085 for ($i=0 ; $i < $depth; $i++) $docroot = dirname($docroot);
/PHP_5_6/ext/sqlite3/libsqlite/
H A Dsqlite3.c3198 ** <dd>The maximum depth of the parse tree on any expression.</dd>)^
3225 ** <dd>The maximum depth of recursion for triggers.</dd>)^
7741 ** The maximum depth of an expression tree. This is limited to
7881 ** Maximum depth of recursion for triggers.
11532 ** TK_AGG_FUNCTION: nesting depth */
12360 int mxParserStack; /* maximum depth of the parser stack */
17176 SQLITE_PRIVATE void sqlite3MemdebugBacktrace(int depth){ argument
17177 if( depth<0 ){ depth = 0; }
17178 if( depth>2
60306 int i, rc, depth, d2, pgno, cnt; local
[all...]

Completed in 160 milliseconds