Home
last modified time | relevance | path

Searched refs:S_ISDIR (Results 1 – 12 of 12) sorted by relevance

/PHP-5.3/ext/fileinfo/libmagic/
H A Dfsmagic.c69 #ifndef S_ISDIR
70 #define S_ISDIR(mode) ((mode) & _S_IFDIR) macro
H A Dmagic.c117 if (S_ISDIR(st.st_mode)) {
H A Dapprentice.c203 #ifndef S_ISDIR
204 #define S_ISDIR(mode) ((mode) & _S_IFDIR) macro
777 if (php_sys_stat(fn, &st) == 0 && S_ISDIR(st.st_mode)) {
/PHP-5.3/win32/
H A Dglob.c67 #ifndef S_ISDIR
68 #define S_ISDIR(m) (((m) & _S_IFDIR) == _S_IFDIR) macro
570 !IS_SLASH(pathend[-1])) && (S_ISDIR(sb.st_mode) ||
573 S_ISDIR(sb.st_mode)))) {
/PHP-5.3/ext/standard/
H A Dfilestat.c89 #ifndef S_ISDIR
90 #define S_ISDIR(mode) (((mode)&S_IFMT) == S_IFDIR) macro
953 RETURN_BOOL((ssb.sb.st_mode&xmask)!=0 && !S_ISDIR(ssb.sb.st_mode)); in php_stat()
957 RETURN_BOOL(S_ISDIR(ssb.sb.st_mode)); in php_stat()
H A Dfile.c126 #ifndef S_ISDIR
127 # define S_ISDIR(mode) (((mode)&S_IFMT) == S_IFDIR) macro
1801 if (S_ISDIR(src_s.sb.st_mode)) { in php_copy_file_ctx()
1816 if (S_ISDIR(dest_s.sb.st_mode)) { in php_copy_file_ctx()
/PHP-5.3/ext/phar/
H A Dfunc_interceptors.c423 #ifndef S_ISDIR
424 #define S_ISDIR(mode) (((mode)&S_IFMT) == S_IFDIR) macro
528 RETURN_BOOL((stat_sb->st_mode&xmask)!=0 && !S_ISDIR(stat_sb->st_mode)); in phar_fancy_stat()
532 RETURN_BOOL(S_ISDIR(stat_sb->st_mode)); in phar_fancy_stat()
H A Dtar.c454 #ifndef S_ISDIR in phar_parse_tarfile()
455 #define S_ISDIR(mode) (((mode)&S_IFMT) == S_IFDIR) in phar_parse_tarfile() macro
457 if (old && entry.tar_type == TAR_FILE && S_ISDIR(entry.flags)) { in phar_parse_tarfile()
/PHP-5.3/TSRM/
H A Dtsrm_virtual_cwd.c91 #ifndef S_ISDIR
92 #define S_ISDIR(mode) ((mode) & _S_IFDIR) macro
414 if (php_sys_stat(state->cwd, &buf) == 0 && S_ISDIR(buf.st_mode)) in php_is_dir_ok()
1106 directory = S_ISDIR(st.st_mode); in tsrm_realpath_r()
/PHP-5.3/ext/fileinfo/
H A Dlibmagic.patch107 +#ifndef S_ISDIR
108 +#define S_ISDIR(mode) ((mode) & _S_IFDIR)
350 - if (stat(fn, &st) == 0 && S_ISDIR(st.st_mode)) {
354 + if (php_sys_stat(fn, &st) == 0 && S_ISDIR(st.st_mode)) {
1359 +#ifndef S_ISDIR
1360 +#define S_ISDIR(mode) ((mode) & _S_IFDIR)
/PHP-5.3/ext/sqlite/libsqlite/src/
H A Dos.c812 if( !S_ISDIR(buf.st_mode) ) continue; in sqliteOsTempFileName()
/PHP-5.3/ext/sqlite3/libsqlite/
H A Dsqlite3.c29162 if( !S_ISDIR(buf.st_mode) ) continue;

Completed in 336 milliseconds