Home
last modified time | relevance | path

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

/PHP-8.1/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.c643 struct dirent **namelist; in php_init_config() local
669 if (lenpath > 0 && (ndir = php_scandir(debpath, &namelist, 0, php_alphasort)) > 0) { in php_init_config()
674 if (!(p = strrchr(namelist[i]->d_name, '.')) || (p && strcmp(p, ".ini"))) { in php_init_config()
675 free(namelist[i]); in php_init_config()
682 snprintf(ini_file, MAXPATHLEN, "%s%s", debpath, namelist[i]->d_name); in php_init_config()
684 snprintf(ini_file, MAXPATHLEN, "%s%c%s", debpath, DEFAULT_SLASH, namelist[i]->d_name); in php_init_config()
703 free(namelist[i]); in php_init_config()
705 free(namelist); in php_init_config()
H A Dphp_streams.h376 PHPAPI int _php_stream_scandir(const char *dirname, zend_string **namelist[], int flags, php_stream…
378 #define php_stream_scandir(dirname, namelist, context, compare) _php_stream_scandir((dirname), (nam… argument
/PHP-8.1/ext/standard/
H A Ddir.c538 zend_string **namelist; in PHP_FUNCTION() local
560 n = php_stream_scandir(dirn, &namelist, context, (void *) php_stream_dirent_alphasort); in PHP_FUNCTION()
562 n = php_stream_scandir(dirn, &namelist, context, NULL); in PHP_FUNCTION()
564 n = php_stream_scandir(dirn, &namelist, context, (void *) php_stream_dirent_alphasortr); in PHP_FUNCTION()
574 add_next_index_str(return_value, namelist[i]); in PHP_FUNCTION()
578 efree(namelist); in PHP_FUNCTION()
/PHP-8.1/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.1/ext/zip/
H A Dphp_zip.c719 zend_string **namelist; in php_zip_pcre() local
765 (namelist_len == 2 && ZSTR_VAL(namelist[i])[0] == '.' && ZSTR_VAL(namelist[i])[1] == '.')) { in php_zip_pcre()
766 zend_string_release_ex(namelist[i], 0); in php_zip_pcre()
773 zend_string_release_ex(namelist[i], 0); in php_zip_pcre()
780 zend_string_release_ex(namelist[i], 0); in php_zip_pcre()
783 …rc = pcre2_match(re, (PCRE2_SPTR)ZSTR_VAL(namelist[i]), ZSTR_LEN(namelist[i]), 0, 0, match_data, m… in php_zip_pcre()
787 zend_string_release_ex(namelist[i], 0); in php_zip_pcre()
795 zend_string_release_ex(namelist[i], 0); in php_zip_pcre()
800 zend_string_release_ex(namelist[i], 0); in php_zip_pcre()
805 zend_string_release_ex(namelist[i], 0); in php_zip_pcre()
[all …]
/PHP-8.1/main/streams/
H A Dstreams.c2294 PHPAPI int _php_stream_scandir(const char *dirname, zend_string **namelist[], int flags, php_stream… argument
2303 if (!namelist) {
2340 *namelist = vector;
2343 qsort(*namelist, nfiles, sizeof(zend_string *), (int(*)(const void *, const void *))compare);
/PHP-8.1/ext/fileinfo/tests/
H A Dmagic31962 # namelist, if more than 1 separated by "|" like "st|stterm| simpleterm 0.4.1"
31975 # namelist, if more than 1 separated by "|" like "st|stterm| simpleterm 0. 4.1"
H A Dmagic私はガラスを食べられます31962 # namelist, if more than 1 separated by "|" like "st|stterm| simpleterm 0.4.1"
31975 # namelist, if more than 1 separated by "|" like "st|stterm| simpleterm 0. 4.1"

Completed in 163 milliseconds