/php-src/ext/phar/tests/ |
H A D | phar_oo_002.phpt | 21 foreach($phar as $name => $ent) 25 var_dump($ent->getSize()); 26 var_dump($ent->getType()); 27 var_dump($ent->isWritable()); 30 var_dump($ent->isFile()); 31 var_dump($ent->isDir()); 32 var_dump($ent->isLink()); 33 var_dump($ent->getCTime()); 34 var_dump($ent->getMTime()); 35 var_dump($ent->getATime()); [all …]
|
H A D | phar_oo_003.phpt | 14 foreach($phar as $name => $ent) 16 var_dump($ent->getFilename()); 17 if ($ent->isDir()) { 20 var_dump($ent->openFile()->fgets()); 21 include $ent->getPathName();
|
H A D | phar_oo_004.phpt | 14 foreach($it as $name => $ent) 17 var_dump($ent->getFilename()); 18 var_dump($ent->isDir()); 19 var_dump($ent->isDot()); 67 foreach($it as $name => $ent) 70 var_dump($ent->getFilename());
|
H A D | phar_oo_005.phpt | 16 foreach($it as $name => $ent) 19 var_dump(str_replace(array('\\', $fname), array('/', '*'), $ent->getPathname()));
|
/php-src/ext/dom/tests/modern/css_selectors/ |
H A D | entities.phpt | 10 <!ENTITY ent "box"> 13 …<input type="check&ent;" checked="" class="a&ent;a" id="a&ent;a" xmlns="http://www.w3.org/1999/xht…
|
/php-src/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_htmlent.c | 183 unsigned int ent = 0; in mbfl_filt_conv_html_dec() local 209 ent = -1; in mbfl_filt_conv_html_dec() 212 ent = ent * 16 + v; in mbfl_filt_conv_html_dec() 215 ent = -1; in mbfl_filt_conv_html_dec() 222 ent = -1; in mbfl_filt_conv_html_dec() 229 ent = -1; in mbfl_filt_conv_html_dec() 232 ent = ent*10 + v; in mbfl_filt_conv_html_dec() 235 ent = -1; in mbfl_filt_conv_html_dec() 238 if (ent < 0x110000) { in mbfl_filt_conv_html_dec() 253 ent = entity->code; in mbfl_filt_conv_html_dec() [all …]
|
/php-src/ext/standard/tests/strings/ |
H A D | html_entity_decode1.phpt | 32 foreach ($arr as $ent) { 34 if (($a = html_entity_decode($ent, ENT_QUOTES, 'UTF-8')) != 35 ($b = htmlspecialchars_decode($ent, ENT_QUOTES))) { 40 echo html_entity_decode($ent, ENT_QUOTES, 'UTF-8'), "\n";
|
H A D | html_entity_decode_win1252.phpt | 61 $ent = sprintf("&#x%X;", $u); 62 $res = html_entity_decode($ent, ENT_QUOTES, 'WINDOWS-1252'); 64 echo sprintf("%s: %s => %s\n", $v[1], $ent, $d[1]); 66 $ent = sprintf("&#x%X;", $v[0]); 67 $res = html_entity_decode($ent, ENT_QUOTES, 'WINDOWS-1252'); 70 echo sprintf("%s => %s\n\n", $ent, $res);
|
H A D | html_entity_decode_iso8859-5.phpt | 105 $ent = sprintf("&#x%X;", $u); 106 $res = html_entity_decode($ent, ENT_QUOTES, 'ISO-8859-5'); 108 echo sprintf("%s: %s => %s\n", $v[1], $ent, $d[1]); 110 $ent = sprintf("&#x%X;", $v[0]); 111 $res = html_entity_decode($ent, ENT_QUOTES, 'ISO-8859-5'); 114 echo sprintf("%s => %s\n\n", $ent, $res);
|
H A D | html_entity_decode_iso8859-15.phpt | 105 $ent = sprintf("&#x%X;", $u); 106 $res = html_entity_decode($ent, ENT_QUOTES, 'ISO-8859-15'); 108 echo sprintf("%s: %s => %s\n", $v[1], $ent, $d[1]); 110 $ent = sprintf("&#x%X;", $v[0]); 111 $res = html_entity_decode($ent, ENT_QUOTES, 'ISO-8859-15'); 114 echo sprintf("%s => %s\n\n", $ent, $res);
|
/php-src/ext/dom/tests/modern/token_list/ |
H A D | entities.phpt | 11 <!ENTITY ent "foo"> 13 <root class="x&ent;x"/> 41 <!ENTITY ent "foo">
|
/php-src/ext/xml/tests/ |
H A D | bug30875.phpt | 10 <!ENTITY ref "ent"> 33 string(3) "ent"
|
H A D | gh14834.phpt | 15 <!ENTITY foo "ent"> 31 string(3) "ent"
|
/php-src/ext/xmlwriter/tests/ |
H A D | 008.phpt | 11 xmlwriter_start_dtd_entity($xw, "ent", false); 31 <!ENTITY ent "val">
|
/php-src/ext/gd/libgd/ |
H A D | gd_gif_out.c | 511 register code_int ent; local 538 ent = GIFNextPixel( im, ctx ); 558 fcode = (long) (((long) c << maxbits) + ent); 559 i = (((code_int)c << hshift) ^ ent); /* xor hashing */ 562 ent = CodeTabOf (i); 574 ent = CodeTabOf (i); 580 output ( (code_int) ent, ctx ); 582 ent = c; 596 output( (code_int)ent, ctx );
|
/php-src/ext/spl/tests/ |
H A D | dit_003.phpt | 6 foreach(new FilesystemIterator(__DIR__) as $ent)
|
/php-src/ext/libxml/tests/ |
H A D | libxml_set_external_entity_loader_variation1.phpt | 17 "fooentity.ent"> 61 string(32) "http://example.com/fooentity.ent"
|
/php-src/main/streams/ |
H A D | glob_wrapper.c | 139 php_stream_dirent *ent = (php_stream_dirent*)buf; in php_glob_stream_read() local 152 PHP_STRLCPY(ent->d_name, path, sizeof(ent->d_name), strlen(path)); in php_glob_stream_read() 153 ent->d_type = DT_UNKNOWN; in php_glob_stream_read()
|
/php-src/ext/standard/ |
H A D | ftp_fopen_wrapper.c | 607 php_stream_dirent *ent = (php_stream_dirent *)buf; in php_ftp_dirstream_read() local 622 if (!php_stream_get_line(innerstream, ent->d_name, sizeof(ent->d_name), &tmp_len)) { in php_ftp_dirstream_read() 626 basename = php_basename(ent->d_name, tmp_len, NULL, 0); in php_ftp_dirstream_read() 628 tmp_len = MIN(sizeof(ent->d_name), ZSTR_LEN(basename) - 1); in php_ftp_dirstream_read() 629 memcpy(ent->d_name, ZSTR_VAL(basename), tmp_len); in php_ftp_dirstream_read() 630 ent->d_name[tmp_len - 1] = '\0'; in php_ftp_dirstream_read() 632 ent->d_type = DT_UNKNOWN; in php_ftp_dirstream_read() 636 (ent->d_name[tmp_len - 1] == '\n' || ent->d_name[tmp_len - 1] == '\r' || in php_ftp_dirstream_read() 637 ent->d_name[tmp_len - 1] == '\t' || ent->d_name[tmp_len - 1] == ' ')) { in php_ftp_dirstream_read() 638 ent->d_name[--tmp_len] = '\0'; in php_ftp_dirstream_read()
|
H A D | html.c | 854 stage3_table_be_apos_00000[code].data.ent.entity == NULL)) in traverse_for_entities() 1036 *entity = (const unsigned char *)c->data.ent.entity; in find_entity_for_char() 1037 *entity_len = c->data.ent.entity_len; in find_entity_for_char() 1089 *entity = (const unsigned char *) table[k].data.ent.entity; in find_entity_for_char_basic() 1090 *entity_len = table[k].data.ent.entity_len; in find_entity_for_char_basic() 1397 size_t l = r->data.ent.entity_len; in write_s3row_data() 1398 memcpy(&entity[1], r->data.ent.entity, l); in write_s3row_data() 1495 if (r->data.ent.entity == NULL) in PHP_FUNCTION() 1521 if (r->data.ent.entity == NULL) in PHP_FUNCTION() 1535 if (r->data.ent.entity == NULL) in PHP_FUNCTION()
|
/php-src/win32/ |
H A D | sendmail.c | 801 struct hostent *ent; in MailConnect() local 823 ent = gethostbyname(PW32G(mail_local_host)); in MailConnect() 825 if (!ent) { in MailConnect() 830 namelen = (int)strlen(ent->h_name); in MailConnect() 833 if (inet_pton(AF_INET, ent->h_name, &addr) == 1 || inet_pton(AF_INET6, ent->h_name, &addr6) == 1) in MailConnect() 835 if (inet_pton(AF_INET, ent->h_name, &addr) == 1) in MailConnect() 844 strcpy(PW32G(mail_local_host) + 1, ent->h_name); in MailConnect() 852 strcpy(PW32G(mail_local_host), ent->h_name); in MailConnect()
|
/php-src/ext/dom/tests/modern/html/interactions/ |
H A D | HTMLCollection_named_reads.phpt | 10 <!ENTITY ent "test"> 15 <x id="foo&ent;">2 with entity</x>
|
/php-src/ext/dom/tests/ |
H A D | DOMDocument_validate_external_dtd.phpt | 11 // reusing existing dtd: http://cvs.php.net/viewvc.cgi/php-src/ext/dom/tests/dom.ent?view=co&conten…
|
H A D | bug67081.phpt | 34 string(277) "<!ENTITY % incent SYSTEM "dom.ent">
|
/php-src/Zend/asm/ |
H A D | make_mips64_n64_elf_gas.S | 53 .ent make_fcontext
|