header 1675 ext/curl/interface.c if (ch->header.str_len) { header 1676 ext/curl/interface.c efree(ch->header.str); header 1679 ext/curl/interface.c ch->header.str = estrndup(buf, buf_len); header 1680 ext/curl/interface.c ch->header.str_len = buf_len; header 1816 ext/curl/interface.c (*ch)->header.str_len = 0; header 2950 ext/curl/interface.c if (ch->header.str_len) { header 2951 ext/curl/interface.c efree(ch->header.str); header 2952 ext/curl/interface.c ch->header.str_len = 0; header 3138 ext/curl/interface.c if (ch->header.str_len > 0) { header 3139 ext/curl/interface.c CAAS("request_header", ch->header.str); header 3144 ext/curl/interface.c if (ch->header.str_len > 0) { header 3145 ext/curl/interface.c RETURN_STRINGL(ch->header.str, ch->header.str_len, 1); header 3340 ext/curl/interface.c if (ch->header.str_len > 0) { header 3341 ext/curl/interface.c efree(ch->header.str); header 177 ext/curl/php_curl.h struct _php_curl_send_headers header; header 95 ext/fileinfo/libmagic/is_tar.c const union record *header = (const union record *)(const void *)buf; header 103 ext/fileinfo/libmagic/is_tar.c recsum = from_oct(8, header->header.chksum); header 106 ext/fileinfo/libmagic/is_tar.c p = header->charptr; header 111 ext/fileinfo/libmagic/is_tar.c for (i = sizeof(header->header.chksum); --i >= 0;) header 112 ext/fileinfo/libmagic/is_tar.c sum -= header->header.chksum[i]; header 113 ext/fileinfo/libmagic/is_tar.c sum += ' ' * sizeof header->header.chksum; header 118 ext/fileinfo/libmagic/is_tar.c if (strcmp(header->header.magic, GNUTMAGIC) == 0) header 120 ext/fileinfo/libmagic/is_tar.c if (strcmp(header->header.magic, TMAGIC) == 0) header 68 ext/fileinfo/libmagic/tar.h } header; header 38 ext/mysqlnd/mysqlnd_wireprotocol.c if (FAIL == mysqlnd_read_header((conn)->net, &((packet)->header), (conn)->stats, ((conn)->error_info) TSRMLS_CC)) {\ header 45 ext/mysqlnd/mysqlnd_wireprotocol.c if ((buf_size) < (packet)->header.size) { \ header 47 ext/mysqlnd/mysqlnd_wireprotocol.c (buf_size), (packet)->header.size, (packet)->header.size - (buf_size)); \ header 50 ext/mysqlnd/mysqlnd_wireprotocol.c if (FAIL == conn->net->data->m.receive_ex((conn)->net, (buf), (packet)->header.size, (conn)->stats, ((conn)->error_info) TSRMLS_CC)) { \ header 58 ext/mysqlnd/mysqlnd_wireprotocol.c MYSQLND_HEADER_SIZE + (packet)->header.size, \ header 65 ext/mysqlnd/mysqlnd_wireprotocol.c if ((size_t)(p - begin) > packet->header.size) { \ header 291 ext/mysqlnd/mysqlnd_wireprotocol.c header->size = uint3korr(buffer); header 292 ext/mysqlnd/mysqlnd_wireprotocol.c header->packet_no = uint1korr(buffer + 3); header 295 ext/mysqlnd/mysqlnd_wireprotocol.c DBG_INF_FMT("HEADER: prot_packet_no=%u size=%3u", header->packet_no, header->size); header 301 ext/mysqlnd/mysqlnd_wireprotocol.c if (net->data->compressed || net->packet_no == header->packet_no) { header 312 ext/mysqlnd/mysqlnd_wireprotocol.c net->packet_no, header->packet_no, header->size); header 315 ext/mysqlnd/mysqlnd_wireprotocol.c net->packet_no, header->packet_no, header->size); header 339 ext/mysqlnd/mysqlnd_wireprotocol.c if (packet->header.size < sizeof(buf)) { header 344 ext/mysqlnd/mysqlnd_wireprotocol.c buf[packet->header.size] = '\0'; header 352 ext/mysqlnd/mysqlnd_wireprotocol.c php_mysqlnd_read_error_from_line(p, packet->header.size - 1, header 400 ext/mysqlnd/mysqlnd_wireprotocol.c if ((size_t) (p - buf) < packet->header.size) { header 410 ext/mysqlnd/mysqlnd_wireprotocol.c if ((size_t) (p - buf) < packet->header.size) { header 449 ext/mysqlnd/mysqlnd_wireprotocol.c DBG_ERR_FMT("GREET packet %d bytes shorter than expected", p - begin - packet->header.size); header 451 ext/mysqlnd/mysqlnd_wireprotocol.c p - begin - packet->header.size); header 475 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(p, p->header.persistent); header 633 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(p, p->header.persistent); header 664 ext/mysqlnd/mysqlnd_wireprotocol.c buf[packet->header.size] = '\0'; header 672 ext/mysqlnd/mysqlnd_wireprotocol.c php_mysqlnd_read_error_from_line(p, packet->header.size - 1, header 680 ext/mysqlnd/mysqlnd_wireprotocol.c if (packet->header.size > (size_t) (p - buf)) { header 685 ext/mysqlnd/mysqlnd_wireprotocol.c packet->new_auth_protocol_data_len = packet->header.size - (size_t) (p - buf); header 710 ext/mysqlnd/mysqlnd_wireprotocol.c if (packet->header.size > (size_t) (p - buf) && (i = php_mysqlnd_net_field_length(&p))) { header 725 ext/mysqlnd/mysqlnd_wireprotocol.c DBG_ERR_FMT("OK packet %d bytes shorter than expected", p - begin - packet->header.size); header 727 ext/mysqlnd/mysqlnd_wireprotocol.c p - begin - packet->header.size); header 755 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(p, p->header.persistent); header 796 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(p, p->header.persistent); header 827 ext/mysqlnd/mysqlnd_wireprotocol.c php_mysqlnd_read_error_from_line(p, packet->header.size - 1, header 850 ext/mysqlnd/mysqlnd_wireprotocol.c if (packet->header.size > (size_t) (p - buf) && (i = php_mysqlnd_net_field_length(&p))) { header 866 ext/mysqlnd/mysqlnd_wireprotocol.c DBG_ERR_FMT("OK packet %d bytes shorter than expected", p - begin - packet->header.size); header 868 ext/mysqlnd/mysqlnd_wireprotocol.c p - begin - packet->header.size); header 884 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(p, p->header.persistent); header 917 ext/mysqlnd/mysqlnd_wireprotocol.c php_mysqlnd_read_error_from_line(p, packet->header.size - 1, header 929 ext/mysqlnd/mysqlnd_wireprotocol.c if (packet->header.size > 1) { header 949 ext/mysqlnd/mysqlnd_wireprotocol.c DBG_ERR_FMT("EOF packet %d bytes shorter than expected", p - begin - packet->header.size); header 951 ext/mysqlnd/mysqlnd_wireprotocol.c p - begin - packet->header.size); header 962 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(_packet, ((MYSQLND_PACKET_EOF *)_packet)->header.persistent); header 1039 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(p, p->header.persistent); header 1070 ext/mysqlnd/mysqlnd_wireprotocol.c php_mysqlnd_read_error_from_line(p, packet->header.size - 1, header 1091 ext/mysqlnd/mysqlnd_wireprotocol.c len = packet->header.size - 1; header 1118 ext/mysqlnd/mysqlnd_wireprotocol.c if (packet->header.size > (size_t) (p - buf) && (len = php_mysqlnd_net_field_length(&p))) { header 1142 ext/mysqlnd/mysqlnd_wireprotocol.c DBG_ERR_FMT("RSET_HEADER packet %d bytes shorter than expected", p - begin - packet->header.size); header 1144 ext/mysqlnd/mysqlnd_wireprotocol.c p - begin - packet->header.size); header 1161 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(p, p->header.persistent); header 1212 ext/mysqlnd/mysqlnd_wireprotocol.c php_mysqlnd_read_error_from_line(p, packet->header.size - 1, header 1218 ext/mysqlnd/mysqlnd_wireprotocol.c } else if (EODATA_MARKER == *p && packet->header.size < 8) { header 1294 ext/mysqlnd/mysqlnd_wireprotocol.c if (packet->header.size > (size_t) (p - buf) && header 1373 ext/mysqlnd/mysqlnd_wireprotocol.c DBG_ERR_FMT("RSET field packet %d bytes shorter than expected", p - begin - packet->header.size); header 1375 ext/mysqlnd/mysqlnd_wireprotocol.c "shorter than expected", p - begin - packet->header.size); header 1388 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(p, p->header.persistent); header 1402 ext/mysqlnd/mysqlnd_wireprotocol.c MYSQLND_PACKET_HEADER header; header 1418 ext/mysqlnd/mysqlnd_wireprotocol.c if (FAIL == mysqlnd_read_header(conn->net, &header, conn->stats, conn->error_info TSRMLS_CC)) { header 1423 ext/mysqlnd/mysqlnd_wireprotocol.c *data_size += header.size; header 1439 ext/mysqlnd/mysqlnd_wireprotocol.c if (!header.size) { header 1455 ext/mysqlnd/mysqlnd_wireprotocol.c p = (*buffer)->ptr + (*data_size - header.size); header 1458 ext/mysqlnd/mysqlnd_wireprotocol.c if (PASS != (ret = conn->net->data->m.receive_ex(conn->net, p, header.size, conn->stats, conn->error_info TSRMLS_CC))) { header 1464 ext/mysqlnd/mysqlnd_wireprotocol.c if (header.size < MYSQLND_MAX_PACKET_SIZE) { header 1819 ext/mysqlnd/mysqlnd_wireprotocol.c MYSQLND_HEADER_SIZE + packet->header.size, header 1824 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.size = data_size; header 1899 ext/mysqlnd/mysqlnd_wireprotocol.c DBG_INF_FMT("stack_allocation=%u persistent=%u", (int)stack_allocation, (int)p->header.persistent); header 1908 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(p, p->header.persistent); header 1927 ext/mysqlnd/mysqlnd_wireprotocol.c packet->message = mnd_emalloc(packet->header.size + 1); header 1928 ext/mysqlnd/mysqlnd_wireprotocol.c memcpy(packet->message, buf, packet->header.size); header 1929 ext/mysqlnd/mysqlnd_wireprotocol.c packet->message[packet->header.size] = '\0'; header 1930 ext/mysqlnd/mysqlnd_wireprotocol.c packet->message_len = packet->header.size; header 1947 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(p, p->header.persistent); header 1974 ext/mysqlnd/mysqlnd_wireprotocol.c data_size = packet->header.size; header 2025 ext/mysqlnd/mysqlnd_wireprotocol.c DBG_ERR_FMT("PREPARE packet %d bytes shorter than expected", p - begin - packet->header.size); header 2027 ext/mysqlnd/mysqlnd_wireprotocol.c p - begin - packet->header.size); header 2039 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(p, p->header.persistent); header 2070 ext/mysqlnd/mysqlnd_wireprotocol.c if (packet->header.size == 1 && buf[0] == EODATA_MARKER && packet->server_capabilities & CLIENT_SECURE_CONNECTION) { header 2077 ext/mysqlnd/mysqlnd_wireprotocol.c php_mysqlnd_read_error_from_line(p, packet->header.size - 1, header 2085 ext/mysqlnd/mysqlnd_wireprotocol.c if (packet->response_code == 0xFE && packet->header.size > (size_t) (p - buf)) { header 2089 ext/mysqlnd/mysqlnd_wireprotocol.c packet->new_auth_protocol_data_len = packet->header.size - (size_t) (p - buf); header 2100 ext/mysqlnd/mysqlnd_wireprotocol.c DBG_ERR_FMT("CHANGE_USER packet %d bytes shorter than expected", p - begin - packet->header.size); header 2102 ext/mysqlnd/mysqlnd_wireprotocol.c p - begin - packet->header.size); header 2127 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(p, p->header.persistent); header 2156 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(p, p->header.persistent); header 2182 ext/mysqlnd/mysqlnd_wireprotocol.c packet->public_key_len = packet->header.size - (p - buf); header 2190 ext/mysqlnd/mysqlnd_wireprotocol.c DBG_ERR_FMT("OK packet %d bytes shorter than expected", p - begin - packet->header.size); header 2192 ext/mysqlnd/mysqlnd_wireprotocol.c p - begin - packet->header.size); header 2210 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(p, p->header.persistent); header 2321 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.m = &packet_methods[PROT_GREET_PACKET]; header 2322 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; header 2336 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.m = &packet_methods[PROT_AUTH_PACKET]; header 2337 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; header 2351 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.m = &packet_methods[PROT_AUTH_RESP_PACKET]; header 2352 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; header 2366 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.m = &packet_methods[PROT_CHANGE_AUTH_RESP_PACKET]; header 2367 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; header 2381 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.m = &packet_methods[PROT_OK_PACKET]; header 2382 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; header 2396 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.m = &packet_methods[PROT_EOF_PACKET]; header 2397 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; header 2411 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.m = &packet_methods[PROT_CMD_PACKET]; header 2412 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; header 2426 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.m = &packet_methods[PROT_RSET_HEADER_PACKET]; header 2427 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; header 2441 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.m = &packet_methods[PROT_RSET_FLD_PACKET]; header 2442 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; header 2456 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.m = &packet_methods[PROT_ROW_PACKET]; header 2457 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; header 2471 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.m = &packet_methods[PROT_STATS_PACKET]; header 2472 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; header 2486 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.m = &packet_methods[PROT_PREPARE_RESP_PACKET]; header 2487 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; header 2501 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.m = &packet_methods[PROT_CHG_USER_RESP_PACKET]; header 2502 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; header 2516 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.m = &packet_methods[PROT_SHA256_PK_REQUEST_PACKET]; header 2517 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; header 2531 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.m = &packet_methods[PROT_SHA256_PK_REQUEST_RESPONSE_PACKET]; header 2532 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; header 39 ext/mysqlnd/mysqlnd_wireprotocol.h #define PACKET_WRITE(packet, conn) ((packet)->header.m->write_to_net((packet), (conn) TSRMLS_CC)) header 40 ext/mysqlnd/mysqlnd_wireprotocol.h #define PACKET_READ(packet, conn) ((packet)->header.m->read_from_net((packet), (conn) TSRMLS_CC)) header 45 ext/mysqlnd/mysqlnd_wireprotocol.h ((packet)->header.m->free_mem((packet), FALSE TSRMLS_CC)); \ header 69 ext/mysqlnd/mysqlnd_wireprotocol.h MYSQLND_PACKET_HEADER header; header 92 ext/mysqlnd/mysqlnd_wireprotocol.h MYSQLND_PACKET_HEADER header; header 111 ext/mysqlnd/mysqlnd_wireprotocol.h MYSQLND_PACKET_HEADER header; header 133 ext/mysqlnd/mysqlnd_wireprotocol.h MYSQLND_PACKET_HEADER header; header 141 ext/mysqlnd/mysqlnd_wireprotocol.h MYSQLND_PACKET_HEADER header; header 158 ext/mysqlnd/mysqlnd_wireprotocol.h MYSQLND_PACKET_HEADER header; header 167 ext/mysqlnd/mysqlnd_wireprotocol.h MYSQLND_PACKET_HEADER header; header 181 ext/mysqlnd/mysqlnd_wireprotocol.h MYSQLND_PACKET_HEADER header; header 207 ext/mysqlnd/mysqlnd_wireprotocol.h MYSQLND_PACKET_HEADER header; header 220 ext/mysqlnd/mysqlnd_wireprotocol.h MYSQLND_PACKET_HEADER header; header 249 ext/mysqlnd/mysqlnd_wireprotocol.h MYSQLND_PACKET_HEADER header; header 258 ext/mysqlnd/mysqlnd_wireprotocol.h MYSQLND_PACKET_HEADER header; header 273 ext/mysqlnd/mysqlnd_wireprotocol.h MYSQLND_PACKET_HEADER header; header 291 ext/mysqlnd/mysqlnd_wireprotocol.h MYSQLND_PACKET_HEADER header; header 295 ext/mysqlnd/mysqlnd_wireprotocol.h MYSQLND_PACKET_HEADER header; header 133 ext/pcre/pcrelib/sljit/sljitExecAllocator.c struct block_header header; header 152 ext/pcre/pcrelib/sljit/sljitExecAllocator.c free_block->header.size = 0; header 177 ext/pcre/pcrelib/sljit/sljitExecAllocator.c struct block_header *header; header 195 ext/pcre/pcrelib/sljit/sljitExecAllocator.c header = AS_BLOCK_HEADER(free_block, chunk_size); header 196 ext/pcre/pcrelib/sljit/sljitExecAllocator.c header->prev_size = chunk_size; header 197 ext/pcre/pcrelib/sljit/sljitExecAllocator.c AS_BLOCK_HEADER(header, size)->prev_size = size; header 201 ext/pcre/pcrelib/sljit/sljitExecAllocator.c header = (struct block_header*)free_block; header 205 ext/pcre/pcrelib/sljit/sljitExecAllocator.c header->size = size; header 207 ext/pcre/pcrelib/sljit/sljitExecAllocator.c return MEM_START(header); header 213 ext/pcre/pcrelib/sljit/sljitExecAllocator.c header = (struct block_header*)alloc_chunk(chunk_size); header 214 ext/pcre/pcrelib/sljit/sljitExecAllocator.c if (!header) { header 222 ext/pcre/pcrelib/sljit/sljitExecAllocator.c header->prev_size = 0; header 226 ext/pcre/pcrelib/sljit/sljitExecAllocator.c header->size = size; header 229 ext/pcre/pcrelib/sljit/sljitExecAllocator.c free_block = AS_FREE_BLOCK(header, size); header 230 ext/pcre/pcrelib/sljit/sljitExecAllocator.c free_block->header.prev_size = size; header 237 ext/pcre/pcrelib/sljit/sljitExecAllocator.c header->size = chunk_size; header 238 ext/pcre/pcrelib/sljit/sljitExecAllocator.c next_header = AS_BLOCK_HEADER(header, chunk_size); header 243 ext/pcre/pcrelib/sljit/sljitExecAllocator.c return MEM_START(header); header 248 ext/pcre/pcrelib/sljit/sljitExecAllocator.c struct block_header *header; header 252 ext/pcre/pcrelib/sljit/sljitExecAllocator.c header = AS_BLOCK_HEADER(ptr, -(sljit_sw)sizeof(struct block_header)); header 253 ext/pcre/pcrelib/sljit/sljitExecAllocator.c allocated_size -= header->size; header 259 ext/pcre/pcrelib/sljit/sljitExecAllocator.c free_block = AS_FREE_BLOCK(header, -(sljit_sw)header->prev_size); header 260 ext/pcre/pcrelib/sljit/sljitExecAllocator.c if (SLJIT_UNLIKELY(!free_block->header.size)) { header 261 ext/pcre/pcrelib/sljit/sljitExecAllocator.c free_block->size += header->size; header 262 ext/pcre/pcrelib/sljit/sljitExecAllocator.c header = AS_BLOCK_HEADER(free_block, free_block->size); header 263 ext/pcre/pcrelib/sljit/sljitExecAllocator.c header->prev_size = free_block->size; header 266 ext/pcre/pcrelib/sljit/sljitExecAllocator.c free_block = (struct free_block*)header; header 267 ext/pcre/pcrelib/sljit/sljitExecAllocator.c sljit_insert_free_block(free_block, header->size); header 270 ext/pcre/pcrelib/sljit/sljitExecAllocator.c header = AS_BLOCK_HEADER(free_block, free_block->size); header 271 ext/pcre/pcrelib/sljit/sljitExecAllocator.c if (SLJIT_UNLIKELY(!header->size)) { header 272 ext/pcre/pcrelib/sljit/sljitExecAllocator.c free_block->size += ((struct free_block*)header)->size; header 273 ext/pcre/pcrelib/sljit/sljitExecAllocator.c sljit_remove_free_block((struct free_block*)header); header 274 ext/pcre/pcrelib/sljit/sljitExecAllocator.c header = AS_BLOCK_HEADER(free_block, free_block->size); header 275 ext/pcre/pcrelib/sljit/sljitExecAllocator.c header->prev_size = free_block->size; header 279 ext/pcre/pcrelib/sljit/sljitExecAllocator.c if (SLJIT_UNLIKELY(!free_block->header.prev_size && header->size == 1)) { header 301 ext/pcre/pcrelib/sljit/sljitExecAllocator.c if (!free_block->header.prev_size && header 102 ext/phar/tar.c tar_header *header = (tar_header *) buf; header 103 ext/phar/tar.c php_uint32 checksum = phar_tar_number(header->checksum, sizeof(header->checksum)); header 105 ext/phar/tar.c char save[sizeof(header->checksum)], *bname; header 112 ext/phar/tar.c memcpy(save, header->checksum, sizeof(header->checksum)); header 113 ext/phar/tar.c memset(header->checksum, ' ', sizeof(header->checksum)); header 115 ext/phar/tar.c memcpy(header->checksum, save, sizeof(header->checksum)); header 690 ext/phar/tar.c tar_header header; header 710 ext/phar/tar.c memset((char *) &header, 0, sizeof(header)); header 730 ext/phar/tar.c memcpy(header.prefix, entry->filename, boundary - entry->filename); header 731 ext/phar/tar.c memcpy(header.name, boundary + 1, entry->filename_len - (boundary + 1 - entry->filename)); header 733 ext/phar/tar.c memcpy(header.name, entry->filename, entry->filename_len); header 736 ext/phar/tar.c phar_tar_octal(header.mode, entry->flags & PHAR_ENT_PERM_MASK, sizeof(header.mode)-1); header 738 ext/phar/tar.c if (FAILURE == phar_tar_octal(header.size, entry->uncompressed_filesize, sizeof(header.size)-1)) { header 745 ext/phar/tar.c if (FAILURE == phar_tar_octal(header.mtime, entry->timestamp, sizeof(header.mtime)-1)) { header 753 ext/phar/tar.c header.typeflag = entry->tar_type; header 756 ext/phar/tar.c strncpy(header.linkname, entry->link, strlen(entry->link)); header 759 ext/phar/tar.c strncpy(header.magic, "ustar", sizeof("ustar")-1); header 760 ext/phar/tar.c strncpy(header.version, "00", sizeof("00")-1); header 761 ext/phar/tar.c strncpy(header.checksum, " ", sizeof(" ")-1); header 762 ext/phar/tar.c entry->crc32 = phar_tar_checksum((char *)&header, sizeof(header)); header 764 ext/phar/tar.c if (FAILURE == phar_tar_octal(header.checksum, entry->crc32, sizeof(header.checksum)-1)) { header 774 ext/phar/tar.c if (sizeof(header) != php_stream_write(fp->new, (char *) &header, sizeof(header))) { header 45 ext/phar/zip.c phar_zip_extra_field_header header; header 51 ext/phar/zip.c if (sizeof(h.header) != php_stream_read(fp, (char *) &h.header, sizeof(h.header))) { header 55 ext/phar/zip.c if (h.header.tag[0] != 'n' || h.header.tag[1] != 'u') { header 57 ext/phar/zip.c php_stream_seek(fp, PHAR_GET_16(h.header.size), SEEK_CUR); header 58 ext/phar/zip.c len -= PHAR_GET_16(h.header.size) + 4; header 63 ext/phar/zip.c read = php_stream_read(fp, (char *) &(h.unix3.crc32), sizeof(h.unix3) - sizeof(h.header)); header 66 ext/phar/zip.c if (sizeof(h.unix3) - sizeof(h.header) != read) { header 1287 ext/session/session.c sapi_header_struct *header; header 1301 ext/session/session.c header = (sapi_header_struct *)(current->data); header 1303 ext/session/session.c if (header->header_len > len && header->header[len] == ':' header 1304 ext/session/session.c && !strncmp(header->header, session_cookie, session_cookie_len)) { header 1315 ext/session/session.c sapi_free_header(header); header 1371 ext/soap/php_http.c char *header, *http_buf = NULL; header 1375 ext/soap/php_http.c header = get_http_header_value(headers, "Connection: "); header 1376 ext/soap/php_http.c if (header) { header 1377 ext/soap/php_http.c if(!strncasecmp(header, "close", sizeof("close")-1)) header_close = 1; header 1378 ext/soap/php_http.c efree(header); header 1381 ext/soap/php_http.c header = get_http_header_value(headers, "Transfer-Encoding: "); header 1382 ext/soap/php_http.c if (header) { header 1383 ext/soap/php_http.c if(!strncasecmp(header, "chunked", sizeof("chunked")-1)) header_chunked = 1; header 1384 ext/soap/php_http.c efree(header); header 1386 ext/soap/php_http.c header = get_http_header_value(headers, "Content-Length: "); header 1387 ext/soap/php_http.c if (header) { header 1388 ext/soap/php_http.c header_length = atoi(header); header 1389 ext/soap/php_http.c efree(header); header 234 ext/soap/php_sdl.c zval **header = NULL; header 287 ext/soap/php_sdl.c php_stream_context_get_option(ctx->context, "http", "header", &header) == SUCCESS) { header 288 ext/soap/php_sdl.c s = strstr(Z_STRVAL_PP(header), "Authorization: Basic"); header 289 ext/soap/php_sdl.c if (s && (s == Z_STRVAL_PP(header) || *(s-1) == '\n' || *(s-1) == '\r')) { header 296 ext/soap/php_sdl.c Z_STRLEN(new_header) = Z_STRLEN_PP(header) - (rest - s); header 297 ext/soap/php_sdl.c Z_STRVAL(new_header) = emalloc(Z_STRLEN_PP(header) + 1); header 298 ext/soap/php_sdl.c memcpy(Z_STRVAL(new_header), Z_STRVAL_PP(header), s - Z_STRVAL_PP(header)); header 299 ext/soap/php_sdl.c memcpy(Z_STRVAL(new_header) + (s - Z_STRVAL_PP(header)), rest, Z_STRLEN_PP(header) - (rest - Z_STRVAL_PP(header)) + 1); header 300 ext/soap/php_sdl.c ctx->old_header = *header; header 456 ext/soap/php_sdl.c tmp = get_attribute(header->properties, "message"); header 471 ext/soap/php_sdl.c tmp = get_attribute(header->properties, "part"); header 484 ext/soap/php_sdl.c tmp = get_attribute(header->properties, "use"); header 491 ext/soap/php_sdl.c tmp = get_attribute(header->properties, "namespace"); header 497 ext/soap/php_sdl.c tmp = get_attribute(header->properties, "encodingStyle"); header 531 ext/soap/php_sdl.c xmlNodePtr trav = header->children; header 1781 ext/soap/soap.c soapHeader *header = soap_headers; header 1782 ext/soap/soap.c while (header != NULL) { header 1783 ext/soap/soap.c soapHeader *h = header; header 1785 ext/soap/soap.c header = header->next; header 4347 ext/soap/soap.c zval** header; header 4350 ext/soap/soap.c while (zend_hash_get_current_data(soap_headers,(void**)&header) == SUCCESS) { header 4351 ext/soap/soap.c HashTable *ht = Z_OBJPROP_PP(header); header 2993 ext/standard/basic_functions.c PHP_FE(header, arginfo_header) header 268 ext/standard/head.c add_next_index_string((zval *)arg, (char *)(sapi_header->header), 1); header 227 ext/standard/http_fopen_wrapper.c smart_str header = {0}; header 236 ext/standard/http_fopen_wrapper.c smart_str_appendl(&header, "CONNECT ", sizeof("CONNECT ")-1); header 237 ext/standard/http_fopen_wrapper.c smart_str_appends(&header, resource->host); header 238 ext/standard/http_fopen_wrapper.c smart_str_appendc(&header, ':'); header 239 ext/standard/http_fopen_wrapper.c smart_str_append_unsigned(&header, resource->port); header 240 ext/standard/http_fopen_wrapper.c smart_str_appendl(&header, " HTTP/1.0\r\n", sizeof(" HTTP/1.0\r\n")-1); header 265 ext/standard/http_fopen_wrapper.c smart_str_appendl(&header, s, p - s); header 266 ext/standard/http_fopen_wrapper.c smart_str_appendl(&header, "\r\n", sizeof("\r\n")-1); header 289 ext/standard/http_fopen_wrapper.c smart_str_appendl(&header, s, p - s); header 290 ext/standard/http_fopen_wrapper.c smart_str_appendl(&header, "\r\n", sizeof("\r\n")-1); header 302 ext/standard/http_fopen_wrapper.c smart_str_appendl(&header, "\r\n", sizeof("\r\n")-1); header 304 ext/standard/http_fopen_wrapper.c if (php_stream_write(stream, header.c, header.len) != header.len) { header 309 ext/standard/http_fopen_wrapper.c smart_str_free(&header); header 1237 ext/standard/info.c php_info_printf("<tr class=\"h\"><th colspan=\"%d\">%s</th></tr>\n", num_cols, header ); header 1239 ext/standard/info.c spaces = (74 - strlen(header)); header 1240 ext/standard/info.c php_info_printf("%*s%s%*s\n", (int)(spaces/2), " ", header, (int)(spaces/2), " "); header 136 ext/zip/lib/zip_source_pkware.c zip_uint8_t header[HEADERLEN]; header 141 ext/zip/lib/zip_source_pkware.c if ((n=zip_source_read(src, header, HEADERLEN)) < 0) { header 152 ext/zip/lib/zip_source_pkware.c decrypt(ctx, header, header, HEADERLEN, 0); header 161 ext/zip/lib/zip_source_pkware.c if (header[HEADERLEN-1] != st.crc>>24 header 162 ext/zip/lib/zip_source_pkware.c && header[HEADERLEN-1] != dostime>>8) { header 119 main/SAPI.c efree(sapi_header->header); header 363 main/SAPI.c default_header->header = get_default_content_type(sizeof("Content-type: ")-1, &len TSRMLS_CC); header 365 main/SAPI.c memcpy(default_header->header, "Content-type: ", sizeof("Content-type: ") - 1); header 606 main/SAPI.c sapi_header_struct *header; header 611 main/SAPI.c header = (sapi_header_struct *)(current->data); header 613 main/SAPI.c if (header->header_len > len && header->header[len] == ':' header 614 main/SAPI.c && !strncasecmp(header->header, name, len)) { header 625 main/SAPI.c sapi_free_header(header); header 655 main/SAPI.c char *colon_offset = strchr(sapi_header->header, ':'); header 661 main/SAPI.c sapi_remove_header(&SG(sapi_headers).headers, sapi_header->header, strlen(sapi_header->header)); header 739 main/SAPI.c sapi_header.header = header_line; header 765 main/SAPI.c sapi_header.header = header_line; header 807 main/SAPI.c sapi_header.header = newheader; header 840 main/SAPI.c if (sapi_header.header==header_line) { header 871 main/SAPI.c default_header.header = emalloc(default_header.header_len + 1); header 872 main/SAPI.c memcpy(default_header.header, "Content-type: ", sizeof("Content-type: ") - 1); header 873 main/SAPI.c memcpy(default_header.header + sizeof("Content-type: ") - 1, SG(sapi_headers).mimetype, len + 1); header 900 main/SAPI.c http_status_line.header = SG(sapi_headers).http_status_line; header 903 main/SAPI.c http_status_line.header = buf; header 53 main/SAPI.h char *header; header 148 main/alloca.c static header *last_alloca_header = NULL; /* -> last alloca header. */ header 173 main/alloca.c register header *hp; /* Traverses linked list. */ header 183 main/alloca.c register header *np = hp->h.next; header 205 main/alloca.c register pointer new = malloc (sizeof (header) + size); header 211 main/alloca.c ((header *) new)->h.next = last_alloca_header; header 212 main/alloca.c ((header *) new)->h.deep = depth; header 214 main/alloca.c last_alloca_header = (header *) new; header 218 main/alloca.c return (pointer) ((char *) new + sizeof (header)); header 438 main/rfc1867.c zend_llist_add_element(header, &entry); header 459 main/rfc1867.c zend_llist_add_element(header, &entry); header 473 main/rfc1867.c entry = zend_llist_get_first(&header); header 478 main/rfc1867.c entry = zend_llist_get_next(&header); header 695 main/rfc1867.c zend_llist header; header 776 main/rfc1867.c zend_llist_init(&header, sizeof(mime_header_entry), (llist_dtor_func_t) php_free_hdr_entry, 0); header 794 main/rfc1867.c zend_llist_clean(&header); header 796 main/rfc1867.c if (!multipart_buffer_headers(mbuff, &header TSRMLS_CC)) { header 800 main/rfc1867.c if ((cd = php_mime_get_hdr_value(header, "Content-Disposition"))) { header 1165 main/rfc1867.c if (cancel_upload || !(cd = php_mime_get_hdr_value(header, "Content-Type"))) { header 1301 main/rfc1867.c zend_llist_destroy(&header); header 119 sapi/aolserver/aolserver.c header_name = sapi_header->header; header 180 sapi/apache/mod_php5.c table_unset(r->headers_out, sapi_header->header); header 185 sapi/apache/mod_php5.c header_name = sapi_header->header; header 103 sapi/apache2filter/sapi_apache2.c apr_table_unset(ctx->r->headers_out, sapi_header->header); header 112 sapi/apache2filter/sapi_apache2.c val = strchr(sapi_header->header, ':'); header 126 sapi/apache2filter/sapi_apache2.c if (!strcasecmp(sapi_header->header, "content-type")) header 128 sapi/apache2filter/sapi_apache2.c else if (!strcasecmp(sapi_header->header, "content-length")) header 131 sapi/apache2filter/sapi_apache2.c apr_table_set(ctx->r->headers_out, sapi_header->header, val); header 133 sapi/apache2filter/sapi_apache2.c apr_table_add(ctx->r->headers_out, sapi_header->header, val); header 101 sapi/apache2handler/sapi_apache2.c apr_table_unset(ctx->r->headers_out, sapi_header->header); header 110 sapi/apache2handler/sapi_apache2.c val = strchr(sapi_header->header, ':'); header 123 sapi/apache2handler/sapi_apache2.c if (!strcasecmp(sapi_header->header, "content-type")) { header 128 sapi/apache2handler/sapi_apache2.c } else if (!strcasecmp(sapi_header->header, "content-length")) { header 139 sapi/apache2handler/sapi_apache2.c apr_table_set(ctx->r->headers_out, sapi_header->header, val); header 141 sapi/apache2handler/sapi_apache2.c apr_table_add(ctx->r->headers_out, sapi_header->header, val); header 325 sapi/apache_hooks/mod_php5.c table_unset(r->headers_out, sapi_header->header); header 330 sapi/apache_hooks/mod_php5.c header_name = sapi_header->header; header 341 sapi/caudium/caudium.c header_name = sapi_header->header; header 442 sapi/cgi/cgi_main.c strncasecmp(h->header, "Status:", sizeof("Status:")-1) == 0 header 478 sapi/cgi/cgi_main.c strncasecmp(h->header, "Status:", sizeof("Status:")-1) == 0 header 482 sapi/cgi/cgi_main.c PHPWRITE_H(h->header, h->header_len); header 486 sapi/cgi/cgi_main.c strncasecmp(h->header, "Content-Type:", sizeof("Content-Type:")-1) == 0 header 491 sapi/cgi/cgi_main.c PHPWRITE_H(h->header, h->header_len); header 1674 sapi/cgi/cgi_main.c p = strchr(h->header, ':'); header 1676 sapi/cgi/cgi_main.c len = p - h->header; header 1679 sapi/cgi/cgi_main.c while (len > 0 && (h->header[len-1] == ' ' || h->header[len-1] == '\t')) { header 1684 sapi/cgi/cgi_main.c memcpy(s, h->header, len); header 1689 sapi/cgi/cgi_main.c add_assoc_stringl_ex(return_value, s, len+1, p, h->header_len - (p - h->header), 1); header 514 sapi/cli/php_cli_server.c p = strchr(h->header, ':'); header 515 sapi/cli/php_cli_server.c len = p - h->header; header 517 sapi/cli/php_cli_server.c while (len > 0 && (h->header[len-1] == ' ' || h->header[len-1] == '\t')) { header 522 sapi/cli/php_cli_server.c memcpy(s, h->header, len); header 527 sapi/cli/php_cli_server.c add_assoc_stringl_ex(return_value, s, len+1, p, h->header_len - (p - h->header), 1); header 670 sapi/cli/php_cli_server.c smart_str_appendl(&buffer, h->header, h->header_len); header 153 sapi/continuity/capi.c header_name = sapi_header->header; header 167 sapi/continuity/capi.c efree(sapi_header->header); header 305 sapi/fpm/fpm/fpm_log.c char *header; header 310 sapi/fpm/fpm/fpm_log.c if (!strstr(h->header, format)) { header 321 sapi/fpm/fpm/fpm_log.c if (h->header[format_len] != ':' || h->header[format_len + 1] != ' ') { header 326 sapi/fpm/fpm/fpm_log.c header = h->header + format_len + 2; header 327 sapi/fpm/fpm/fpm_log.c len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", header && *header ? header : "-"); header 434 sapi/fpm/fpm/fpm_main.c strncasecmp(h->header, "Status:", sizeof("Status:") - 1) == 0 header 470 sapi/fpm/fpm/fpm_main.c strncasecmp(h->header, "Status:", sizeof("Status:") - 1) == 0 header 474 sapi/fpm/fpm/fpm_main.c PHPWRITE_H(h->header, h->header_len); header 478 sapi/fpm/fpm/fpm_main.c strncasecmp(h->header, "Content-Type:", sizeof("Content-Type:") - 1) == 0 header 483 sapi/fpm/fpm/fpm_main.c PHPWRITE_H(h->header, h->header_len); header 233 sapi/isapi/php5isapi.c memcpy(*combined_headers_ptr, sapi_header->header, sapi_header->header_len); header 406 sapi/litespeed/lsapi_main.c LSAPI_AppendRespHeader(h->header, h->header_len); header 1247 sapi/litespeed/lsapi_main.c p = strchr( h->header, ':' ); header 1248 sapi/litespeed/lsapi_main.c len = p - h->header; header 1250 sapi/litespeed/lsapi_main.c memmove( headerBuf, h->header, len ); header 1781 sapi/litespeed/lsapilib.c struct lsapi_packet_header header; header 1809 sapi/litespeed/lsapilib.c lsapi_buildPacketHeader( &header, LSAPI_STDERR_STREAM, header 1813 sapi/litespeed/lsapilib.c iov[0].iov_base = (void *)&header; header 499 sapi/nsapi/nsapi.c header_name = pool_strdup(rc->sn->pool, sapi_header->header); header 537 sapi/nsapi/nsapi.c header_name = pool_strdup(rc->sn->pool, sapi_header->header); header 77 sapi/phttpd/phttpd.c header_name = sapi_header->header; header 153 sapi/pi3web/pi3web_sapi.c memcpy(*combined_headers_ptr, sapi_header->header, sapi_header->header_len); header 330 sapi/roxen/roxen.c header_name = sapi_header->header; header 202 sapi/thttpd/thttpd.c switch (h->header[0]) { header 204 sapi/thttpd/thttpd.c if (!TG(seen_cl) && strncasecmp(h->header, CL_TOKEN, sizeof(CL_TOKEN)-1) == 0) { header 206 sapi/thttpd/thttpd.c } else if (!TG(seen_cn) && strncasecmp(h->header, CN_TOKEN, sizeof(CN_TOKEN)-1) == 0) { header 211 sapi/thttpd/thttpd.c ADD_VEC(h->header, h->header_len); header 134 sapi/tux/php_tux.c && strncasecmp(h->header, "Content-length:", sizeof("Content-length:")-1) == 0) { header 139 sapi/tux/php_tux.c vec[n].iov_base = h->header; header 67 sapi/webjames/webjames.c char *header = sapi_header->header; header 72 sapi/webjames/webjames.c bytes = webjames_writebuffer(WG(conn), header, len); header 80 sapi/webjames/webjames.c header += bytes; header 163 win32/sendmail.c if (!header) { header 171 win32/sendmail.c header, strlen(header), header 196 win32/sendmail.c return estrdup(header);