Home
last modified time | relevance | path

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

1234

/php-src/ext/curl/
H A Dinterface.c163 if (ch->handlers.read && !Z_ISUNDEF(ch->handlers.read->stream)) { in _php_curl_verify_handlers()
191 if (ch->handlers.write && !Z_ISUNDEF(ch->handlers.write->stream)) { in _php_curl_verify_handlers()
1262 ch->handlers.write->stream = source->handlers.write->stream; in _php_setup_easy_copy_handlers()
1263 ch->handlers.write->method = source->handlers.write->method; in _php_setup_easy_copy_handlers()
1267 ch->handlers.read->stream = source->handlers.read->stream; in _php_setup_easy_copy_handlers()
1268 ch->handlers.read->method = source->handlers.read->method; in _php_setup_easy_copy_handlers()
1269 ch->handlers.write_header->method = source->handlers.write_header->method; in _php_setup_easy_copy_handlers()
1275 ch->handlers.write->fp = source->handlers.write->fp; in _php_setup_easy_copy_handlers()
1276 ch->handlers.write_header->fp = source->handlers.write_header->fp; in _php_setup_easy_copy_handlers()
1277 ch->handlers.read->fp = source->handlers.read->fp; in _php_setup_easy_copy_handlers()
[all …]
H A Dmulti.c250 if (ch->handlers.write->method == PHP_CURL_RETURN) { in PHP_FUNCTION()
251 if (!ch->handlers.write->buf.s) { in PHP_FUNCTION()
254 smart_str_0(&ch->handlers.write->buf); in PHP_FUNCTION()
255 RETURN_STR_COPY(ch->handlers.write->buf.s); in PHP_FUNCTION()
375 php_curl_callback *t = mh->handlers.server_push; in _php_server_push_callback()
462 if (mh->handlers.server_push == NULL) { in _php_curl_multi_setopt()
465 zval_ptr_dtor(&mh->handlers.server_push->func_name); in _php_curl_multi_setopt()
551 if (mh->handlers.server_push) { in curl_multi_free_obj()
552 zval_ptr_dtor(&mh->handlers.server_push->func_name); in curl_multi_free_obj()
553 efree(mh->handlers.server_push); in curl_multi_free_obj()
[all …]
H A Dcurl_private.h100 php_curl_handlers handlers; member
123 php_curlm_handlers handlers; member
/php-src/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-src/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.c189 p_sig = SIGG(handlers)[signo-1]; in zend_signal_handler()
216 SIGG(handlers)[signo-1].flags = 0; in zend_signal_handler() local
217 SIGG(handlers)[signo-1].handler = SIG_DFL; in zend_signal_handler() local
236 oldact->sa_flags = SIGG(handlers)[signo-1].flags; in zend_sigaction()
237 oldact->sa_handler = (void *) SIGG(handlers)[signo-1].handler; in zend_sigaction()
241 SIGG(handlers)[signo-1].flags = act->sa_flags; in zend_sigaction() local
245 SIGG(handlers)[signo-1].handler = (void *) act->sa_handler; in zend_sigaction() local
249 if (SIGG(handlers)[signo-1].handler == (void *) SIG_IGN) { in zend_sigaction() local
297 SIGG(handlers)[signo-1].flags = sa.sa_flags; in zend_signal_register() local
299 SIGG(handlers)[signo-1].handler = (void *)sa.sa_sigaction; in zend_signal_register() local
[all …]
H A Dzend_observer.c133 zend_observer_fcall_handlers handlers = init(execute_data); in zend_observer_fcall_install() local
134 if (handlers.begin) { in zend_observer_fcall_install()
135 *(begin_handlers++) = handlers.begin; in zend_observer_fcall_install()
137 if (handlers.end) { in zend_observer_fcall_install()
138 *(end_handlers++) = handlers.end; in zend_observer_fcall_install()
/php-src/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-src/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-src/main/
H A Doutput.c188 if (OG(handlers).elements) { in php_output_deactivate()
189 while ((handler = zend_stack_top(&OG(handlers)))) { in php_output_deactivate()
191 zend_stack_del_top(&OG(handlers)); in php_output_deactivate()
194 zend_stack_destroy(&OG(handlers)); in php_output_deactivate()
260 zend_stack_del_top(&OG(handlers)); in php_output_flush()
262 zend_stack_push(&OG(handlers), &OG(active)); in php_output_flush()
353 return OG(active) ? zend_stack_count(&OG(handlers)) : 0; in php_output_get_level()
559 php_output_handler **handlers; in php_output_handler_started() local
563 handlers = (php_output_handler **) zend_stack_base(&OG(handlers)); in php_output_handler_started()
1222 zend_stack_del_top(&OG(handlers)); in php_output_stack_pop()
[all …]
/php-src/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-src/ext/xml/tests/
H A Dset_element_handler_trampoline.phpt2 Test xml_set_element_handler handlers as trampoline callback
41 echo "Both handlers are trampolines:\n";
63 Both handlers are trampolines:
/php-src/ext/zend_test/
H A Dobject_handlers.c28 obj->handlers = &donc_object_handlers; in donc_object_create_ex()
131 obj->handlers = &long_castable_no_operation_object_handlers; in long_castable_no_operation_object_create_ex()
167 obj->handlers = &float_castable_no_operation_object_handlers; in float_castable_no_operation_object_create_ex()
203 obj->handlers = &numeric_castable_no_operation_object_handlers; in numeric_castable_no_operation_object_create_ex()
241 object->handlers = &dimension_handlers_no_ArrayAccess_object_handlers; in dimension_handlers_no_ArrayAccess_object_create()
/php-src/ext/zend_test/tests/
H A Dobserver_error_04.phpt2 Observer: fatal errors caught with zend_try will not fire end handlers prematurely
24 // try/catch is on main() to ensure ZEND_HANDLE_EXCEPTION does not fire the end handlers again
/php-src/Zend/tests/
H A Dgc_024.phpt2 GC 024: GC and objects with non-standard handlers
H A Dgh10695_6.phpt2 GH-10695: Exceptions from output buffering handlers during shutdown are caught
H A Dgh10695_7.phpt2 GH-10695: Exceptions in error handlers during shutdown are caught
H A Dclosure_031.phpt2 Closure 031: Closure properties with custom error handlers
H A Dgh10695_5.phpt2 GH-10695: Exception handlers can register another exception handler
/php-src/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…
/php-src/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)
/php-src/ext/session/tests/user_session_module/
H A Dsession_set_save_handler_multiple.phpt66 echo "New handlers:\n";
82 New handlers:

Completed in 90 milliseconds

1234