Searched defs:handler (Results 1 - 14 of 14) sorted by relevance

/PHP_5_3/ext/dba/
H A Ddba.c281 /* a DBA handler must have specific routines */
303 static dba_handler handler[] = { variable
384 for (hptr = handler; hptr->name && strcasecmp(hptr->name, handler_name); hptr++);
459 for (hptr = handler; hptr->name && strcasecmp(hptr->name, new_value); hptr++);
462 php_error_docref(NULL TSRMLS_CC, E_WARNING, "No such handler: %s", new_value);
512 for(hptr = handler; hptr->name; hptr++) {
627 /* we pass additional args to the respective handler */
671 php_error_docref2(NULL TSRMLS_CC, Z_STRVAL_PP(args[0]), Z_STRVAL_PP(args[1]), E_WARNING, "No default handler selected");
676 for (hptr = handler; hptr->name && strcasecmp(hptr->name, Z_STRVAL_PP(args[2])); hptr++);
680 php_error_docref2(NULL TSRMLS_CC, Z_STRVAL_PP(args[0]), Z_STRVAL_PP(args[1]), E_WARNING, "No such handler
[all...]
/PHP_5_3/ext/dom/
H A Ddocument.c353 xmlCharEncodingHandlerPtr handler; local
371 handler = xmlFindCharEncodingHandler(Z_STRVAL_P(newval));
373 if (handler != NULL) {
374 xmlCharEncCloseFunc(handler);
H A Dxpath.c82 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_5_3/ext/xsl/
H A Dxsltprocessor.c181 zval handler; local
305 INIT_PZVAL(&handler);
306 ZVAL_STRING(&handler, obj->stringval, 1);
309 fci.function_name = &handler;
315 if (!zend_make_callable(&handler, &callable TSRMLS_CC)) {
316 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to call handler %s()", callable);
319 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Not allowed to call handler '%s()'", callable);
325 if (Z_TYPE(handler) == IS_STRING) {
326 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to call handler %s()", Z_STRVAL_P(&handler));
[all...]
/PHP_5_3/sapi/apache_hooks/
H A Dmod_php5.c274 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 */
534 php_error, /* error handler */
536 sapi_apache_header_handler, /* header handler */
537 sapi_apache_send_headers, /* send headers handler */
538 NULL, /* send header handler */
937 php_handler *handler; local
938 handler
956 php_handler *handler; local
1266 php_run_hook(php_handler *handler, request_rec *r) argument
[all...]
H A Dsapi_apache.c63 int apache_php_module_hook(request_rec *r, php_handler *handler, zval **ret TSRMLS_DC) argument
88 switch(handler->type) {
90 php_register_variable("PHP_SELF_HOOK", handler->name, PG(http_globals)[TRACK_VARS_SERVER] TSRMLS_CC);
93 file_handle.filename = handler->name;
97 if( (tmp = strstr(handler->name, "::")) != NULL && *(tmp+2) != '\0' ) {
102 ZVAL_STRING(class, handler->name, 1);
111 php_error(E_ERROR, "Unable to call %s - not a Class::Method\n", handler->name);
/PHP_5_3/sapi/litespeed/
H A Dlsapilib.c158 static void lsapi_signal(int signo, sighandler_t handler) argument
167 sa.sa_handler = handler;
1820 perror( "Can't set signal handler for SIGCHILD" );
1824 /* Set up handler to kill children upon exit */
/PHP_5_3/Zend/
H A Dzend_compile.h83 opcode_handler_t handler; member in struct:_zend_op
261 void (*handler)(INTERNAL_FUNCTION_PARAMETERS); member in struct:_zend_internal_function
756 /* call op_array handler of extendions */
H A Dzend_vm_gen.php306 // Generates code for opcode handler or helper
480 // Generates opcode handler
488 // Generate opcode handler's entry point according to selected threading model
500 // This handler is used by other handlers. We will add label to call it.
511 // Generate opcode handler's code
558 // to handler of undefined opcode
567 // Emit pointer to handler of undefined opcode
591 // Try to use unspecialized handler
599 // Try to use unspecialized handler
602 // Check if specialized handler i
991 $handler = null; variable
1026 $handler = $code; variable
1044 $handler = null; variable
1066 $handler = null; variable
[all...]
H A Dzend_execute.c542 /* object was removed by error handler, nothing to assign to */
1273 ((zend_internal_function *) execute_data_ptr->function_state.function)->handler(execute_data_ptr->opline->extended_value, *return_value_ptr, execute_data_ptr->function_state.function->common.return_reference?return_value_ptr:NULL, execute_data_ptr->object, return_value_used TSRMLS_CC);
1297 ZEND_API int zend_set_user_opcode_handler(zend_uchar opcode, user_opcode_handler_t handler) argument
1301 zend_user_opcode_handlers[opcode] = handler;
H A Dzend_API.h37 void (*handler)(INTERNAL_FUNCTION_PARAMETERS); member in struct:_zend_function_entry
/PHP_5_3/ext/spl/
H A Dspl_array.c1097 zend_object_get_properties_t handler = Z_OBJ_HANDLER_PP(array, get_properties); local
1098 if ((handler != std_object_handlers.get_properties && handler != spl_array_get_properties)
1108 /* iterator handler table */
/PHP_5_3/ext/soap/
H A Dsoap.c426 ZEND_ARG_INFO(0, handler)
729 fe.handler = ZEND_MN(SoapClient___call);
2487 zend_bool handler = 1; local
2490 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|b", &handler) == SUCCESS) {
2491 SOAP_GLOBAL(use_soap_error_handler) = handler;
3411 builtin_function->internal_function.handler(INTERNAL_FUNCTION_PARAM_PASSTHRU);
/PHP_5_3/ext/xml/
H A Dxml.c479 static void xml_set_handler(zval **handler, zval **data) argument
481 /* If we have already a handler, release it */
482 if (*handler) {
483 zval_ptr_dtor(handler);
491 *handler = NULL;
498 *handler = *data;
503 static zval *xml_call_handler(xml_parser *parser, zval *handler, zend_function *function_ptr, int argc, zval **argv) argument
508 if (parser && handler && !EG(exception)) {
521 fci.function_name = handler;
535 if (Z_TYPE_P(handler)
[all...]

Completed in 38 milliseconds