Home
last modified time | relevance | path

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

/PHP-7.1/main/
H A Dphp_scandir.c60 PHPAPI int php_scandir(const char *dirname, struct dirent **namelist[], int (*selector) (const stru… in php_scandir() argument
69 if (namelist == NULL) { in php_scandir()
112 *namelist = vector; in php_scandir()
115 …qsort (*namelist, nfiles, sizeof(struct dirent *), (int (*) (const void *, const void *)) compare); in php_scandir()
H A Dphp_scandir.h45 PHPAPI int php_scandir(const char *dirname, struct dirent **namelist[], int (*selector) (const stru…
H A Dphp_ini.c620 struct dirent **namelist; in php_init_config() local
648 if (lenpath > 0 && (ndir = php_scandir(debpath, &namelist, 0, php_alphasort)) > 0) { in php_init_config()
653 if (!(p = strrchr(namelist[i]->d_name, '.')) || (p && strcmp(p, ".ini"))) { in php_init_config()
654 free(namelist[i]); in php_init_config()
661 snprintf(ini_file, MAXPATHLEN, "%s%s", debpath, namelist[i]->d_name); in php_init_config()
663 snprintf(ini_file, MAXPATHLEN, "%s%c%s", debpath, DEFAULT_SLASH, namelist[i]->d_name); in php_init_config()
681 free(namelist[i]); in php_init_config()
683 free(namelist); in php_init_config()
H A Dphp_streams.h366 PHPAPI int _php_stream_scandir(const char *dirname, zend_string **namelist[], int flags, php_stream…
368 #define php_stream_scandir(dirname, namelist, context, compare) _php_stream_scandir((dirname), (nam… argument
/PHP-7.1/ext/standard/
H A Ddir.c564 zend_string **namelist; in PHP_FUNCTION() local
583 n = php_stream_scandir(dirn, &namelist, context, (void *) php_stream_dirent_alphasort); in PHP_FUNCTION()
585 n = php_stream_scandir(dirn, &namelist, context, NULL); in PHP_FUNCTION()
587 n = php_stream_scandir(dirn, &namelist, context, (void *) php_stream_dirent_alphasortr); in PHP_FUNCTION()
597 add_next_index_str(return_value, namelist[i]); in PHP_FUNCTION()
601 efree(namelist); in PHP_FUNCTION()
/PHP-7.1/ext/dom/
H A Dconfig.w3212 domstringlist.c domexception.c namelist.c processinginstruction.c \
H A Dconfig.m422 domstringlist.c domexception.c namelist.c \
/PHP-7.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-7.1/ext/zip/
H A Dphp_zip.c607 zend_string **namelist; in php_zip_pcre() local
652 int namelist_len = ZSTR_LEN(namelist[i]); in php_zip_pcre()
655 (namelist_len == 2 && ZSTR_VAL(namelist[i])[0] == '.' && ZSTR_VAL(namelist[i])[1] == '.')) { in php_zip_pcre()
656 zend_string_release(namelist[i]); in php_zip_pcre()
663 zend_string_release(namelist[i]); in php_zip_pcre()
671 zend_string_release(namelist[i]); in php_zip_pcre()
676 zend_string_release(namelist[i]); in php_zip_pcre()
680 matches = pcre_exec(re, NULL, ZSTR_VAL(namelist[i]), ZSTR_LEN(namelist[i]), 0, 0, ovector, 3); in php_zip_pcre()
683 zend_string_release(namelist[i]); in php_zip_pcre()
688 zend_string_release(namelist[i]); in php_zip_pcre()
[all …]
/PHP-7.1/main/streams/
H A Dstreams.c2268 PHPAPI int _php_stream_scandir(const char *dirname, zend_string **namelist[], int flags, php_stream… argument
2277 if (!namelist) {
2314 *namelist = vector;
2317 qsort(*namelist, nfiles, sizeof(zend_string *), (int(*)(const void *, const void *))compare);

Completed in 35 milliseconds