Home
last modified time | relevance | path

Searched refs:hdr (Results 1 – 25 of 35) sorted by relevance

12

/PHP-8.3/ext/opcache/jit/
H A Dzend_elf.c51 zend_elf_header hdr; in zend_elf_load_symbols() local
83 if (read(fd, &hdr, sizeof(hdr)) == sizeof(hdr) in zend_elf_load_symbols()
84 && hdr.emagic[0] == '\177' in zend_elf_load_symbols()
85 && hdr.emagic[1] == 'E' in zend_elf_load_symbols()
86 && hdr.emagic[2] == 'L' in zend_elf_load_symbols()
87 && hdr.emagic[3] == 'F' in zend_elf_load_symbols()
88 && lseek(fd, hdr.shofs, SEEK_SET) >= 0) { in zend_elf_load_symbols()
89 for (i = 0; i < hdr.shnum; i++) { in zend_elf_load_symbols()
97 if (lseek(fd, hdr.shofs + sect.link * sizeof(sect), SEEK_SET) >= 0 in zend_elf_load_symbols()
113 if (lseek(fd, hdr.shofs + (i + 1) * sizeof(sect), SEEK_SET) < 0) { in zend_elf_load_symbols()
H A Dzend_jit_perf_dump.c97 zend_perf_jitdump_record hdr; member
246 rec.hdr.event = ZEND_PERF_JITDUMP_RECORD_LOAD; in zend_jit_perf_jitdump_register()
247 rec.hdr.size = sizeof(rec) + len + 1 + size; in zend_jit_perf_jitdump_register()
248 rec.hdr.time_stamp = zend_perf_timestamp(); in zend_jit_perf_jitdump_register()
/PHP-8.3/ext/standard/
H A Dmail.c377 if (!hdr || !strlen(hdr)) { in php_mail_detect_multiple_crlf()
383 if (*hdr < 33 || *hdr > 126 || *hdr == ':') { in php_mail_detect_multiple_crlf()
387 while(*hdr) { in php_mail_detect_multiple_crlf()
389 …if (*(hdr+1) == '\0' || *(hdr+1) == '\r' || (*(hdr+1) == '\n' && (*(hdr+2) == '\0' || *(hdr+2) == … in php_mail_detect_multiple_crlf()
393 hdr += 2; in php_mail_detect_multiple_crlf()
396 if (*(hdr+1) == '\0' || *(hdr+1) == '\r' || *(hdr+1) == '\n') { in php_mail_detect_multiple_crlf()
400 hdr += 2; in php_mail_detect_multiple_crlf()
403 hdr++; in php_mail_detect_multiple_crlf()
440 if (hdr) { in php_mail()
484 hdr = ahdr; in php_mail()
[all …]
H A Durl.c685 zval *prev_val, *hdr = NULL; in PHP_FUNCTION() local
710 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(&stream->wrapperdata), hdr) { in PHP_FUNCTION()
711 if (Z_TYPE_P(hdr) != IS_STRING) { in PHP_FUNCTION()
716 add_next_index_str(return_value, zend_string_copy(Z_STR_P(hdr))); in PHP_FUNCTION()
721 if ((p = strchr(Z_STRVAL_P(hdr), ':'))) { in PHP_FUNCTION()
729 …v_val = zend_hash_str_find(Z_ARRVAL_P(return_value), Z_STRVAL_P(hdr), (p - Z_STRVAL_P(hdr)))) == N… in PHP_FUNCTION()
730 …ssoc_stringl_ex(return_value, Z_STRVAL_P(hdr), (p - Z_STRVAL_P(hdr)), s, (Z_STRLEN_P(hdr) - (s - Z… in PHP_FUNCTION()
733 add_next_index_stringl(prev_val, s, (Z_STRLEN_P(hdr) - (s - Z_STRVAL_P(hdr)))); in PHP_FUNCTION()
/PHP-8.3/ext/phar/
H A Dtar.c208 tar_header *hdr; in phar_parse_tarfile() local
231 hdr = (tar_header*)buf; in phar_parse_tarfile()
256 sum1 = phar_tar_number(hdr->checksum, sizeof(hdr->checksum)); in phar_parse_tarfile()
260 memset(hdr->checksum, ' ', sizeof(hdr->checksum)); in phar_parse_tarfile()
273 phar_tar_number(hdr->size, sizeof(hdr->size)); in phar_parse_tarfile()
323 if (((hdr->typeflag == '\0') || (hdr->typeflag == TAR_FILE)) && size > 0) { in phar_parse_tarfile()
348 sum1 = phar_tar_number(hdr->checksum, sizeof(hdr->checksum)); in phar_parse_tarfile()
473 uint32_t entry_mode = phar_tar_number(hdr->mode, sizeof(hdr->mode)); in phar_parse_tarfile()
474 entry.tar_type = ((old & (hdr->typeflag == '\0')) ? TAR_FILE : hdr->typeflag); in phar_parse_tarfile()
478 entry.timestamp = phar_tar_number(hdr->mtime, sizeof(hdr->mtime)); in phar_parse_tarfile()
[all …]
/PHP-8.3/main/
H A Dfastcgi.c152 fcgi_header hdr; member
166 fcgi_header hdr; member
1003 hdr->type = type;
1045 fcgi_header hdr; local
1066 len = (hdr.contentLengthB1 << 8) | hdr.contentLengthB0;
1075 len = (hdr.contentLengthB1 << 8) | hdr.contentLengthB0;
1083 req->id = (hdr.requestIdB1 << 8) + hdr.requestIdB0;
1125 len = (hdr.contentLengthB1 << 8) | hdr.contentLengthB0;
1148 len = (hdr.contentLengthB1 << 8) | hdr.contentLengthB0;
1216 fcgi_header hdr; local
[all …]
/PHP-8.3/ext/iconv/tests/
H A Dbug78069.phpt7 $hdr = iconv_mime_decode_headers(file_get_contents(__DIR__ . "/bug78069.data"),2);
8 var_dump(count($hdr));
/PHP-8.3/win32/build/
H A Dmkdist.php194 …$hdr = unpack("a100filename/a8mode/a8uid/a8gid/a12size/a12mtime/a8checksum/a1typeflag/a100link/a6m…
196 $hdr['checksum'] = octdec(trim($hdr['checksum']));
198 if ($hdr['checksum'] != $checksum) {
199 echo "Checksum for $tarball $hdr[filename] is invalid\n";
200 print_r($hdr);
204 $hdr['size'] = octdec(trim($hdr['size']));
205 echo "File: $hdr[filename] $hdr[size]\n";
207 if ($filename == $hdr['filename']) {
210 $x = stream_copy_to_stream($fp, $dest, $hdr['size']);
217 $size = 512 * ceil((int)$hdr['size'] / 512);
/PHP-8.3/ext/gd/libgd/
H A Dgd_bmp.c440 bmp_hdr_t *hdr; in gdImageCreateFromBmpCtx() local
449 if (bmp_read_header(infile, hdr)) { in gdImageCreateFromBmpCtx()
450 gdFree(hdr); in gdImageCreateFromBmpCtx()
454 if (hdr->magic != 0x4d42) { in gdImageCreateFromBmpCtx()
455 gdFree(hdr); in gdImageCreateFromBmpCtx()
460 gdFree(hdr); in gdImageCreateFromBmpCtx()
465 gdFree(hdr); in gdImageCreateFromBmpCtx()
484 gdFree(hdr); in gdImageCreateFromBmpCtx()
513 gdFree(hdr); in gdImageCreateFromBmpCtx()
528 !gdGetIntLSB(&hdr->size, infile) || in bmp_read_header()
[all …]
/PHP-8.3/ext/standard/tests/mail/
H A Dmail_basic_alt1-win32.phpt62 // get hdr details
63 $hdr = imap_headerinfo($imap_stream, $i);
65 if (substr($hdr->Subject, 0 , strlen($subject_prefix)) == $subject_prefix) {
H A Dmail_basic_alt2-win32.phpt59 // get hdr details
60 $hdr = imap_headerinfo($imap_stream, $i);
62 if (substr($hdr->Subject, 0 , strlen($subject_prefix)) == $subject_prefix) {
H A Dmail_basic_alt3-win32.phpt59 // get hdr details
60 $hdr = imap_headerinfo($imap_stream, $i);
62 if (substr($hdr->Subject, 0 , strlen($subject_prefix)) == $subject_prefix) {
H A Dmail_basic_alt4-win32.phpt60 // get hdr details
61 $hdr = imap_headerinfo($imap_stream, $i);
63 if (substr($hdr->Subject, 0 , strlen($subject_prefix)) == $subject_prefix) {
H A Dmail_variation_alt3-win32.phpt60 // get hdr details
61 $hdr = imap_headerinfo($imap_stream, $i);
63 if (substr($hdr->Subject, 0 , strlen($subject_prefix)) == $subject_prefix) {
H A Dmail_variation_alt1-win32.phpt61 // get hdr details
62 $hdr = imap_headerinfo($imap_stream, $i);
64 if (substr($hdr->Subject, 0 , strlen($subject_prefix)) == $subject_prefix) {
H A Dmail_variation_alt2-win32.phpt61 // get hdr details
62 $hdr = imap_headerinfo($imap_stream, $i);
64 if (substr($hdr->Subject, 0 , strlen($subject_prefix)) == $subject_prefix) {
/PHP-8.3/ext/soap/tests/interop/Round4/GroupI/
H A Dr4_groupI_xsd_031w.phpt9 $hdr = new SoapHeader("http://soapinterop.org/","echoMeStringRequest", array(), 1);
11 $client->__soapCall("echoVoidSoapHeader",array(),null,$hdr);
H A Dr4_groupI_xsd_030w.phpt9 $hdr = new SoapHeader("http://soapinterop.org/","echoMeStringRequest", array("varString"=>"Hello Wo…
11 $client->__soapCall("echoVoidSoapHeader",array(),null,$hdr);
H A Dr4_groupI_xsd_033w.phpt10 $hdr = new SoapHeader("http://soapinterop.org/","echoMeComplexTypeRequest", array("varInt"=>34,"var…
12 $client->__soapCall("echoVoidSoapHeader",array(),null,$hdr);
H A Dr4_groupI_xsd_034w.phpt9 $hdr = new SoapHeader("http://soapinterop.org/","echoMeStringRequest", array("varString"=>"Hello Wo…
11 $client->__soapCall("echoVoidSoapHeader",array(),null,$hdr);
H A Dr4_groupI_xsd_032w.phpt10 $hdr = new SoapHeader("http://soapinterop.org/","echoMeComplexTypeRequest", array("varInt"=>34,"var…
12 $client->__soapCall("echoVoidSoapHeader",array(),null,$hdr);
/PHP-8.3/ext/soap/tests/interop/Round3/GroupF/
H A Dr3_groupF_headers_002w.phpt9 $hdr = new SoapHeader("http://soapinterop.org/xsd","Header1", array("int"=>34,"string"=>"arg"));
11 $client->__soapCall("echoString",array("Hello World"),null,$hdr);
H A Dr3_groupF_headers_003w.phpt9 $hdr = new SoapHeader("http://soapinterop.org/xsd","Header2", array("int"=>34,"string"=>"arg"));
11 $client->__soapCall("echoString",array("Hello World"),null,$hdr);
H A Dr3_groupF_headers_004w.phpt9 $hdr = array(
14 $client->__soapCall("echoString",array("Hello World"),null,$hdr);
/PHP-8.3/ext/soap/tests/interop/Round4/GroupH/
H A Dr4_groupH_soapfault_004w.phpt9 $hdr = new SoapHeader("http://soapinterop.org/wsdl", "UnknownHeaderRequest", "Hello World", 1);
11 $client->__soapCall("echoVersionMismatchFault",array(), null, $hdr);

Completed in 42 milliseconds

12