Home
last modified time | relevance | path

Searched refs:ent (Results 1 – 25 of 34) sorted by relevance

12

/PHP-7.4/ext/phar/tests/
H A Dphar_oo_002.phpt17 foreach($phar as $name => $ent)
21 var_dump($ent->getSize());
22 var_dump($ent->getType());
23 var_dump($ent->isWritable());
26 var_dump($ent->isFile());
27 var_dump($ent->isDir());
28 var_dump($ent->isLink());
29 var_dump($ent->getCTime());
30 var_dump($ent->getMTime());
31 var_dump($ent->getATime());
[all …]
H A Dphar_oo_003.phpt14 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 Dphar_oo_004.phpt16 foreach($it as $name => $ent)
19 var_dump($ent->getFilename());
20 var_dump($ent->isDir());
21 var_dump($ent->isDot());
69 foreach($it as $name => $ent)
72 var_dump($ent->getFilename());
H A Dphar_oo_005.phpt18 foreach($it as $name => $ent)
21 var_dump(str_replace(array('\\', $fname), array('/', '*'), $ent->getPathname()));
/PHP-7.4/ext/mbstring/libmbfl/filters/
H A Dmbfilter_htmlent.c177 int pos, ent = 0; in mbfl_filt_conv_html_dec() local
203 ent = -1; in mbfl_filt_conv_html_dec()
206 ent = ent * 16 + v; in mbfl_filt_conv_html_dec()
209 ent = -1; in mbfl_filt_conv_html_dec()
219 ent = -1; in mbfl_filt_conv_html_dec()
222 ent = ent*10 + v; in mbfl_filt_conv_html_dec()
225 ent = -1; in mbfl_filt_conv_html_dec()
228 if (ent >= 0 && ent < 0x110000) { in mbfl_filt_conv_html_dec()
229 CK((*filter->output_function)(ent, filter->data)); in mbfl_filt_conv_html_dec()
244 ent = entity->code; in mbfl_filt_conv_html_dec()
[all …]
/PHP-7.4/ext/standard/tests/strings/
H A Dhtml_entity_decode1.phpt32 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 Dhtml_entity_decode_win1252.phpt61 $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 Dhtml_entity_decode_iso8859-5.phpt105 $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 Dhtml_entity_decode_iso8859-15.phpt105 $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);
H A Dhtml_entity_decode_win1251.phpt141 $ent = sprintf("&#x%X;", $u);
142 $res = html_entity_decode($ent, ENT_QUOTES, 'WINDOWS-1251');
144 echo sprintf("%s: %s => %s\n", $v[1], $ent, $d[1]);
146 $ent = sprintf("&#x%X;", $v[0]);
147 $res = html_entity_decode($ent, ENT_QUOTES, 'WINDOWS-1251');
150 echo sprintf("%s => %s\n\n", $ent, $res);
H A Dhtml_entity_decode_macroman.phpt141 $ent = sprintf("&#x%X;", $u);
142 $res = html_entity_decode($ent, ENT_QUOTES, 'MacRoman');
144 echo sprintf("%s: %s => %s\n", $v[1], $ent, $d[1]);
146 $ent = sprintf("&#x%X;", $v[0]);
147 $res = html_entity_decode($ent, ENT_QUOTES, 'MacRoman');
150 echo sprintf("%s => %s\n\n", $ent, $res);
/PHP-7.4/ext/xml/tests/
H A Dbug30875.phpt12 <!ENTITY ref "ent">
36 string(3) "ent"
H A Dxml003.phpt78 ]}{?[<!ENTITY]}{?[ ]}{?[%]}{?[ ]}{?[incent]}{?[ ]}{?[SYSTEM]}{?[ ]}{?["inc.ent"]}{?[>]}{?[
H A Dxml001.phpt79 ]}{?[<!ENTITY]}{?[ ]}{?[%]}{?[ ]}{?[incent]}{?[ ]}{?[SYSTEM]}{?[ ]}{?["inc.ent"]}{?[>]}{?[
H A Dxml002.phpt80 ]}{?[<!ENTITY]}{?[ ]}{?[%]}{?[ ]}{?[incent]}{?[ ]}{?[SYSTEM]}{?[ ]}{?["inc.ent"]}{?[>]}{?[
/PHP-7.4/ext/xmlwriter/tests/
H A D008.phpt13 xmlwriter_start_dtd_entity($xw, "ent", false);
33 <!ENTITY ent "val">
/PHP-7.4/ext/gd/libgd/
H A Dgd_gif_out.c511 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-7.4/ext/spl/tests/
H A Ddit_003.phpt6 foreach(new FilesystemIterator(__DIR__) as $ent)
/PHP-7.4/ext/libxml/tests/
H A Dlibxml_set_external_entity_loader_variation1.phpt17 "fooentity.ent">
60 string(32) "http://example.com/fooentity.ent"
/PHP-7.4/ext/standard/
H A Dftp_fopen_wrapper.c618 php_stream_dirent *ent = (php_stream_dirent *)buf; in php_ftp_dirstream_read() local
633 if (!php_stream_get_line(innerstream, ent->d_name, sizeof(ent->d_name), &tmp_len)) { in php_ftp_dirstream_read()
637 basename = php_basename(ent->d_name, tmp_len, NULL, 0); in php_ftp_dirstream_read()
639 tmp_len = MIN(sizeof(ent->d_name), ZSTR_LEN(basename) - 1); in php_ftp_dirstream_read()
640 memcpy(ent->d_name, ZSTR_VAL(basename), tmp_len); in php_ftp_dirstream_read()
641 ent->d_name[tmp_len - 1] = '\0'; in php_ftp_dirstream_read()
646 (ent->d_name[tmp_len - 1] == '\n' || ent->d_name[tmp_len - 1] == '\r' || in php_ftp_dirstream_read()
647 ent->d_name[tmp_len - 1] == '\t' || ent->d_name[tmp_len - 1] == ' ')) { in php_ftp_dirstream_read()
648 ent->d_name[--tmp_len] = '\0'; in php_ftp_dirstream_read()
H A Dhtml.c933 stage3_table_be_apos_00000[code].data.ent.entity == NULL)) in traverse_for_entities()
1115 *entity = (const unsigned char *)c->data.ent.entity; in find_entity_for_char()
1116 *entity_len = c->data.ent.entity_len; in find_entity_for_char()
1168 *entity = (const unsigned char *) table[k].data.ent.entity; in find_entity_for_char_basic()
1169 *entity_len = table[k].data.ent.entity_len; in find_entity_for_char_basic()
1516 size_t l = r->data.ent.entity_len; in write_s3row_data()
1517 memcpy(&entity[1], r->data.ent.entity, l); in write_s3row_data()
1615 if (r->data.ent.entity == NULL) in PHP_FUNCTION()
1641 if (r->data.ent.entity == NULL) in PHP_FUNCTION()
1655 if (r->data.ent.entity == NULL) in PHP_FUNCTION()
/PHP-7.4/win32/
H A Dsendmail.c799 struct hostent *ent; in MailConnect() local
821 ent = gethostbyname(PW32G(mail_local_host)); in MailConnect()
823 if (!ent) { in MailConnect()
828 namelen = (int)strlen(ent->h_name); in MailConnect()
831 if (inet_pton(AF_INET, ent->h_name, &addr) == 1 || inet_pton(AF_INET6, ent->h_name, &addr6) == 1) in MailConnect()
833 if (inet_pton(AF_INET, ent->h_name, &addr) == 1) in MailConnect()
842 strcpy(PW32G(mail_local_host) + 1, ent->h_name); in MailConnect()
850 strcpy(PW32G(mail_local_host), ent->h_name); in MailConnect()
/PHP-7.4/main/streams/
H A Dglob_wrapper.c133 php_stream_dirent *ent = (php_stream_dirent*)buf; in php_glob_stream_read() local
140 PHP_STRLCPY(ent->d_name, path, sizeof(ent->d_name), strlen(path)); in php_glob_stream_read()
/PHP-7.4/ext/dom/tests/
H A DDOMDocument_validate_external_dtd.phpt13 // reusing existing dtd: http://cvs.php.net/viewvc.cgi/php-src/ext/dom/tests/dom.ent?view=co&conten…
H A Dbug67081.phpt37 string(277) "<!ENTITY % incent SYSTEM "dom.ent">

Completed in 76 milliseconds

12