header 1644 ext/curl/interface.c if (ch->header.str_len) { header 1645 ext/curl/interface.c efree(ch->header.str); header 1648 ext/curl/interface.c ch->header.str = estrndup(buf, buf_len); header 1649 ext/curl/interface.c ch->header.str_len = buf_len; header 1785 ext/curl/interface.c (*ch)->header.str_len = 0; header 2913 ext/curl/interface.c if (ch->header.str_len) { header 2914 ext/curl/interface.c efree(ch->header.str); header 2915 ext/curl/interface.c ch->header.str_len = 0; header 3101 ext/curl/interface.c if (ch->header.str_len > 0) { header 3102 ext/curl/interface.c CAAS("request_header", ch->header.str); header 3107 ext/curl/interface.c if (ch->header.str_len > 0) { header 3108 ext/curl/interface.c RETURN_STRINGL(ch->header.str, ch->header.str_len, 1); header 3301 ext/curl/interface.c if (ch->header.str_len > 0) { header 3302 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 290 ext/mysqlnd/mysqlnd_wireprotocol.c header->size = uint3korr(buffer); header 291 ext/mysqlnd/mysqlnd_wireprotocol.c header->packet_no = uint1korr(buffer + 3); header 294 ext/mysqlnd/mysqlnd_wireprotocol.c DBG_INF_FMT("HEADER: prot_packet_no=%u size=%3u", header->packet_no, header->size); header 300 ext/mysqlnd/mysqlnd_wireprotocol.c if (net->data->compressed || net->packet_no == header->packet_no) { header 311 ext/mysqlnd/mysqlnd_wireprotocol.c net->packet_no, header->packet_no, header->size); header 314 ext/mysqlnd/mysqlnd_wireprotocol.c net->packet_no, header->packet_no, header->size); header 338 ext/mysqlnd/mysqlnd_wireprotocol.c if (packet->header.size < sizeof(buf)) { header 343 ext/mysqlnd/mysqlnd_wireprotocol.c buf[packet->header.size] = '\0'; header 351 ext/mysqlnd/mysqlnd_wireprotocol.c php_mysqlnd_read_error_from_line(p, packet->header.size - 1, header 399 ext/mysqlnd/mysqlnd_wireprotocol.c if ((size_t) (p - buf) < packet->header.size) { header 409 ext/mysqlnd/mysqlnd_wireprotocol.c if ((size_t) (p - buf) < packet->header.size) { header 448 ext/mysqlnd/mysqlnd_wireprotocol.c DBG_ERR_FMT("GREET packet %d bytes shorter than expected", p - begin - packet->header.size); header 450 ext/mysqlnd/mysqlnd_wireprotocol.c p - begin - packet->header.size); header 474 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(p, p->header.persistent); header 632 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(p, p->header.persistent); header 663 ext/mysqlnd/mysqlnd_wireprotocol.c buf[packet->header.size] = '\0'; header 671 ext/mysqlnd/mysqlnd_wireprotocol.c php_mysqlnd_read_error_from_line(p, packet->header.size - 1, header 679 ext/mysqlnd/mysqlnd_wireprotocol.c if (packet->header.size > (size_t) (p - buf)) { header 684 ext/mysqlnd/mysqlnd_wireprotocol.c packet->new_auth_protocol_data_len = packet->header.size - (size_t) (p - buf); header 709 ext/mysqlnd/mysqlnd_wireprotocol.c if (packet->header.size > (size_t) (p - buf) && (i = php_mysqlnd_net_field_length(&p))) { header 724 ext/mysqlnd/mysqlnd_wireprotocol.c DBG_ERR_FMT("OK packet %d bytes shorter than expected", p - begin - packet->header.size); header 726 ext/mysqlnd/mysqlnd_wireprotocol.c p - begin - packet->header.size); header 754 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(p, p->header.persistent); header 795 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(p, p->header.persistent); header 826 ext/mysqlnd/mysqlnd_wireprotocol.c php_mysqlnd_read_error_from_line(p, packet->header.size - 1, header 849 ext/mysqlnd/mysqlnd_wireprotocol.c if (packet->header.size > (size_t) (p - buf) && (i = php_mysqlnd_net_field_length(&p))) { header 865 ext/mysqlnd/mysqlnd_wireprotocol.c DBG_ERR_FMT("OK packet %d bytes shorter than expected", p - begin - packet->header.size); header 867 ext/mysqlnd/mysqlnd_wireprotocol.c p - begin - packet->header.size); header 883 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(p, p->header.persistent); header 916 ext/mysqlnd/mysqlnd_wireprotocol.c php_mysqlnd_read_error_from_line(p, packet->header.size - 1, header 928 ext/mysqlnd/mysqlnd_wireprotocol.c if (packet->header.size > 1) { header 948 ext/mysqlnd/mysqlnd_wireprotocol.c DBG_ERR_FMT("EOF packet %d bytes shorter than expected", p - begin - packet->header.size); header 950 ext/mysqlnd/mysqlnd_wireprotocol.c p - begin - packet->header.size); header 961 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(_packet, ((MYSQLND_PACKET_EOF *)_packet)->header.persistent); header 1038 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(p, p->header.persistent); header 1069 ext/mysqlnd/mysqlnd_wireprotocol.c php_mysqlnd_read_error_from_line(p, packet->header.size - 1, header 1090 ext/mysqlnd/mysqlnd_wireprotocol.c len = packet->header.size - 1; header 1117 ext/mysqlnd/mysqlnd_wireprotocol.c if (packet->header.size > (size_t) (p - buf) && (len = php_mysqlnd_net_field_length(&p))) { header 1141 ext/mysqlnd/mysqlnd_wireprotocol.c DBG_ERR_FMT("RSET_HEADER packet %d bytes shorter than expected", p - begin - packet->header.size); header 1143 ext/mysqlnd/mysqlnd_wireprotocol.c p - begin - packet->header.size); header 1160 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(p, p->header.persistent); header 1211 ext/mysqlnd/mysqlnd_wireprotocol.c php_mysqlnd_read_error_from_line(p, packet->header.size - 1, header 1217 ext/mysqlnd/mysqlnd_wireprotocol.c } else if (EODATA_MARKER == *p && packet->header.size < 8) { header 1293 ext/mysqlnd/mysqlnd_wireprotocol.c if (packet->header.size > (size_t) (p - buf) && header 1372 ext/mysqlnd/mysqlnd_wireprotocol.c DBG_ERR_FMT("RSET field packet %d bytes shorter than expected", p - begin - packet->header.size); header 1374 ext/mysqlnd/mysqlnd_wireprotocol.c "shorter than expected", p - begin - packet->header.size); header 1387 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(p, p->header.persistent); header 1401 ext/mysqlnd/mysqlnd_wireprotocol.c MYSQLND_PACKET_HEADER header; header 1417 ext/mysqlnd/mysqlnd_wireprotocol.c if (FAIL == mysqlnd_read_header(conn->net, &header, conn->stats, conn->error_info TSRMLS_CC)) { header 1422 ext/mysqlnd/mysqlnd_wireprotocol.c *data_size += header.size; header 1438 ext/mysqlnd/mysqlnd_wireprotocol.c if (!header.size) { header 1454 ext/mysqlnd/mysqlnd_wireprotocol.c p = (*buffer)->ptr + (*data_size - header.size); header 1457 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 1463 ext/mysqlnd/mysqlnd_wireprotocol.c if (header.size < MYSQLND_MAX_PACKET_SIZE) { header 1787 ext/mysqlnd/mysqlnd_wireprotocol.c MYSQLND_HEADER_SIZE + packet->header.size, header 1792 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.size = data_size; header 1867 ext/mysqlnd/mysqlnd_wireprotocol.c DBG_INF_FMT("stack_allocation=%u persistent=%u", (int)stack_allocation, (int)p->header.persistent); header 1876 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(p, p->header.persistent); header 1895 ext/mysqlnd/mysqlnd_wireprotocol.c packet->message = mnd_emalloc(packet->header.size + 1); header 1896 ext/mysqlnd/mysqlnd_wireprotocol.c memcpy(packet->message, buf, packet->header.size); header 1897 ext/mysqlnd/mysqlnd_wireprotocol.c packet->message[packet->header.size] = '\0'; header 1898 ext/mysqlnd/mysqlnd_wireprotocol.c packet->message_len = packet->header.size; header 1915 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(p, p->header.persistent); header 1942 ext/mysqlnd/mysqlnd_wireprotocol.c data_size = packet->header.size; header 1993 ext/mysqlnd/mysqlnd_wireprotocol.c DBG_ERR_FMT("PREPARE packet %d bytes shorter than expected", p - begin - packet->header.size); header 1995 ext/mysqlnd/mysqlnd_wireprotocol.c p - begin - packet->header.size); header 2007 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(p, p->header.persistent); header 2038 ext/mysqlnd/mysqlnd_wireprotocol.c if (packet->header.size == 1 && buf[0] == EODATA_MARKER && packet->server_capabilities & CLIENT_SECURE_CONNECTION) { header 2045 ext/mysqlnd/mysqlnd_wireprotocol.c php_mysqlnd_read_error_from_line(p, packet->header.size - 1, header 2053 ext/mysqlnd/mysqlnd_wireprotocol.c if (packet->response_code == 0xFE && packet->header.size > (size_t) (p - buf)) { header 2057 ext/mysqlnd/mysqlnd_wireprotocol.c packet->new_auth_protocol_data_len = packet->header.size - (size_t) (p - buf); header 2068 ext/mysqlnd/mysqlnd_wireprotocol.c DBG_ERR_FMT("CHANGE_USER packet %d bytes shorter than expected", p - begin - packet->header.size); header 2070 ext/mysqlnd/mysqlnd_wireprotocol.c p - begin - packet->header.size); header 2095 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(p, p->header.persistent); header 2124 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(p, p->header.persistent); header 2150 ext/mysqlnd/mysqlnd_wireprotocol.c packet->public_key_len = packet->header.size - (p - buf); header 2158 ext/mysqlnd/mysqlnd_wireprotocol.c DBG_ERR_FMT("OK packet %d bytes shorter than expected", p - begin - packet->header.size); header 2160 ext/mysqlnd/mysqlnd_wireprotocol.c p - begin - packet->header.size); header 2178 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(p, p->header.persistent); header 2289 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.m = &packet_methods[PROT_GREET_PACKET]; header 2290 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; header 2304 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.m = &packet_methods[PROT_AUTH_PACKET]; header 2305 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; header 2319 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.m = &packet_methods[PROT_AUTH_RESP_PACKET]; header 2320 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; header 2334 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.m = &packet_methods[PROT_CHANGE_AUTH_RESP_PACKET]; header 2335 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; header 2349 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.m = &packet_methods[PROT_OK_PACKET]; header 2350 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; header 2364 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.m = &packet_methods[PROT_EOF_PACKET]; header 2365 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; header 2379 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.m = &packet_methods[PROT_CMD_PACKET]; header 2380 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; header 2394 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.m = &packet_methods[PROT_RSET_HEADER_PACKET]; header 2395 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; header 2409 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.m = &packet_methods[PROT_RSET_FLD_PACKET]; header 2410 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; header 2424 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.m = &packet_methods[PROT_ROW_PACKET]; header 2425 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; header 2439 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.m = &packet_methods[PROT_STATS_PACKET]; header 2440 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; header 2454 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.m = &packet_methods[PROT_PREPARE_RESP_PACKET]; header 2455 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; header 2469 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.m = &packet_methods[PROT_CHG_USER_RESP_PACKET]; header 2470 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; header 2484 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.m = &packet_methods[PROT_SHA256_PK_REQUEST_PACKET]; header 2485 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; header 2499 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.m = &packet_methods[PROT_SHA256_PK_REQUEST_RESPONSE_PACKET]; header 2500 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 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)]; 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 680 ext/phar/tar.c tar_header header; header 700 ext/phar/tar.c memset((char *) &header, 0, sizeof(header)); header 720 ext/phar/tar.c memcpy(header.prefix, entry->filename, boundary - entry->filename); header 721 ext/phar/tar.c memcpy(header.name, boundary + 1, entry->filename_len - (boundary + 1 - entry->filename)); header 723 ext/phar/tar.c memcpy(header.name, entry->filename, entry->filename_len); header 726 ext/phar/tar.c phar_tar_octal(header.mode, entry->flags & PHAR_ENT_PERM_MASK, sizeof(header.mode)-1); header 728 ext/phar/tar.c if (FAILURE == phar_tar_octal(header.size, entry->uncompressed_filesize, sizeof(header.size)-1)) { header 735 ext/phar/tar.c if (FAILURE == phar_tar_octal(header.mtime, entry->timestamp, sizeof(header.mtime)-1)) { header 743 ext/phar/tar.c header.typeflag = entry->tar_type; header 746 ext/phar/tar.c strncpy(header.linkname, entry->link, strlen(entry->link)); header 749 ext/phar/tar.c strncpy(header.magic, "ustar", sizeof("ustar")-1); header 750 ext/phar/tar.c strncpy(header.version, "00", sizeof("00")-1); header 751 ext/phar/tar.c strncpy(header.checksum, " ", sizeof(" ")-1); header 752 ext/phar/tar.c entry->crc32 = phar_tar_checksum((char *)&header, sizeof(header)); header 754 ext/phar/tar.c if (FAILURE == phar_tar_octal(header.checksum, entry->crc32, sizeof(header.checksum)-1)) { header 764 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 1363 ext/soap/php_http.c char *header, *http_buf = NULL; header 1367 ext/soap/php_http.c header = get_http_header_value(headers, "Connection: "); header 1368 ext/soap/php_http.c if (header) { header 1369 ext/soap/php_http.c if(!strncasecmp(header, "close", sizeof("close")-1)) header_close = 1; header 1370 ext/soap/php_http.c efree(header); header 1373 ext/soap/php_http.c header = get_http_header_value(headers, "Transfer-Encoding: "); header 1374 ext/soap/php_http.c if (header) { header 1375 ext/soap/php_http.c if(!strncasecmp(header, "chunked", sizeof("chunked")-1)) header_chunked = 1; header 1376 ext/soap/php_http.c efree(header); header 1378 ext/soap/php_http.c header = get_http_header_value(headers, "Content-Length: "); header 1379 ext/soap/php_http.c if (header) { header 1380 ext/soap/php_http.c header_length = atoi(header); header 1381 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 1771 ext/soap/soap.c soapHeader *header = soap_headers; header 1772 ext/soap/soap.c while (header != NULL) { header 1773 ext/soap/soap.c soapHeader *h = header; header 1775 ext/soap/soap.c header = header->next; header 4310 ext/soap/soap.c zval** header; header 4313 ext/soap/soap.c while (zend_hash_get_current_data(soap_headers,(void**)&header) == SUCCESS) { header 4314 ext/soap/soap.c HashTable *ht = Z_OBJPROP_PP(header); header 3022 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 224 ext/standard/http_fopen_wrapper.c smart_str header = {0}; header 226 ext/standard/http_fopen_wrapper.c smart_str_appendl(&header, "CONNECT ", sizeof("CONNECT ")-1); header 227 ext/standard/http_fopen_wrapper.c smart_str_appends(&header, resource->host); header 228 ext/standard/http_fopen_wrapper.c smart_str_appendc(&header, ':'); header 229 ext/standard/http_fopen_wrapper.c smart_str_append_unsigned(&header, resource->port); header 230 ext/standard/http_fopen_wrapper.c smart_str_appendl(&header, " HTTP/1.0\r\n", sizeof(" HTTP/1.0\r\n")-1); header 255 ext/standard/http_fopen_wrapper.c smart_str_appendl(&header, s, p - s); header 256 ext/standard/http_fopen_wrapper.c smart_str_appendl(&header, "\r\n", sizeof("\r\n")-1); header 279 ext/standard/http_fopen_wrapper.c smart_str_appendl(&header, s, p - s); header 280 ext/standard/http_fopen_wrapper.c smart_str_appendl(&header, "\r\n", sizeof("\r\n")-1); header 292 ext/standard/http_fopen_wrapper.c smart_str_appendl(&header, "\r\n", sizeof("\r\n")-1); header 294 ext/standard/http_fopen_wrapper.c if (php_stream_write(stream, header.c, header.len) != header.len) { header 299 ext/standard/http_fopen_wrapper.c smart_str_free(&header); header 997 ext/standard/info.c php_info_printf("<tr class=\"h\"><th colspan=\"%d\">%s</th></tr>\n", num_cols, header ); header 999 ext/standard/info.c spaces = (74 - strlen(header)); header 1000 ext/standard/info.c php_info_printf("%*s%s%*s\n", (int)(spaces/2), " ", header, (int)(spaces/2), " "); header 143 ext/zip/lib/zip_source_pkware.c zip_uint8_t header[HEADERLEN]; header 148 ext/zip/lib/zip_source_pkware.c if ((n=zip_source_read(src, header, HEADERLEN)) < 0) { header 159 ext/zip/lib/zip_source_pkware.c decrypt(ctx, header, header, HEADERLEN, 0); header 168 ext/zip/lib/zip_source_pkware.c if (header[HEADERLEN-1] != st.crc>>24 header 169 ext/zip/lib/zip_source_pkware.c && header[HEADERLEN-1] != dostime>>8) { header 123 main/SAPI.c efree(sapi_header->header); header 340 main/SAPI.c default_header->header = get_default_content_type(sizeof("Content-type: ")-1, &len TSRMLS_CC); header 342 main/SAPI.c memcpy(default_header->header, "Content-type: ", sizeof("Content-type: ") - 1); header 595 main/SAPI.c sapi_header_struct *header; header 600 main/SAPI.c header = (sapi_header_struct *)(current->data); header 602 main/SAPI.c if (header->header_len > len && header->header[len] == ':' header 603 main/SAPI.c && !strncasecmp(header->header, name, len)) { header 614 main/SAPI.c sapi_free_header(header); header 644 main/SAPI.c char *colon_offset = strchr(sapi_header->header, ':'); header 650 main/SAPI.c sapi_remove_header(&SG(sapi_headers).headers, sapi_header->header, strlen(sapi_header->header)); header 728 main/SAPI.c sapi_header.header = header_line; header 759 main/SAPI.c sapi_header.header = header_line; header 801 main/SAPI.c sapi_header.header = newheader; header 834 main/SAPI.c if (sapi_header.header==header_line) { header 865 main/SAPI.c default_header.header = emalloc(default_header.header_len + 1); header 866 main/SAPI.c memcpy(default_header.header, "Content-type: ", sizeof("Content-type: ") - 1); header 867 main/SAPI.c memcpy(default_header.header + sizeof("Content-type: ") - 1, SG(sapi_headers).mimetype, len + 1); header 894 main/SAPI.c http_status_line.header = SG(sapi_headers).http_status_line; header 897 main/SAPI.c http_status_line.header = buf; header 52 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 433 main/rfc1867.c } else if (zend_llist_count(header)) { /* If no ':' on the line, add to previous line */ header 445 main/rfc1867.c zend_llist_remove_tail(header); header 450 main/rfc1867.c zend_llist_add_element(header, &entry); header 465 main/rfc1867.c entry = zend_llist_get_first(&header); header 470 main/rfc1867.c entry = zend_llist_get_next(&header); header 686 main/rfc1867.c zend_llist header; header 767 main/rfc1867.c zend_llist_init(&header, sizeof(mime_header_entry), (llist_dtor_func_t) php_free_hdr_entry, 0); header 785 main/rfc1867.c zend_llist_clean(&header); header 787 main/rfc1867.c if (!multipart_buffer_headers(mbuff, &header TSRMLS_CC)) { header 791 main/rfc1867.c if ((cd = php_mime_get_hdr_value(header, "Content-Disposition"))) { header 1152 main/rfc1867.c if (cancel_upload || !(cd = php_mime_get_hdr_value(header, "Content-Type"))) { header 1267 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 105 sapi/apache2filter/sapi_apache2.c apr_table_unset(ctx->r->headers_out, sapi_header->header); header 114 sapi/apache2filter/sapi_apache2.c val = strchr(sapi_header->header, ':'); header 128 sapi/apache2filter/sapi_apache2.c if (!strcasecmp(sapi_header->header, "content-type")) header 130 sapi/apache2filter/sapi_apache2.c else if (!strcasecmp(sapi_header->header, "content-length")) header 133 sapi/apache2filter/sapi_apache2.c apr_table_set(ctx->r->headers_out, sapi_header->header, val); header 135 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 1668 sapi/cgi/cgi_main.c p = strchr(h->header, ':'); header 1669 sapi/cgi/cgi_main.c len = p - h->header; header 1671 sapi/cgi/cgi_main.c while (len > 0 && (h->header[len-1] == ' ' || h->header[len-1] == '\t')) { header 1676 sapi/cgi/cgi_main.c memcpy(s, h->header, len); header 1681 sapi/cgi/cgi_main.c add_assoc_stringl_ex(return_value, s, len+1, p, h->header_len - (p - h->header), 1); header 509 sapi/cli/php_cli_server.c p = strchr(h->header, ':'); header 510 sapi/cli/php_cli_server.c len = p - h->header; header 512 sapi/cli/php_cli_server.c while (len > 0 && (h->header[len-1] == ' ' || h->header[len-1] == '\t')) { header 517 sapi/cli/php_cli_server.c memcpy(s, h->header, len); header 522 sapi/cli/php_cli_server.c add_assoc_stringl_ex(return_value, s, len+1, p, h->header_len - (p - h->header), 1); header 667 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 303 sapi/fpm/fpm/fpm_log.c char *header; header 308 sapi/fpm/fpm/fpm_log.c if (!strstr(h->header, format)) { header 319 sapi/fpm/fpm/fpm_log.c if (h->header[format_len] != ':' || h->header[format_len + 1] != ' ') { header 324 sapi/fpm/fpm/fpm_log.c header = h->header + format_len + 2; header 325 sapi/fpm/fpm/fpm_log.c len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", header && *header ? header : "-"); header 433 sapi/fpm/fpm/fpm_main.c strncasecmp(h->header, "Status:", sizeof("Status:") - 1) == 0 header 469 sapi/fpm/fpm/fpm_main.c strncasecmp(h->header, "Status:", sizeof("Status:") - 1) == 0 header 473 sapi/fpm/fpm/fpm_main.c PHPWRITE_H(h->header, h->header_len); header 477 sapi/fpm/fpm/fpm_main.c strncasecmp(h->header, "Content-Type:", sizeof("Content-Type:") - 1) == 0 header 482 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 244 sapi/litespeed/lsapi_main.c LSAPI_AppendRespHeader(h->header, h->header_len); header 883 sapi/litespeed/lsapi_main.c p = strchr( h->header, ':' ); header 884 sapi/litespeed/lsapi_main.c len = p - h->header; header 886 sapi/litespeed/lsapi_main.c memmove( headerBuf, h->header, len ); header 1048 sapi/litespeed/lsapilib.c struct lsapi_packet_header header; header 1075 sapi/litespeed/lsapilib.c lsapi_buildPacketHeader( &header, LSAPI_STDERR_STREAM, header 1079 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);