Searched refs:S_ISDIR (Results 1 - 25 of 103) sorted by relevance

12345

/external/e2fsprogs/tests/progs/
H A Dhold_inode.c35 if (S_ISDIR(statbuf.st_mode)) {
/external/bison/lib/
H A Dstat.c86 if (result == 0 && !S_ISDIR (st->st_mode))
129 if (result == 0 && check_dir && !S_ISDIR (st->st_mode))
H A Dopen.c132 if (stat (filename, &statbuf) == 0 && S_ISDIR (statbuf.st_mode))
165 if (fstat (fd, &statbuf) >= 0 && !S_ISDIR (statbuf.st_mode))
H A Dfopen.c90 if (fstat (fd, &statbuf) >= 0 && !S_ISDIR (statbuf.st_mode))
H A Dsys_stat.in.h88 # undef S_ISDIR
115 #ifndef S_ISDIR
117 # define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
119 # define S_ISDIR(m) 0
/external/chromium_org/base/files/
H A Dfile_enumerator_posix.cc23 return S_ISDIR(stat_.st_mode);
102 if (recursive_ && S_ISDIR(i->stat_.st_mode))
105 if ((S_ISDIR(i->stat_.st_mode) && (file_type_ & DIRECTORIES)) ||
106 (!S_ISDIR(i->stat_.st_mode) && (file_type_ & FILES)))
H A Dfile_util_posix.cc211 if (!S_ISDIR(file_info.st_mode))
300 S_ISDIR(to_path_stat.st_mode)) {
309 DCHECK(recursive || S_ISDIR(from_stat.st_mode));
323 if (S_ISDIR(from_stat.st_mode)) {
368 return S_ISDIR(file_info.st_mode);
606 S_ISDIR(file_info.st_mode))
844 if (S_ISDIR(to_file_info.st_mode) != S_ISDIR(from_file_info.st_mode))
/external/e2fsprogs/lib/e2p/
H A Dgetflags.c58 !S_ISREG(buf.st_mode) && !S_ISDIR(buf.st_mode))
H A Dsetflags.c64 !S_ISREG(buf.st_mode) && !S_ISDIR(buf.st_mode)) {
H A Dfgetflags.c71 !S_ISREG(buf.st_mode) && !S_ISDIR(buf.st_mode)) {
H A Dfsetflags.c77 !S_ISREG(buf.st_mode) && !S_ISDIR(buf.st_mode)) {
/external/kernel-headers/original/uapi/linux/
H A Dstat.h21 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) macro
/external/webrtc/src/modules/audio_processing/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/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/oprofile/libutil/
H A Dop_file.c161 if (S_ISDIR(stat_buffer.st_mode)) {
175 if (name && S_ISDIR(stat_buffer.st_mode)) {
/external/e2fsprogs/lib/blkid/
H A Ddevno.c125 if (list && S_ISDIR(st.st_mode) && !lstat(path, &st) &&
126 S_ISDIR(st.st_mode))
/external/e2fsprogs/misc/
H A Dlsattr.c119 if (S_ISDIR(st.st_mode) && !dirs_opt)
145 if (S_ISDIR(st.st_mode) && recursive &&
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/
H A Drealpath.c114 if (!done && !S_ISDIR(statbuf.st_mode)) {
/external/chromium_org/third_party/android_crazy_linker/src/src/
H A Dcrazy_linker_system.cpp77 return S_ISREG(st.st_mode) || S_ISDIR(st.st_mode);
/external/chromium_org/third_party/webrtc/test/testsupport/
H A Dfileutils.cc31 #ifndef S_ISDIR // Not defined in stat.h on Windows.
32 #define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR) macro
198 if (!S_ISDIR(path_info.st_mode)) {
/external/chromium_org/base/
H A Dos_compat_android.cc145 if (!S_ISDIR(st.st_mode)) { // Not a directory
/external/chromium_org/ipc/
H A Dfile_descriptor_set_posix.cc126 if (fstat(*i, &st) == 0 && S_ISDIR(st.st_mode))
/external/clang/lib/Basic/
H A DFileSystemStatCache.cpp28 #define S_ISDIR(s) ((_S_IFDIR & s) !=0) macro
/external/qemu/distrib/sdl-1.2.15/src/audio/
H A DSDL_audiodev.c65 if ( ((stat("/dev/sound", &sb) == 0) && S_ISDIR(sb.st_mode)) &&
/external/chromium_org/sandbox/linux/suid/
H A Dsandbox.c89 if (!stat(SAFE_DIR, &sdir_stat) && S_ISDIR(sdir_stat.st_mode)) {
91 } else if (!stat(SAFE_DIR2, &sdir_stat) && S_ISDIR(sdir_stat.st_mode)) {

Completed in 356 milliseconds

12345