Lines Matching refs:ctr

141 	sapi_header_line ctr = {0};  in phar_file_action()  local
172 ctr.line_len = spprintf(&(ctr.line), 0, "Content-type: %s", mime_type); in phar_file_action()
173 sapi_header_op(SAPI_HEADER_REPLACE, &ctr); in phar_file_action()
174 efree(ctr.line); in phar_file_action()
175 ctr.line_len = spprintf(&(ctr.line), 0, "Content-length: %u", info->uncompressed_filesize); in phar_file_action()
176 sapi_header_op(SAPI_HEADER_REPLACE, &ctr); in phar_file_action()
177 efree(ctr.line); in phar_file_action()
303 sapi_header_line ctr = {0}; in phar_do_403() local
305 ctr.response_code = 403; in phar_do_403()
306 ctr.line_len = sizeof("HTTP/1.0 403 Access Denied")-1; in phar_do_403()
307 ctr.line = "HTTP/1.0 403 Access Denied"; in phar_do_403()
308 sapi_header_op(SAPI_HEADER_REPLACE, &ctr); in phar_do_403()
317 sapi_header_line ctr = {0}; in phar_do_404() local
329 ctr.response_code = 404; in phar_do_404()
330 ctr.line_len = sizeof("HTTP/1.0 404 Not Found")-1; in phar_do_404()
331 ctr.line = "HTTP/1.0 404 Not Found"; in phar_do_404()
332 sapi_header_op(SAPI_HEADER_REPLACE, &ctr); in phar_do_404()
781 sapi_header_line ctr = {0}; in PHP_METHOD() local
782 ctr.response_code = 301; in PHP_METHOD()
783 ctr.line_len = sizeof("HTTP/1.1 301 Moved Permanently")-1; in PHP_METHOD()
784 ctr.line = "HTTP/1.1 301 Moved Permanently"; in PHP_METHOD()
785 sapi_header_op(SAPI_HEADER_REPLACE, &ctr); in PHP_METHOD()
793 ctr.response_code = 0; in PHP_METHOD()
796 ctr.line_len = spprintf(&(ctr.line), 4096, "Location: %s%s", path_info, entry + 1); in PHP_METHOD()
798 ctr.line_len = spprintf(&(ctr.line), 4096, "Location: %s%s", path_info, entry); in PHP_METHOD()
809 sapi_header_op(SAPI_HEADER_REPLACE, &ctr); in PHP_METHOD()
811 efree(ctr.line); in PHP_METHOD()