/external/ppp/pppd/ |
tty.c | 315 if (!S_ISCHR(statbuf.st_mode)) { 488 if (fstat(0, &statbuf) >= 0 && S_ISCHR(statbuf.st_mode) 504 && S_ISCHR(statbuf.st_mode) && statbuf.st_rdev == devstat.st_rdev) 596 || fchmod(ttyfd, statbuf.st_mode & ~(S_IWGRP | S_IWOTH)) < 0) { 599 tty_mode = statbuf.st_mode; [all...] |
/bootable/recovery/applypatch/ |
applypatch.c | 310 file->st.st_mode = 0644; 344 if (chmod(filename, file.st.st_mode) != 0) { 887 if (chmod(outname, source_to_use->st.st_mode) != 0) {
|
/bootable/recovery/ |
recovery.c | 335 if (!S_ISDIR(st.st_mode)) { 339 if ((st.st_mode & 0777) != 0700) { 340 LOGE("%s has perms %o\n", SIDELOAD_TEMP_DIR, st.st_mode);
|
/external/chromium/base/files/ |
file_path_watcher_browsertest.cc | 520 stat_buf.st_mode |= mode; 522 stat_buf.st_mode &= ~mode; 524 return chmod(path.value().c_str(), stat_buf.st_mode) == 0;
|
/external/mksh/src/ |
eval.c | 1300 xp[-1] == '/' && !S_ISDIR(lstatb.st_mode) && 1301 (!S_ISLNK(lstatb.st_mode) || 1302 stat_check() < 0 || !S_ISDIR(statb.st_mode))) 1310 (S_ISDIR(lstatb.st_mode) || 1311 (S_ISLNK(lstatb.st_mode) && stat_check() > 0 && 1312 S_ISDIR(statb.st_mode)))) { [all...] |
/external/protobuf/gtest/include/gtest/internal/ |
gtest-port.h | 870 return (_S_IFDIR & st.st_mode) != 0; 886 inline bool IsDir(const StatStruct& st) { return S_ISDIR(st.st_mode); } [all...] |
/external/qemu/android/utils/ |
path.c | 233 return S_ISREG(st.st_mode); 248 return S_ISDIR(st.st_mode);
|
/external/qemu/distrib/sdl-1.2.12/src/cdrom/aix/ |
SDL_syscdrom.c | 84 if ( S_ISCHR(stbuf->st_mode) || S_ISBLK(stbuf->st_mode) ) {
|
/external/qemu/distrib/sdl-1.2.12/src/cdrom/linux/ |
SDL_syscdrom.c | 131 if ( S_ISCHR(stbuf->st_mode) || S_ISBLK(stbuf->st_mode) ) {
|
/external/valgrind/main/coregrind/m_aspacemgr/ |
aspacemgr-common.c | 304 *mode = (UInt) buf64.st_mode; 312 *mode = (UInt) buf.st_mode;
|
/external/valgrind/main/include/vki/ |
vki-arm-linux.h | 344 unsigned short st_mode; member in struct:vki_stat 369 unsigned int st_mode; member in struct:vki_stat64
|
vki-ppc32-linux.h | 393 unsigned int st_mode; member in struct:vki_stat 414 unsigned int st_mode; member in struct:vki_stat64 [all...] |
vki-ppc64-linux.h | 430 unsigned int st_mode; member in struct:vki_stat 454 unsigned int st_mode; /* File mode. */ member in struct:vki_stat64
|
vki-x86-linux.h | 349 unsigned short st_mode; member in struct:vki_stat 374 unsigned int st_mode; member in struct:vki_stat64
|
/external/zlib/examples/ |
gun.c | 522 if (stat(from, &was) != 0 || (was.st_mode & S_IFMT) != S_IFREG) 526 (void)chmod(to, was.st_mode & 07777);
|
/frameworks/base/core/java/android/app/backup/ |
BackupAgent.java | 358 if (OsConstants.S_ISLNK(stat.st_mode)) { 361 } else if (OsConstants.S_ISDIR(stat.st_mode)) {
|
/bootable/recovery/minelf/ |
Retouch.c | 375 if (chmod(binary_name_atomic, file.st.st_mode) != 0) {
|
/external/chromium/base/ |
linux_util.cc | 190 if (!S_ISSOCK(buf.st_mode))
|
/external/chromium/chrome/browser/ui/webui/ |
slideshow_ui.cc | 241 file_value->SetBoolean(kPropertyDirectory, S_ISDIR(data.info.stat.st_mode));
|
/external/chromium/third_party/libjingle/source/talk/base/ |
fileutils.cc | 123 return S_ISDIR(stat_.st_mode);
|
/external/clang/lib/Driver/ |
Compilation.cpp | 127 if (::stat(P.c_str(), &buf) == 0 ? (buf.st_mode & S_IFMT) == S_IFREG :
|
/external/dbus/dbus/ |
dbus-file-unix.c | 108 if (sb.st_size > 0 && S_ISREG (sb.st_mode))
|
/external/dropbear/ |
svr-authpubkey.c | 329 if (filestat.st_mode & (S_IWGRP | S_IWOTH)) {
|
/external/e2fsprogs/lib/ext2fs/ |
getsize.c | 245 if (S_ISREG(st.st_mode)) {
|
/external/libxslt/libxslt/ |
security.c | 297 if (S_ISDIR(stat_buffer.st_mode)) {
|