Home
last modified time | relevance | path

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

/PHP-5.5/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.5/ext/mcrypt/tests/
H A Dmcrypt_list_modes.phpt15 string(3) "ctr"
/PHP-5.5/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.5/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.5/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()
350 sapi_header_line ctr = {0}; in phar_do_404() local
362 ctr.response_code = 404; in phar_do_404()
801 ctr.response_code = 0; in PHP_METHOD()
806 ctr.line_len = spprintf(&(ctr.line), 4096, "Location: %s%s", path_info, entry); in PHP_METHOD()
[all …]
/PHP-5.5/main/
H A DSAPI.c631 sapi_header_line ctr = {0}; in sapi_add_header_ex() local
634 ctr.line = header_line; in sapi_add_header_ex()
635 ctr.line_len = header_line_len; in sapi_add_header_ex()
638 &ctr TSRMLS_CC); in sapi_add_header_ex()
H A Dmain.c1159 sapi_header_line ctr = {0}; in php_error_cb() local
1161 ctr.line = "HTTP/1.0 500 Internal Server Error"; in php_error_cb()
1162 ctr.line_len = sizeof("HTTP/1.0 500 Internal Server Error") - 1; in php_error_cb()
1163 sapi_header_op(SAPI_HEADER_REPLACE, &ctr TSRMLS_CC); in php_error_cb()
/PHP-5.5/sapi/fpm/fpm/
H A Dfpm_main.c1967 sapi_header_line ctr = {0}; local
1969 ctr.line = CGIG(error_header);
1970 ctr.line_len = strlen(CGIG(error_header));
1971 sapi_header_op(SAPI_HEADER_REPLACE, &ctr TSRMLS_CC);

Completed in 39 milliseconds