Home
last modified time | relevance | path

Searched refs:handlers (Results 1 – 25 of 141) sorted by relevance

123456

/PHP-8.1/ext/dba/tests/
H A Dskipif.inc2 if (!sizeof(dba_handlers())) die('skip no handlers installed');
4 $handlers = dba_handlers();
5 if (in_array('flatfile', $handlers)) {
8 … $handlers = array_diff($handlers, array('cdb', 'cdb_make')); /* these can only read OR write */
9 if (count($handlers)==0) {
12 $handler = array_shift($handlers);
/PHP-8.1/ext/curl/
H A Dinterface.c159 if (ch->handlers.read && !Z_ISUNDEF(ch->handlers.read->stream)) { in _php_curl_verify_handlers()
187 if (ch->handlers.write && !Z_ISUNDEF(ch->handlers.write->stream)) { in _php_curl_verify_handlers()
1892 ch->handlers.write->stream = source->handlers.write->stream; in _php_setup_easy_copy_handlers()
1893 ch->handlers.write->method = source->handlers.write->method; in _php_setup_easy_copy_handlers()
1897 ch->handlers.read->stream = source->handlers.read->stream; in _php_setup_easy_copy_handlers()
1898 ch->handlers.read->method = source->handlers.read->method; in _php_setup_easy_copy_handlers()
1899 ch->handlers.write_header->method = source->handlers.write_header->method; in _php_setup_easy_copy_handlers()
1905 ch->handlers.write->fp = source->handlers.write->fp; in _php_setup_easy_copy_handlers()
1906 ch->handlers.write_header->fp = source->handlers.write_header->fp; in _php_setup_easy_copy_handlers()
1907 ch->handlers.read->fp = source->handlers.read->fp; in _php_setup_easy_copy_handlers()
[all …]
H A Dmulti.c245 if (ch->handlers.write->method == PHP_CURL_RETURN) { in PHP_FUNCTION()
246 if (!ch->handlers.write->buf.s) { in PHP_FUNCTION()
249 smart_str_0(&ch->handlers.write->buf); in PHP_FUNCTION()
250 RETURN_STR_COPY(ch->handlers.write->buf.s); in PHP_FUNCTION()
371 php_curl_callback *t = mh->handlers.server_push; in _php_server_push_callback()
463 if (mh->handlers.server_push == NULL) { in _php_curl_multi_setopt()
522 intern->std.handlers = &curl_multi_handlers; in curl_multi_create_object()
556 if (mh->handlers.server_push) { in curl_multi_free_obj()
557 zval_ptr_dtor(&mh->handlers.server_push->func_name); in curl_multi_free_obj()
558 efree(mh->handlers.server_push); in curl_multi_free_obj()
[all …]
H A Dcurl_private.h101 php_curl_handlers handlers; member
124 php_curlm_handlers handlers; member
/PHP-8.1/Zend/
H A Dzend_objects_API.c56 if (obj->handlers->dtor_obj != zend_objects_destroy_object in zend_objects_store_call_destructors()
59 obj->handlers->dtor_obj(obj); in zend_objects_store_call_destructors()
107 if (obj->handlers->free_obj != zend_object_std_dtor) { in zend_objects_store_free_object_storage()
109 obj->handlers->free_obj(obj); in zend_objects_store_free_object_storage()
122 obj->handlers->free_obj(obj); in zend_objects_store_free_object_storage()
180 if (object->handlers->dtor_obj != zend_objects_destroy_object in zend_objects_store_del()
184 object->handlers->dtor_obj(object); in zend_objects_store_del()
200 object->handlers->free_obj(object); in zend_objects_store_del()
202 ptr = ((char*)object) - object->handlers->offset; in zend_objects_store_del()
H A Dzend_signal.c188 p_sig = SIGG(handlers)[signo-1]; in zend_signal_handler()
215 SIGG(handlers)[signo-1].flags = 0; in zend_signal_handler() local
216 SIGG(handlers)[signo-1].handler = SIG_DFL; in zend_signal_handler() local
235 oldact->sa_flags = SIGG(handlers)[signo-1].flags; in zend_sigaction()
236 oldact->sa_handler = (void *) SIGG(handlers)[signo-1].handler; in zend_sigaction()
240 SIGG(handlers)[signo-1].flags = act->sa_flags; in zend_sigaction() local
244 SIGG(handlers)[signo-1].handler = (void *) act->sa_handler; in zend_sigaction() local
248 if (SIGG(handlers)[signo-1].handler == (void *) SIG_IGN) { in zend_sigaction() local
296 SIGG(handlers)[signo-1].flags = sa.sa_flags; in zend_signal_register() local
298 SIGG(handlers)[signo-1].handler = (void *)sa.sa_sigaction; in zend_signal_register() local
[all …]
H A Dzend_observer.c120 zend_observer_fcall_handlers handlers = init(execute_data); in zend_observer_fcall_install() local
121 if (handlers.begin) { in zend_observer_fcall_install()
122 *(begin_handlers++) = handlers.begin; in zend_observer_fcall_install()
124 if (handlers.end) { in zend_observer_fcall_install()
125 *(end_handlers++) = handlers.end; in zend_observer_fcall_install()
/PHP-8.1/ext/standard/tests/general_functions/
H A Dob_start_closures.phpt2 Test ob_start() function : closures as output handlers
7 echo "*** Testing ob_start() : closures as output handlers ***\n";
31 *** Testing ob_start() : closures as output handlers ***
/PHP-8.1/Zend/Optimizer/
H A Dscdf.c77 scdf->handlers.visit_phi(scdf, phi); in scdf_mark_edge_feasible()
115 scdf->handlers.visit_phi(scdf, phi); in scdf_solve()
129 scdf->handlers.visit_instr(scdf, opline, ssa_op); in scdf_solve()
134 scdf->handlers.mark_feasible_successors(scdf, block_num, block, opline, ssa_op); in scdf_solve()
152 scdf->handlers.visit_phi(scdf, phi); in scdf_solve()
166 scdf->handlers.visit_instr(scdf, opline, &ssa->ops[j]); in scdf_solve()
177 scdf->handlers.mark_feasible_successors(scdf, i, block, opline, &ssa->ops[j-1]); in scdf_solve()
/PHP-8.1/main/
H A Doutput.c189 if (OG(handlers).elements) { in php_output_deactivate()
190 while ((handler = zend_stack_top(&OG(handlers)))) { in php_output_deactivate()
192 zend_stack_del_top(&OG(handlers)); in php_output_deactivate()
195 zend_stack_destroy(&OG(handlers)); in php_output_deactivate()
281 zend_stack_del_top(&OG(handlers)); in php_output_flush()
283 zend_stack_push(&OG(handlers), &OG(active)); in php_output_flush()
580 php_output_handler **handlers; in php_output_handler_started() local
584 handlers = (php_output_handler **) zend_stack_base(&OG(handlers)); in php_output_handler_started()
587 …if (name_len == ZSTR_LEN(handlers[i]->name) && !memcmp(ZSTR_VAL(handlers[i]->name), name, name_len… in php_output_handler_started()
1235 zend_stack_del_top(&OG(handlers)); in php_output_stack_pop()
[all …]
/PHP-8.1/ext/zend_test/tests/
H A Dobserver_error_04.phpt2 Observer: fatal errors caught with zend_try will not fire end handlers prematurely
23 // try/catch is on main() to ensure ZEND_HANDLE_EXCEPTION does not fire the end handlers again
H A Dobserver_error_02.phpt2 Observer: End handlers fire after a userland fatal error
/PHP-8.1/ext/dba/
H A Dconfig.w3221 WARNING("dba: db handlers not enabled; libraries and headers not found");
32 WARNING("dba: qdbm handlers not enabled; libraries and headers not found");
44 WARNING("dba: lmdb handlers not enabled; libraries and headers not found");
/PHP-8.1/Zend/tests/
H A Dgc_024.phpt2 GC 024: GC and objects with non-standard handlers
H A Dclosure_031.phpt2 Closure 031: Closure properties with custom error handlers
/PHP-8.1/tests/output/
H A Dbug65593.phpt12 Fatal error: ob_start(): Cannot use output buffering in output buffering display handlers in %sbug6…
H A Dob_start_error_005.phpt22 Fatal error: ob_start(): Cannot use output buffering in output buffering display handlers in %s on …
H A Dob_011.phpt19 Fatal error: ob_get_flush(): Cannot use output buffering in output buffering display handlers in %s…
H A Dbug70970.phpt28 Fatal error: ob_start(): Cannot use output buffering in output buffering display handlers in %sbug7…
/PHP-8.1/ext/pcntl/tests/
H A Dbug81577_2.phpt2 Bug #81577: (Exceptions in interrupt handlers: ADD_ARRAY_ELEMENT)
H A Dbug81577_3.phpt2 Bug #81577: (Exceptions in interrupt handlers: cleanup_live_vars)
H A Dbug81577.phpt2 Bug #81577: (Exceptions in interrupt handlers)
/PHP-8.1/ext/com_dotnet/
H A Dcom_misc.c64 obj->zo.handlers = &php_com_object_handlers; in php_com_wrap_dispatch()
88 obj->zo.handlers = &php_com_object_handlers; in php_com_wrap_variant()
/PHP-8.1/Zend/tests/weakrefs/
H A Dweakrefs_003.phpt2 WeakReference object handlers
/PHP-8.1/ext/dom/tests/
H A Dbug78577.phpt2 Bug #78577 (Crash in DOMNameSpace debug info handlers)

Completed in 51 milliseconds

123456