Searched defs:depth (Results 1 - 16 of 16) sorted by relevance

/PHP_TRUNK/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_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
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);
258 if(depth == 0) {
289 xml_element* next_el = XMLRPC_to_xml_element_worker(node, xIter, request_type, depth + 1);
305 if (depth == 1) {
189 XMLRPC_to_xml_element_worker(XMLRPC_VALUE current_vector, XMLRPC_VALUE node, XMLRPC_REQUEST_TYPE request_type, int depth) argument
/PHP_TRUNK/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_TRUNK/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;
223 void phpdbg_btree_branch_dump(phpdbg_btree_branch *branch, zend_ulong depth) { argument
[all...]
H A Dphpdbg_btree.h39 zend_ulong depth; member in struct:__anon5
49 void phpdbg_btree_init(phpdbg_btree *tree, zend_ulong depth);
67 void phpdbg_btree_branch_dump(phpdbg_btree_branch *branch, zend_ulong depth);
/PHP_TRUNK/
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_TRUNK/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...]
/PHP_TRUNK/Zend/
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(); }
77 # define ZEND_SIGNAL_BLOCK_INTERRUPUTIONS() SIGG(depth)++;
78 # define ZEND_SIGNAL_UNBLOCK_INTERRUPTIONS() if (UNEXPECTED((--SIGG(depth))==SIGG(blocked))) { zend_signal_handler_unblock(); }
/PHP_TRUNK/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 Djson.c50 ZEND_ARG_INFO(0, depth)
56 ZEND_ARG_INFO(0, depth)
673 PHP_JSON_API void php_json_decode_ex(zval *return_value, char *str, size_t str_len, zend_long options, zend_long depth) /* {{{ */ argument
690 if (depth <= 0) {
696 jp = new_JSON_parser(depth);
774 /* {{{ proto string json_encode(mixed data [, int options[, int depth]])
781 zend_long depth = JSON_PARSER_DEFAULT_DEPTH; local
783 if (zend_parse_parameters(ZEND_NUM_ARGS(), "z|ll", &parameter, &options, &depth) == FAILURE) {
789 JSON_G(encode_max_depth) = depth;
803 /* {{{ proto mixed json_decode(string json [, bool assoc [, long depth]])
810 zend_long depth = JSON_PARSER_DEFAULT_DEPTH; local
[all...]
H A Dphp_json.h56 PHP_JSON_API void php_json_decode_ex(zval *return_value, char *str, size_t str_len, zend_long options, zend_long depth);
80 static inline void php_json_decode(zval *return_value, char *str, int str_len, zend_bool assoc, zend_long depth) argument
82 php_json_decode_ex(return_value, str, str_len, assoc ? PHP_JSON_OBJECT_AS_ARRAY : 0, depth);
/PHP_TRUNK/ext/openssl/
H A Dxp_ssl.c231 int err, depth, ret; local
240 depth = X509_STORE_CTX_get_error_depth(ctx);
254 /* check the depth */
256 if ((zend_ulong)depth > allowed_depth) {
594 /* check the depth */
/PHP_TRUNK/ext/xmlrpc/
H A Dxmlrpc-epi-php.c501 static XMLRPC_VALUE PHP_to_XMLRPC_worker (const char* key, zval* in_val, int depth) argument
575 XMLRPC_AddValueToVector(xReturn, PHP_to_XMLRPC_worker(num_str, pIter, depth++));
580 XMLRPC_AddValueToVector(xReturn, PHP_to_XMLRPC_worker(my_key->val, pIter, depth++));
/PHP_TRUNK/ext/standard/
H A Dstring.c4425 int br, depth=0, in_q = 0; local
4475 depth++;
4516 if (depth) {
4517 depth--;

Completed in 147 milliseconds