Searched refs:dirent (Results 1 – 17 of 17) sorted by relevance
/PHP-5.3/main/ |
H A D | php_scandir.c | 53 PHPAPI int php_alphasort(const struct dirent **a, const struct dirent **b) in php_alphasort() 60 …name, struct dirent **namelist[], int (*selector) (const struct dirent *entry), int (*compare) (co… in php_scandir() 63 struct dirent **vector = NULL; in php_scandir() 66 char entry[sizeof(struct dirent)+MAXPATHLEN]; in php_scandir() 67 struct dirent *dp = (struct dirent *)&entry; in php_scandir() 79 struct dirent *newdp = NULL; in php_scandir() 86 struct dirent **newv; in php_scandir() 93 newv = (struct dirent **) realloc (vector, vector_size * sizeof (struct dirent *)); in php_scandir() 101 newdp = (struct dirent *) malloc(dsize); in php_scandir() 107 vector[nfiles++] = (struct dirent *) memcpy(newdp, dp, dsize); in php_scandir() [all …]
|
H A D | php_scandir.h | 45 …name, struct dirent **namelist[], int (*selector) (const struct dirent *entry), int (*compare) (co… 51 PHPAPI int php_alphasort(const struct dirent **a, const struct dirent **b);
|
H A D | php_reentrancy.h | 57 PHPAPI int php_readdir_r(DIR *dirp, struct dirent *entry, 58 struct dirent **result);
|
H A D | reentrancy.c | 128 PHPAPI int php_readdir_r(DIR *dirp, struct dirent *entry, in php_readdir_r() 129 struct dirent **result) in php_readdir_r() 149 struct dirent *ptr; in php_readdir_r()
|
H A D | php_streams.h | 342 #define php_stream_readdir(dirstream, dirent) _php_stream_readdir((dirstream), (dirent) TSRMLS_CC) argument
|
H A D | php_ini.c | 648 struct dirent **namelist; in php_init_config()
|
/PHP-5.3/TSRM/ |
H A D | readdir.h | 20 struct dirent { struct 35 struct dirent dent; /* the dirent to return */ argument 40 struct dirent *readdir(DIR *); 41 int readdir_r(DIR *, struct dirent *, struct dirent **);
|
H A D | configure.in | 24 dirent.h \
|
/PHP-5.3/win32/ |
H A D | readdir.h | 24 struct dirent { struct 39 struct dirent dent; /* the dirent to return */ argument 44 struct dirent *readdir(DIR *); 45 int readdir_r(DIR *, struct dirent *, struct dirent **);
|
H A D | readdir.c | 70 struct dirent *readdir(DIR *dp) in readdir() 91 int readdir_r(DIR *dp, struct dirent *entry, struct dirent **result) in readdir_r()
|
H A D | glob.h | 66 struct dirent *(*gl_readdir)(void *);
|
H A D | glob.c | 619 register struct dirent *dp; 630 struct dirent *(*readdirfunc)();
|
/PHP-5.3/ext/session/ |
H A D | mod_files.c | 212 char dentry[sizeof(struct dirent) + MAXPATHLEN]; in ps_files_cleanup_dir() 213 struct dirent *entry = (struct dirent *) &dentry; in ps_files_cleanup_dir() 234 while (php_readdir_r(dir, (struct dirent *) dentry, &entry) == 0 && entry) { in ps_files_cleanup_dir()
|
/PHP-5.3/main/streams/ |
H A D | plain_wrapper.c | 816 char entry[sizeof(struct dirent)+MAXPATHLEN]; in php_plain_files_dirstream_read() 817 struct dirent *result = (struct dirent *)&entry; in php_plain_files_dirstream_read() 824 if (php_readdir_r(dir, (struct dirent *)entry, &result) == 0 && result) { in php_plain_files_dirstream_read()
|
/PHP-5.3/ |
H A D | acinclude.m4 | 1353 #include <dirent.h> 1361 char entry[sizeof(struct dirent)+PATH_MAX]; 1362 struct dirent *pentry = (struct dirent *) &entry; 1367 if (readdir_r(dir, (struct dirent *) entry, &pentry) == 0) 1377 #include <dirent.h> 1378 int readdir_r(DIR *, struct dirent *);
|
H A D | configure.in | 401 dirent.h \
|
/PHP-5.3/ext/fileinfo/ |
H A D | libmagic.patch | 46 -#include <dirent.h> 327 - struct dirent *d;
|
Completed in 39 milliseconds