Home
last modified time | relevance | path

Searched refs:header (Results 1 – 25 of 247) sorted by relevance

12345678910

/PHP-7.3/ext/fileinfo/libmagic/
H A Dis_tar.c102 if (nbytes < sizeof(*header)) in is_tar()
105 recsum = from_oct(header->header.chksum, sizeof(header->header.chksum)); in is_tar()
108 p = header->charptr; in is_tar()
109 ep = header->charptr + sizeof(*header); in is_tar()
114 for (i = 0; i < sizeof(header->header.chksum); i++) in is_tar()
115 sum -= header->header.chksum[i]; in is_tar()
116 sum += ' ' * sizeof(header->header.chksum); in is_tar()
121 if (strncmp(header->header.magic, GNUTMAGIC, in is_tar()
122 sizeof(header->header.magic)) == 0) in is_tar()
125 if (strncmp(header->header.magic, TMAGIC, in is_tar()
[all …]
/PHP-7.3/ext/pcre/pcre2lib/sljit/
H A DsljitProtExecAllocator.c205 int fd = header->fd; in free_chunk()
207 munmap(header, size); in free_chunk()
224 struct block_header header; member
290 header->executable_offset = free_block->header.executable_offset; in sljit_malloc_exec()
299 header->size = size; in sljit_malloc_exec()
322 header->prev_size = 0; in sljit_malloc_exec()
327 header->size = size; in sljit_malloc_exec()
346 return MEM_START(header); in sljit_malloc_exec()
356 header = AS_BLOCK_HEADER(header, -header->executable_offset); in sljit_free_exec()
363 free_block = AS_FREE_BLOCK(header, -(sljit_sw)header->prev_size); in sljit_free_exec()
[all …]
H A DsljitExecAllocator.c193 struct block_header header; member
212 free_block->header.size = 0; in sljit_insert_free_block()
265 header->size = size; in sljit_malloc_exec()
267 return MEM_START(header); in sljit_malloc_exec()
274 if (!header) { in sljit_malloc_exec()
282 header->prev_size = 0; in sljit_malloc_exec()
286 header->size = size; in sljit_malloc_exec()
297 header->size = chunk_size; in sljit_malloc_exec()
303 return MEM_START(header); in sljit_malloc_exec()
319 free_block = AS_FREE_BLOCK(header, -(sljit_sw)header->prev_size); in sljit_free_exec()
[all …]
/PHP-7.3/ext/wddx/tests/
H A Dbug37569.phpt21 <wddxPacket version='1.0'><header/><data><string>A</string></data></wddxPacket>
25 <wddxPacket version='1.0'><header/><data><string>B</string></data></wddxPacket>
29 <wddxPacket version='1.0'><header/><data><string>C</string></data></wddxPacket>
33 <wddxPacket version='1.0'><header/><data><string>D</string></data></wddxPacket>
37 <wddxPacket version='1.0'><header/><data><string>E</string></data></wddxPacket>
41 <wddxPacket version='1.0'><header/><data><string>F</string></data></wddxPacket>
45 <wddxPacket version='1.0'><header/><data><string>G</string></data></wddxPacket>
49 <wddxPacket version='1.0'><header/><data><string>H</string></data></wddxPacket>
53 <wddxPacket version='1.0'><header/><data><string>I</string></data></wddxPacket>
57 <wddxPacket version='1.0'><header/><data><string>J</string></data></wddxPacket>
[all …]
H A Dbug72142.phpt8 $wddx = wddx_serialize_value('', '</comment></header><data><struct><var name="php_class_name"><stri…
14header><comment>&lt;/comment&gt;&lt;/header&gt;&lt;data&gt;&lt;struct&gt;&lt;var name=&quot;php_cl…
H A Dbug72564.phpt14 string(84) "<wddxPacket version='1.0'><header/><data><boolean value='true'/></data></wddxPacket>"
16 string(85) "<wddxPacket version='1.0'><header/><data><boolean value='false'/></data></wddxPacket>"
18 string(68) "<wddxPacket version='1.0'><header/><data><null/></data></wddxPacket>"
/PHP-7.3/ext/standard/tests/general_functions/
H A Dbug60227_1.phpt2 Bug #60227 (header() cannot detect the multi-line header with CR)
5 header("X-Foo1: a");
6 header("X-Foo2: b\n ");
7 header("X-Foo3: c\r\n ");
8 header("X-Foo4: d\r ");
9 header("X-Foo5: e\rSet-Cookie: ID=123");
13 Warning: Header may not contain more than a single header, new line detected in %s on line %d
H A Dhead.phpt2 header() and friends
14 var_dump(header("HTTP 1.0", true, 200));
19 var_dump(header(""));
20 var_dump(header("", true));
23 var_dump(header("HTTP blah"));
24 var_dump(header("HTTP blah", true));
36 Warning: Cannot modify header information - headers already sent by (output started at %s:%d) in %s…
39 Warning: Cannot modify header information - headers already sent by (output started at %s:%d) in %s…
45 Warning: Cannot modify header information - headers already sent by (output started at %s:%d) in %s…
48 Warning: Cannot modify header information - headers already sent by (output started at %s:%d) in %s…
H A Dbug60227_4.phpt2 Bug #60227 (header() cannot detect the multi-line header with CR), CRLF
8 header("X-foo: e\r\nfoo");
12 Warning: Header may not contain more than a single header, new line detected in %s on line %d
H A Dbug60227_2.phpt2 Bug #60227 (header() cannot detect the multi-line header with CR), \r before \n
8 header("X-foo: e\n foo");
12 Warning: Header may not contain more than a single header, new line detected in %s on line %d
H A Dbug60227_3.phpt2 Bug #60227 (header() cannot detect the multi-line header with CR), \0 before \n
8 header("X-Foo6: e\0Set-Cookie: ID=\n123\n d");
/PHP-7.3/ext/mysqlnd/
H A Dmysqlnd_wireprotocol.h63 MYSQLND_PACKET_HEADER header; member
85 MYSQLND_PACKET_HEADER header; member
104 MYSQLND_PACKET_HEADER header; member
126 MYSQLND_PACKET_HEADER header; member
134 MYSQLND_PACKET_HEADER header; member
173 MYSQLND_PACKET_HEADER header; member
198 MYSQLND_PACKET_HEADER header; member
210 MYSQLND_PACKET_HEADER header; member
235 MYSQLND_PACKET_HEADER header; member
242 MYSQLND_PACKET_HEADER header; member
[all …]
H A Dmysqlnd_wireprotocol.c254 header->size = uint3korr(buffer); in mysqlnd_read_header()
257 DBG_INF_FMT("HEADER: prot_packet_no=%u size=%3u", header->packet_no, header->size); in mysqlnd_read_header()
273 pfc->data->packet_no, header->packet_no, header->size); in mysqlnd_read_header()
276 pfc->data->packet_no, header->packet_no, header->size); in mysqlnd_read_header()
353 buf[packet->header.size] = '\0'; in php_mysqlnd_greet_read()
667 buf[packet->header.size] = '\0'; in php_mysqlnd_auth_response_read()
932 if (packet->header.size > 1) { in php_mysqlnd_eof_read()
1361 MYSQLND_PACKET_HEADER header; in php_mysqlnd_read_row_ex() local
1385 *data_size += header.size; in php_mysqlnd_read_row_ex()
1399 *data_size += header.size; in php_mysqlnd_read_row_ex()
[all …]
/PHP-7.3/sapi/cgi/tests/
H A D011.phpt29 header("X-Foo: Bar");
32 header("X-Foo: Bar");
33 header("X-Bar: Baz");
37 header("X-Foo: Bar");
41 header("X-Foo: Bar");
45 header("X-Foo: Bar");
55 header("X-Foo: Bar");
83 header("X-Foo: Bar");
92 header("X-Foo: Bar");
93 header("X-Bar: Baz");
[all …]
H A Dapache_response_headers.phpt18 header( "X-Robots-Tag : noindex,nofollow,noarchive" );
19 header( "Content-type: text/html; charset=UTF-8" );
20 header( "Bad-header" );
21 header( " : " );
22 header( ":" );
H A D010.phpt2 Bug #45860 (header() function fails to correctly replace all Status lines)
18 header("HTTP/1.1 403 Forbidden");
19 header("Status: 403 Also Forbidden");
25 header("HTTP/1.1 403 Forbidden");
31 header("Status: 403 Also Forbidden");
/PHP-7.3/ext/mbstring/libmbfl/
H A Dconfig.h.in3 /* Define to 1 if you have the <assert.h> header file. */
6 /* Define to 1 if you have the <dlfcn.h> header file. */
9 /* Define to 1 if you have the <inttypes.h> header file. */
16 /* Define to 1 if you have the <memory.h> header file. */
23 /* Define to 1 if you have the <stddef.h> header file. */
26 /* Define to 1 if you have the <stdint.h> header file. */
29 /* Define to 1 if you have the <stdlib.h> header file. */
38 /* Define to 1 if you have the <strings.h> header file. */
41 /* Define to 1 if you have the <string.h> header file. */
50 /* Define to 1 if you have the <unistd.h> header file. */
[all …]
/PHP-7.3/ext/standard/tests/mail/
H A Dmail_basic7.phpt2 Test mail() function : array extra header basic functionality
151 Warning: mail(): 'orig-date' header must be at most one header. Array is passed for 'orig-date' in …
153 Warning: mail(): 'from' header must be at most one header. Array is passed for 'from' in %s on line…
155 Warning: mail(): 'sender' header must be at most one header. Array is passed for 'sender' in %s on …
157 Warning: mail(): 'reply-to' header must be at most one header. Array is passed for 'reply-to' in %s…
159 Warning: mail(): Extra header cannot contain 'To' header in %s on line 59
161 Warning: mail(): 'bcc' header must be at most one header. Array is passed for 'bcc' in %s on line 59
163 Warning: mail(): 'message-id' header must be at most one header. Array is passed for 'message-id' i…
165 Warning: mail(): 'in-reply-to' header must be at most one header. Array is passed for 'in-reply-to'…
178 Warning: mail(): Multiple header values must be string (foo2) in %s on line 84
[all …]
/PHP-7.3/ext/standard/tests/http/
H A Dbug48929.phpt2 Bug #48929 (duplicate \r\n sent after last header line)
33 echo "-- Test: requests with 'header' as array --\n";
35 do_test(array('header' => array('X-Foo: bar', 'Content-Type: text/plain'), 'method' => 'POST', 'con…
37 echo "-- Test: requests with 'header' as string --\n";
39 do_test(array('header' => "X-Foo: bar\r\nContent-Type: text/plain", 'method' => 'POST', 'content' =…
43 -- Test: requests with 'header' as array --
52 -- Test: requests with 'header' as string --
/PHP-7.3/ext/gd/tests/
H A Dbug73155.phpt16 $header = unpack('@10/nchunk_size/nformat/nx_count/ny_count', $buffer);
17 printf("chunk size: %d\n", $header['chunk_size']);
18 printf("x chunk count: %d\n", $header['x_count']);
19 printf("y chunk count: %d\n", $header['y_count']);
/PHP-7.3/main/
H A Dalloca.c144 } header; typedef
146 static header *last_alloca_header = NULL; /* -> last alloca header. */
171 register header *hp; /* Traverses linked list. */
181 register header *np = hp->h.next;
203 register pointer new = malloc (sizeof (header) + size);
209 ((header *) new)->h.next = last_alloca_header;
210 ((header *) new)->h.deep = depth;
212 last_alloca_header = (header *) new;
216 return (pointer) ((char *) new + sizeof (header));
/PHP-7.3/ext/standard/tests/streams/
H A Dbug71245.phpt2 Bug #71245 (file_get_contents() ignores "header" context option if it's a reference)
10 'header' => &$headers,
28 [header] => Array
/PHP-7.3/ext/zlib/tests/
H A Dbug65391.phpt2 Bug #65391 (Unable to send vary header user-agent when ob_start('ob_gzhandler') is called)
13 header("Vary: Cookie");
16 // run-tests cannot test for a multiple Vary header
/PHP-7.3/ext/imap/tests/
H A Dbug53377.phpt2 Bug #53377 (imap_mime_header_decode() doesn't ignore \t during long MIME header unfolding)
12 $header = "$s\n $s\n\t$s";
14 var_dump(imap_mime_header_decode($header));
/PHP-7.3/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));

Completed in 63 milliseconds

12345678910