Searched defs:S_ISDIR (Results 1 - 9 of 9) sorted by relevance

/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dfsmagic.c69 #ifndef S_ISDIR
70 #define S_ISDIR(mode) ((mode) & _S_IFDIR) macro
H A Dapprentice.c247 #ifndef S_ISDIR
248 #define S_ISDIR(mode) ((mode) & _S_IFDIR) macro
1173 if (php_sys_stat(fn, &st) == 0 && S_ISDIR(st.st_mode)) {
/PHP_TRUNK/ext/phar/
H A Dfunc_interceptors.c417 #ifndef S_ISDIR
418 #define S_ISDIR(mode) (((mode)&S_IFMT) == S_IFDIR) macro
522 RETURN_BOOL((stat_sb->st_mode&xmask)!=0 && !S_ISDIR(stat_sb->st_mode));
526 RETURN_BOOL(S_ISDIR(stat_sb->st_mode));
H A Dtar.c454 #ifndef S_ISDIR
455 #define S_ISDIR(mode) (((mode)&S_IFMT) == S_IFDIR) macro
457 if (old && entry.tar_type == TAR_FILE && S_ISDIR(entry.flags)) {
/PHP_TRUNK/sapi/cli/
H A Dphp_cli_server.c94 #ifndef S_ISDIR
95 #define S_ISDIR(mode) (((mode)&S_IFMT) == S_IFDIR) macro
2526 if (!S_ISDIR(sb.st_mode)) {
/PHP_TRUNK/ext/standard/
H A Dfile.c125 #ifndef S_ISDIR
126 # define S_ISDIR(mode) (((mode)&S_IFMT) == S_IFDIR) macro
1703 if (S_ISDIR(src_s.sb.st_mode)) {
1718 if (S_ISDIR(dest_s.sb.st_mode)) {
H A Dfilestat.c88 #ifndef S_ISDIR
89 #define S_ISDIR(mode) (((mode)&S_IFMT) == S_IFDIR) macro
1001 RETURN_BOOL((ssb.sb.st_mode&xmask)!=0 && !S_ISDIR(ssb.sb.st_mode));
1005 RETURN_BOOL(S_ISDIR(ssb.sb.st_mode));
/PHP_TRUNK/win32/
H A Dglob.c74 #ifndef S_ISDIR
75 #define S_ISDIR(m) (((m) & _S_IFDIR) == _S_IFDIR) macro
577 !IS_SLASH(pathend[-1])) && (S_ISDIR(sb.st_mode) ||
580 S_ISDIR(sb.st_mode)))) {
/PHP_TRUNK/Zend/
H A Dzend_virtual_cwd.c92 #ifndef S_ISDIR
93 #define S_ISDIR(mode) ((mode) & _S_IFDIR) macro
413 if (php_sys_stat(state->cwd, &buf) == 0 && S_ISDIR(buf.st_mode))
1123 directory = S_ISDIR(st.st_mode);

Completed in 27 milliseconds