/external/toybox/toys/other/ |
D | lsattr.c | 82 if(!S_ISREG(sb->st_mode) && !S_ISDIR(sb->st_mode)) { in ext2_getflag() 95 if (!stat(path, &sb) && !S_ISREG(sb.st_mode) && !S_ISDIR(sb.st_mode)) { in print_file_attr() 147 if (S_ISDIR(root->st.st_mode) && !root->parent) in retell_dir() 154 if (S_ISDIR(root->st.st_mode) && (toys.optflags & FLAG_R) in retell_dir() 173 else if (S_ISDIR(sb.st_mode) && !(toys.optflags & FLAG_d)) in lsattr_main() 192 if (!S_ISREG(sb->st_mode) && !S_ISDIR(sb->st_mode)) { in ext2_setflag() 263 && !S_ISDIR(root->st.st_mode))) in update_attr() 284 if (!S_ISDIR(root->st.st_mode)) fval &= ~FS_DIRSYNC_FL; in update_attr() 295 if (S_ISDIR(root->st.st_mode) && chattr.recursive) return DIRTREE_RECURSE; in update_attr()
|
/external/chromium-trace/catapult/telemetry/third_party/pyfakefs/pyfakefs/ |
D | fake_filesystem_shutil.py | 85 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/ |
D | fake_filesystem_shutil.py | 85 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/toybox/toys/pending/ |
D | diff.c | 489 if (S_ISDIR(node->st.st_mode) && !node->parent) { //add root dirs. in list_dir() 494 if (S_ISDIR(node->st.st_mode) && (toys.optflags & FLAG_r)) { in list_dir() 503 return S_ISDIR(node->st.st_mode) ? 0 : (DIRTREE_RECURSE|DIRTREE_SYMFOLLOW); in list_dir() 679 if (S_ISDIR(st[0].st_mode) && S_ISDIR(st[1].st_mode)) in create_empty_entry() 681 else if (!S_ISREG(st[0].st_mode) && !S_ISDIR(st[0].st_mode)) in create_empty_entry() 684 else if (!S_ISREG(st[1].st_mode) && !S_ISDIR(st[1].st_mode)) in create_empty_entry() 687 else if (S_ISDIR(st[0].st_mode) != S_ISDIR(st[1].st_mode)) { in create_empty_entry() 688 if (S_ISDIR(st[0].st_mode)) in create_empty_entry() 789 && (S_ISDIR(st[0].st_mode) || S_ISDIR(st[1].st_mode))) in diff_main() 798 if (S_ISDIR(st[0].st_mode) && S_ISDIR(st[1].st_mode)) { in diff_main() [all …]
|
/external/libchrome/base/files/ |
D | file_enumerator_posix.cc | 25 return S_ISDIR(stat_.st_mode); in IsDirectory() 104 if (recursive_ && S_ISDIR(i->stat_.st_mode)) in Next() 107 if ((S_ISDIR(i->stat_.st_mode) && (file_type_ & DIRECTORIES)) || in Next() 108 (!S_ISDIR(i->stat_.st_mode) && (file_type_ & FILES))) in Next()
|
D | file_util_posix.cc | 212 if (!S_ISDIR(file_info.st_mode)) in DeleteFile() 301 S_ISDIR(to_path_stat.st_mode)) { in CopyDirectory() 310 DCHECK(recursive || S_ISDIR(from_stat.st_mode)); in CopyDirectory() 324 if (S_ISDIR(from_stat.st_mode)) { in CopyDirectory() 385 return S_ISDIR(file_info.st_mode); in DirectoryExists() 616 S_ISDIR(file_info.st_mode)) in NormalizeFilePath() 920 if (S_ISDIR(to_file_info.st_mode) != S_ISDIR(from_file_info.st_mode)) in MoveUnsafe()
|
/external/toybox/toys/posix/ |
D | cp.c | 154 if (S_ISDIR(try->st.st_mode) && try->again) { in cp_node() 177 if (!faccessat(cfd, catch, F_OK, 0) && !S_ISDIR(cst.st_mode)) { in cp_node() 180 if (S_ISDIR(try->st.st_mode)) { in cp_node() 209 if (S_ISDIR(try->st.st_mode)) { in cp_node() 227 if (!fstat(try->extra, &st2) && S_ISDIR(st2.st_mode)) in cp_node() 361 if (unlinkat(tfd, try->name, S_ISDIR(try->st.st_mode) ? AT_REMOVEDIR :0)) in cp_node() 372 int i, destdir = !stat(destname, &TT.top) && S_ISDIR(TT.top.st_mode); in cp_main()
|
D | du.c | 85 else if (!S_ISDIR(st->st_mode) && st->st_nlink > 1) { in seen_inode() 130 if (S_ISDIR(node->st.st_mode)) { in do_du() 142 || (S_ISDIR(node->st.st_mode) && !(toys.optflags & FLAG_s))) in do_du()
|
D | ln.c | 41 || !S_ISDIR(buf.st_mode)) in ln_main() 51 if (S_ISDIR(buf.st_mode)) new = xmprintf("%s/%s", dest, basename(try)); in ln_main()
|
D | ls.c | 95 if ((toys.optflags&(FLAG_F|FLAG_p)) && S_ISDIR(mode)) return '/'; in endtype() 273 if (S_ISDIR(mode)) color = 256+34; in color_from_mode() 309 if (dt && S_ISDIR(dt->st.st_mode) && !dt->next && !(flags&(FLAG_d|FLAG_R))) in listfiles() 405 if (S_ISDIR(mode) && !indir->parent && !(flags & FLAG_d)) continue; in listfiles() 509 if ((flags & FLAG_d) || !S_ISDIR(sort[ul]->st.st_mode)) continue; in listfiles()
|
D | find.c | 212 if (S_ISDIR(new->st.st_mode)) { in do_find() 286 S_ISDIR(new->st.st_mode) ? AT_REMOVEDIR : 0); in do_find() 310 if (check && S_ISDIR(new->st.st_mode) && !TT.depth) recurse = 0; in do_find() 525 if (S_ISDIR(new->st.st_mode)) execdir(new, 0); in do_find()
|
/external/bison/lib/ |
D | stat.c | 86 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()
|
D | open.c | 132 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()
|
D | sys_stat.in.h | 88 # undef S_ISDIR 115 #ifndef S_ISDIR 117 # define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) 119 # define S_ISDIR(m) 0
|
D | fopen.c | 90 if (fstat (fd, &statbuf) >= 0 && !S_ISDIR (statbuf.st_mode)) in rpl_fopen()
|
/external/webrtc/webrtc/test/testsupport/ |
D | fileutils.cc | 31 #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/e2fsprogs/misc/ |
D | lsattr.c | 119 if (S_ISDIR(st.st_mode) && !dirs_opt) in lsattr_args() 145 if (S_ISDIR(st.st_mode) && recursive && in lsattr_dir_proc()
|
D | chattr.c | 228 if (!S_ISDIR(st.st_mode)) in change_attributes() 250 if (S_ISDIR(st.st_mode) && recursive) in change_attributes()
|
/external/ImageMagick/MagickWand/ |
D | studio.h | 195 # if !defined(S_ISDIR) 196 # define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR) macro
|
/external/e2fsprogs/lib/blkid/ |
D | devno.c | 125 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/ImageMagick/MagickCore/ |
D | studio.h | 194 # if !defined(S_ISDIR) 195 # define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR) macro
|
/external/e2fsprogs/tests/progs/ |
D | hold_inode.c | 35 if (S_ISDIR(statbuf.st_mode)) { in main()
|
/external/e2fsprogs/lib/e2p/ |
D | setflags.c | 64 !S_ISREG(buf.st_mode) && !S_ISDIR(buf.st_mode)) { in setflags()
|
D | getflags.c | 58 !S_ISREG(buf.st_mode) && !S_ISDIR(buf.st_mode)) in getflags()
|
/external/kernel-headers/original/uapi/linux/ |
D | stat.h | 21 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) macro
|