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

12

/PHP_TRUNK/ext/dba/tests/
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);
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) {
68 if (($db_file = dba_open($db_filename, 'r'.$lock_flag, $handler))!
[all...]
/PHP_TRUNK/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_TRUNK/ext/opcache/
H A Dzend_shared_alloc.c125 g_shared_alloc_handler = he->handler;
H A Dzend_shared_alloc.h89 zend_shared_memory_handlers *handler; member in struct:_handler_entry
H A Dzend_accelerator_util_funcs.c474 #define zend_update_inherited_handler(handler) \
476 if (ce->handler != NULL) { \
477 ce->handler = ARENA_REALLOC(ce->handler); \
H A Dzend_accelerator_module.c361 orig_file_exists = old_function->internal_function.handler;
362 old_function->internal_function.handler = accel_file_exists;
365 orig_is_file = old_function->internal_function.handler;
366 old_function->internal_function.handler = accel_is_file;
369 orig_is_readable = old_function->internal_function.handler;
370 old_function->internal_function.handler = accel_is_readable;
/PHP_TRUNK/ext/com_dotnet/
H A Dcom_handlers.c281 f.handler = PHP_FN(com_method_handler);
406 f.handler = ZEND_FN(fn); \
/PHP_TRUNK/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 */
574 if (strcmp(r->handler, PHP_MAGIC_TYPE) && strcmp(r->handler, PHP_SOURCE_MAGIC_TYPE) && strcmp(r->handler, PHP_SCRIPT)) {
576 if (!AP2(xbithack) || strcmp(r->handler, "text/html") || !(r->finfo.protection & APR_UEXECUTE)) {
631 if (parent_req && parent_req->handler &&
632 strcmp(parent_req->handler, PHP_MAGIC_TYP
[all...]
/PHP_TRUNK/main/
H A Dphp_output.h26 /* handler ops */
35 /* handler types */
39 /* handler ability flags */
45 /* handler status flags */
50 /* handler op return values */
74 /* handler hooks */
114 /* output handler context dtor */
180 extern const char php_output_default_handler_name[sizeof("default output handler")];
181 extern const char php_output_devnull_handler_name[sizeof("null output handler")];
232 PHPAPI php_output_handler *php_output_handler_create_user(zval *handler, size_
[all...]
H A Doutput.c40 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);
61 static inline zval *php_output_handler_status(php_output_handler *handler, zval *entry);
160 * Reset output globals and setup the output handler stack */
177 * Destroy the output handler stack */
180 php_output_handler **handler local
413 php_output_handler *handler; local
428 php_output_handler *handler; local
443 php_output_handler *handler; local
462 php_output_handler *handler; local
480 php_output_handler *handler = NULL; local
519 php_output_handler *handler; local
532 php_output_handler_set_context(php_output_handler *handler, void *opaq, void (*dtor)(void*)) argument
544 php_output_handler_start(php_output_handler *handler) argument
699 php_output_handler_dtor(php_output_handler *handler) argument
865 php_output_handler *handler; local
880 php_output_handler_append(php_output_handler *handler, const php_output_buffer *buf) argument
908 php_output_handler_op(php_output_handler *handler, php_output_context *context) argument
1093 php_output_handler *handler = *(php_output_handler **) h; local
1139 php_output_handler *handler = *(php_output_handler **) h; local
1153 php_output_handler *handler = *(php_output_handler **) h; local
1165 php_output_handler *handler = *(php_output_handler **) h; local
1175 php_output_handler_status(php_output_handler *handler, zval *entry) argument
[all...]
/PHP_TRUNK/Zend/
H A Dzend_signal.h41 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));
H A Dzend_signal.c55 static int zend_signal_register(int signo, void (*handler)(int, siginfo_t*, void*));
124 /* need to just run handler if we're inactive and getting a signal */
154 * Call the previously registered handler for a signal
163 if (p_sig.handler == SIG_DFL) { /* raise default handler */
177 } else if (p_sig.handler != SIG_IGN) { /* ignore SIG_IGN */
181 SIGG(handlers)[signo-1].handler = SIG_DFL;
183 (*(void (*)(int, siginfo_t*, void*))p_sig.handler)(signo, siginfo, context);
185 (*(void (*)(int))p_sig.handler)(signo);
193 * Register a signal handler tha
232 zend_signal(int signo, void (*handler)(int)) argument
248 zend_signal_register(int signo, void (*handler)(int, siginfo_t*, void*)) argument
[all...]
H A Dzend_vm_gen.php444 // Generates code for opcode handler or helper
658 // Generates opcode handler
666 // Generate opcode handler's entry point according to selected threading model
678 // This handler is used by other handlers. We will add label to call it.
689 // Generate opcode handler's code
736 // to handler of undefined opcode
745 // Emit pointer to handler of undefined opcode
772 // Try to use unspecialized handler
784 // Try to use unspecialized handler
788 // Check if specialized handler i
1257 $handler = null; variable
1292 $handler = $code; variable
1310 $handler = null; variable
1332 $handler = null; variable
[all...]
H A Dzend_execute.h277 #define ZEND_USER_OPCODE_DISPATCH 2 /* call original opcode handler */
281 #define ZEND_USER_OPCODE_DISPATCH_TO 0x100 /* call original handler of returned opcode */
283 ZEND_API int zend_set_user_opcode_handler(zend_uchar opcode, user_opcode_handler_t handler);
/PHP_TRUNK/ext/phar/
H A Dfunc_interceptors.c1068 PHAR_G(orig_##func) = orig->internal_function.handler; \
1069 orig->internal_function.handler = phar_##func; \
1105 orig->internal_function.handler = PHAR_G(orig_##func); \
/PHP_TRUNK/ext/xsl/
H A Dxsltprocessor.c186 zval handler; local
314 ZVAL_STRING(&handler, obj->stringval);
317 ZVAL_COPY_VALUE(&fci.function_name, &handler);
323 if (!zend_make_callable(&handler, &callable)) {
324 php_error_docref(NULL, E_WARNING, "Unable to call handler %s()", callable->val);
327 php_error_docref(NULL, E_WARNING, "Not allowed to call handler '%s()'", callable->val);
333 if (Z_TYPE(handler) == IS_STRING) {
334 php_error_docref(NULL, E_WARNING, "Unable to call handler %s()", Z_STRVAL(handler));
365 zval_ptr_dtor(&handler);
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_cmd.c553 while (command && command->name && command->handler) {
642 const phpdbg_command_t *handler = NULL; local
680 handler = phpdbg_stack_resolve(phpdbg_prompt_commands, NULL, &top);
682 if (handler) {
683 if (!allow_async_unsafe && !(handler->flags & PHPDBG_ASYNC_SAFE)) {
684 phpdbg_error("signalsegv", "command=\"%s\"", "%s command is disallowed during hard interrupt", handler->name);
688 if (phpdbg_stack_verify(handler, &top) == SUCCESS) {
691 return handler->handler(top);
H A Dphpdbg_cmd.h100 phpdbg_command_handler_t handler; /* Command handler */ member in struct:_phpdbg_command_t
125 * 4) the handler is called passing the top of the stack as the only parameter
126 * 5) the stack is destroyed upon return from the handler
161 #define PHPDBG_COMMAND_D_EXP(name, tip, alias, handler, children, args, parent, flags) \
162 {PHPDBG_STRL(#name), tip, sizeof(tip)-1, alias, phpdbg_do_##handler, children, args, parent, flags}
164 #define PHPDBG_COMMAND_D_EX(name, tip, alias, handler, children, args, flags) \
165 {PHPDBG_STRL(#name), tip, sizeof(tip)-1, alias, phpdbg_do_##handler, children, args, NULL, flags}
H A Dphpdbg_help.c249 return cmd->handler(param);
/PHP_TRUNK/ext/xml/
H A Dxml.c455 static void xml_set_handler(zval *handler, zval *data) argument
457 /* If we have already a handler, release it */
458 if (handler) {
459 zval_ptr_dtor(handler);
466 ZVAL_UNDEF(handler);
471 ZVAL_COPY(handler, data);
476 static void xml_call_handler(xml_parser *parser, zval *handler, zend_function *function_ptr, int argc, zval *argv, zval *retval) argument
481 if (parser && handler && !EG(exception)) {
487 ZVAL_COPY_VALUE(&fci.function_name, handler);
501 if (Z_TYPE_P(handler)
[all...]
/PHP_TRUNK/ext/dba/
H A Ddba.c289 /* a DBA handler must have specific routines */
319 static dba_handler handler[] = { variable
405 for (hptr = handler; hptr->name && strcasecmp(hptr->name, handler_name); hptr++);
488 for (hptr = handler; hptr->name && strcasecmp(hptr->name, new_value->val); hptr++);
491 php_error_docref(NULL, E_WARNING, "No such handler: %s", new_value->val);
541 for(hptr = handler; hptr->name; hptr++) {
645 /* we pass additional args to the respective handler */
694 php_error_docref2(NULL, Z_STRVAL(args[0]), Z_STRVAL(args[1]), E_WARNING, "No default handler selected");
699 for (hptr = handler; hptr->name && strcasecmp(hptr->name, Z_STRVAL(args[2])); hptr++);
703 php_error_docref2(NULL, Z_STRVAL(args[0]), Z_STRVAL(args[1]), E_WARNING, "No such handler
[all...]
/PHP_TRUNK/ext/dom/
H A Ddocument.c334 xmlCharEncodingHandlerPtr handler; local
343 handler = xmlFindCharEncodingHandler(Z_STRVAL_P(newval));
345 if (handler != NULL) {
346 xmlCharEncCloseFunc(handler);

Completed in 46 milliseconds

12