/external/oprofile/libutil++/ |
H A D | 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/ |
H A D | file.cc | 153 if (S_ISDIR(stats.st_mode)) { 169 } else if (S_ISREG(stats.st_mode)) {
|
/external/chromium/third_party/libevent/sample/ |
H A D | event-test.c | 93 if ((st.st_mode & S_IFMT) == S_IFREG) {
|
/external/chromium_org/third_party/libevent/sample/ |
H A D | event-test.c | 93 if ((st.st_mode & S_IFMT) == S_IFREG) {
|
/external/openssh/openbsd-compat/ |
H A D | mktemp.c | 129 if (!S_ISDIR(sbuf.st_mode)) {
|
H A D | realpath.c | 145 if (S_ISLNK(sb.st_mode)) {
|
/external/e2fsprogs/misc/ |
H A D | util.c | 102 if (!S_ISBLK(s.st_mode) && !S_ISCHR(s.st_mode)) 104 if (!S_ISBLK(s.st_mode))
|
/external/openssh/ |
H A D | 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/ |
H A D | 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;
|
/external/chromium/chrome/browser/ |
H A D | 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/ |
H A D | 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/ |
H A D | lzf.c | 396 if (!S_ISREG (mystat.st_mode)) 435 fchmod (fd2, mystat.st_mode); 437 chmod (oname, mystat.st_mode);
|
/external/chromium_org/base/ |
H A D | os_compat_android.cc | 140 if (!S_ISDIR(st.st_mode)) { // Not a directory
|
/external/chromium_org/ipc/ |
H A D | file_descriptor_set_posix.cc | 111 if (fstat(i->fd, &st) == 0 && S_ISDIR(st.st_mode))
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/ |
H A D | mount_node_dir.cc | 30 stat_.st_mode |= S_IRALL | S_IWALL | S_IXALL;
|
H A D | kernel_wrap_win.cc | 28 dst->st_mode = src->st_mode;
|
H A D | mount_node_html5fs.cc | 157 stat->st_mode |= S_IFREG; 160 stat->st_mode |= S_IFDIR;
|
/external/yaffs2/yaffs2/direct/ |
H A D | yaffsfs.h | 162 mode_t st_mode; /* protection */ member in struct:yaffs_stat
|
/external/strace/ |
H A D | file.c | 107 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 D | genext2fs.c | 1460 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 D | credentials_unittest.cc | 46 CHECK_EQ(current.st_mode, parrent.st_mode);
|
/external/chromium_org/sandbox/linux/suid/ |
H A D | sandbox.c | 90 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 D | gbm.c | 112 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 D | SkOSFile.cpp | 230 if (s.st_mode & S_IFDIR) 235 if (!(s.st_mode & S_IFDIR) && issuffixfor(fSuffix, entry->d_name))
|
/external/dropbear/ |
H A D | sshpty.c | 399 if ((st.st_mode & (S_IRWXU|S_IRWXG|S_IRWXO)) != mode) { 402 (st.st_mode & (S_IRGRP | S_IROTH)) == 0) {
|