Searched refs:ctr (Results 1 - 7 of 7) sorted by relevance

/PHP_TRUNK/ext/phar/
H A Dphar_object.c150 sapi_header_line ctr = {0}; local
181 ctr.line_len = spprintf(&(ctr.line), 0, "Content-type: %s", mime_type);
182 sapi_header_op(SAPI_HEADER_REPLACE, &ctr);
183 efree(ctr.line);
184 ctr.line_len = spprintf(&(ctr.line), 0, "Content-length: %u", info->uncompressed_filesize);
185 sapi_header_op(SAPI_HEADER_REPLACE, &ctr);
186 efree(ctr.line);
312 sapi_header_line ctr local
327 sapi_header_line ctr = {0}; local
763 sapi_header_line ctr = {0}; local
[all...]
/PHP_TRUNK/ext/standard/
H A Dhead.c42 sapi_header_line ctr = {0}; local
45 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|bl", &ctr.line,
46 &len, &rep, &ctr.response_code) == FAILURE)
49 ctr.line_len = (uint)len;
50 sapi_header_op(rep ? SAPI_HEADER_REPLACE:SAPI_HEADER_ADD, &ctr);
58 sapi_header_line ctr = {0}; local
61 if (zend_parse_parameters(ZEND_NUM_ARGS(), "|s", &ctr.line,
65 ctr.line_len = (uint)len;
66 sapi_header_op(ZEND_NUM_ARGS() == 0 ? SAPI_HEADER_DELETE_ALL : SAPI_HEADER_DELETE, &ctr);
85 sapi_header_line ctr local
[all...]
/PHP_TRUNK/main/
H A DSAPI.c632 sapi_header_line ctr = {0}; local
635 ctr.line = header_line;
636 ctr.line_len = header_line_len;
639 &ctr);
H A Dmain.c1219 sapi_header_line ctr = {0}; local
1221 ctr.line = "HTTP/1.0 500 Internal Server Error";
1222 ctr.line_len = sizeof("HTTP/1.0 500 Internal Server Error") - 1;
1223 sapi_header_op(SAPI_HEADER_REPLACE, &ctr);
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c1961 sapi_header_line ctr = {0}; local
1963 ctr.line = CGIG(error_header);
1964 ctr.line_len = strlen(CGIG(error_header));
1965 sapi_header_op(SAPI_HEADER_REPLACE, &ctr);
/PHP_TRUNK/sapi/pi3web/
H A Dpi3web_sapi.c378 sapi_header_line ctr = {0}; local
380 ctr.line = "Content-Type: text/plain";
381 ctr.line_len = strlen(ctr.line);
383 sapi_header_op(SAPI_HEADER_REPLACE, &ctr);
/PHP_TRUNK/sapi/tux/
H A Dphp_tux.c191 sapi_header_line ctr = {0}; local
193 ctr.line = buf;
194 ctr.line_len = slprintf(buf, sizeof(buf), "Server: %s", TUXAPI_version);
195 sapi_header_op(SAPI_HEADER_REPLACE, &ctr);

Completed in 16 milliseconds