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

/PHP_5_5/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_5_5/ext/zip/
H A Dphp_zip.c634 char **namelist; local
658 files_cnt = php_stream_scandir(path, &namelist, NULL, (void *) php_stream_dirent_alphasort);
679 int namelist_len = strlen(namelist[i]);
682 if ((namelist_len == 1 && namelist[i][0] == '.') ||
683 (namelist_len == 2 && namelist[i][0] == '.' && namelist[i][1] == '.')) {
684 efree(namelist[i]);
691 efree(namelist[i]);
695 snprintf(fullpath, MAXPATHLEN, "%s%c%s", path, DEFAULT_SLASH, namelist[i]);
699 efree(namelist[
[all...]
/PHP_5_5/main/
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_ini.c624 struct dirent **namelist; local
652 if (lenpath > 0 && (ndir = php_scandir(debpath, &namelist, 0, php_alphasort)) > 0) {
657 if (!(p = strrchr(namelist[i]->d_name, '.')) || (p && strcmp(p, ".ini"))) {
658 free(namelist[i]);
665 snprintf(ini_file, MAXPATHLEN, "%s%s", debpath, namelist[i]->d_name);
667 snprintf(ini_file, MAXPATHLEN, "%s%c%s", debpath, DEFAULT_SLASH, namelist[i]->d_name);
685 free(namelist[i]);
687 free(namelist);
H A Dphp_streams.h357 PHPAPI int _php_stream_scandir(char *dirname, char **namelist[], int flags, php_stream_context *context,
359 #define php_stream_scandir(dirname, namelist, context, compare) _php_stream_scandir((dirname), (namelist), 0, (context), (compare) TSRMLS_CC)
/PHP_5_5/ext/standard/
H A Ddir.c557 char **namelist; local
576 n = php_stream_scandir(dirn, &namelist, context, (void *) php_stream_dirent_alphasort);
578 n = php_stream_scandir(dirn, &namelist, context, NULL);
580 n = php_stream_scandir(dirn, &namelist, context, (void *) php_stream_dirent_alphasortr);
590 add_next_index_string(return_value, namelist[i], 0);
594 efree(namelist);
/PHP_5_5/main/streams/
H A Dstreams.c2280 PHPAPI int _php_stream_scandir(char *dirname, char **namelist[], int flags, php_stream_context *context, argument
2289 if (!namelist) {
2326 *namelist = vector;
2329 qsort(*namelist, nfiles, sizeof(char *), (int(*)(const void *, const void *))compare);

Completed in 34 milliseconds