Searched refs:header_name (Results 1 - 11 of 11) sorted by relevance

/PHP_TRUNK/sapi/aolserver/
H A Daolserver.c116 char *header_name, *header_content; local
119 header_name = sapi_header->header;
120 header_content = p = strchr(header_name, ':');
128 if (!strcasecmp(header_name, "Content-type")) {
131 Ns_ConnSetHeaders(NSG(conn), header_name, header_content); local
/PHP_TRUNK/sapi/apache/
H A Dmod_php5.c168 char *header_name, *header_content, *p; local
185 header_name = sapi_header->header;
187 header_content = p = strchr(header_name, ':');
197 if (!strcasecmp(header_name, "Content-Type")) {
199 } else if (!strcasecmp(header_name, "Content-Length")) {
201 } else if (!strcasecmp(header_name, "Set-Cookie")) {
202 table_add(r->headers_out, header_name, header_content);
204 table_set(r->headers_out, header_name, header_content);
206 table_add(r->headers_out, header_name, header_content);
/PHP_TRUNK/sapi/apache_hooks/
H A Dmod_php5.c313 char *header_name, *header_content, *p; local
330 header_name = sapi_header->header;
332 header_content = p = strchr(header_name, ':');
342 if (!strcasecmp(header_name, "Content-Type")) {
344 } else if (!strcasecmp(header_name, "Set-Cookie")) {
345 table_add(r->headers_out, header_name, header_content);
347 table_set(r->headers_out, header_name, header_content);
349 table_add(r->headers_out, header_name, header_content);
/PHP_TRUNK/sapi/caudium/
H A Dcaudium.c282 php_caudium_set_header(char *header_name, char *value, char *p) argument
292 hind = make_shared_binary_string(header_name,
293 (int)(p - header_name));
340 char *header_name, *header_content, *p; local
341 header_name = sapi_header->header;
342 header_content = p = strchr(header_name, ':');
348 THREAD_SAFE_RUN(php_caudium_set_header(header_name, header_content, p), "header handler");
/PHP_TRUNK/sapi/nsapi/
H A Dnsapi.c494 char *header_name, *p; local
498 header_name = pool_strdup(rc->sn->pool, sapi_header->header);
501 if (p = strchr(header_name, ':')) {
505 /* header_name to lower case because NSAPI reformats the headers and wants lowercase */
506 for (p=header_name; *p; p++) {
511 param_free(pblock_remove(header_name, rc->rq->srvhdrs));
512 pool_free(rc->sn->pool, header_name);
519 char *header_name, *header_content, *p; local
536 header_name = pool_strdup(rc->sn->pool, sapi_header->header);
539 header_content = strchr(header_name, '
[all...]
/PHP_TRUNK/sapi/phttpd/
H A Dphttpd.c72 char *header_name, *header_content; local
77 header_name = sapi_header->header;
78 header_content = p = strchr(header_name, ':');
86 fd_printf(PHG(cip)->fd,"%s: %s\n", header_name, header_content);
/PHP_TRUNK/sapi/roxen/
H A Droxen.c286 static void php_roxen_set_header(char *header_name, char *value, char *p) argument
297 hind = make_shared_binary_string(header_name,
298 (int)(p - header_name));
329 char *header_name, *header_content, *p; local
330 header_name = sapi_header->header;
331 header_content = p = strchr(header_name, ':');
337 THREAD_SAFE_RUN(php_roxen_set_header(header_name, header_content, p), "header handler");
/PHP_TRUNK/ext/iconv/
H A Diconv.c2372 char *header_name = NULL; local
2392 header_name = decoded_header.c;
2408 if (header_name != NULL) {
2411 if (zend_hash_find(Z_ARRVAL_P(return_value), header_name, header_name_len, (void **)&elem) == SUCCESS) {
2419 zend_hash_update(Z_ARRVAL_P(return_value), header_name, header_name_len, (void *)&new_elem, sizeof(new_elem), NULL); local
2425 add_assoc_stringl_ex(return_value, header_name, header_name_len, header_value, header_value_len, 1);
/PHP_TRUNK/sapi/continuity/
H A Dcapi.c148 char *header_name, *header_content, *p; local
153 header_name = sapi_header->header;
154 header_content = p = strchr(header_name, ':');
163 lstFset_add(rc->t->res_hdrs, header_name, header_content);
/PHP_TRUNK/sapi/cli/
H A Dphp_cli_server.c1734 char *header_name = safe_pemalloc(client->current_header_name_len, 1, 1, 1); local
1735 if (!header_name) {
1738 memmove(header_name, client->current_header_name, client->current_header_name_len);
1739 client->current_header_name = header_name;
/PHP_TRUNK/win32/build/
H A Dconfutils.js795 // AC_DEFINE("HAVE_" + header_name.toUpperCase().replace(new RegExp("/\\\\-\.", "g"), "_"), have);
801 function CHECK_FUNC_IN_HEADER(header_name, func_name, path_to_check, add_to_flag)
806 STDOUT.Write("Checking for " + func_name + " in " + header_name + " ... ");
808 c = GREP_HEADER(header_name, func_name, path_to_check);
827 function GREP_HEADER(header_name, regex, path_to_check)
831 if (FSO.FileExists(path_to_check + "\\" + header_name)) {
832 c = file_get_contents(path_to_check + "\\" + header_name);
838 var p = search_paths(header_name, path_to_check, "INCLUDE");
842 p = search_paths(header_name, PHP_EXTRA_INCLUDES, null);
863 function CHECK_HEADER_ADD_INCLUDE(header_name, flag_nam
[all...]

Completed in 33 milliseconds