Home
last modified time | relevance | path

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

/PHP-8.2/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.h381 PHPAPI int _php_stream_scandir(const char *dirname, zend_string **namelist[], int flags, php_stream…
383 #define php_stream_scandir(dirname, namelist, context, compare) _php_stream_scandir((dirname), (nam… argument
/PHP-8.2/ext/standard/
H A Ddir.c526 zend_string **namelist; in PHP_FUNCTION() local
548 n = php_stream_scandir(dirn, &namelist, context, (void *) php_stream_dirent_alphasort); in PHP_FUNCTION()
550 n = php_stream_scandir(dirn, &namelist, context, NULL); in PHP_FUNCTION()
552 n = php_stream_scandir(dirn, &namelist, context, (void *) php_stream_dirent_alphasortr); in PHP_FUNCTION()
562 add_next_index_str(return_value, namelist[i]); in PHP_FUNCTION()
566 efree(namelist); in PHP_FUNCTION()
/PHP-8.2/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.2/ext/zip/
H A Dphp_zip.c715 zend_string **namelist; in php_zip_pcre() local
761 (namelist_len == 2 && ZSTR_VAL(namelist[i])[0] == '.' && ZSTR_VAL(namelist[i])[1] == '.')) { in php_zip_pcre()
762 zend_string_release_ex(namelist[i], 0); in php_zip_pcre()
769 zend_string_release_ex(namelist[i], 0); in php_zip_pcre()
776 zend_string_release_ex(namelist[i], 0); in php_zip_pcre()
779 …rc = pcre2_match(re, (PCRE2_SPTR)ZSTR_VAL(namelist[i]), ZSTR_LEN(namelist[i]), 0, 0, match_data, m… in php_zip_pcre()
783 zend_string_release_ex(namelist[i], 0); in php_zip_pcre()
791 zend_string_release_ex(namelist[i], 0); in php_zip_pcre()
796 zend_string_release_ex(namelist[i], 0); in php_zip_pcre()
801 zend_string_release_ex(namelist[i], 0); in php_zip_pcre()
[all …]
/PHP-8.2/main/streams/
H A Dstreams.c2413 PHPAPI int _php_stream_scandir(const char *dirname, zend_string **namelist[], int flags, php_stream… argument
2422 if (!namelist) {
2459 *namelist = vector;
2462 qsort(*namelist, nfiles, sizeof(zend_string *), (int(*)(const void *, const void *))compare);
/PHP-8.2/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 141 milliseconds