Searched refs:handler (Results 1 - 25 of 43) sorted by relevance

12

/PHP_5_3/ext/dba/tests/
H A Ddba_handler.inc3 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) {
60 if (($db_file = dba_open($db_filename, 'r'.$lock_flag, $handler))!
[all...]
H A Dskipif.inc5 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);
/PHP_5_3/ext/spl/examples/
H A Ddbaarray.inc23 * 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 Ddbareader.inc25 * 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_5_3/ext/sybase_ct/tests/
H A Dtest.inc39 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_5_3/sapi/apache_hooks/
H A Dphp_apache_http.h44 int apache_php_module_hook(request_rec *r, php_handler *handler, zval **ret TSRMLS_DC);
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 Dphp_apache.c358 /* {{{ proto string ApacheRequest::handler([string new_handler])
362 apache_request_string_slot(offsetof(request_rec, handler), INTERNAL_FUNCTION_PARAM_PASSTHRU);
1300 PHP_FALIAS(handler, apache_request_handler, NULL)
1865 if (rr->handler) {
1866 add_property_string(return_value,"handler", (char *)rr->handler, 1);
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/ext/com_dotnet/
H A Dcom_handlers.c288 f.handler = PHP_FN(com_method_handler);
417 f.handler = ZEND_FN(fn); \
/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/
H A Dmod_php5.c129 void (*handler)(int);
141 handler = signal(SIGPIPE, SIG_IGN);
151 signal(SIGPIPE, handler);
209 *p = ':'; /* a well behaved header handler shouldn't change its original arguments */
479 php_error, /* error handler */
481 sapi_apache_header_handler, /* header handler */
482 sapi_apache_send_headers, /* send headers handler */
483 NULL, /* send header handler */
929 * child_exit handler exists, so shutdown globally
H A Dphp_apache.c491 if (rr->handler) {
492 add_property_string(return_value,"handler", (char *)rr->handler, 1);
/PHP_5_3/sapi/apache2filter/
H A Dphp_functions.c128 ADD_STRING(handler);
/PHP_5_3/sapi/apache2handler/
H A Dphp_functions.c148 ADD_STRING(handler);
H A Dsapi_apache2.c370 php_error, /* error handler */
372 php_apache_sapi_header_handler, /* header handler */
373 php_apache_sapi_send_headers, /* send headers handler */
374 NULL, /* send header handler */
570 if (strcmp(r->handler, PHP_MAGIC_TYPE) && strcmp(r->handler, PHP_SOURCE_MAGIC_TYPE) && strcmp(r->handler, PHP_SCRIPT)) {
572 if (!AP2(xbithack) || strcmp(r->handler, "text/html") || !(r->finfo.protection & APR_UEXECUTE)) {
627 if (parent_req && parent_req->handler &&
628 strcmp(parent_req->handler, PHP_MAGIC_TYP
[all...]
/PHP_5_3/Zend/
H A Dzend_closures.c99 invoke->internal_function.handler = ZEND_MN(Closure___invoke);
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;
/PHP_5_3/ext/phar/
H A Dfunc_interceptors.c1059 PHAR_G(orig_##func) = orig->internal_function.handler; \
1060 orig->internal_function.handler = phar_##func; \
1096 orig->internal_function.handler = PHAR_G(orig_##func); \
/PHP_5_3/ext/mysql/
H A Dphp_mysql.c453 void (*handler) (int);
455 handler = signal(SIGPIPE, SIG_IGN);
457 signal(SIGPIPE, handler);
468 void (*handler) (int);
470 handler = signal(SIGPIPE, SIG_IGN);
472 signal(SIGPIPE, handler);
699 void (*handler) (int);
/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 46 milliseconds

12