Searched refs:S_ISDIR (Results 1 - 25 of 126) sorted by relevance
123456
/external/e2fsprogs/tests/progs/ |
H A D | hold_inode.c | 35 if (S_ISDIR(statbuf.st_mode)) {
|
/external/toybox/toys/other/ |
H A D | lsattr.c | 82 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 D | mountpoint.c | 48 if (!S_ISDIR(st1.st_mode)) die("directory");
|
H A D | switch_root.c | 34 if (S_ISDIR(node->st.st_mode)) {
|
/external/bison/lib/ |
H A D | stat.c | 86 if (result == 0 && !S_ISDIR (st->st_mode)) 129 if (result == 0 && check_dir && !S_ISDIR (st->st_mode))
|
H A D | open.c | 132 if (stat (filename, &statbuf) == 0 && S_ISDIR (statbuf.st_mode)) 165 if (fstat (fd, &statbuf) >= 0 && !S_ISDIR (statbuf.st_mode))
|
H A D | fopen.c | 90 if (fstat (fd, &statbuf) >= 0 && !S_ISDIR (statbuf.st_mode))
|
/external/toybox/toys/posix/ |
H A D | ln.c | 41 || !S_ISDIR(buf.st_mode)) 51 if (S_ISDIR(buf.st_mode)) new = xmprintf("%s/%s", dest, basename(try));
|
H A D | du.c | 85 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 D | cp.c | 154 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 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/ |
H A 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/e2fsprogs/lib/e2p/ |
H A D | getflags.c | 58 !S_ISREG(buf.st_mode) && !S_ISDIR(buf.st_mode))
|
H A D | setflags.c | 64 !S_ISREG(buf.st_mode) && !S_ISDIR(buf.st_mode)) {
|
H A D | fgetflags.c | 71 !S_ISREG(buf.st_mode) && !S_ISDIR(buf.st_mode)) {
|
H A D | fsetflags.c | 77 !S_ISREG(buf.st_mode) && !S_ISDIR(buf.st_mode)) {
|
/external/kernel-headers/original/uapi/linux/ |
H A D | stat.h | 21 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) macro
|
/external/libchrome/base/files/ |
H A D | file_enumerator_posix.cc | 25 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 D | diff.c | 489 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 D | linux-dev-lookup.c | 34 if (S_ISDIR(st.st_mode)) {
|
/external/google-breakpad/src/common/android/testing/ |
H A D | mkdtemp.h | 84 if (!S_ISDIR(st.st_mode)) {
|
/external/google-breakpad/src/common/tests/ |
H A D | auto_tempdir.h | 82 if (S_ISDIR(stats.st_mode))
|
/external/e2fsprogs/lib/blkid/ |
H A D | devno.c | 125 if (list && S_ISDIR(st.st_mode) && !lstat(path, &st) && 126 S_ISDIR(st.st_mode))
|
/external/e2fsprogs/misc/ |
H A D | lsattr.c | 119 if (S_ISDIR(st.st_mode) && !dirs_opt) 145 if (S_ISDIR(st.st_mode) && recursive &&
|
/external/squashfs-tools/squashfs-tools/ |
H A D | android.c | 51 fs_config_func(path, S_ISDIR(stat->st_mode), target_out_path,
|
Completed in 657 milliseconds
123456