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

/external/clang/lib/Basic/
H A DFileSystemStatCache.cpp28 #define S_ISDIR(s) ((_S_IFDIR & s) !=0) macro
91 if (S_ISDIR(StatBuf.st_mode) != isForDir) {
118 if (!S_ISDIR(StatBuf.st_mode) || llvm::sys::path::is_absolute(Path))
/external/webrtc/test/testsupport/
H A Dfileutils.cc22 #ifndef S_ISDIR // Not defined in stat.h on Windows.
23 #define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR) macro
97 if (!S_ISDIR(path_info.st_mode)) {
/external/kernel-headers/original/linux/
H A Dstat.h26 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) macro
/external/bluetooth/glib/gio/
H A Dglocalfileoutputstream.c44 #ifndef S_ISDIR
45 #define S_ISDIR(m) (((m) & _S_IFMT) == _S_IFDIR) macro
737 if (S_ISDIR (original_stat.st_mode))
H A Dglocalfile.c99 #ifndef S_ISDIR
100 #define S_ISDIR(m) (((m) & _S_IFMT) == _S_IFDIR) macro
1296 if (fstat(fd, &buf) == 0 && S_ISDIR (buf.st_mode))
1659 S_ISDIR (global_stat.st_mode) &&
1686 S_ISDIR (trash_stat.st_mode) &&
1776 S_ISDIR (global_stat.st_mode) &&
1783 if (!S_ISDIR (trash_stat.st_mode) ||
1813 if (!S_ISDIR (trash_stat.st_mode) ||
2139 source_is_dir = S_ISDIR (statbuf.st_mode);
2151 if (S_ISDIR (statbu
[all...]
H A Dglocalfileinfo.c81 #ifndef S_ISDIR
82 #define S_ISDIR(m) (((m) & _S_IFMT) == _S_IFDIR) macro
907 else if (S_ISDIR (statbuf->st_mode))
1211 else if (S_ISDIR(statbuf->st_mode))
1589 if (S_ISDIR (statbuf.st_mode))
/external/grub/stage2/
H A Dfsys_minix.c154 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) macro
435 if (!(INODE->i_size) || !S_ISDIR (INODE->i_mode))
H A Dfsys_ext2fs.c235 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) macro
690 if (!(INODE->i_size) || !S_ISDIR (INODE->i_mode))
H A Dfsys_reiserfs.c287 #define S_ISDIR(mode) (((mode) & 0170000) == 0040000) macro
1117 if (! S_ISDIR (mode))
/external/clang/lib/Frontend/
H A DCacheTokens.cpp32 #ifndef S_ISDIR
33 #define S_ISDIR(x) (((x)&_S_IFDIR)!=0) macro
525 else if (S_ISDIR(StatBuf.st_mode)) {
/external/openssh/
H A Ddefines.h138 #ifndef S_ISDIR
139 # define S_ISDIR(mode) (((mode) & (_S_IFMT)) == (_S_IFDIR)) macro
140 #endif /* S_ISDIR */
/external/libxml2/
H A DxmlIO.c68 # ifndef S_ISDIR
70 # define S_ISDIR(x) _S_ISDIR(x) macro
79 # define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) macro
784 #ifdef S_ISDIR
785 if (S_ISDIR(stat_buffer.st_mode))
/external/openssl/apps/
H A Dapps.c3045 #ifndef S_ISDIR
3047 # define S_ISDIR(a) (((a) & _S_IFMT) == _S_IFDIR) macro
3049 # define S_ISDIR(a) (((a) & S_IFMT) == S_IFDIR) macro
3055 #if defined(S_ISDIR)
3058 if (stat(name,&st)==0) return S_ISDIR(st.st_mode);

Completed in 1494 milliseconds