Home
last modified time | relevance | path

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

12345

/php-src/ext/curl/
H A Dinterface.c161 if (ch->handlers.read && !Z_ISUNDEF(ch->handlers.read->stream)) { in _php_curl_verify_handlers()
189 if (ch->handlers.write && !Z_ISUNDEF(ch->handlers.write->stream)) { in _php_curl_verify_handlers()
1267 ch->handlers.write->stream = source->handlers.write->stream; in _php_setup_easy_copy_handlers()
1268 ch->handlers.write->method = source->handlers.write->method; in _php_setup_easy_copy_handlers()
1272 ch->handlers.read->stream = source->handlers.read->stream; in _php_setup_easy_copy_handlers()
1273 ch->handlers.read->method = source->handlers.read->method; in _php_setup_easy_copy_handlers()
1280 ch->handlers.write->fp = source->handlers.write->fp; in _php_setup_easy_copy_handlers()
1281 ch->handlers.write_header->fp = source->handlers.write_header->fp; in _php_setup_easy_copy_handlers()
1282 ch->handlers.read->fp = source->handlers.read->fp; in _php_setup_easy_copy_handlers()
1283 ch->handlers.read->res = source->handlers.read->res; in _php_setup_easy_copy_handlers()
[all …]
H A Dmulti.c282 if (ch->handlers.write->method == PHP_CURL_RETURN) { in PHP_FUNCTION()
283 if (!ch->handlers.write->buf.s) { in PHP_FUNCTION()
286 smart_str_0(&ch->handlers.write->buf); in PHP_FUNCTION()
287 RETURN_STR_COPY(ch->handlers.write->buf.s); in PHP_FUNCTION()
479 if (ZEND_FCC_INITIALIZED(mh->handlers.server_push)) { in _php_curl_multi_setopt()
480 zend_fcc_dtor(&mh->handlers.server_push); in _php_curl_multi_setopt()
491 zend_fcc_addref(&mh->handlers.server_push); in _php_curl_multi_setopt()
576 if (ZEND_FCC_INITIALIZED(mh->handlers.server_push)) { in curl_multi_free_obj()
577 zend_fcc_dtor(&mh->handlers.server_push); in curl_multi_free_obj()
589 if (ZEND_FCC_INITIALIZED(curl_multi->handlers.server_push)) { in curl_multi_get_gc()
[all …]
H A Dcurl_private.h97 php_curl_handlers handlers; member
120 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.c54 if (obj->handlers->dtor_obj != zend_objects_destroy_object in zend_objects_store_call_destructors()
57 obj->handlers->dtor_obj(obj); in zend_objects_store_call_destructors()
103 if (obj->handlers->free_obj != zend_object_std_dtor) { in zend_objects_store_free_object_storage()
105 obj->handlers->free_obj(obj); in zend_objects_store_free_object_storage()
118 obj->handlers->free_obj(obj); in zend_objects_store_free_object_storage()
176 if (object->handlers->dtor_obj != zend_objects_destroy_object in zend_objects_store_del()
179 object->handlers->dtor_obj(object); in zend_objects_store_del()
194 object->handlers->free_obj(object); in zend_objects_store_del()
196 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 …]
/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()
563 php_output_handler **handlers; in php_output_handler_started() local
567 handlers = (php_output_handler **) zend_stack_base(&OG(handlers)); in php_output_handler_started()
1230 zend_stack_del_top(&OG(handlers)); in php_output_stack_pop()
[all …]
/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/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/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/Zend/tests/gc/
H A Dgc_024.phpt2 GC 024: GC and objects with non-standard handlers
/php-src/Zend/tests/
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 Dgh10695_5.phpt2 GH-10695: Exception handlers can register another exception handler
H A Dgh10695_4.phpt2 GH-10695: Exception handlers are not called twice
/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/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:
H A Dxml_set_start_namespace_decl_handler_basic_libxml.phpt12 // Note: namespace end handlers are only supported on expat
/php-src/Zend/tests/closures/
H A Dclosure_031.phpt2 Closure 031: Closure properties with custom error handlers

Completed in 38 milliseconds

12345