Home
last modified time | relevance | path

Searched refs:ent (Results 1 – 25 of 39) sorted by last modified time

12

/php-src/main/streams/
H A Dplain_wrapper.c1023 php_stream_dirent *ent = (php_stream_dirent*)buf; in php_plain_files_dirstream_read() local
1031 PHP_STRLCPY(ent->d_name, result->d_name, sizeof(ent->d_name), strlen(result->d_name)); in php_plain_files_dirstream_read()
1033 ent->d_type = result->d_type; in php_plain_files_dirstream_read()
1035 ent->d_type = DT_UNKNOWN; in php_plain_files_dirstream_read()
H A Dglob_wrapper.c139 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()
H A Dstreams.c2166 PHPAPI php_stream_dirent *_php_stream_readdir(php_stream *dirstream, php_stream_dirent *ent) argument
2169 …if (sizeof(php_stream_dirent) == php_stream_read(dirstream, (char*)ent, sizeof(php_stream_dirent))…
2170 return ent;
H A Duserspace.c1318 php_stream_dirent *ent = (php_stream_dirent*)buf; in php_userstreamop_readdir() local
1330 PHP_STRLCPY(ent->d_name, Z_STRVAL(retval), sizeof(ent->d_name), Z_STRLEN(retval)); in php_userstreamop_readdir()
1331 ent->d_type = DT_UNKNOWN; in php_userstreamop_readdir()
/php-src/ext/dom/tests/modern/html/interactions/
H A DHTMLCollection_named_reads.phpt10 <!ENTITY ent "test">
15 <x id="foo&ent;">2 with entity</x>
/php-src/ext/phar/phar/
H A Dpharcommand.inc238 foreach($files as $ent) {
240 … if (preg_match(",^php[ \t]+([^ \t].*[\\\\/]PHP[\\\\/]Archive\.php)$,", $ent, $matches)) {
1495 foreach(new RecursiveIteratorIterator($phar) as $ent) {
1497 if ($ent->isCompressed()) {
1499 $csize += $ent->getCompressedSize();
1500 if ($ent->isCompressed(Phar::GZ)) {
1502 } elseif ($ent->isCompressed(Phar::BZ2)) {
1507 $csize += $ent->getSize();
1510 $usize += $ent->getSize();
1512 if ($ent->hasMetadata()) {
/php-src/ext/standard/
H A Dbasic_functions.c2238 struct protoent *ent; local
2244 ent = getprotobyname(name);
2246 if (ent == NULL) {
2250 RETURN_LONG(ent->p_proto);
2260 struct protoent *ent; local
2266 ent = getprotobynumber((int)proto);
2268 if (ent == NULL) {
2272 RETURN_STRING(ent->p_name);
H A Dhtml.c862 stage3_table_be_apos_00000[code].data.ent.entity == NULL)) in traverse_for_entities()
1044 *entity = (const unsigned char *)c->data.ent.entity; in find_entity_for_char()
1045 *entity_len = c->data.ent.entity_len; in find_entity_for_char()
1097 *entity = (const unsigned char *) table[k].data.ent.entity; in find_entity_for_char_basic()
1098 *entity_len = table[k].data.ent.entity_len; in find_entity_for_char_basic()
1405 size_t l = r->data.ent.entity_len; in write_s3row_data()
1406 memcpy(&entity[1], r->data.ent.entity, l); in write_s3row_data()
1503 if (r->data.ent.entity == NULL) in PHP_FUNCTION()
1529 if (r->data.ent.entity == NULL) in PHP_FUNCTION()
1543 if (r->data.ent.entity == NULL) in PHP_FUNCTION()
H A Dftp_fopen_wrapper.c607 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()
/php-src/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-src/main/
H A Dphp_streams.h382 PHPAPI php_stream_dirent *_php_stream_readdir(php_stream *dirstream, php_stream_dirent *ent);
/php-src/ext/mbstring/libmbfl/filters/
H A Dmbfilter_htmlent.c183 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 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_koi8-r.phpt137 $ent = sprintf("&#x%X;", $u);
138 $res = html_entity_decode($ent, ENT_QUOTES, 'KOI8-R');
140 echo sprintf("%s: %s => %s\n", $v[1], $ent, $d[1]);
142 $ent = sprintf("&#x%X;", $v[0]);
143 $res = html_entity_decode($ent, ENT_QUOTES, 'KOI8-R');
146 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);
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_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_cp866.phpt137 $ent = sprintf("&#x%X;", $u);
138 $res = html_entity_decode($ent, ENT_QUOTES, 'CP866');
140 echo sprintf("%s: %s => %s\n", $v[1], $ent, $d[1]);
142 $ent = sprintf("&#x%X;", $v[0]);
143 $res = html_entity_decode($ent, ENT_QUOTES, 'CP866');
146 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);
/php-src/ext/xmlwriter/tests/
H A D008.phpt11 xmlwriter_start_dtd_entity($xw, "ent", false);
31 <!ENTITY ent "val">
/php-src/ext/xml/tests/
H A Dbug30875.phpt10 <!ENTITY ref "ent">
33 string(3) "ent"
H A Dxml001.phpt80 ]}{?[<!ENTITY]}{?[ ]}{?[%]}{?[ ]}{?[incent]}{?[ ]}{?[SYSTEM]}{?[ ]}{?["inc.ent"]}{?[>]}{?[
H A Dxml002.phpt81 ]}{?[<!ENTITY]}{?[ ]}{?[%]}{?[ ]}{?[incent]}{?[ ]}{?[SYSTEM]}{?[ ]}{?["inc.ent"]}{?[>]}{?[
H A Dxml003.phpt79 ]}{?[<!ENTITY]}{?[ ]}{?[%]}{?[ ]}{?[incent]}{?[ ]}{?[SYSTEM]}{?[ ]}{?["inc.ent"]}{?[>]}{?[

Completed in 69 milliseconds

12