| /PHP_TRUNK/Zend/ |
| H A D | zend_signal.c | 55 static int zend_signal_register(int signo, void (*handler)(int, siginfo_t*, void*) TSRMLS_DC); 125 /* need to just run handler if we're inactive and getting a signal */ 155 * Call the previously registered handler for a signal 164 if (p_sig.handler == SIG_DFL) { /* raise default handler */ 178 } else if (p_sig.handler != SIG_IGN) { /* ignore SIG_IGN */ 182 SIGG(handlers)[signo-1].handler = SIG_DFL; 184 (*(void (*)(int, siginfo_t*, void*))p_sig.handler)(signo, siginfo, context); 186 (*(void (*)(int))p_sig.handler)(signo); 194 * Register a signal handler tha 249 zend_signal_register(int signo, void (*handler)(int, siginfo_t*, void*) TSRMLS_DC) argument [all...] |
| H A D | zend_signal.h | 41 void* handler; /* signal handler or context */ member in struct:_zend_signal_entry_t 59 int running; /* in signal handler execution */ 91 ZEND_API int zend_signal(int signo, void (*handler)(int) TSRMLS_DC);
|
| H A D | zend_vm_gen.php | 318 // Generates code for opcode handler or helper 522 // Generates opcode handler 530 // Generate opcode handler's entry point according to selected threading model 542 // This handler is used by other handlers. We will add label to call it. 553 // Generate opcode handler's code 600 // to handler of undefined opcode 609 // Emit pointer to handler of undefined opcode 633 // Try to use unspecialized handler 641 // Try to use unspecialized handler 644 // Check if specialized handler i 1075 $handler = null; variable 1110 $handler = $code; variable 1128 $handler = null; variable 1150 $handler = null; variable [all...] |
| /PHP_TRUNK/ext/dba/tests/ |
| H A D | skipif.inc | 5 if (!isset($handler)) { 8 $handler = 'flatfile'; 12 die('skip no handler available that can be used for the test'); 14 $handler = array_shift($handlers); 17 if (!in_array($handler, dba_handlers())) { 18 $HND = strtoupper($handler); 19 die("skip $HND handler not available"); 22 $HND = strtoupper($handler);
|
| H A D | dba_handler.inc | 3 echo "database handler: $handler\n"; 6 if (($db_file = dba_open($db_filename, 'n'.$lock_flag, $handler))!==FALSE) { 12 if ($handler != 'cdb') { 17 if (($db_file = dba_open($db_filename, 'r'.$lock_flag, $handler))===FALSE) { 33 if ($handler != 'cdb') { 41 if ($handler != 'cdb') { 42 $db_writer = dba_open($db_filename, 'c'.$lock_flag, $handler); 43 if (($dba_reader = @dba_open($db_filename, 'r'.$lock_flag.($lock_flag ? 't' : ''), $handler))===false) { 68 if (($db_file = dba_open($db_filename, 'r'.$lock_flag, $handler))! [all...] |
| /PHP_TRUNK/ext/spl/examples/ |
| H A D | dbaarray.inc | 23 * Open database $file with $handler in read only mode. 26 * @param handler Handler to use for database access. 28 function __construct($file, $handler) 30 $this->db = dba_popen($file, "c", $handler);
|
| H A D | dbareader.inc | 25 * Open database $file with $handler in read only mode. 28 * @param handler Handler to use for database access. 30 function __construct($file, $handler) { 31 if (!$this->db = dba_open($file, 'r', $handler)) {
|
| /PHP_TRUNK/ext/sybase_ct/tests/ |
| H A D | test.inc | 39 function handler($msgnumber, $severity, $state, $line, $text) { 46 // {{{ void sybase_set_messagehandler_ex(string handler) 47 // Sets the sybase message handler and dumps the result 48 function sybase_set_messagehandler_ex($handler) { 49 var_dump(sybase_set_message_handler($handler));
|
| /PHP_TRUNK/sapi/apache_hooks/ |
| H A D | php_apache_http.h | 44 int apache_php_module_hook(request_rec *r, php_handler *handler, zval **ret TSRMLS_DC);
|
| H A D | mod_php5.c | 274 void (*handler)(int); 286 handler = signal(SIGPIPE, SIG_IGN); 296 signal(SIGPIPE, handler); 352 *p = ':'; /* a well behaved header handler shouldn't change its original arguments */ 529 php_error, /* error handler */ 531 sapi_apache_header_handler, /* header handler */ 532 sapi_apache_send_headers, /* send headers handler */ 533 NULL, /* send header handler */ 932 php_handler *handler; local 933 handler 951 php_handler *handler; local 1261 php_run_hook(php_handler *handler, request_rec *r) argument [all...] |
| H A D | sapi_apache.c | 63 int apache_php_module_hook(request_rec *r, php_handler *handler, zval **ret TSRMLS_DC) argument 84 switch(handler->type) { 86 php_register_variable("PHP_SELF_HOOK", handler->name, PG(http_globals)[TRACK_VARS_SERVER] TSRMLS_CC); 89 file_handle.filename = handler->name; 93 if( (tmp = strstr(handler->name, "::")) != NULL && *(tmp+2) != '\0' ) { 98 ZVAL_STRING(class, handler->name, 1); 107 php_error(E_ERROR, "Unable to call %s - not a Class::Method\n", handler->name);
|
| /PHP_TRUNK/ext/com_dotnet/ |
| H A D | com_handlers.c | 288 f.handler = PHP_FN(com_method_handler); 417 f.handler = ZEND_FN(fn); \
|
| /PHP_TRUNK/ext/dom/ |
| H A D | xpath.c | 82 zval handler; local 196 INIT_PZVAL(&handler); 197 ZVAL_STRING(&handler, obj->stringval, 1); 200 fci.function_name = &handler; 206 if (!zend_make_callable(&handler, &callable TSRMLS_CC)) { 207 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to call handler %s()", callable); 210 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Not allowed to call handler '%s()'.", callable); 216 if (Z_TYPE(handler) == IS_STRING) { 217 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to call handler %s()", Z_STRVAL_P(&handler)); [all...] |
| /PHP_TRUNK/ext/xml/ |
| H A D | xml.c | 480 static void xml_set_handler(zval **handler, zval **data) argument 482 /* If we have already a handler, release it */ 483 if (*handler) { 484 zval_ptr_dtor(handler); 492 *handler = NULL; 499 *handler = *data; 504 static zval *xml_call_handler(xml_parser *parser, zval *handler, zend_function *function_ptr, int argc, zval **argv) argument 509 if (parser && handler && !EG(exception)) { 522 fci.function_name = handler; 536 if (Z_TYPE_P(handler) [all...] |
| /PHP_TRUNK/ext/xsl/ |
| H A D | xsltprocessor.c | 190 zval handler; local 315 INIT_PZVAL(&handler); 316 ZVAL_STRING(&handler, obj->stringval, 1); 319 fci.function_name = &handler; 325 if (!zend_make_callable(&handler, &callable TSRMLS_CC)) { 326 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to call handler %s()", callable); 329 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Not allowed to call handler '%s()'", callable); 335 if (Z_TYPE(handler) == IS_STRING) { 336 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to call handler %s()", Z_STRVAL_P(&handler)); [all...] |
| /PHP_TRUNK/main/ |
| H A D | output.c | 40 const char php_output_default_handler_name[sizeof("default output handler")] = "default output handler"; 41 const char php_output_devnull_handler_name[sizeof("null output handler")] = "null output handler"; 59 static inline php_output_handler_status_t php_output_handler_op(php_output_handler *handler, php_output_context *context); 60 static inline int php_output_handler_append(php_output_handler *handler, const php_output_buffer *buf TSRMLS_DC); 61 static inline zval *php_output_handler_status(php_output_handler *handler, zval *entry); 153 * Reset output globals and setup the output handler stack */ 170 * Destroy the output handler stack */ 173 php_output_handler **handler local 408 php_output_handler *handler; local 423 php_output_handler *handler; local 438 php_output_handler *handler; local 457 php_output_handler *handler; local 474 php_output_handler *handler = NULL; local 514 php_output_handler *handler; local 525 php_output_handler_set_context(php_output_handler *handler, void *opaq, void (*dtor)(void* TSRMLS_DC) TSRMLS_DC) argument 864 php_output_handler *handler; local 880 php_output_handler_append(php_output_handler *handler, const php_output_buffer *buf TSRMLS_DC) argument 908 php_output_handler_op(php_output_handler *handler, php_output_context *context) argument 1098 php_output_handler *handler = *(php_output_handler **) h; local 1144 php_output_handler *handler = *(php_output_handler **) h; local 1158 php_output_handler *handler = *(php_output_handler **) h; local 1170 php_output_handler *handler = *(php_output_handler **) h; local 1180 php_output_handler_status(php_output_handler *handler, zval *entry) argument [all...] |
| H A D | php_output.h | 26 /* handler ops */ 35 /* handler types */ 39 /* handler ability flags */ 45 /* handler status flags */ 50 /* handler op return values */ 74 /* handler hooks */ 116 /* output handler context dtor */ 181 extern const char php_output_default_handler_name[sizeof("default output handler")]; 182 extern const char php_output_devnull_handler_name[sizeof("null output handler")]; 233 PHPAPI php_output_handler *php_output_handler_create_user(zval *handler, size_ [all...] |
| /PHP_TRUNK/sapi/apache/ |
| H A D | php_apache.c | 489 if (rr->handler) { 490 add_property_string(return_value,"handler", (char *)rr->handler, 1);
|
| /PHP_TRUNK/sapi/apache2filter/ |
| H A D | php_functions.c | 128 ADD_STRING(handler);
|
| /PHP_TRUNK/sapi/apache2handler/ |
| H A D | sapi_apache2.c | 369 php_error, /* error handler */ 371 php_apache_sapi_header_handler, /* header handler */ 372 php_apache_sapi_send_headers, /* send headers handler */ 373 NULL, /* send header handler */ 568 if (strcmp(r->handler, PHP_MAGIC_TYPE) && strcmp(r->handler, PHP_SOURCE_MAGIC_TYPE) && strcmp(r->handler, PHP_SCRIPT)) { 570 if (!AP2(xbithack) || strcmp(r->handler, "text/html") || !(r->finfo.protection & APR_UEXECUTE)) { 625 if (parent_req && parent_req->handler && 626 strcmp(parent_req->handler, PHP_MAGIC_TYP [all...] |
| /PHP_TRUNK/ext/dba/ |
| H A D | dba.c | 282 /* a DBA handler must have specific routines */ 304 static dba_handler handler[] = { variable 390 for (hptr = handler; hptr->name && strcasecmp(hptr->name, handler_name); hptr++); 465 for (hptr = handler; hptr->name && strcasecmp(hptr->name, new_value); hptr++); 468 php_error_docref(NULL TSRMLS_CC, E_WARNING, "No such handler: %s", new_value); 518 for(hptr = handler; hptr->name; hptr++) { 621 /* we pass additional args to the respective handler */ 665 php_error_docref2(NULL TSRMLS_CC, Z_STRVAL_PP(args[0]), Z_STRVAL_PP(args[1]), E_WARNING, "No default handler selected"); 670 for (hptr = handler; hptr->name && strcasecmp(hptr->name, Z_STRVAL_PP(args[2])); hptr++); 674 php_error_docref2(NULL TSRMLS_CC, Z_STRVAL_PP(args[0]), Z_STRVAL_PP(args[1]), E_WARNING, "No such handler [all...] |
| /PHP_TRUNK/ext/opcache/ |
| H A D | zend_shared_alloc.h | 89 zend_shared_memory_handlers *handler; member in struct:_handler_entry
|
| H A D | zend_accelerator_module.c | 362 orig_file_exists = old_function->internal_function.handler; 363 old_function->internal_function.handler = accel_file_exists; 366 orig_is_file = old_function->internal_function.handler; 367 old_function->internal_function.handler = accel_is_file; 370 orig_is_readable = old_function->internal_function.handler; 371 old_function->internal_function.handler = accel_is_readable;
|
| H A D | zend_accelerator_util_funcs.c | 571 #define zend_update_inherited_handler(handler) \ 573 if (ce->handler != NULL) { \ 574 if (accel_xlat_get(ce->handler, new_func) == SUCCESS) { \ 575 ce->handler = *new_func; \
|
| /PHP_TRUNK/ext/opcache/Optimizer/ |
| H A D | zend_optimizer_internal.h | 41 # define MAKE_NOP(opline) { opline->opcode = ZEND_NOP; memset(&opline->result,0,sizeof(opline->result)); memset(&opline->op1,0,sizeof(opline->op1)); memset(&opline->op2,0,sizeof(opline->op2)); opline->result_type=opline->op1_type=opline->op2_type=IS_UNUSED; opline->handler = zend_opcode_handlers[ZEND_NOP]; }
46 # define MAKE_NOP(opline) { opline->opcode = ZEND_NOP; memset(&opline->result,0,sizeof(znode)); memset(&opline->op1,0,sizeof(znode)); memset(&opline->op2,0,sizeof(znode)); opline->result.op_type=opline->op1.op_type=opline->op2.op_type=IS_UNUSED; opline->handler = zend_opcode_handlers[ZEND_NOP]; }
|