Searched refs:header (Results 1 - 25 of 55) sorted by relevance

123

/PHP_5_6/ext/fileinfo/libmagic/
H A Dis_tar.c95 const union record *header = (const union record *)(const void *)buf; local
103 recsum = from_oct(8, header->header.chksum);
106 p = header->charptr;
111 for (i = sizeof(header->header.chksum); --i >= 0;)
112 sum -= header->header.chksum[i];
113 sum += ' ' * sizeof header->header
[all...]
H A Dtar.h53 struct header { struct in union:record
68 } header; member in union:record
/PHP_5_6/ext/phar/
H A Dshortarc.php58 header("Cache-Control: no-cache, must-revalidate");
59 header("Pragma: no-cache");
70 header('HTTP/1.1 301 Moved Permanently');
71 header('Location: ' . $_SERVER['REQUEST_URI'] . '/' . $pt);
76 header('HTTP/1.0 404 Not Found');
82 header('Content-Type: text/plain');
83 header('Content-Length: ' . filesize($a));
96 header('Content-Type: ' .$mimes[$b['extension']]);
97 header('Content-Length: ' . filesize($a));
H A Dtar.c102 tar_header *header = (tar_header *) buf; local
103 php_uint32 checksum = phar_tar_number(header->checksum, sizeof(header->checksum));
105 char save[sizeof(header->checksum)];
112 memcpy(save, header->checksum, sizeof(header->checksum));
113 memset(header->checksum, ' ', sizeof(header->checksum));
115 memcpy(header->checksum, save, sizeof(header
680 tar_header header; local
[all...]
/PHP_5_6/ext/soap/interop/
H A Dechoheadersvc.wsdl.php2 header("Content-Type: text/xml");
210 <soap:header use="encoded" message="tns:echoHeaderString_Request" part="echoMeStringRequest" namespace="http://soapinterop.org/echoheader/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
211 <soap:header use="encoded" message="tns:echoHeaderStruct_Request" part="echoMeStructRequest" namespace="http://soapinterop.org/echoheader/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
215 <soap:header use="encoded" message="tns:echoHeaderString_Response" part="echoMeStringResponse" namespace="http://soapinterop.org/echoheader/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
216 <soap:header use="encoded" message="tns:echoHeaderStruct_Response" part="echoMeStructResponse" namespace="http://soapinterop.org/echoheader/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
223 <soap:header use="encoded" message="tns:echoHeaderString_Request" part="echoMeStringRequest" namespace="http://soapinterop.org/echoheader/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
224 <soap:header use="encoded" message="tns:echoHeaderStruct_Request" part="echoMeStructRequest" namespace="http://soapinterop.org/echoheader/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
228 <soap:header use="encoded" message="tns:echoHeaderString_Response" part="echoMeStringResponse" namespace="http://soapinterop.org/echoheader/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
229 <soap:header use="encoded" message="tns:echoHeaderStruct_Response" part="echoMeStructResponse" namespace="http://soapinterop.org/echoheader/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
236 <soap:header us
[all...]
H A Dinterop.wsdl.php2 header("Content-Type: text/xml");
H A DinteropB.wsdl.php2 header("Content-Type: text/xml");
/PHP_5_6/ext/soap/tests/soap12/
H A Dsoap12-test.inc3 public $header;
104 $this->header = $x;
108 return $this->header;
/PHP_5_6/ext/standard/tests/streams/
H A Dbug64433_srv.inc7 header("Location: index.php?redir=1");
/PHP_5_6/main/
H A Dalloca.c127 /* An "alloca header" is used to:
131 It is very important that sizeof(header) agree with malloc
140 char align[ALIGN_SIZE]; /* To force sizeof(header). */
146 } header; typedef in typeref:union:hdr
148 static header *last_alloca_header = NULL; /* -> last alloca header. */
173 register header *hp; /* Traverses linked list. */
183 register header *np = hp->h.next;
187 hp = np; /* -> next header. */
202 /* Allocate combined header
[all...]
H A DSAPI.c119 efree(sapi_header->header);
123 call a header function */
363 default_header->header = get_default_content_type(sizeof("Content-type: ")-1, &len TSRMLS_CC);
365 memcpy(default_header->header, "Content-type: ", sizeof("Content-type: ") - 1);
369 * Add charset on content-type header if the MIME type starts with
606 sapi_header_struct *header; local
611 header = (sapi_header_struct *)(current->data);
613 if (header->header_len > len && header->header[le
[all...]
H A Drfc1867.c373 /* Free header entry */
403 static int multipart_buffer_headers(multipart_buffer *self, zend_llist *header TSRMLS_DC)
418 /* add header to table */
426 /* space in the beginning means same header */
438 } else if (zend_llist_count(header)) { /* If no ':' on the line, add to previous line */
450 zend_llist_remove_tail(header);
455 zend_llist_add_element(header, &entry);
462 static char *php_mime_get_hdr_value(zend_llist header, char *key) argument
470 entry = zend_llist_get_first(&header);
475 entry = zend_llist_get_next(&header);
692 zend_llist header; local
[all...]
/PHP_5_6/sapi/fpm/fpm/
H A Dfpm_log.c290 case 'o': /* header output */
292 zlog(ZLOG_WARNING, "the name of the header must be set between embraces for %%%c", *s);
303 char *header; local
308 if (!strstr(h->header, format)) {
313 /* test if enought char after the header name + ': ' */
319 if (h->header[format_len] != ':' || h->header[format_len + 1] != ' ') {
324 header = h->header + format_len + 2;
325 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", header
[all...]
/PHP_5_6/sapi/milter/
H A Dmilter.php81 * once per message header
83 function milter_header($header, $value)
85 milter_log("milter_header('$header', '$value')");
112 /* add PHP header to the message */
/PHP_5_6/ext/zip/lib/
H A Dzip_source_pkware.c141 zip_uint8_t header[HEADERLEN];
146 if ((n=zip_source_read(src, header, HEADERLEN)) < 0) {
157 decrypt(ctx, header, header, HEADERLEN, 0);
166 if (header[HEADERLEN-1] != st.crc>>24
167 && header[HEADERLEN-1] != dostime>>8) {
136 zip_uint8_t header[HEADERLEN]; local
/PHP_5_6/ext/standard/
H A Dhead.c37 /* {{{ proto void header(string header [, bool replace, [int http_response_code]])
38 Sends a raw HTTP header */
39 PHP_FUNCTION(header)
53 Removes an HTTP header previously set using header() */
268 add_next_index_string((zval *)arg, (char *)(sapi_header->header), 1);
H A Dhead.h25 PHP_FUNCTION(header); variable
H A Dinfo.h72 PHPAPI void php_info_print_table_colspan_header(int num_cols, char *header);
H A Dhttp_fopen_wrapper.c227 smart_str header = {0}; local
236 smart_str_appendl(&header, "CONNECT ", sizeof("CONNECT ")-1);
237 smart_str_appends(&header, resource->host);
238 smart_str_appendc(&header, ':');
239 smart_str_append_unsigned(&header, resource->port);
240 smart_str_appendl(&header, " HTTP/1.0\r\n", sizeof(" HTTP/1.0\r\n")-1);
242 /* check if we have Proxy-Authorization header */
243 if (context && php_stream_context_get_option(context, "http", "header", &tmpzval) == SUCCESS) {
265 smart_str_appendl(&header, s, p - s);
266 smart_str_appendl(&header, "\
[all...]
/PHP_5_6/sapi/webjames/
H A Dwebjames.c65 /*send an HTTP header*/
67 char *header = sapi_header->header; local
72 bytes = webjames_writebuffer(WG(conn), header, len);
80 header += bytes;
295 NULL, /* header handler */
297 sapi_webjames_send_header, /* send header handler */
/PHP_5_6/ext/curl/tests/responder/
H A Dget.php27 header('Content-Type: text/plain;charset=utf-8');
/PHP_5_6/sapi/apache2filter/
H A Dsapi_apache2.c103 apr_table_unset(ctx->r->headers_out, sapi_header->header);
112 val = strchr(sapi_header->header, ':');
126 if (!strcasecmp(sapi_header->header, "content-type"))
128 else if (!strcasecmp(sapi_header->header, "content-length"))
131 apr_table_set(ctx->r->headers_out, sapi_header->header, val);
133 apr_table_add(ctx->r->headers_out, sapi_header->header, val);
307 * If-Modified-Since header.
347 php_apache_sapi_header_handler, /* header handler */
349 NULL, /* send header handler */
/PHP_5_6/ext/mysqlnd/
H A Dmysqlnd_wireprotocol.h39 #define PACKET_WRITE(packet, conn) ((packet)->header.m->write_to_net((packet), (conn) TSRMLS_CC))
40 #define PACKET_READ(packet, conn) ((packet)->header.m->read_from_net((packet), (conn) TSRMLS_CC))
45 ((packet)->header.m->free_mem((packet), FALSE TSRMLS_CC)); \
69 MYSQLND_PACKET_HEADER header; member in struct:st_mysqlnd_packet_greet
92 MYSQLND_PACKET_HEADER header; member in struct:st_mysqlnd_packet_auth
111 MYSQLND_PACKET_HEADER header; member in struct:st_mysqlnd_packet_auth_response
133 MYSQLND_PACKET_HEADER header; member in struct:st_mysqlnd_packet_change_auth_response
141 MYSQLND_PACKET_HEADER header; member in struct:st_mysqlnd_packet_ok
158 MYSQLND_PACKET_HEADER header; member in struct:st_mysqlnd_packet_command
167 MYSQLND_PACKET_HEADER header; member in struct:st_mysqlnd_packet_eof
181 MYSQLND_PACKET_HEADER header; member in struct:st_mysqlnd_packet_rset_header
207 MYSQLND_PACKET_HEADER header; member in struct:st_mysqlnd_packet_res_field
220 MYSQLND_PACKET_HEADER header; member in struct:st_mysqlnd_packet_row
249 MYSQLND_PACKET_HEADER header; member in struct:st_mysqlnd_packet_stats
258 MYSQLND_PACKET_HEADER header; member in struct:st_mysqlnd_packet_prepare_response
273 MYSQLND_PACKET_HEADER header; member in struct:st_mysqlnd_packet_chg_user_resp
291 MYSQLND_PACKET_HEADER header; member in struct:st_mysqlnd_packet_sha256_pk_request
295 MYSQLND_PACKET_HEADER header; member in struct:st_mysqlnd_packet_sha256_pk_request_response
[all...]
H A Dmysqlnd_wireprotocol.c38 if (FAIL == mysqlnd_read_header((conn)->net, &((packet)->header), (conn)->stats, ((conn)->error_info) TSRMLS_CC)) {\
42 DBG_ERR_FMT("Can't read %s's header", (packet_type_as_text)); \
45 if ((buf_size) < (packet)->header.size) { \
47 (buf_size), (packet)->header.size, (packet)->header.size - (buf_size)); \
50 if (FAIL == conn->net->data->m.receive_ex((conn)->net, (buf), (packet)->header.size, (conn)->stats, ((conn)->error_info) TSRMLS_CC)) { \
58 MYSQLND_HEADER_SIZE + (packet)->header.size, \
65 if ((size_t)(p - begin) > packet->header.size) { \
280 mysqlnd_read_header(MYSQLND_NET * net, MYSQLND_PACKET_HEADER * header, argument
291 header
1402 MYSQLND_PACKET_HEADER header; local
[all...]
/PHP_5_6/sapi/apache2handler/
H A Dsapi_apache2.c101 apr_table_unset(ctx->r->headers_out, sapi_header->header);
110 val = strchr(sapi_header->header, ':');
123 if (!strcasecmp(sapi_header->header, "content-type")) {
128 } else if (!strcasecmp(sapi_header->header, "content-length")) {
139 apr_table_set(ctx->r->headers_out, sapi_header->header, val);
141 apr_table_add(ctx->r->headers_out, sapi_header->header, val);
371 php_apache_sapi_header_handler, /* header handler */
373 NULL, /* send header handler */

Completed in 50 milliseconds

123