Home
last modified time | relevance | path

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

/PHP-7.3/ext/standard/
H A Dhead.c42 sapi_header_line ctr = {0}; in PHP_FUNCTION() local
46 Z_PARAM_STRING(ctr.line, len) in PHP_FUNCTION()
49 Z_PARAM_LONG(ctr.response_code) in PHP_FUNCTION()
52 ctr.line_len = (uint32_t)len; in PHP_FUNCTION()
61 sapi_header_line ctr = {0}; in PHP_FUNCTION() local
66 Z_PARAM_STRING(ctr.line, len) in PHP_FUNCTION()
69 ctr.line_len = (uint32_t)len; in PHP_FUNCTION()
86 sapi_header_line ctr = {0}; in php_setcookie() local
185 ctr.line = ZSTR_VAL(buf.s); in php_setcookie()
186 ctr.line_len = (uint32_t) ZSTR_LEN(buf.s); in php_setcookie()
[all …]
/PHP-7.3/ext/phar/
H A Dphar_object.c139 sapi_header_line ctr = {0}; in phar_file_action() local
170 ctr.line_len = spprintf(&(ctr.line), 0, "Content-type: %s", mime_type); in phar_file_action()
172 efree(ctr.line); in phar_file_action()
175 efree(ctr.line); in phar_file_action()
301 sapi_header_line ctr = {0}; in phar_do_403() local
303 ctr.response_code = 403; in phar_do_403()
315 sapi_header_line ctr = {0}; in phar_do_404() local
327 ctr.response_code = 404; in phar_do_404()
772 ctr.response_code = 0; in PHP_METHOD()
777 ctr.line_len = spprintf(&(ctr.line), 4096, "Location: %s%s", path_info, entry); in PHP_METHOD()
[all …]
/PHP-7.3/main/
H A DSAPI.c621 sapi_header_line ctr = {0}; in sapi_add_header_ex() local
624 ctr.line = header_line; in sapi_add_header_ex()
625 ctr.line_len = header_line_len; in sapi_add_header_ex()
628 &ctr); in sapi_add_header_ex()
H A Dmain.c1400 sapi_header_line ctr = {0}; in php_error_cb() local
1402 ctr.line = "HTTP/1.0 500 Internal Server Error"; in php_error_cb()
1403 ctr.line_len = sizeof("HTTP/1.0 500 Internal Server Error") - 1; in php_error_cb()
1404 sapi_header_op(SAPI_HEADER_REPLACE, &ctr); in php_error_cb()
/PHP-7.3/sapi/fpm/fpm/
H A Dfpm_main.c1965 sapi_header_line ctr = {0}; in main() local
1967 ctr.line = CGIG(error_header); in main()
1968 ctr.line_len = strlen(CGIG(error_header)); in main()
1969 sapi_header_op(SAPI_HEADER_REPLACE, &ctr); in main()

Completed in 56 milliseconds