/PHP-8.2/ext/standard/ |
H A D | mail.c | 340 if (!hdr || !strlen(hdr)) { in php_mail_detect_multiple_crlf() 346 if (*hdr < 33 || *hdr > 126 || *hdr == ':') { in php_mail_detect_multiple_crlf() 350 while(*hdr) { in php_mail_detect_multiple_crlf() 352 …if (*(hdr+1) == '\0' || *(hdr+1) == '\r' || (*(hdr+1) == '\n' && (*(hdr+2) == '\0' || *(hdr+2) == … in php_mail_detect_multiple_crlf() 356 hdr += 2; in php_mail_detect_multiple_crlf() 359 if (*(hdr+1) == '\0' || *(hdr+1) == '\r' || *(hdr+1) == '\n') { in php_mail_detect_multiple_crlf() 363 hdr += 2; in php_mail_detect_multiple_crlf() 366 hdr++; in php_mail_detect_multiple_crlf() 403 if (hdr) { in php_mail() 447 hdr = ahdr; in php_mail() [all …]
|
H A D | url.c | 685 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.2/ext/phar/ |
H A D | tar.c | 208 tar_header *hdr; in phar_parse_tarfile() local 231 hdr = (tar_header*)buf; in phar_parse_tarfile() 257 sum1 = phar_tar_number(hdr->checksum, sizeof(hdr->checksum)); in phar_parse_tarfile() 261 memset(hdr->checksum, ' ', sizeof(hdr->checksum)); in phar_parse_tarfile() 274 phar_tar_number(hdr->size, sizeof(hdr->size)); in phar_parse_tarfile() 324 if (((hdr->typeflag == '\0') || (hdr->typeflag == TAR_FILE)) && size > 0) { in phar_parse_tarfile() 349 sum1 = phar_tar_number(hdr->checksum, sizeof(hdr->checksum)); in phar_parse_tarfile() 474 uint32_t entry_mode = phar_tar_number(hdr->mode, sizeof(hdr->mode)); in phar_parse_tarfile() 475 entry.tar_type = ((old & (hdr->typeflag == '\0')) ? TAR_FILE : hdr->typeflag); in phar_parse_tarfile() 479 entry.timestamp = phar_tar_number(hdr->mtime, sizeof(hdr->mtime)); in phar_parse_tarfile() [all …]
|
/PHP-8.2/main/ |
H A D | fastcgi.c | 150 fcgi_header hdr; member 164 fcgi_header hdr; member 1001 hdr->type = type; 1043 fcgi_header hdr; local 1064 len = (hdr.contentLengthB1 << 8) | hdr.contentLengthB0; 1073 len = (hdr.contentLengthB1 << 8) | hdr.contentLengthB0; 1081 req->id = (hdr.requestIdB1 << 8) + hdr.requestIdB0; 1123 len = (hdr.contentLengthB1 << 8) | hdr.contentLengthB0; 1146 len = (hdr.contentLengthB1 << 8) | hdr.contentLengthB0; 1212 fcgi_header hdr; local [all …]
|
/PHP-8.2/win32/build/ |
H A D | mkdist.php | 194 …$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.2/ext/iconv/tests/ |
H A D | bug78069.phpt | 7 $hdr = iconv_mime_decode_headers(file_get_contents(__DIR__ . "/bug78069.data"),2); 8 var_dump(count($hdr));
|
/PHP-8.2/ext/gd/libgd/ |
H A D | gd_bmp.c | 440 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.2/ext/soap/tests/interop/Round4/GroupI/ |
H A D | r4_groupI_xsd_031w.phpt | 9 $hdr = new SoapHeader("http://soapinterop.org/","echoMeStringRequest", array(), 1); 11 $client->__soapCall("echoVoidSoapHeader",array(),null,$hdr);
|
H A D | r4_groupI_xsd_030w.phpt | 9 $hdr = new SoapHeader("http://soapinterop.org/","echoMeStringRequest", array("varString"=>"Hello Wo… 11 $client->__soapCall("echoVoidSoapHeader",array(),null,$hdr);
|
H A D | r4_groupI_xsd_033w.phpt | 10 $hdr = new SoapHeader("http://soapinterop.org/","echoMeComplexTypeRequest", array("varInt"=>34,"var… 12 $client->__soapCall("echoVoidSoapHeader",array(),null,$hdr);
|
H A D | r4_groupI_xsd_034w.phpt | 9 $hdr = new SoapHeader("http://soapinterop.org/","echoMeStringRequest", array("varString"=>"Hello Wo… 11 $client->__soapCall("echoVoidSoapHeader",array(),null,$hdr);
|
H A D | r4_groupI_xsd_032w.phpt | 10 $hdr = new SoapHeader("http://soapinterop.org/","echoMeComplexTypeRequest", array("varInt"=>34,"var… 12 $client->__soapCall("echoVoidSoapHeader",array(),null,$hdr);
|
H A D | r4_groupI_xsd_035w.phpt | 10 $hdr = new SoapHeader("http://soapinterop.org/","echoMeComplexTypeRequest", array("varInt"=>34,"var… 12 $client->__soapCall("echoVoidSoapHeader",array(),null,$hdr);
|
/PHP-8.2/ext/opcache/jit/ir/ |
H A D | ir_perf.c | 79 ir_perf_jitdump_record hdr; member 233 rec.hdr.event = IR_PERF_JITDUMP_RECORD_LOAD; in ir_perf_jitdump_register() 234 rec.hdr.size = sizeof(rec) + len + 1 + size; in ir_perf_jitdump_register() 235 rec.hdr.time_stamp = ir_perf_timestamp(); in ir_perf_jitdump_register()
|
H A D | ir_disasm.c | 749 ir_elf_header hdr; local 781 if (read(fd, &hdr, sizeof(hdr)) == sizeof(hdr) 782 && hdr.emagic[0] == '\177' 783 && hdr.emagic[1] == 'E' 784 && hdr.emagic[2] == 'L' 785 && hdr.emagic[3] == 'F' 786 && lseek(fd, hdr.shofs, SEEK_SET) >= 0) { 787 for (i = 0; i < hdr.shnum; i++) { 795 if (lseek(fd, hdr.shofs + sect.link * sizeof(sect), SEEK_SET) >= 0 811 if (lseek(fd, hdr.shofs + (i + 1) * sizeof(sect), SEEK_SET) < 0) {
|
H A D | ir_gdb.c | 120 ir_elf_header hdr; member 465 memcpy(&obj->hdr, &ir_elfhdr_template, sizeof(ir_elf_header)); in ir_gdbjit_buildobj()
|
/PHP-8.2/ext/soap/tests/interop/Round3/GroupF/ |
H A D | r3_groupF_headers_002w.phpt | 9 $hdr = new SoapHeader("http://soapinterop.org/xsd","Header1", array("int"=>34,"string"=>"arg")); 11 $client->__soapCall("echoString",array("Hello World"),null,$hdr);
|
H A D | r3_groupF_headers_003w.phpt | 9 $hdr = new SoapHeader("http://soapinterop.org/xsd","Header2", array("int"=>34,"string"=>"arg")); 11 $client->__soapCall("echoString",array("Hello World"),null,$hdr);
|
H A D | r3_groupF_headers_004w.phpt | 9 $hdr = array( 14 $client->__soapCall("echoString",array("Hello World"),null,$hdr);
|
/PHP-8.2/ext/soap/tests/interop/Round4/GroupH/ |
H A D | r4_groupH_soapfault_004w.phpt | 9 $hdr = new SoapHeader("http://soapinterop.org/wsdl", "UnknownHeaderRequest", "Hello World", 1); 11 $client->__soapCall("echoVersionMismatchFault",array(), null, $hdr);
|
/PHP-8.2/ext/soap/ |
H A D | php_packet_soap.c | 399 sdlSoapBindingFunctionHeaderPtr hdr; in parse_packet_soap() local 407 if ((hdr = zend_hash_find_ptr(hdrs, key.s)) != NULL) { in parse_packet_soap() 408 enc = hdr->encode; in parse_packet_soap()
|
H A D | soap.c | 3155 h->hdr = hdr; 3160 if (h->hdr) { 3378 char *hdr_ns = headers->hdr?headers->hdr->ns:NULL; 3400 if (headers->hdr && headers->hdr->headerfaults && 3401 (hdr = zend_hash_find_ptr(headers->hdr->headerfaults, key.s)) != NULL) { 3402 hdr_enc = hdr->encode; 3403 hdr_use = hdr->use; 3604 char *hdr_ns = h->hdr?h->hdr->ns:NULL; 3633 hdr_use = hdr->use; 3863 hdr_use = hdr->use; [all …]
|
H A D | php_sdl.c | 3621 if (hdr->name) { in delete_header_int() 3622 efree(hdr->name); in delete_header_int() 3624 if (hdr->ns) { in delete_header_int() 3625 efree(hdr->ns); in delete_header_int() 3627 if (hdr->headerfaults) { in delete_header_int() 3631 efree(hdr); in delete_header_int() 3642 if (hdr->name) { in delete_header_persistent() 3643 free(hdr->name); in delete_header_persistent() 3645 if (hdr->ns) { in delete_header_persistent() 3646 free(hdr->ns); in delete_header_persistent() [all …]
|
/PHP-8.2/ext/fileinfo/libmagic/ |
H A D | apprentice.c | 3347 } hdr; in apprentice_compile() local 3361 memset(&hdr, 0, sizeof(hdr)); in apprentice_compile() 3362 hdr.h[0] = MAGICNO; in apprentice_compile() 3363 hdr.h[1] = VERSIONNO; in apprentice_compile() 3364 memcpy(hdr.h + 2, map->nmagic, nm); in apprentice_compile() 3366 if (php_stream_write(stream,(const char *)&hdr, sizeof(hdr)) != (ssize_t)sizeof(hdr)) { in apprentice_compile()
|
/PHP-8.2/ext/fileinfo/ |
H A D | libmagic.patch | 788 hdr.h[1] = VERSIONNO; 789 memcpy(hdr.h + 2, map->nmagic, nm); 791 - if (write(fd, &hdr, sizeof(hdr)) != CAST(ssize_t, sizeof(hdr))) { 792 + if (php_stream_write(stream,(const char *)&hdr, sizeof(hdr)) != (ssize_t)sizeof(hdr)) {
|