Home
last modified time | relevance | path

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

12

/PHP-7.3/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.3/ext/wddx/
H A Dwddx.c294 zval *ent; in PS_SERIALIZER_DECODE_FUNC() local
545 zval *ent; in php_wddx_serialize_array() local
575 if (ent == arr) { in php_wddx_serialize_array()
721 st_entry ent; in php_wddx_push_element() local
841 st_entry ent; in php_wddx_push_element() local
1009 st_entry *ent; in php_wddx_pop_element() local
1011 efree(ent); in php_wddx_pop_element()
1021 st_entry *ent; in php_wddx_process_data() local
1033 Z_STR(ent->data) = zend_string_extend(Z_STR(ent->data), Z_STRLEN(ent->data) + len, 0); in php_wddx_process_data()
1035 Z_STRVAL(ent->data)[Z_STRLEN(ent->data)] = '\0'; in php_wddx_process_data() local
[all …]
/PHP-7.3/ext/mbstring/libmbfl/filters/
H A Dmbfilter_htmlent.c184 int pos, ent = 0; in mbfl_filt_conv_html_dec() local
210 ent = -1; in mbfl_filt_conv_html_dec()
213 ent = ent * 16 + v; in mbfl_filt_conv_html_dec()
216 ent = -1; in mbfl_filt_conv_html_dec()
226 ent = -1; in mbfl_filt_conv_html_dec()
229 ent = ent*10 + v; in mbfl_filt_conv_html_dec()
232 ent = -1; in mbfl_filt_conv_html_dec()
235 if (ent >= 0 && ent < 0x110000) { in mbfl_filt_conv_html_dec()
236 CK((*filter->output_function)(ent, filter->data)); in mbfl_filt_conv_html_dec()
251 ent = entity->code; in mbfl_filt_conv_html_dec()
[all …]
/PHP-7.3/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_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);
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);
/PHP-7.3/ext/xml/tests/
H A Dbug30875.phpt12 <!ENTITY ref "ent">
36 string(3) "ent"
H A Dxml001.phpt79 ]}{?[<!ENTITY]}{?[ ]}{?[%]}{?[ ]}{?[incent]}{?[ ]}{?[SYSTEM]}{?[ ]}{?["inc.ent"]}{?[>]}{?[
H A Dxml003.phpt78 ]}{?[<!ENTITY]}{?[ ]}{?[%]}{?[ ]}{?[incent]}{?[ ]}{?[SYSTEM]}{?[ ]}{?["inc.ent"]}{?[>]}{?[
/PHP-7.3/ext/gd/libgd/
H A Dgd_gif_out.c497 register code_int ent; local
524 ent = GIFNextPixel( im, ctx );
544 fcode = (long) (((long) c << maxbits) + ent);
545 i = (((code_int)c << hshift) ^ ent); /* xor hashing */
548 ent = CodeTabOf (i);
560 ent = CodeTabOf (i);
566 output ( (code_int) ent, ctx );
568 ent = c;
582 output( (code_int)ent, ctx );
/PHP-7.3/ext/xmlwriter/tests/
H A D008.phpt13 xmlwriter_start_dtd_entity($xw, "ent", false);
33 <!ENTITY ent "val">
/PHP-7.3/ext/spl/tests/
H A Ddit_003.phpt6 foreach(new FilesystemIterator(__DIR__) as $ent)
/PHP-7.3/ext/libxml/tests/
H A Dlibxml_set_external_entity_loader_variation1.phpt17 "fooentity.ent">
60 string(32) "http://example.com/fooentity.ent"
/PHP-7.3/win32/
H A Dsendmail.c744 struct hostent *ent; in MailConnect() local
766 ent = gethostbyname(PW32G(mail_local_host)); in MailConnect()
768 if (!ent) { in MailConnect()
773 namelen = (int)strlen(ent->h_name); in MailConnect()
776 if (inet_pton(AF_INET, ent->h_name, &addr) == 1 || inet_pton(AF_INET6, ent->h_name, &addr6) == 1) in MailConnect()
778 if (inet_pton(AF_INET, ent->h_name, &addr) == 1) in MailConnect()
787 strcpy(PW32G(mail_local_host) + 1, ent->h_name); in MailConnect()
795 strcpy(PW32G(mail_local_host), ent->h_name); in MailConnect()
/PHP-7.3/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.c978 stage3_table_be_apos_00000[code].data.ent.entity == NULL)) in traverse_for_entities()
1160 *entity = (const unsigned char *)c->data.ent.entity; in find_entity_for_char()
1161 *entity_len = c->data.ent.entity_len; in find_entity_for_char()
1213 *entity = (const unsigned char *) table[k].data.ent.entity; in find_entity_for_char_basic()
1214 *entity_len = table[k].data.ent.entity_len; in find_entity_for_char_basic()
1561 size_t l = r->data.ent.entity_len; in write_s3row_data()
1562 memcpy(&entity[1], r->data.ent.entity, l); in write_s3row_data()
1660 if (r->data.ent.entity == NULL) in PHP_FUNCTION()
1686 if (r->data.ent.entity == NULL) in PHP_FUNCTION()
1700 if (r->data.ent.entity == NULL) in PHP_FUNCTION()
/PHP-7.3/main/streams/
H A Dglob_wrapper.c141 php_stream_dirent *ent = (php_stream_dirent*)buf; in php_glob_stream_read() local
148 PHP_STRLCPY(ent->d_name, path, sizeof(ent->d_name), strlen(path)); in php_glob_stream_read()
/PHP-7.3/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 52 milliseconds

12