Searched refs:st_mode (Results 126 - 150 of 277) sorted by relevance

1234567891011>>

/external/toybox/lib/
H A Dlib.c133 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 Dmisc.c247 if (S_ISBLK(sb.st_mode))
/external/bzip2/
H A Dbzip2.c988 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 Dar.c817 || 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 Dstrings.c173 (fstat64 (STDIN_FILENO, &st) == 0 && S_ISREG (st.st_mode))
196 || !S_ISREG (st.st_mode)
/external/fio/
H A Dfilesetup.c1143 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 Deval.c1562 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 Dstat.h513 # 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 Dstat.h513 # 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 Dtftp.c248 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 Dfiletransfermsg.c145 if(S_ISDIR(stat_buf.st_mode)) {
340 (stat(path, &stat_buf) < 0) || (!(S_ISREG(stat_buf.st_mode))) ) {
/external/libxml2/
H A Dtestrecurse.c647 if (!(buf.st_mode & _S_IFREG))
650 if (!S_ISREG(buf.st_mode))
/external/protobuf/gtest/include/gtest/internal/
H A Dgtest-port.h1304 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 Dxattr.c662 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 Dmodprobe.c225 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 Dfind.c195 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 Dvki-mips32-linux.h401 unsigned int st_mode; member in struct:vki_stat
436 unsigned int st_mode; member in struct:vki_stat64
H A Dvki-mips64-linux.h408 int st_mode; member in struct:vki_stat
444 int st_mode; member in struct:vki_stat64
/external/boringssl/src/tool/
H A Ddigest.cc100 if (!S_ISREG(st.st_mode)) {
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_mac.cc153 return S_ISREG(st.st_mode);
/external/e2fsprogs/debugfs/
H A Ddump.c351 if (!S_ISDIR(st.st_mode)) {
/external/e2fsprogs/resize/
H A Dmain.c294 if (!S_ISREG(st_buf.st_mode )) {
/external/e2fsprogs/util/
H A Dsubst.c395 chmod(outfn, st.st_mode & ~0222);
/external/elfutils/src/libdwfl/
H A Dlinux-proc-maps.c355 if (stat (module_name, &sb) == -1 || (sb.st_mode & S_IFMT) != S_IFREG)
/external/linux-tools-perf/src/tools/perf/
H A Dbuiltin-help.c378 || !S_ISREG(st.st_mode)) {

Completed in 866 milliseconds

1234567891011>>