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

123456

/external/e2fsprogs/tests/progs/
H A Dhold_inode.c35 if (S_ISDIR(statbuf.st_mode)) {
/external/toybox/toys/other/
H A Dlsattr.c82 if(!S_ISREG(sb->st_mode) && !S_ISDIR(sb->st_mode)) {
95 if (!stat(path, &sb) && !S_ISREG(sb.st_mode) && !S_ISDIR(sb.st_mode)) {
147 if (S_ISDIR(root->st.st_mode) && !root->parent)
154 if (S_ISDIR(root->st.st_mode) && (toys.optflags & FLAG_R)
173 else if (S_ISDIR(sb.st_mode) && !(toys.optflags & FLAG_d))
192 if (!S_ISREG(sb->st_mode) && !S_ISDIR(sb->st_mode)) {
263 && !S_ISDIR(root->st.st_mode)))
284 if (!S_ISDIR(root->st.st_mode)) fval &= ~FS_DIRSYNC_FL;
295 if (S_ISDIR(root->st.st_mode) && chattr.recursive) return DIRTREE_RECURSE;
H A Dmountpoint.c48 if (!S_ISDIR(st1.st_mode)) die("directory");
H A Dswitch_root.c34 if (S_ISDIR(node->st.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))
/external/toybox/toys/posix/
H A Dln.c41 || !S_ISDIR(buf.st_mode))
51 if (S_ISDIR(buf.st_mode)) new = xmprintf("%s/%s", dest, basename(try));
H A Ddu.c85 else if (!S_ISDIR(st->st_mode) && st->st_nlink > 1) {
130 if (S_ISDIR(node->st.st_mode)) {
142 || (S_ISDIR(node->st.st_mode) && !(toys.optflags & FLAG_s)))
H A Dcp.c154 if (S_ISDIR(try->st.st_mode) && try->again) {
177 if (!faccessat(cfd, catch, F_OK, 0) && !S_ISDIR(cst.st_mode)) {
180 if (S_ISDIR(try->st.st_mode)) {
209 if (S_ISDIR(try->st.st_mode)) {
227 if (!fstat(try->extra, &st2) && S_ISDIR(st2.st_mode))
361 if (unlinkat(tfd, try->name, S_ISDIR(try->st.st_mode) ? AT_REMOVEDIR :0))
372 int i, destdir = !stat(destname, &TT.top) && S_ISDIR(TT.top.st_mode);
/external/chromium-trace/catapult/telemetry/third_party/pyfakefs/pyfakefs/
H A Dfake_filesystem_shutil.py85 if stat.S_ISDIR(self.filesystem.GetObject(dst).st_mode):
107 if stat.S_ISDIR(src_file_object.st_mode):
127 if stat.S_ISDIR(dst_file_object.st_mode):
160 if stat.S_ISDIR(self.filesystem.GetObject(dst).st_mode):
182 if not stat.S_ISDIR(directory.st_mode):
189 if stat.S_ISDIR(src_mode):
201 if stat.S_ISDIR(self.filesystem.GetObject(src).st_mode):
/external/chromium-trace/catapult/third_party/pyfakefs/pyfakefs/
H A Dfake_filesystem_shutil.py85 if stat.S_ISDIR(self.filesystem.GetObject(dst).st_mode):
107 if stat.S_ISDIR(src_file_object.st_mode):
127 if stat.S_ISDIR(dst_file_object.st_mode):
160 if stat.S_ISDIR(self.filesystem.GetObject(dst).st_mode):
182 if not stat.S_ISDIR(directory.st_mode):
189 if stat.S_ISDIR(src_mode):
201 if stat.S_ISDIR(self.filesystem.GetObject(src).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/libchrome/base/files/
H A Dfile_enumerator_posix.cc25 return S_ISDIR(stat_.st_mode);
104 if (recursive_ && S_ISDIR(i->stat_.st_mode))
107 if ((S_ISDIR(i->stat_.st_mode) && (file_type_ & DIRECTORIES)) ||
108 (!S_ISDIR(i->stat_.st_mode) && (file_type_ & FILES)))
/external/toybox/toys/pending/
H A Ddiff.c489 if (S_ISDIR(node->st.st_mode) && !node->parent) { //add root dirs.
494 if (S_ISDIR(node->st.st_mode) && (toys.optflags & FLAG_r)) {
503 return S_ISDIR(node->st.st_mode) ? 0 : (DIRTREE_RECURSE|DIRTREE_SYMFOLLOW);
679 if (S_ISDIR(st[0].st_mode) && S_ISDIR(st[1].st_mode))
681 else if (!S_ISREG(st[0].st_mode) && !S_ISDIR(st[0].st_mode))
684 else if (!S_ISREG(st[1].st_mode) && !S_ISDIR(st[1].st_mode))
687 else if (S_ISDIR(st[0].st_mode) != S_ISDIR(st[1].st_mode)) {
688 if (S_ISDIR(s
[all...]
/external/fio/lib/
H A Dlinux-dev-lookup.c34 if (S_ISDIR(st.st_mode)) {
/external/google-breakpad/src/common/android/testing/
H A Dmkdtemp.h84 if (!S_ISDIR(st.st_mode)) {
/external/google-breakpad/src/common/tests/
H A Dauto_tempdir.h82 if (S_ISDIR(stats.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/squashfs-tools/squashfs-tools/
H A Dandroid.c51 fs_config_func(path, S_ISDIR(stat->st_mode), target_out_path,

Completed in 657 milliseconds

123456