Home
last modified time | relevance | path

Searched refs:namelist (Results 1 – 10 of 10) sorted by relevance

/PHP-8.0/main/
H A Dphp_scandir.c52 PHPAPI int php_scandir(const char *dirname, struct dirent **namelist[], int (*selector) (const stru… in php_scandir() argument
60 if (namelist == NULL) { in php_scandir()
103 *namelist = vector; in php_scandir()
106 …qsort (*namelist, nfiles, sizeof(struct dirent *), (int (*) (const void *, const void *)) compare); in php_scandir()
H A Dphp_scandir.h37 PHPAPI int php_scandir(const char *dirname, struct dirent **namelist[], int (*selector) (const stru…
H A Dphp_ini.c640 struct dirent **namelist; in php_init_config() local
666 if (lenpath > 0 && (ndir = php_scandir(debpath, &namelist, 0, php_alphasort)) > 0) { in php_init_config()
671 if (!(p = strrchr(namelist[i]->d_name, '.')) || (p && strcmp(p, ".ini"))) { in php_init_config()
672 free(namelist[i]); in php_init_config()
679 snprintf(ini_file, MAXPATHLEN, "%s%s", debpath, namelist[i]->d_name); in php_init_config()
681 snprintf(ini_file, MAXPATHLEN, "%s%c%s", debpath, DEFAULT_SLASH, namelist[i]->d_name); in php_init_config()
698 free(namelist[i]); in php_init_config()
700 free(namelist); in php_init_config()
H A Dphp_streams.h372 PHPAPI int _php_stream_scandir(const char *dirname, zend_string **namelist[], int flags, php_stream…
374 #define php_stream_scandir(dirname, namelist, context, compare) _php_stream_scandir((dirname), (nam… argument
/PHP-8.0/ext/standard/
H A Ddir.c534 zend_string **namelist; in PHP_FUNCTION() local
556 n = php_stream_scandir(dirn, &namelist, context, (void *) php_stream_dirent_alphasort); in PHP_FUNCTION()
558 n = php_stream_scandir(dirn, &namelist, context, NULL); in PHP_FUNCTION()
560 n = php_stream_scandir(dirn, &namelist, context, (void *) php_stream_dirent_alphasortr); in PHP_FUNCTION()
570 add_next_index_str(return_value, namelist[i]); in PHP_FUNCTION()
574 efree(namelist); in PHP_FUNCTION()
/PHP-8.0/build/
H A Dshtool1676 namelist="$*"
1695 if [ "x$namelist" = "x." ]; then
1699 for pe in `IFS="$IFS/"; echo $namelist`; do
1710 echo "$namelist" |\
1715 echo "$namelist" |\
1722 if [ ".$opt_m" = .yes ] && [ ".$namelist" = .perl ]; then
1753 if [ ".$opt_m" = .yes ] && [ ".$namelist" = .cpp ]; then
1795 for name in $namelist; do
/PHP-8.0/ext/zip/
H A Dphp_zip.c721 zend_string **namelist; in php_zip_pcre() local
767 (namelist_len == 2 && ZSTR_VAL(namelist[i])[0] == '.' && ZSTR_VAL(namelist[i])[1] == '.')) { in php_zip_pcre()
768 zend_string_release_ex(namelist[i], 0); in php_zip_pcre()
775 zend_string_release_ex(namelist[i], 0); in php_zip_pcre()
782 zend_string_release_ex(namelist[i], 0); in php_zip_pcre()
785 …rc = pcre2_match(re, (PCRE2_SPTR)ZSTR_VAL(namelist[i]), ZSTR_LEN(namelist[i]), 0, 0, match_data, m… in php_zip_pcre()
789 zend_string_release_ex(namelist[i], 0); in php_zip_pcre()
797 zend_string_release_ex(namelist[i], 0); in php_zip_pcre()
802 zend_string_release_ex(namelist[i], 0); in php_zip_pcre()
807 zend_string_release_ex(namelist[i], 0); in php_zip_pcre()
[all …]
/PHP-8.0/main/streams/
H A Dstreams.c2307 PHPAPI int _php_stream_scandir(const char *dirname, zend_string **namelist[], int flags, php_stream… argument
2316 if (!namelist) {
2353 *namelist = vector;
2356 qsort(*namelist, nfiles, sizeof(zend_string *), (int(*)(const void *, const void *))compare);
/PHP-8.0/ext/fileinfo/tests/
H A Dmagic私はガラスを食べられます30039 # namelist, if more than 1 separated by "|" like "st|stterm| simpleterm 0.4.1"
30052 # namelist, if more than 1 separated by "|" like "st|stterm| simpleterm 0. 4.1"
H A Dmagic30039 # namelist, if more than 1 separated by "|" like "st|stterm| simpleterm 0.4.1"
30052 # namelist, if more than 1 separated by "|" like "st|stterm| simpleterm 0. 4.1"

Completed in 134 milliseconds