Home
last modified time | relevance | path

Searched refs:ctr (Results 1 – 8 of 8) sorted by relevance

/PHP-5.6/ext/standard/
H A Dhead.c42 sapi_header_line ctr = {0}; in PHP_FUNCTION() local
44 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|bl", &ctr.line, in PHP_FUNCTION()
45 &ctr.line_len, &rep, &ctr.response_code) == FAILURE) in PHP_FUNCTION()
48 sapi_header_op(rep ? SAPI_HEADER_REPLACE:SAPI_HEADER_ADD, &ctr TSRMLS_CC); in PHP_FUNCTION()
56 sapi_header_line ctr = {0}; in PHP_FUNCTION() local
58 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &ctr.line, in PHP_FUNCTION()
59 &ctr.line_len) == FAILURE) in PHP_FUNCTION()
81 sapi_header_line ctr = {0}; in php_setcookie() local
166 ctr.line = cookie; in php_setcookie()
167 ctr.line_len = strlen(cookie); in php_setcookie()
[all …]
/PHP-5.6/ext/mcrypt/tests/
H A Dmcrypt_list_modes.phpt15 string(3) "ctr"
/PHP-5.6/sapi/pi3web/
H A Dpi3web_sapi.c379 sapi_header_line ctr = {0}; in PHP5_wrapper() local
381 ctr.line = "Content-Type: text/plain"; in PHP5_wrapper()
382 ctr.line_len = strlen(ctr.line); in PHP5_wrapper()
384 sapi_header_op(SAPI_HEADER_REPLACE, &ctr TSRMLS_CC); in PHP5_wrapper()
/PHP-5.6/sapi/tux/
H A Dphp_tux.c195 sapi_header_line ctr = {0}; in sapi_tux_register_variables() local
197 ctr.line = buf; in sapi_tux_register_variables()
198 ctr.line_len = slprintf(buf, sizeof(buf), "Server: %s", TUXAPI_version); in sapi_tux_register_variables()
199 sapi_header_op(SAPI_HEADER_REPLACE, &ctr TSRMLS_CC); in sapi_tux_register_variables()
/PHP-5.6/ext/phar/
H A Dphar_object.c170 sapi_header_line ctr = {0}; in phar_file_action() local
200 ctr.line_len = spprintf(&(ctr.line), 0, "Content-type: %s", mime_type); in phar_file_action()
202 efree(ctr.line); in phar_file_action()
205 efree(ctr.line); in phar_file_action()
335 sapi_header_line ctr = {0}; in phar_do_403() local
337 ctr.response_code = 403; in phar_do_403()
349 sapi_header_line ctr = {0}; in phar_do_404() local
361 ctr.response_code = 404; in phar_do_404()
799 ctr.response_code = 0; in PHP_METHOD()
804 ctr.line_len = spprintf(&(ctr.line), 4096, "Location: %s%s", path_info, entry); in PHP_METHOD()
[all …]
/PHP-5.6/main/
H A DSAPI.c640 sapi_header_line ctr = {0}; in sapi_add_header_ex() local
643 ctr.line = header_line; in sapi_add_header_ex()
644 ctr.line_len = header_line_len; in sapi_add_header_ex()
647 &ctr TSRMLS_CC); in sapi_add_header_ex()
H A Dmain.c1242 sapi_header_line ctr = {0}; in php_error_cb() local
1244 ctr.line = "HTTP/1.0 500 Internal Server Error"; in php_error_cb()
1245 ctr.line_len = sizeof("HTTP/1.0 500 Internal Server Error") - 1; in php_error_cb()
1246 sapi_header_op(SAPI_HEADER_REPLACE, &ctr TSRMLS_CC); in php_error_cb()
/PHP-5.6/sapi/fpm/fpm/
H A Dfpm_main.c2003 sapi_header_line ctr = {0}; local
2005 ctr.line = CGIG(error_header);
2006 ctr.line_len = strlen(CGIG(error_header));
2007 sapi_header_op(SAPI_HEADER_REPLACE, &ctr TSRMLS_CC);

Completed in 41 milliseconds