Home
last modified time | relevance | path

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

12

/PHP-5.5/win32/
H A Dsendmail.c772 struct hostent *ent; in MailConnect() local
788 ent = gethostbyname(LocalHost); in MailConnect()
790 if (!ent) { in MailConnect()
794 namelen = strlen(ent->h_name); in MailConnect()
797 if (inet_pton(AF_INET, ent->h_name, &addr) == 1 || inet_pton(AF_INET6, ent->h_name, &addr6) == 1) in MailConnect()
799 if (inet_pton(AF_INET, ent->h_name, &addr) == 1) in MailConnect()
807 strcpy(LocalHost + 1, ent->h_name); in MailConnect()
814 strcpy(LocalHost, ent->h_name); in MailConnect()
/PHP-5.5/main/streams/
H A Dstreams.c2007 PHPAPI php_stream_dirent *_php_stream_readdir(php_stream *dirstream, php_stream_dirent *ent TSRMLS_…
2010 …if (sizeof(php_stream_dirent) == php_stream_read(dirstream, (char*)ent, sizeof(php_stream_dirent))…
2011 return ent;
H A Duserspace.c1522 php_stream_dirent *ent = (php_stream_dirent*)buf; in php_userstreamop_readdir() local
1539 PHP_STRLCPY(ent->d_name, Z_STRVAL_P(retval), sizeof(ent->d_name), Z_STRLEN_P(retval)); in php_userstreamop_readdir()
H A Dglob_wrapper.c143 php_stream_dirent *ent = (php_stream_dirent*)buf; in php_glob_stream_read() local
150 PHP_STRLCPY(ent->d_name, path, sizeof(ent->d_name), strlen(path)); in php_glob_stream_read()
H A Dplain_wrapper.c851 php_stream_dirent *ent = (php_stream_dirent*)buf; in php_plain_files_dirstream_read() local
858 PHP_STRLCPY(ent->d_name, result->d_name, sizeof(ent->d_name), strlen(result->d_name)); in php_plain_files_dirstream_read()
/PHP-5.5/main/
H A Dphp_streams.h349 PHPAPI php_stream_dirent *_php_stream_readdir(php_stream *dirstream, php_stream_dirent *ent TSRMLS_…
/PHP-5.5/ext/xmlwriter/tests/
H A D008.phpt14 xmlwriter_start_dtd_entity($xw, "ent", false);
34 <!ENTITY ent "val">
/PHP-5.5/ext/wddx/
H A Dwddx.c296 zval **ent; in PS_SERIALIZER_DECODE_FUNC() local
560 zval **ent; in php_wddx_serialize_array() local
741 st_entry ent; in php_wddx_push_element() local
881 st_entry ent; in php_wddx_push_element() local
1049 efree(ent); in php_wddx_pop_element()
1059 st_entry *ent; in php_wddx_process_data() local
1072 Z_STRVAL_P(ent->data) = erealloc(Z_STRVAL_P(ent->data), Z_STRLEN_P(ent->data) + len + 1); in php_wddx_process_data()
1075 Z_STRVAL_P(ent->data)[Z_STRLEN_P(ent->data)] = '\0'; in php_wddx_process_data() local
1084 Z_STRVAL_P(ent->data) = erealloc(Z_STRVAL_P(ent->data), Z_STRLEN_P(ent->data) + len + 1); in php_wddx_process_data()
1088 Z_STRVAL_P(ent->data)[Z_STRLEN_P(ent->data)] = '\0'; in php_wddx_process_data() local
[all …]
/PHP-5.5/ext/xml/tests/
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-5.5/ext/standard/tests/strings/
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);
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-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);
/PHP-5.5/ext/standard/
H A Dhtml_tables.h1120 } ent; member
H A Dftp_fopen_wrapper.c609 php_stream_dirent *ent = (php_stream_dirent *)buf; in php_ftp_dirstream_read() local
625 if (!php_stream_get_line(innerstream, ent->d_name, sizeof(ent->d_name), &tmp_len)) { in php_ftp_dirstream_read()
629 php_basename(ent->d_name, tmp_len, NULL, 0, &basename, &basename_len TSRMLS_CC); in php_ftp_dirstream_read()
639 tmp_len = MIN(sizeof(ent->d_name), basename_len - 1); in php_ftp_dirstream_read()
640 memcpy(ent->d_name, basename, tmp_len); in php_ftp_dirstream_read()
641 ent->d_name[tmp_len - 1] = '\0'; in php_ftp_dirstream_read()
647 (ent->d_name[tmp_len] == '\n' || ent->d_name[tmp_len] == '\r' || in php_ftp_dirstream_read()
648 ent->d_name[tmp_len] == '\t' || ent->d_name[tmp_len] == ' ')) { in php_ftp_dirstream_read()
649 ent->d_name[tmp_len--] = '\0'; in php_ftp_dirstream_read()
H A Dhtml.c968 stage3_table_be_apos_00000[code].data.ent.entity == NULL)) in traverse_for_entities()
1154 *entity = (const unsigned char *)c->data.ent.entity; in find_entity_for_char()
1155 *entity_len = c->data.ent.entity_len; in find_entity_for_char()
1207 *entity = table[k].data.ent.entity; in find_entity_for_char_basic()
1208 *entity_len = table[k].data.ent.entity_len; in find_entity_for_char_basic()
1554 size_t l = r->data.ent.entity_len; in write_s3row_data()
1555 memcpy(&entity[1], r->data.ent.entity, l); in write_s3row_data()
1652 if (r->data.ent.entity == NULL) in PHP_FUNCTION()
1678 if (r->data.ent.entity == NULL) in PHP_FUNCTION()
1692 if (r->data.ent.entity == NULL) in PHP_FUNCTION()
H A Dbasic_functions.c5681 struct protoent *ent; local
5687 ent = getprotobyname(name);
5689 if (ent == NULL) {
5693 RETURN_LONG(ent->p_proto);
5704 struct protoent *ent; local
5710 ent = getprotobynumber(proto);
5712 if (ent == NULL) {
5716 RETURN_STRING(ent->p_name, 1);
/PHP-5.5/ext/spl/tests/
H A Ddit_003.phpt6 foreach(new FilesystemIterator(__DIR__) as $ent)
/PHP-5.5/ext/phar/tests/
H A Dphar_oo_005_5.2.phpt20 foreach($it as $name => $ent)
23 var_dump(str_replace(array('\\', $fname), array('/', '*'), $ent->getPathname()));

Completed in 108 milliseconds

12