Lines Matching refs:ctr

170 	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()
201 sapi_header_op(SAPI_HEADER_REPLACE, &ctr TSRMLS_CC); in phar_file_action()
202 efree(ctr.line); in phar_file_action()
203 ctr.line_len = spprintf(&(ctr.line), 0, "Content-length: %u", info->uncompressed_filesize); in phar_file_action()
204 sapi_header_op(SAPI_HEADER_REPLACE, &ctr TSRMLS_CC); 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()
338 ctr.line_len = sizeof("HTTP/1.0 403 Access Denied")-1; in phar_do_403()
339 ctr.line = "HTTP/1.0 403 Access Denied"; in phar_do_403()
340 sapi_header_op(SAPI_HEADER_REPLACE, &ctr TSRMLS_CC); in phar_do_403()
350 sapi_header_line ctr = {0}; in phar_do_404() local
362 ctr.response_code = 404; in phar_do_404()
363 ctr.line_len = sizeof("HTTP/1.0 404 Not Found")-1; in phar_do_404()
364 ctr.line = "HTTP/1.0 404 Not Found"; in phar_do_404()
365 sapi_header_op(SAPI_HEADER_REPLACE, &ctr TSRMLS_CC); in phar_do_404()
789 sapi_header_line ctr = {0}; in PHP_METHOD() local
790 ctr.response_code = 301; in PHP_METHOD()
791 ctr.line_len = sizeof("HTTP/1.1 301 Moved Permanently")-1; in PHP_METHOD()
792 ctr.line = "HTTP/1.1 301 Moved Permanently"; in PHP_METHOD()
793 sapi_header_op(SAPI_HEADER_REPLACE, &ctr TSRMLS_CC); in PHP_METHOD()
801 ctr.response_code = 0; in PHP_METHOD()
804 ctr.line_len = spprintf(&(ctr.line), 4096, "Location: %s%s", path_info, entry + 1); in PHP_METHOD()
806 ctr.line_len = spprintf(&(ctr.line), 4096, "Location: %s%s", path_info, entry); in PHP_METHOD()
817 sapi_header_op(SAPI_HEADER_REPLACE, &ctr TSRMLS_CC); in PHP_METHOD()
819 efree(ctr.line); in PHP_METHOD()