Lines Matching refs:ctr

139 	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()
171 sapi_header_op(SAPI_HEADER_REPLACE, &ctr); in phar_file_action()
172 efree(ctr.line); in phar_file_action()
173 ctr.line_len = spprintf(&(ctr.line), 0, "Content-length: %u", info->uncompressed_filesize); in phar_file_action()
174 sapi_header_op(SAPI_HEADER_REPLACE, &ctr); in phar_file_action()
175 efree(ctr.line); in phar_file_action()
297 sapi_header_line ctr = {0}; in phar_do_403() local
299 ctr.response_code = 403; in phar_do_403()
300 ctr.line_len = sizeof("HTTP/1.0 403 Access Denied")-1; in phar_do_403()
301 ctr.line = "HTTP/1.0 403 Access Denied"; in phar_do_403()
302 sapi_header_op(SAPI_HEADER_REPLACE, &ctr); in phar_do_403()
311 sapi_header_line ctr = {0}; in phar_do_404() local
323 ctr.response_code = 404; in phar_do_404()
324 ctr.line_len = sizeof("HTTP/1.0 404 Not Found")-1; in phar_do_404()
325 ctr.line = "HTTP/1.0 404 Not Found"; in phar_do_404()
326 sapi_header_op(SAPI_HEADER_REPLACE, &ctr); in phar_do_404()
777 sapi_header_line ctr = {0}; in PHP_METHOD() local
778 ctr.response_code = 301; in PHP_METHOD()
779 ctr.line_len = sizeof("HTTP/1.1 301 Moved Permanently")-1; in PHP_METHOD()
780 ctr.line = "HTTP/1.1 301 Moved Permanently"; in PHP_METHOD()
781 sapi_header_op(SAPI_HEADER_REPLACE, &ctr); in PHP_METHOD()
789 ctr.response_code = 0; in PHP_METHOD()
792 ctr.line_len = spprintf(&(ctr.line), 4096, "Location: %s%s", path_info, entry + 1); in PHP_METHOD()
794 ctr.line_len = spprintf(&(ctr.line), 4096, "Location: %s%s", path_info, entry); in PHP_METHOD()
805 sapi_header_op(SAPI_HEADER_REPLACE, &ctr); in PHP_METHOD()
807 efree(ctr.line); in PHP_METHOD()