/external/e2fsprogs/lib/ext2fs/ |
finddev.c | 100 if (S_ISDIR(st.st_mode)) 102 if (S_ISBLK(st.st_mode) && st.st_rdev == device) {
|
/external/e2fsprogs/misc/ |
lsattr.c | 119 if (S_ISDIR(st.st_mode) && !dirs_opt) 145 if (S_ISDIR(st.st_mode) && recursive &&
|
util.c | 102 if (!S_ISBLK(s.st_mode) && !S_ISCHR(s.st_mode)) 104 if (!S_ISBLK(s.st_mode))
|
/external/elfutils/libelf/ |
elf_update.c | 136 && unlikely (st.st_mode & (S_ISUID | S_ISGID)) 138 && unlikely (fchmod (elf->fildes, st.st_mode) != 0))
|
/external/oprofile/libutil++/ |
file_manip.cpp | 47 mode_t mode = buf.st_mode & ~S_IFMT; 82 return !stat(dirname.c_str(), &st) && S_ISDIR(st.st_mode);
|
/external/protobuf/src/google/protobuf/testing/ |
file.cc | 153 if (S_ISDIR(stats.st_mode)) { 169 } else if (S_ISREG(stats.st_mode)) {
|
/frameworks/av/media/libmedia/ |
MediaScanner.cpp | 196 if (S_ISREG(statbuf.st_mode)) { 198 } else if (S_ISDIR(statbuf.st_mode)) {
|
/libcore/luni/src/test/java/libcore/io/ |
OsTest.java | 36 assertFalse(S_ISSOCK(Libcore.os.fstat(fis.getFD()).st_mode)); 40 assertTrue(S_ISSOCK(Libcore.os.fstat(s.getImpl$().getFD$()).st_mode));
|
/external/chromium/third_party/libevent/sample/ |
event-test.c | 93 if ((st.st_mode & S_IFMT) == S_IFREG) {
|
/external/chromium_org/third_party/libevent/sample/ |
event-test.c | 93 if ((st.st_mode & S_IFMT) == S_IFREG) {
|
/external/openssh/openbsd-compat/ |
mktemp.c | 129 if (!S_ISDIR(sbuf.st_mode)) {
|
/ndk/sources/host-tools/sed-4.2.1/lib/ |
sys_stat.in.h | 177 # define S_TYPEISSEM(p) (S_ISNAM ((p)->st_mode) && (p)->st_rdev == S_INSEM) 185 # define S_TYPEISSHM(p) (S_ISNAM ((p)->st_mode) && (p)->st_rdev == S_INSHD)
|
/system/core/libcutils/ |
ashmem-host.c | 108 if (!(buf.st_nlink == 0 && S_ISREG(buf.st_mode))) {
|
/system/core/libdiskconfig/ |
diskconfig.c | 251 if (S_ISBLK(stat.st_mode) && ((rv = ioctl(fd, BLKRRPART, NULL)) < 0)) { 299 if (S_ISBLK(stat.st_mode)) { 321 } else if (S_ISREG(stat.st_mode)) { 373 if (S_ISBLK(stat.st_mode) && total_size > disk_size) {
|
/system/core/toolbox/ |
rm.c | 32 if (!S_ISDIR(st.st_mode))
|
/system/extras/tests/storage/ |
wipe_blkdev.c | 114 if (!S_ISBLK(statbuf.st_mode)) {
|
/external/openssh/ |
sftp-common.c | 75 a->perm = st->st_mode; 94 st->st_mode = a->perm; 198 strmode(st->st_mode, mode);
|
/external/stlport/src/details/ |
fstream_stdio.cpp | 130 return FSTAT(fd, &buf) == 0 && (buf.st_mode & S_IFREG) != 0 ; 138 if (FSTAT(fd, &buf) == 0 && (buf.st_mode & S_IFREG) != 0) 281 int mode = buf.st_mode;
|
/ndk/sources/cxx-stl/stlport/src/details/ |
fstream_stdio.cpp | 130 return FSTAT(fd, &buf) == 0 && (buf.st_mode & S_IFREG) != 0 ; 138 if (FSTAT(fd, &buf) == 0 && (buf.st_mode & S_IFREG) != 0) 281 int mode = buf.st_mode;
|
/system/core/run-as/ |
package.c | 119 if ((st.st_mode & S_IWOTH) != 0) { 181 if (!S_ISDIR(st.st_mode)) 189 if ((st.st_mode & (S_IROTH|S_IWOTH)) != 0)
|
/system/extras/tests/fstest/ |
perm_checker.c | 379 if (S_ISDIR(s.st_mode)) { 385 retval |= validate_dir(namebuf, PERMS(s.st_mode), s.st_uid, s.st_gid); 400 } else if (S_ISLNK(s.st_mode)) { 401 return validate_link(name, PERMS(s.st_mode), s.st_uid, s.st_gid); 403 return validate_file(name, PERMS(s.st_mode), s.st_uid, s.st_gid);
|
/external/chromium/chrome/browser/ |
process_singleton_linux_uitest.cc | 109 ASSERT_TRUE(S_ISLNK(statbuf.st_mode)); 115 ASSERT_TRUE(S_ISLNK(statbuf.st_mode)); 122 ASSERT_TRUE(S_ISSOCK(statbuf.st_mode));
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/ |
mount_http_test.cc | 180 statbuf.st_mode); 298 EXPECT_EQ(S_IFREG | S_IRALL, sfoo.st_mode); 301 EXPECT_EQ(S_IFREG | S_IRALL | S_IWALL, sbar.st_mode);
|
/external/liblzf/ |
lzf.c | 396 if (!S_ISREG (mystat.st_mode)) 435 fchmod (fd2, mystat.st_mode); 437 chmod (oname, mystat.st_mode);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
filecmp.py | 60 return (stat.S_IFMT(st.st_mode), 160 a_type = stat.S_IFMT(a_stat.st_mode) 161 b_type = stat.S_IFMT(b_stat.st_mode)
|