/external/ipsec-tools/src/racoon/ |
prsa_par.y | 323 if (st.st_mode & (S_IRWXG | S_IRWXO)) { 329 st.st_mode & 0777);
|
/external/mesa3d/src/gbm/main/ |
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/openssh/ |
sshpty.c | 252 if ((st.st_mode & (S_IRWXU|S_IRWXG|S_IRWXO)) != mode) { 255 (st.st_mode & (S_IRGRP | S_IROTH)) == 0)
|
scp.c | 754 switch (stb.st_mode & S_IFMT) { 792 (u_int) (stb.st_mode & FILEMODEMASK), 871 (u_int) (statp->st_mode & FILEMODEMASK), 0, last); 932 if (stat(targ, &stb) == 0 && S_ISDIR(stb.st_mode)) 1039 if (!S_ISDIR(stb.st_mode)) { 1123 if (wrerr == NO && (!exists || S_ISREG(stb.st_mode)) && 1254 if (S_ISDIR(stb.st_mode))
|
/external/skia/src/utils/ |
SkOSFile.cpp | 230 if (s.st_mode & S_IFDIR) 235 if (!(s.st_mode & S_IFDIR) && issuffixfor(fSuffix, entry->d_name))
|
/external/stlport/src/details/ |
fstream_unistd.cpp | 106 return FSTAT(fd, &buf) == 0 && S_ISREG(buf.st_mode); 114 if (FSTAT(fd, &buf) == 0 && S_ISREG(buf.st_mode))
|
/frameworks/native/cmds/installd/ |
commands.c | 74 if (S_ISDIR(libStat.st_mode)) { 79 } else if (S_ISLNK(libStat.st_mode)) { 224 if (S_ISDIR(libStat.st_mode)) { 231 } else if (S_ISLNK(libStat.st_mode)) { 812 if ((statbuf->st_mode&S_IFDIR) == 0) { [all...] |
/ndk/sources/cxx-stl/stlport/src/details/ |
fstream_unistd.cpp | 106 return FSTAT(fd, &buf) == 0 && S_ISREG(buf.st_mode); 114 if (FSTAT(fd, &buf) == 0 && S_ISREG(buf.st_mode))
|
/ndk/sources/host-tools/sed-4.2.1/lib/ |
file-has-acl.c | 278 if (! S_ISLNK (sb->st_mode)) 329 if (ret == 0 && S_ISDIR (sb->st_mode))
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/tests/ |
test_dir_util.py | 62 stat.S_IMODE(os.stat(self.target).st_mode), 0o700 & ~umask) 65 stat.S_IMODE(os.stat(self.target2).st_mode), 0o555 & ~umask)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_dumbdbm.py | 61 self.assertEqual(stat.S_IMODE(st.st_mode), expected_mode) 63 self.assertEqual(stat.S_IMODE(st.st_mode), expected_mode)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/tests/ |
test_dir_util.py | 62 stat.S_IMODE(os.stat(self.target).st_mode), 0o700 & ~umask) 65 stat.S_IMODE(os.stat(self.target2).st_mode), 0o555 & ~umask)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_dumbdbm.py | 61 self.assertEqual(stat.S_IMODE(st.st_mode), expected_mode) 63 self.assertEqual(stat.S_IMODE(st.st_mode), expected_mode)
|
/system/core/sh/ |
cd.c | 125 if (stat(p, &statb) >= 0 && S_ISDIR(statb.st_mode)) { 188 || (S_ISLNK(statb.st_mode))) {
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/ |
mount_html5fs_test.cc | 149 EXPECT_EQ(S_IFDIR, stat.st_mode & S_IFDIR); 349 EXPECT_EQ(S_IFREG, statbuf.st_mode & S_IFMT); 351 S_IWUSR | S_IWGRP | S_IWOTH, statbuf.st_mode & ~S_IFMT); 368 EXPECT_EQ(S_IFDIR, statbuf.st_mode & S_IFMT); 370 S_IWUSR | S_IWGRP | S_IWOTH, statbuf.st_mode & ~S_IFMT);
|
/external/qemu/block/ |
raw-posix.c | 588 if (S_ISCHR(st.st_mode) || S_ISBLK(st.st_mode)) { 643 if (!fstat(fd, &sb) && (S_IFCHR & sb.st_mode)) { 831 (S_ISCHR(st.st_mode) || S_ISBLK(st.st_mode))) { 987 else if (!S_ISBLK(stat_buf.st_mode) && !S_ISCHR(stat_buf.st_mode)) [all...] |
/system/core/adb/ |
file_sync_client.c | 637 if (S_ISDIR(st.st_mode)) { 649 if(!S_ISREG(st.st_mode) && !S_ISLNK(st.st_mode)) { 654 ci->mode = st.st_mode; 760 if(S_ISDIR(st.st_mode)) { 789 if(sync_send(fd, lpath, rpath, st.st_mtime, st.st_mode, verifyApk)) { 966 if(S_ISDIR(st.st_mode)) {
|
/build/tools/atree/ |
files.cpp | 353 rec->sourceIsDir = S_ISDIR(st.st_mode); 374 rec->outIsDir = S_ISDIR(st.st_mode); 456 bool is_directory = S_ISDIR(stat_buf.st_mode);
|
/external/chromium/third_party/libjingle/source/talk/base/ |
unixfilesystem.cc | 105 return S_ISDIR(st.st_mode) != 0; 262 return S_ISDIR(st.st_mode); 313 return res == 0 && !S_ISDIR(st.st_mode);
|
/external/chromium_org/chrome/browser/ |
process_singleton_linux_unittest.cc | 229 ASSERT_TRUE(S_ISLNK(statbuf.st_mode)); 235 ASSERT_TRUE(S_ISLNK(statbuf.st_mode)); 242 ASSERT_TRUE(S_ISSOCK(statbuf.st_mode));
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
unixfilesystem.cc | 94 return S_ISDIR(st.st_mode) != 0; 256 return S_ISDIR(st.st_mode); 311 return res == 0 && !S_ISDIR(st.st_mode);
|
/external/valgrind/main/include/vki/ |
vki-s390x-linux.h | 393 unsigned short st_mode; member in struct:vki_stat 419 unsigned int st_mode; member in struct:vki_stat64 445 unsigned int st_mode; member in struct:vki_stat
|
/bionic/libc/stdio/ |
fseek.c | 131 (st.st_mode & S_IFMT) != S_IFREG) {
|
/bootable/recovery/applypatch/ |
freecache.c | 107 if (stat(path, &st) == 0 && S_ISREG(st.st_mode)) {
|
/build/tools/acp/ |
acp.c | 92 if (S_ISDIR(sb.st_mode)) {
|