Home
last modified time | relevance | path

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

12345

/external/chromium_org/base/files/
Dfile_enumerator_posix.cc23 return S_ISDIR(stat_.st_mode); in IsDirectory()
102 if (recursive_ && S_ISDIR(i->stat_.st_mode)) in Next()
105 if ((S_ISDIR(i->stat_.st_mode) && (file_type_ & DIRECTORIES)) || in Next()
106 (!S_ISDIR(i->stat_.st_mode) && (file_type_ & FILES))) in Next()
Dfile_util_posix.cc211 if (!S_ISDIR(file_info.st_mode)) in DeleteFile()
300 S_ISDIR(to_path_stat.st_mode)) { in CopyDirectory()
309 DCHECK(recursive || S_ISDIR(from_stat.st_mode)); in CopyDirectory()
323 if (S_ISDIR(from_stat.st_mode)) { in CopyDirectory()
368 return S_ISDIR(file_info.st_mode); in DirectoryExists()
606 S_ISDIR(file_info.st_mode)) in NormalizeFilePath()
844 if (S_ISDIR(to_file_info.st_mode) != S_ISDIR(from_file_info.st_mode)) in MoveUnsafe()
/external/webrtc/test/testsupport/
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)) { in CreateDirectory()
/external/bison/lib/
Dstat.c86 if (result == 0 && !S_ISDIR (st->st_mode)) in rpl_stat()
129 if (result == 0 && check_dir && !S_ISDIR (st->st_mode)) in rpl_stat()
Dopen.c132 if (stat (filename, &statbuf) == 0 && S_ISDIR (statbuf.st_mode)) in open()
165 if (fstat (fd, &statbuf) >= 0 && !S_ISDIR (statbuf.st_mode)) in open()
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
Dfopen.c90 if (fstat (fd, &statbuf) >= 0 && !S_ISDIR (statbuf.st_mode)) in rpl_fopen()
/external/chromium_org/third_party/webrtc/test/testsupport/
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)) { in CreateDir()
/external/oprofile/libutil/
Dop_file.c161 if (S_ISDIR(stat_buffer.st_mode)) { in get_matching_pathnames()
175 if (name && S_ISDIR(stat_buffer.st_mode)) { in get_matching_pathnames()
/external/e2fsprogs/misc/
Dlsattr.c119 if (S_ISDIR(st.st_mode) && !dirs_opt) in lsattr_args()
145 if (S_ISDIR(st.st_mode) && recursive && in lsattr_dir_proc()
Dchattr.c228 if (!S_ISDIR(st.st_mode)) in change_attributes()
250 if (S_ISDIR(st.st_mode) && recursive) in change_attributes()
/external/e2fsprogs/lib/blkid/
Ddevno.c125 if (list && S_ISDIR(st.st_mode) && !lstat(path, &st) && in blkid__scan_dir()
126 S_ISDIR(st.st_mode)) in blkid__scan_dir()
/external/e2fsprogs/tests/progs/
Dhold_inode.c35 if (S_ISDIR(statbuf.st_mode)) { in main()
/external/e2fsprogs/lib/e2p/
Dsetflags.c64 !S_ISREG(buf.st_mode) && !S_ISDIR(buf.st_mode)) { in setflags()
Dgetflags.c58 !S_ISREG(buf.st_mode) && !S_ISDIR(buf.st_mode)) in getflags()
Dfsetflags.c77 !S_ISREG(buf.st_mode) && !S_ISDIR(buf.st_mode)) { in fsetflags()
Dfgetflags.c71 !S_ISREG(buf.st_mode) && !S_ISDIR(buf.st_mode)) { in fgetflags()
/external/kernel-headers/original/uapi/linux/
Dstat.h21 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) macro
/external/chromium_org/third_party/libxslt/libxslt/
Dsecurity.c296 #ifdef S_ISDIR in xsltCheckFilename()
297 if (S_ISDIR(stat_buffer.st_mode)) { in xsltCheckFilename()
/external/yaffs2/yaffs2/utils/
Dmkyaffs2image.c330 fs_config(path, S_ISDIR(s->st_mode), &s->st_uid, &s->st_gid, &s->st_mode, &capabilities); in fix_stat()
401 S_ISDIR(stats.st_mode) || in process_directory()
498 else if(S_ISDIR(stats.st_mode)) in process_directory()
605 if(!S_ISDIR(stats.st_mode)) in main()
/external/chromium_org/third_party/webrtc/modules/video_coding/codecs/tools/
Dvideo_quality_measurement.cc18 #ifndef S_ISDIR // Not defined in stat.h on Windows.
19 #define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR) macro
134 S_ISDIR(dir_info.st_mode))) { in HandleCommandLineFlags()
/external/bison/linux-lib/sys/
Dstat.h400 # undef S_ISDIR
427 #ifndef S_ISDIR
429 # define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) macro
431 # define S_ISDIR(m) 0 macro
/external/bison/darwin-lib/sys/
Dstat.h400 # undef S_ISDIR
427 #ifndef S_ISDIR
429 # define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) macro
431 # define S_ISDIR(m) 0 macro
/external/chromium_org/sandbox/linux/suid/
Dsandbox.c89 if (!stat(SAFE_DIR, &sdir_stat) && S_ISDIR(sdir_stat.st_mode)) { in SpawnChrootHelper()
91 } else if (!stat(SAFE_DIR2, &sdir_stat) && S_ISDIR(sdir_stat.st_mode)) { in SpawnChrootHelper()
/external/chromium_org/third_party/webrtc/base/
Dunixfilesystem.cc101 return S_ISDIR(st.st_mode) != 0; in CreateFolder()
263 return S_ISDIR(st.st_mode); in IsFolder()
318 return res == 0 && !S_ISDIR(st.st_mode); in IsFile()

12345