Searched defs:header (Results 1 - 23 of 23) sorted by relevance

/PHP_5_4/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.h52 char *header; member in struct:__anon286
H A Drfc1867.c368 /* Free header entry */
398 static int multipart_buffer_headers(multipart_buffer *self, zend_llist *header TSRMLS_DC)
413 /* add header to table */
421 /* space in the beginning means same header */
433 } else if (zend_llist_count(header)) { /* If no ':' on the line, add to previous line */
445 zend_llist_remove_tail(header);
450 zend_llist_add_element(header, &entry);
457 static char *php_mime_get_hdr_value(zend_llist header, char *key) argument
465 entry = zend_llist_get_first(&header);
470 entry = zend_llist_get_next(&header);
686 zend_llist header; local
[all...]
H A DSAPI.c123 efree(sapi_header->header);
127 call a header function */
347 default_header->header = get_default_content_type(sizeof("Content-type: ")-1, &len TSRMLS_CC);
349 memcpy(default_header->header, "Content-type: ", sizeof("Content-type: ") - 1);
353 * Add charset on content-type header if the MIME type starts with
602 sapi_header_struct *header; local
607 header = (sapi_header_struct *)(current->data);
609 if (header->header_len > len && header->header[le
[all...]
/PHP_5_4/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_4/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_4/ext/zip/lib/
H A Dzip_source_pkware.c148 zip_uint8_t header[HEADERLEN];
153 if ((n=zip_source_read(src, header, HEADERLEN)) < 0) {
164 decrypt(ctx, header, header, HEADERLEN, 0);
173 if (header[HEADERLEN-1] != st.crc>>24
174 && header[HEADERLEN-1] != dostime>>8) {
143 zip_uint8_t header[HEADERLEN]; local
/PHP_5_4/ext/phar/
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...]
H A Dzip.c45 phar_zip_extra_field_header header; member in union:__anon190
51 if (sizeof(h.header) != php_stream_read(fp, (char *) &h.header, sizeof(h.header))) {
55 if (h.header.tag[0] != 'n' || h.header.tag[1] != 'u') {
56 /* skip to next header */
57 php_stream_seek(fp, PHAR_GET_16(h.header.size), SEEK_CUR);
58 len -= PHAR_GET_16(h.header.size) + 4;
62 /* unix3 header foun
[all...]
/PHP_5_4/ext/soap/
H A Dphp_http.c99 php_stream_context_get_option(context, "http", "header", &tmp) == SUCCESS &&
110 /* extract header name */
125 /* extract header value */
149 /* add header */
1269 /* header `titles' can be lower case, or any case combination, according
1301 char *header, *http_buf = NULL; local
1305 header = get_http_header_value(headers, "Connection: ");
1306 if (header) {
1307 if(!strncasecmp(header, "close", sizeof("close")-1)) header_close = 1;
1308 efree(header);
[all...]
H A Dphp_sdl.c45 static void delete_header(void *header);
46 static void delete_header_persistent(void *header);
234 zval **header = NULL; local
287 php_stream_context_get_option(ctx->context, "http", "header", &header) == SUCCESS) {
288 s = strstr(Z_STRVAL_PP(header), "Authorization: Basic");
289 if (s && (s == Z_STRVAL_PP(header) || *(s-1) == '\n' || *(s-1) == '\r')) {
296 Z_STRLEN(new_header) = Z_STRLEN_PP(header) - (rest - s);
297 Z_STRVAL(new_header) = emalloc(Z_STRLEN_PP(header) + 1);
298 memcpy(Z_STRVAL(new_header), Z_STRVAL_PP(header),
449 wsdl_soap_binding_header(sdlCtx* ctx, xmlNodePtr header, char* wsdl_soap_namespace, int fault) argument
[all...]
H A Dsoap.c816 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid header name");
1770 soapHeader *header = soap_headers; local
1771 while (header != NULL) {
1772 soapHeader *h = header;
1774 header = header->next;
2820 php_error_docref(NULL TSRMLS_CC, E_ERROR, "Invalid SOAP header");
2882 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid SOAP header");
3189 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid SOAP header");
4312 zval** header; local
[all...]
/PHP_5_4/ext/standard/
H A Dhead.h25 PHP_FUNCTION(header); variable
H A Dhttp_fopen_wrapper.c224 smart_str header = {0}; local
226 smart_str_appendl(&header, "CONNECT ", sizeof("CONNECT ")-1);
227 smart_str_appends(&header, resource->host);
228 smart_str_appendc(&header, ':');
229 smart_str_append_unsigned(&header, resource->port);
230 smart_str_appendl(&header, " HTTP/1.0\r\n", sizeof(" HTTP/1.0\r\n")-1);
232 /* check if we have Proxy-Authorization header */
233 if (context && php_stream_context_get_option(context, "http", "header", &tmpzval) == SUCCESS) {
255 smart_str_appendl(&header, s, p - s);
256 smart_str_appendl(&header, "\
[all...]
H A Dinfo.c1034 PHPAPI void php_info_print_table_colspan_header(int num_cols, char *header) /* {{{ */ argument
1039 php_info_printf("<tr class=\"h\"><th colspan=\"%d\">%s</th></tr>\n", num_cols, header );
1041 spaces = (74 - strlen(header));
1042 php_info_printf("%*s%s%*s\n", (int)(spaces/2), " ", header, (int)(spaces/2), " ");
/PHP_5_4/ext/curl/
H A Dphp_curl.h135 struct _php_curl_send_headers header; member in struct:__anon38
H A Dstreams.c85 * called once for each header */
89 zval *header; local
95 /* invalid header ? */
100 MAKE_STD_ZVAL(header);
101 Z_STRLEN_P(header) = length;
102 Z_STRVAL_P(header) = estrndup(data, length);
103 if (Z_STRVAL_P(header)[length-1] == '\n') {
104 Z_STRVAL_P(header)[length-1] = '\0';
105 Z_STRLEN_P(header)--;
107 if (Z_STRVAL_P(header)[lengt
351 zval **header = NULL; local
[all...]
/PHP_5_4/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
[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->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) { \
262 mysqlnd_read_header(MYSQLND_NET * net, MYSQLND_PACKET_HEADER * header, argument
273 header
1338 MYSQLND_PACKET_HEADER header; local
[all...]
/PHP_5_4/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_4/ext/session/
H A Dsession.c1193 sapi_header_struct *header; local
1207 header = (sapi_header_struct *)(current->data);
1209 if (header->header_len > len && header->header[len] == ':'
1210 && !strncmp(header->header, session_cookie, session_cookie_len)) {
1221 sapi_free_header(header);
/PHP_5_4/sapi/litespeed/
H A Dlsapilib.c1020 fprintf( stderr, "%d: request header does match total size, total: %d, real: %ld\n", getpid(), totalLen,
1779 struct lsapi_packet_header header; local
1807 lsapi_buildPacketHeader( &header, LSAPI_STDERR_STREAM,
1811 iov[0].iov_base = (void *)&header;

Completed in 42 milliseconds