Searched refs:namelist (Results 1 - 8 of 8) sorted by relevance

/PHP_5_3/build/
H A Dshtool1669 namelist="$*"
1688 if [ "x$namelist" = "x." ]; then
1692 for pe in `IFS="$IFS/"; echo $namelist`; do
1703 echo "$namelist" |\
1708 echo "$namelist" |\
1715 if [ ".$opt_m" = .yes ] && [ ".$namelist" = .perl ]; then
1746 if [ ".$opt_m" = .yes ] && [ ".$namelist" = .cpp ]; then
1788 for name in $namelist; do
/PHP_5_3/ext/standard/
H A Ddir.c559 char **namelist; local
582 n = php_stream_scandir(dirn, &namelist, context, (void *) php_stream_dirent_alphasort);
584 n = php_stream_scandir(dirn, &namelist, context, (void *) php_stream_dirent_alphasortr);
594 add_next_index_string(return_value, namelist[i], 0);
598 efree(namelist);
/PHP_5_3/main/
H A Dphp_ini.c648 struct dirent **namelist; local
658 if ((ndir = php_scandir(php_ini_scanned_path, &namelist, 0, php_alphasort)) > 0) {
665 if (!(p = strrchr(namelist[i]->d_name, '.')) || (p && strcmp(p, ".ini"))) {
666 free(namelist[i]);
673 snprintf(ini_file, MAXPATHLEN, "%s%s", php_ini_scanned_path, namelist[i]->d_name);
675 snprintf(ini_file, MAXPATHLEN, "%s%c%s", php_ini_scanned_path, DEFAULT_SLASH, namelist[i]->d_name);
693 free(namelist[i]);
695 free(namelist);
H A Dphp_scandir.c60 PHPAPI int php_scandir(const char *dirname, struct dirent **namelist[], int (*selector) (const struct dirent *entry), int (*compare) (const struct dirent **a, const struct dirent **b)) argument
69 if (namelist == NULL) {
112 *namelist = vector;
115 qsort (*namelist, nfiles, sizeof(struct dirent *), compare);
H A Dphp_scandir.h45 PHPAPI int php_scandir(const char *dirname, struct dirent **namelist[], int (*selector) (const struct dirent *entry), int (*compare) (const struct dirent **a, const struct dirent **b));
H A Dphp_streams.h349 PHPAPI int _php_stream_scandir(char *dirname, char **namelist[], int flags, php_stream_context *context,
351 #define php_stream_scandir(dirname, namelist, context, compare) _php_stream_scandir((dirname), (namelist), 0, (context), (compare) TSRMLS_CC)
/PHP_5_3/main/streams/
H A Dstreams.c2267 PHPAPI int _php_stream_scandir(char *dirname, char **namelist[], int flags, php_stream_context *context, argument
2276 if (!namelist) {
2306 *namelist = vector;
2309 qsort(*namelist, nfiles, sizeof(char *), (int(*)(const void *, const void *))compare);
/PHP_5_3/ext/zip/
H A Dphp_zip.c643 char **namelist; local
667 files_cnt = php_stream_scandir(path, &namelist, NULL, (void *) php_stream_dirent_alphasort);
688 int namelist_len = strlen(namelist[i]);
691 if ((namelist_len == 1 && namelist[i][0] == '.') ||
692 (namelist_len == 2 && namelist[i][0] == '.' && namelist[i][1] == '.')) {
693 efree(namelist[i]);
700 efree(namelist[i]);
704 snprintf(fullpath, MAXPATHLEN, "%s%c%s", path, DEFAULT_SLASH, namelist[i]);
708 efree(namelist[
[all...]

Completed in 33 milliseconds