/external/protobuf/src/google/protobuf/testing/ |
file.cc | 153 if (S_ISDIR(stats.st_mode)) { 169 } else if (S_ISREG(stats.st_mode)) {
|
/external/skia/src/utils/ |
SkOSFile.cpp | 202 if (s.st_mode & S_IFDIR) 207 if (!(s.st_mode & S_IFDIR) && issuffixfor(fSuffix, entry->d_name))
|
/external/webkit/Source/WebKit/android/plugins/ |
ANPSystemInterface.cpp | 105 if (!S_ISDIR(st.st_mode)) { 168 return stat(path, &st) == 0 && S_ISDIR(st.st_mode);
|
/frameworks/base/media/libmedia/ |
MediaScanner.cpp | 196 if (S_ISREG(statbuf.st_mode)) { 198 } else if (S_ISDIR(statbuf.st_mode)) {
|
/bionic/libc/stdio/ |
mktemp.c | 137 if (!S_ISDIR(sbuf.st_mode)) {
|
/external/chromium/base/ |
file_util_android.cc | 117 if (!S_ISDIR(sbuf.st_mode)) {
|
/external/chromium/third_party/libevent/sample/ |
event-test.c | 93 if ((st.st_mode & S_IFMT) == S_IFREG) {
|
/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) {
|
/external/e2fsprogs/misc/ |
util.c | 102 if (!S_ISBLK(s.st_mode) && !S_ISCHR(s.st_mode)) 104 if (!S_ISBLK(s.st_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/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/bluetooth/glib/gio/ |
glocalfileinfo.c | 822 parent_info->is_sticky = (statbuf.st_mode & S_ISVTX) != 0; 905 if (S_ISREG (statbuf->st_mode)) 907 else if (S_ISDIR (statbuf->st_mode)) 910 else if (S_ISCHR (statbuf->st_mode) || 911 S_ISBLK (statbuf->st_mode) || 912 S_ISFIFO (statbuf->st_mode) 914 || S_ISSOCK (statbuf->st_mode) 920 else if (S_ISLNK (statbuf->st_mode)) 936 /* FIXME: st_mode is mostly pointless on Windows, too. Set the attribute or not? */ 937 g_file_info_set_attribute_uint32 (info, G_FILE_ATTRIBUTE_UNIX_MODE, statbuf->st_mode); [all...] |
/external/strace/ |
file.c | 83 unsigned short st_mode; member in struct:stat 103 unsigned int st_mode; member in struct:stat_sparc64 656 unsigned st_mode; member in struct:solstat 693 tprintf("{st_dev=makedev(%lu, %lu), st_ino=%lu, st_mode=%s, ", 697 sprintmode(statbuf.st_mode)); 706 tprintf("{st_mode=%s, ", sprintmode(statbuf.st_mode)); 707 switch (statbuf.st_mode & S_IFMT) { 748 tprintf("{st_dev=makedev(%lu, %lu), st_ino=%lu, st_mode=%s, ", 752 sprintmode(statbuf.st_mode)); [all...] |
/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/liblzf/ |
lzf.c | 396 if (!S_ISREG (mystat.st_mode)) 435 fchmod (fd2, mystat.st_mode); 437 chmod (oname, mystat.st_mode);
|
/bionic/libc/bionic/ |
realpath.c | 139 if (S_ISLNK(sb.st_mode)) {
|
/bootable/diskinstaller/editdisklbl/ |
editdisklbl.c | 105 if (!S_ISREG(filestat.st_mode)) {
|
/external/yaffs2/yaffs2/direct/ |
yaffsfs.h | 162 mode_t st_mode; /* protection */ member in struct:yaffs_stat
|
/frameworks/base/media/libstagefright/id3/ |
testid3.cpp | 114 if (stat(path, &st) == 0 && S_ISREG(st.st_mode)) {
|
/libcore/luni/src/main/java/java/io/ |
File.java | 531 return S_ISDIR(Libcore.os.stat(path).st_mode); 546 return S_ISREG(Libcore.os.stat(path).st_mode); 714 int newMode = set ? (sb.st_mode | mask) : (sb.st_mode & ~mask); [all...] |
/ndk/sources/host-tools/make-3.81/w32/compat/ |
dirent.c | 44 if ((sb.st_mode & S_IFMT) != S_IFDIR) {
|
/system/core/toolbox/ |
wipe.c | 125 if(S_ISDIR(statBuffer.st_mode)) {
|