Searched refs:st_mode (Results 51 - 75 of 291) sorted by relevance

1234567891011>>

/external/oprofile/libutil++/
H A Dfile_manip.cpp47 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/
H A Dfile.cc153 if (S_ISDIR(stats.st_mode)) {
169 } else if (S_ISREG(stats.st_mode)) {
/external/chromium/third_party/libevent/sample/
H A Devent-test.c93 if ((st.st_mode & S_IFMT) == S_IFREG) {
/external/chromium_org/third_party/libevent/sample/
H A Devent-test.c93 if ((st.st_mode & S_IFMT) == S_IFREG) {
/external/openssh/openbsd-compat/
H A Dmktemp.c129 if (!S_ISDIR(sbuf.st_mode)) {
H A Drealpath.c145 if (S_ISLNK(sb.st_mode)) {
/external/e2fsprogs/misc/
H A Dutil.c102 if (!S_ISBLK(s.st_mode) && !S_ISCHR(s.st_mode))
104 if (!S_ISBLK(s.st_mode))
/external/openssh/
H A Dsftp-common.c75 a->perm = st->st_mode;
94 st->st_mode = a->perm;
198 strmode(st->st_mode, mode);
/external/stlport/src/details/
H A Dfstream_stdio.cpp130 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;
/external/chromium/chrome/browser/
H A Dprocess_singleton_linux_uitest.cc109 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/
H A Dmount_http_test.cc180 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/
H A Dlzf.c396 if (!S_ISREG (mystat.st_mode))
435 fchmod (fd2, mystat.st_mode);
437 chmod (oname, mystat.st_mode);
/external/chromium_org/base/
H A Dos_compat_android.cc140 if (!S_ISDIR(st.st_mode)) { // Not a directory
/external/chromium_org/ipc/
H A Dfile_descriptor_set_posix.cc111 if (fstat(i->fd, &st) == 0 && S_ISDIR(st.st_mode))
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/
H A Dmount_node_dir.cc30 stat_.st_mode |= S_IRALL | S_IWALL | S_IXALL;
H A Dkernel_wrap_win.cc28 dst->st_mode = src->st_mode;
H A Dmount_node_html5fs.cc157 stat->st_mode |= S_IFREG;
160 stat->st_mode |= S_IFDIR;
/external/yaffs2/yaffs2/direct/
H A Dyaffsfs.h162 mode_t st_mode; /* protection */ member in struct:yaffs_stat
/external/strace/
H A Dfile.c107 unsigned short st_mode; member in struct:stat
127 unsigned int st_mode; member in struct:stat_sparc64
816 unsigned st_mode; member in struct:solstat
843 tprintf("{st_dev=makedev(%lu, %lu), st_ino=%lu, st_mode=%s, ",
847 sprintmode(statbuf.st_mode));
856 tprintf("{st_mode=%s, ", sprintmode(statbuf.st_mode));
857 switch (statbuf.st_mode & S_IFMT) {
888 tprintf("{st_dev=makedev(%lu, %lu), st_ino=%lu, st_mode=%s, ",
892 sprintmode(statbuf.st_mode));
930 unsigned int st_mode; member in struct:stat_powerpc32
1157 unsigned int st_mode; member in struct:stat64
[all...]
/external/genext2fs/
H A Dgenext2fs.c1460 if(st->st_mode & S_IRUSR)
1462 if(st->st_mode & S_IWUSR)
1464 if(st->st_mode & S_IXUSR)
1466 if(st->st_mode & S_IRGRP)
1468 if(st->st_mode & S_IWGRP)
1470 if(st->st_mode & S_IXGRP)
1472 if(st->st_mode & S_IROTH)
1474 if(st->st_mode & S_IWOTH)
1476 if(st->st_mode & S_IXOTH)
1478 if(st->st_mode
[all...]
/external/chromium_org/sandbox/linux/services/
H A Dcredentials_unittest.cc46 CHECK_EQ(current.st_mode, parrent.st_mode);
/external/chromium_org/sandbox/linux/suid/
H A Dsandbox.c90 if (!stat(SAFE_DIR, &sdir_stat) && S_ISDIR(sdir_stat.st_mode))
93 if (!stat(SAFE_DIR2, &sdir_stat) && S_ISDIR(sdir_stat.st_mode))
/external/chromium_org/third_party/mesa/src/src/gbm/main/
H A Dgbm.c112 if (fd < 0 || fstat(fd, &buf) < 0 || !S_ISCHR(buf.st_mode)) {
148 if (fd < 0 || fstat(fd, &buf) < 0 || !S_ISCHR(buf.st_mode)) {
/external/chromium_org/third_party/skia/src/utils/
H A DSkOSFile.cpp230 if (s.st_mode & S_IFDIR)
235 if (!(s.st_mode & S_IFDIR) && issuffixfor(fSuffix, entry->d_name))
/external/dropbear/
H A Dsshpty.c399 if ((st.st_mode & (S_IRWXU|S_IRWXG|S_IRWXO)) != mode) {
402 (st.st_mode & (S_IRGRP | S_IROTH)) == 0) {

Completed in 967 milliseconds

1234567891011>>