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

/PHP_5_3/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_3/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.c117 efree(sapi_header->header);
254 default_header->header = emalloc(default_header->header_len+1);
255 memcpy(default_header->header, "Content-type: ", sizeof("Content-type: "));
256 memcpy(default_header->header+sizeof("Content-type: ")-1, default_content_type, default_content_type_len);
257 default_header->header[default_header->header_len] = 0;
262 * Add charset on content-type header if the MIME type starts with
509 sapi_header_struct *header; local
514 header = (sapi_header_struct *)(current->data);
516 if (header->header_len > len && header
[all...]
H A DSAPI.h52 char *header; member in struct:__anon243
H A Drfc1867.c52 zend_llist_destroy(&header); \
118 zend_llist_destroy(&header); \
432 /* Free header entry */
462 static int multipart_buffer_headers(multipart_buffer *self, zend_llist *header TSRMLS_DC)
477 /* add header to table */
481 /* space in the beginning means same header */
493 } else if (zend_llist_count(header)) { /* If no ':' on the line, add to previous line */
505 zend_llist_remove_tail(header);
510 zend_llist_add_element(header, &entry);
517 static char *php_mime_get_hdr_value(zend_llist header, cha argument
778 zend_llist header; local
[all...]
/PHP_5_3/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_3/ext/curl/
H A Dphp_curl.h135 struct _php_curl_send_headers header; member in struct:__anon21
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_3/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 */
1267 /* header `titles' can be lower case, or any case combination, according
1299 char *header, *http_buf = NULL; local
1303 header = get_http_header_value(headers, "Connection: ");
1304 if (header) {
1305 if(!strncasecmp(header, "close", sizeof("close")-1)) header_close = 1;
1306 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.c925 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid header name");
1904 soapHeader *header = soap_headers; local
1905 while (header != NULL) {
1906 soapHeader *h = header;
1908 header = header->next;
3009 php_error_docref(NULL TSRMLS_CC, E_ERROR, "Invalid SOAP header");
3071 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid SOAP header");
3360 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid SOAP header");
4474 zval** header; local
[all...]
/PHP_5_3/ext/standard/
H A Dhead.h25 PHP_FUNCTION(header); variable
H A Dhttp_fopen_wrapper.c199 smart_str header = {0}; local
201 smart_str_appendl(&header, "CONNECT ", sizeof("CONNECT ")-1);
202 smart_str_appends(&header, resource->host);
203 smart_str_appendc(&header, ':');
204 smart_str_append_unsigned(&header, resource->port);
205 smart_str_appendl(&header, " HTTP/1.0\r\n", sizeof(" HTTP/1.0\r\n")-1);
207 /* check if we have Proxy-Authorization header */
208 if (context && php_stream_context_get_option(context, "http", "header", &tmpzval) == SUCCESS) {
230 smart_str_appendl(&header, s, p - s);
231 smart_str_appendl(&header, "\
[all...]
H A Dinfo.c1087 PHPAPI void php_info_print_table_colspan_header(int num_cols, char *header) argument
1092 php_printf("<tr class=\"h\"><th colspan=\"%d\">%s</th></tr>\n", num_cols, header );
1094 spaces = (74 - strlen(header));
1095 php_printf("%*s%s%*s\n", (int)(spaces/2), " ", header, (int)(spaces/2), " ");
/PHP_5_3/sapi/litespeed/
H A Dlsapilib.c1058 struct lsapi_packet_header header; local
1085 lsapi_buildPacketHeader( &header, LSAPI_STDERR_STREAM,
1089 iov[0].iov_base = (void *)&header;
/PHP_5_3/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_3/ext/mysqlnd/
H A Dmysqlnd_wireprotocol.c37 if (FAIL == mysqlnd_read_header((conn), &((packet)->header) TSRMLS_CC)) {\
41 DBG_ERR_FMT("Can't read %s's header", (packet_type_as_text)); \
44 if ((buf_size) < (packet)->header.size) { \
46 (buf_size), (packet)->header.size, (packet)->header.size - (buf_size)); \
49 if (FAIL == conn->net->m.receive((conn), (buf), (packet)->header.size TSRMLS_CC)) { \
57 MYSQLND_HEADER_SIZE + (packet)->header.size, \
64 if ((size_t)(p - begin) > packet->header.size) { \
260 mysqlnd_read_header(MYSQLND * conn, MYSQLND_PACKET_HEADER * header TSRMLS_DC)
271 header
1116 MYSQLND_PACKET_HEADER header; local
[all...]
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
89 MYSQLND_PACKET_HEADER header; member in struct:st_mysqlnd_packet_auth
109 MYSQLND_PACKET_HEADER header; member in struct:st_mysqlnd_packet_ok
126 MYSQLND_PACKET_HEADER header; member in struct:st_mysqlnd_packet_command
135 MYSQLND_PACKET_HEADER header; member in struct:st_mysqlnd_packet_eof
147 /* Result Set header*/
149 MYSQLND_PACKET_HEADER header; member in struct:st_mysqlnd_packet_rset_header
175 MYSQLND_PACKET_HEADER header; member in struct:st_mysqlnd_packet_res_field
188 MYSQLND_PACKET_HEADER header; member in struct:st_mysqlnd_packet_row
217 MYSQLND_PACKET_HEADER header; member in struct:st_mysqlnd_packet_stats
226 MYSQLND_PACKET_HEADER header; member in struct:st_mysqlnd_packet_prepare_response
241 MYSQLND_PACKET_HEADER header; member in struct:st_mysqlnd_packet_chg_user_resp
[all...]
/PHP_5_3/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_3/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:__anon1
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...]

Completed in 39 milliseconds