Lines Matching refs:ctr
148 sapi_header_line ctr = {0}; in phar_file_action() local
179 ctr.line_len = spprintf((char **) &(ctr.line), 0, "Content-type: %s", mime_type); in phar_file_action()
180 sapi_header_op(SAPI_HEADER_REPLACE, &ctr); in phar_file_action()
181 efree((void *) ctr.line); in phar_file_action()
182 …ctr.line_len = spprintf((char **) &(ctr.line), 0, "Content-length: %u", info->uncompressed_filesiz… in phar_file_action()
183 sapi_header_op(SAPI_HEADER_REPLACE, &ctr); in phar_file_action()
184 efree((void *) ctr.line); in phar_file_action()
305 sapi_header_line ctr = {0}; in phar_do_403() local
307 ctr.response_code = 403; in phar_do_403()
308 ctr.line_len = sizeof("HTTP/1.0 403 Access Denied")-1; in phar_do_403()
309 ctr.line = "HTTP/1.0 403 Access Denied"; in phar_do_403()
310 sapi_header_op(SAPI_HEADER_REPLACE, &ctr); in phar_do_403()
319 sapi_header_line ctr = {0}; in phar_do_404() local
331 ctr.response_code = 404; in phar_do_404()
332 ctr.line_len = sizeof("HTTP/1.0 404 Not Found")-1; in phar_do_404()
333 ctr.line = "HTTP/1.0 404 Not Found"; in phar_do_404()
334 sapi_header_op(SAPI_HEADER_REPLACE, &ctr); in phar_do_404()
775 sapi_header_line ctr = {0}; in PHP_METHOD() local
776 ctr.response_code = 301; in PHP_METHOD()
777 ctr.line_len = sizeof("HTTP/1.1 301 Moved Permanently")-1; in PHP_METHOD()
778 ctr.line = "HTTP/1.1 301 Moved Permanently"; in PHP_METHOD()
779 sapi_header_op(SAPI_HEADER_REPLACE, &ctr); in PHP_METHOD()
787 ctr.response_code = 0; in PHP_METHOD()
790 ctr.line_len = spprintf((char **) &(ctr.line), 4096, "Location: %s%s", path_info, entry + 1); in PHP_METHOD()
792 ctr.line_len = spprintf((char **) &(ctr.line), 4096, "Location: %s%s", path_info, entry); in PHP_METHOD()
803 sapi_header_op(SAPI_HEADER_REPLACE, &ctr); in PHP_METHOD()
805 efree((void *) ctr.line); in PHP_METHOD()