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 TSRMLS_CC);
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 TSRMLS_CC);
186 efree(ctr.line);
312 sapi_header_line ctr local
327 sapi_header_line ctr = {0}; local
762 sapi_header_line ctr = {0}; local
[all...]
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c1962 sapi_header_line ctr = {0}; local
1964 ctr.line = CGIG(error_header);
1965 ctr.line_len = strlen(CGIG(error_header));
1966 sapi_header_op(SAPI_HEADER_REPLACE, &ctr TSRMLS_CC);
/PHP_TRUNK/sapi/pi3web/
H A Dpi3web_sapi.c379 sapi_header_line ctr = {0}; local
381 ctr.line = "Content-Type: text/plain";
382 ctr.line_len = strlen(ctr.line);
384 sapi_header_op(SAPI_HEADER_REPLACE, &ctr TSRMLS_CC);
/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 TSRMLS_CC);
/PHP_TRUNK/ext/standard/
H A Dhead.c42 sapi_header_line ctr = {0}; local
44 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|bl", &ctr.line,
45 &ctr.line_len, &rep, &ctr.response_code) == FAILURE)
48 sapi_header_op(rep ? SAPI_HEADER_REPLACE:SAPI_HEADER_ADD, &ctr TSRMLS_CC);
56 sapi_header_line ctr = {0}; local
58 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &ctr.line,
59 &ctr.line_len) == FAILURE)
62 sapi_header_op(ZEND_NUM_ARGS() == 0 ? SAPI_HEADER_DELETE_ALL : SAPI_HEADER_DELETE, &ctr TSRMLS_CC);
81 sapi_header_line ctr local
[all...]
/PHP_TRUNK/main/
H A Dmain.c1222 sapi_header_line ctr = {0}; local
1224 ctr.line = "HTTP/1.0 500 Internal Server Error";
1225 ctr.line_len = sizeof("HTTP/1.0 500 Internal Server Error") - 1;
1226 sapi_header_op(SAPI_HEADER_REPLACE, &ctr TSRMLS_CC);
H A DSAPI.c629 sapi_header_line ctr = {0}; local
632 ctr.line = header_line;
633 ctr.line_len = header_line_len;
636 &ctr TSRMLS_CC);

Completed in 18 milliseconds