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

/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(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_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_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 guage */
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_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/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)
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_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/standard/
H A Dstring.c4573 int br, i=0, depth=0, in_q = 0; local
4622 depth++;
4663 if (depth) {
4664 depth--;
/PHP_TRUNK/ext/sqlite3/libsqlite/
H A Dsqlite3.c3145 ** <dd>The maximum depth of the parse tree on any expression.</dd>)^
3172 ** <dd>The maximum depth of recursion for triggers.</dd>)^
7575 ** The maximum depth of an expression tree. This is limited to
7715 ** Maximum depth of recursion for triggers.
11251 ** TK_AGG_FUNCTION: nesting depth */
12055 int mxParserStack; /* maximum depth of the parser stack */
16823 SQLITE_PRIVATE void sqlite3MemdebugBacktrace(int depth){ argument
16824 if( depth<0 ){ depth = 0; }
16825 if( depth>2
58723 int i, rc, depth, d2, pgno, cnt; local
[all...]
/PHP_TRUNK/ext/openssl/
H A Dxp_ssl.c235 int err, depth, ret; local
245 depth = X509_STORE_CTX_get_error_depth(ctx);
259 /* check the depth */
261 if ((unsigned long)depth > allowed_depth) {
553 /* check the depth */

Completed in 164 milliseconds