/external/toybox/lib/ |
H A D | lib.c | 133 if (!fstatat(atfd, dir, &buf, 0) && !S_ISDIR(buf.st_mode)) { 221 if (!stat(rnext->str, &st) && S_ISREG(st.st_mode)) { 318 if (!fstat(fd, &st) && S_ISREG(st.st_mode)) return st.st_size; 533 fchmod(fd, statbuf.st_mode);
|
/external/vboot_reference/futility/ |
H A D | misc.c | 247 if (S_ISBLK(sb.st_mode))
|
/external/bzip2/ |
H A D | bzip2.c | 988 if (MY_S_ISREG(statBuf.st_mode)) return False; 1070 retVal = fchmod ( fd, fileMetaInfo.st_mode ); 1186 if ( MY_S_ISDIR(statBuf.st_mode) ) { 1365 if ( MY_S_ISDIR(statBuf.st_mode) ) { 1545 if ( MY_S_ISDIR(statBuf.st_mode) ) {
|
/external/elfutils/src/src/ |
H A D | ar.c | 817 || fchmod (newfd, st.st_mode & ALLPERMS) != 0 1066 if (fchmod (newfd, st.st_mode & ALLPERMS) != 0 1272 else if (!S_ISREG (newst.st_mode)) 1301 found[cnt]->mode = newst.st_mode; 1520 && (fchmod (newfd, st.st_mode & ALLPERMS) != 0
|
H A D | strings.c | 173 (fstat64 (STDIN_FILENO, &st) == 0 && S_ISREG (st.st_mode)) 196 || !S_ISREG (st.st_mode)
|
/external/fio/ |
H A D | filesetup.c | 1143 if (S_ISBLK(sb.st_mode)) 1145 else if (S_ISCHR(sb.st_mode)) 1147 else if (S_ISFIFO(sb.st_mode)) 1445 if (S_ISREG(sb.st_mode)) { 1449 if (!S_ISDIR(sb.st_mode))
|
/external/mksh/src/ |
H A D | eval.c | 1562 xp[-1] == '/' && !S_ISDIR(lstatb.st_mode) && 1563 (!S_ISLNK(lstatb.st_mode) || 1564 stat_check() < 0 || !S_ISDIR(statb.st_mode))) 1573 (S_ISDIR(lstatb.st_mode) || 1574 (S_ISLNK(lstatb.st_mode) && stat_check() > 0 && 1575 S_ISDIR(statb.st_mode)))) {
|
/external/bison/darwin-lib/sys/ |
H A D | stat.h | 513 # define S_TYPEISSEM(p) (S_ISNAM ((p)->st_mode) && (p)->st_rdev == S_INSEM) 521 # define S_TYPEISSHM(p) (S_ISNAM ((p)->st_mode) && (p)->st_rdev == S_INSHD)
|
/external/bison/linux-lib/sys/ |
H A D | stat.h | 513 # define S_TYPEISSEM(p) (S_ISNAM ((p)->st_mode) && (p)->st_rdev == S_INSEM) 521 # define S_TYPEISSHM(p) (S_ISNAM ((p)->st_mode) && (p)->st_rdev == S_INSHD)
|
/external/dnsmasq/src/ |
H A D | tftp.c | 248 if (stat(daemon->namebuff, &statbuf) == -1 || !S_ISDIR(statbuf.st_mode)) 321 if (!(statbuf.st_mode & S_IROTH))
|
/external/libvncserver/libvncserver/tightvnc-filetransfer/ |
H A D | filetransfermsg.c | 145 if(S_ISDIR(stat_buf.st_mode)) { 340 (stat(path, &stat_buf) < 0) || (!(S_ISREG(stat_buf.st_mode))) ) {
|
/external/libxml2/ |
H A D | testrecurse.c | 647 if (!(buf.st_mode & _S_IFREG)) 650 if (!S_ISREG(buf.st_mode))
|
/external/protobuf/gtest/include/gtest/internal/ |
H A D | gtest-port.h | 1304 return (_S_IFDIR & st.st_mode) != 0; 1320 inline bool IsDir(const StatStruct& st) { return S_ISDIR(st.st_mode); }
|
/external/squashfs-tools/squashfs-tools/ |
H A D | xattr.c | 662 xattrs = read_xattrs_from_context_file(mounted_path, inode->buf.st_mode, 666 xattrs = read_xattrs_from_context_file(filename, inode->buf.st_mode,
|
/external/toybox/toys/pending/ |
H A D | modprobe.c | 225 if (S_ISDIR(node->st.st_mode)) return DIRTREE_RECURSE; 227 if (!S_ISREG(node->st.st_mode)) return 0; // process only regular file
|
/external/toybox/toys/posix/ |
H A D | find.c | 195 if (S_ISDIR(new->st.st_mode)) { 327 if ((new->st.st_mode & S_IFMT) != types[i]) test = 0;
|
/external/valgrind/include/vki/ |
H A D | vki-mips32-linux.h | 401 unsigned int st_mode; member in struct:vki_stat 436 unsigned int st_mode; member in struct:vki_stat64
|
H A D | vki-mips64-linux.h | 408 int st_mode; member in struct:vki_stat 444 int st_mode; member in struct:vki_stat64
|
/external/boringssl/src/tool/ |
H A D | digest.cc | 100 if (!S_ISREG(st.st_mode)) {
|
/external/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_mac.cc | 153 return S_ISREG(st.st_mode);
|
/external/e2fsprogs/debugfs/ |
H A D | dump.c | 351 if (!S_ISDIR(st.st_mode)) {
|
/external/e2fsprogs/resize/ |
H A D | main.c | 294 if (!S_ISREG(st_buf.st_mode )) {
|
/external/e2fsprogs/util/ |
H A D | subst.c | 395 chmod(outfn, st.st_mode & ~0222);
|
/external/elfutils/src/libdwfl/ |
H A D | linux-proc-maps.c | 355 if (stat (module_name, &sb) == -1 || (sb.st_mode & S_IFMT) != S_IFREG)
|
/external/linux-tools-perf/src/tools/perf/ |
H A D | builtin-help.c | 378 || !S_ISREG(st.st_mode)) {
|