/external/google-breakpad/src/common/android/testing/ |
mkdtemp.h | 84 if (!S_ISDIR(st.st_mode)) {
|
/external/gptfdisk/ |
diskio-unix.cc | 75 if (S_ISDIR(st.st_mode)) 78 else if (S_ISCHR(st.st_mode)) 81 else if (S_ISFIFO(st.st_mode)) 83 else if (S_ISSOCK(st.st_mode))
|
/external/libmicrohttpd/src/examples/ |
fileserver_example_dirs.c | 105 (S_ISREG (buf.st_mode)) )
|
fileserver_example_external_select.c | 73 (S_ISREG (buf.st_mode)) )
|
/external/selinux/libselinux/utils/ |
matchpathcon.c | 156 mode = buf.st_mode;
|
/external/selinux/policycoreutils/setfiles/ |
restore.c | 82 if (!(r_opts->hard_links) && !S_ISDIR(sb->st_mode) && (sb->st_nlink > 1)) { 99 return selabel_lookup_raw(r_opts->hnd, con, "/", sb->st_mode); 101 return selabel_lookup_raw(r_opts->hnd, con, name, sb->st_mode); 420 if (S_ISLNK(sb.st_mode)) {
|
/external/toybox/toys/lsb/ |
mount.c | 165 && ((S_ISREG(stdev.st_mode) && S_ISREG(stdir.st_mode)) 166 || (S_ISDIR(stdev.st_mode) && S_ISDIR(stdir.st_mode))))
|
/external/toybox/toys/other/ |
makedevs.c | 98 if (stat(ptr, &st) || !S_ISREG(st.st_mode)) {
|
modinfo.c | 77 if (S_ISREG(new->st.st_mode)) {
|
/external/toybox/toys/posix/ |
chgrp.c | 51 if ((flags & FLAG_R) && !node->again && S_ISDIR(node->st.st_mode))
|
/external/webrtc/talk/media/devices/ |
v4llookup.cc | 57 if (lstat(device_path.c_str(), &s) != 0 || !S_ISCHR(s.st_mode)) return false;
|
/frameworks/av/media/libstagefright/id3/ |
testid3.cpp | 114 if (stat(path, &st) == 0 && S_ISREG(st.st_mode)) {
|
/libcore/ojluni/src/main/native/ |
io_util_md.c | 85 if (S_ISDIR(stat.st_mode)) {
|
/prebuilts/ndk/current/platforms/android-3/arch-arm/usr/include/sys/ |
stat.h | 49 unsigned int st_mode; member in struct:stat
|
/prebuilts/ndk/current/platforms/android-4/arch-arm/usr/include/sys/ |
stat.h | 49 unsigned int st_mode; member in struct:stat
|
/prebuilts/ndk/current/platforms/android-5/arch-arm/usr/include/sys/ |
stat.h | 49 unsigned int st_mode; member in struct:stat
|
/prebuilts/ndk/current/platforms/android-8/arch-arm/usr/include/sys/ |
stat.h | 49 unsigned int st_mode; member in struct:stat
|
/system/core/adb/ |
file_sync_service.cpp | 90 msg.stat.mode = st.st_mode; 112 msg.dent.mode = st.st_mode; 325 bool do_unlink = (lstat(path.c_str(), &st) == -1) || S_ISREG(st.st_mode) || S_ISLNK(st.st_mode);
|
/system/core/base/ |
file_test.cpp | 59 ASSERT_EQ(0660U, static_cast<unsigned int>(sb.st_mode & ~S_IFMT));
|
/system/core/libdiskconfig/ |
diskconfig.c | 252 if (S_ISBLK(stat.st_mode) && ((rv = ioctl(fd, BLKRRPART, NULL)) < 0)) { 300 if (S_ISBLK(stat.st_mode)) { 322 } else if (S_ISREG(stat.st_mode)) { 374 if (S_ISBLK(stat.st_mode) && total_size > disk_size) {
|
/system/update_engine/payload_consumer/ |
file_descriptor.cc | 78 if (!S_ISBLK(stbuf.st_mode))
|
/build/tools/releasetools/ |
test_common.py | 52 self.assertEqual(int(expected_stat.st_mode), int(new_stat.st_mode))
|
/device/google/marlin/dataservices/datatop/src/ |
datatop_gen_poll.c | 250 S_ISREG(s.st_mode)) { 256 S_ISDIR(s.st_mode)) {
|
/external/e2fsprogs/misc/ |
chattr.c | 228 if (!S_ISDIR(st.st_mode)) 250 if (S_ISDIR(st.st_mode) && recursive)
|
/external/elfutils/libelf/ |
elf_update.c | 134 && unlikely (st.st_mode & (S_ISUID | S_ISGID)) 136 && unlikely (fchmod (elf->fildes, st.st_mode) != 0))
|