/php-src/main/streams/ |
H A D | plain_wrapper.c | 1023 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 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()
|
H A D | streams.c | 2166 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 D | userspace.c | 1318 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 D | HTMLCollection_named_reads.phpt | 10 <!ENTITY ent "test"> 15 <x id="foo&ent;">2 with entity</x>
|
/php-src/ext/phar/phar/ |
H A D | pharcommand.inc | 238 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 D | basic_functions.c | 2238 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 D | html.c | 862 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 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()
|
/php-src/win32/ |
H A D | sendmail.c | 799 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 D | php_streams.h | 382 PHPAPI php_stream_dirent *_php_stream_readdir(php_stream *dirstream, php_stream_dirent *ent);
|
/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_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_koi8-r.phpt | 137 $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 D | html_entity_decode_macroman.phpt | 141 $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 D | html_entity_decode_win1251.phpt | 141 $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 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_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_cp866.phpt | 137 $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 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/xmlwriter/tests/ |
H A D | 008.phpt | 11 xmlwriter_start_dtd_entity($xw, "ent", false); 31 <!ENTITY ent "val">
|
/php-src/ext/xml/tests/ |
H A D | bug30875.phpt | 10 <!ENTITY ref "ent"> 33 string(3) "ent"
|
H A D | xml001.phpt | 80 ]}{?[<!ENTITY]}{?[ ]}{?[%]}{?[ ]}{?[incent]}{?[ ]}{?[SYSTEM]}{?[ ]}{?["inc.ent"]}{?[>]}{?[
|
H A D | xml002.phpt | 81 ]}{?[<!ENTITY]}{?[ ]}{?[%]}{?[ ]}{?[incent]}{?[ ]}{?[SYSTEM]}{?[ ]}{?["inc.ent"]}{?[>]}{?[
|
H A D | xml003.phpt | 79 ]}{?[<!ENTITY]}{?[ ]}{?[%]}{?[ ]}{?[incent]}{?[ ]}{?[SYSTEM]}{?[ ]}{?["inc.ent"]}{?[>]}{?[
|