Home
last modified time | relevance | path

Searched refs:dirent (Results 1 – 17 of 17) sorted by relevance

/PHP-5.3/main/
H A Dphp_scandir.c53 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 Dphp_scandir.h45 …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 Dphp_reentrancy.h57 PHPAPI int php_readdir_r(DIR *dirp, struct dirent *entry,
58 struct dirent **result);
H A Dreentrancy.c128 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 Dphp_streams.h342 #define php_stream_readdir(dirstream, dirent) _php_stream_readdir((dirstream), (dirent) TSRMLS_CC) argument
H A Dphp_ini.c648 struct dirent **namelist; in php_init_config()
/PHP-5.3/TSRM/
H A Dreaddir.h20 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 Dconfigure.in24 dirent.h \
/PHP-5.3/win32/
H A Dreaddir.h24 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 Dreaddir.c70 struct dirent *readdir(DIR *dp) in readdir()
91 int readdir_r(DIR *dp, struct dirent *entry, struct dirent **result) in readdir_r()
H A Dglob.h66 struct dirent *(*gl_readdir)(void *);
H A Dglob.c619 register struct dirent *dp;
630 struct dirent *(*readdirfunc)();
/PHP-5.3/ext/session/
H A Dmod_files.c212 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 Dplain_wrapper.c816 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 Dacinclude.m41353 #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 Dconfigure.in401 dirent.h \
/PHP-5.3/ext/fileinfo/
H A Dlibmagic.patch46 -#include <dirent.h>
327 - struct dirent *d;

Completed in 39 milliseconds