Home
last modified time | relevance | path

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

/PHP-8.4/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.c633 struct dirent **namelist; in php_init_config() local
659 if (lenpath > 0 && (ndir = php_scandir(debpath, &namelist, 0, php_alphasort)) > 0) { in php_init_config()
664 if (!(p = strrchr(namelist[i]->d_name, '.')) || (p && strcmp(p, ".ini"))) { in php_init_config()
665 free(namelist[i]); in php_init_config()
672 snprintf(ini_file, MAXPATHLEN, "%s%s", debpath, namelist[i]->d_name); in php_init_config()
674 snprintf(ini_file, MAXPATHLEN, "%s%c%s", debpath, DEFAULT_SLASH, namelist[i]->d_name); in php_init_config()
693 free(namelist[i]); in php_init_config()
695 free(namelist); in php_init_config()
H A Dphp_streams.h386 PHPAPI int _php_stream_scandir(const char *dirname, zend_string **namelist[], int flags, php_stream…
388 #define php_stream_scandir(dirname, namelist, context, compare) _php_stream_scandir((dirname), (nam… argument
/PHP-8.4/ext/standard/
H A Ddir.c457 zend_string **namelist; in PHP_FUNCTION() local
479 n = php_stream_scandir(dirn, &namelist, context, (void *) php_stream_dirent_alphasort); in PHP_FUNCTION()
481 n = php_stream_scandir(dirn, &namelist, context, NULL); in PHP_FUNCTION()
483 n = php_stream_scandir(dirn, &namelist, context, (void *) php_stream_dirent_alphasortr); in PHP_FUNCTION()
493 add_next_index_str(return_value, namelist[i]); in PHP_FUNCTION()
497 efree(namelist); in PHP_FUNCTION()
/PHP-8.4/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.4/ext/zip/
H A Dphp_zip.c730 zend_string **namelist; in php_zip_pcre() local
776 (namelist_len == 2 && ZSTR_VAL(namelist[i])[0] == '.' && ZSTR_VAL(namelist[i])[1] == '.')) { in php_zip_pcre()
777 zend_string_release_ex(namelist[i], 0); in php_zip_pcre()
784 zend_string_release_ex(namelist[i], 0); in php_zip_pcre()
791 zend_string_release_ex(namelist[i], 0); in php_zip_pcre()
794 …rc = pcre2_match(re, (PCRE2_SPTR)ZSTR_VAL(namelist[i]), ZSTR_LEN(namelist[i]), 0, 0, match_data, m… in php_zip_pcre()
798 zend_string_release_ex(namelist[i], 0); in php_zip_pcre()
806 zend_string_release_ex(namelist[i], 0); in php_zip_pcre()
811 zend_string_release_ex(namelist[i], 0); in php_zip_pcre()
816 zend_string_release_ex(namelist[i], 0); in php_zip_pcre()
[all …]
/PHP-8.4/main/streams/
H A Dstreams.c2448 PHPAPI int _php_stream_scandir(const char *dirname, zend_string **namelist[], int flags, php_stream… argument
2457 if (!namelist) {
2494 *namelist = vector;
2497 qsort(*namelist, nfiles, sizeof(zend_string *), (int(*)(const void *, const void *))compare);
/PHP-8.4/ext/fileinfo/tests/
H A Dmagic37085 # namelist, if more than 1 separated by "|" like "st|stterm| simpleterm 0.4.1"
37098 # namelist, if more than 1 separated by "|" like "st|stterm| simpleterm 0. 4.1"
H A Dmagic私はガラスを食べられます37085 # namelist, if more than 1 separated by "|" like "st|stterm| simpleterm 0.4.1"
37098 # namelist, if more than 1 separated by "|" like "st|stterm| simpleterm 0. 4.1"

Completed in 232 milliseconds