Home
last modified time | relevance | path

Searched refs:S_ISREG (Results 1 – 25 of 224) sorted by relevance

123456789

/external/zstd/contrib/pzstd/utils/
DFileSystem.h49 #if defined(S_ISREG) in is_regular_file()
50 return S_ISREG(status.st_mode); in is_regular_file()
51 #elif !defined(S_ISREG) && defined(S_IFMT) && defined(S_IFREG) in is_regular_file()
/external/expat/xmlwf/
Dreadfilemap.c58 #ifndef S_ISREG
65 # define S_ISREG(m) (((m)&S_IFMT) == S_IFREG) macro
99 if (! S_ISREG(sb.st_mode)) { in filemap()
Dunixfilemap.c74 if (! S_ISREG(sb.st_mode)) { in filemap()
/external/libgsm/inc/
Dtoast.h46 #ifndef S_ISREG
47 #define S_ISREG(x) ((x) & S_IFREG) macro
/external/toybox/toys/other/
Dlsattr.c123 if(!S_ISREG(sb->st_mode) && !S_ISDIR(sb->st_mode)) { in ext2_getflag()
148 if (!stat(path, &sb) && !S_ISREG(sb.st_mode) && !S_ISDIR(sb.st_mode)) { in print_file_attr()
238 if (!S_ISREG(sb->st_mode) && !S_ISDIR(sb->st_mode)) { in ext2_setflag()
293 || (!S_ISREG(root->st.st_mode) && !S_ISLNK(root->st.st_mode) in update_attr()
Dwhich.c34 if (!stat(filename, &st) && S_ISREG(st.st_mode)) { in which_in_path()
/external/toybox/toys/posix/
Dcpio.c176 } else if (S_ISREG(mode)) { in cpio_main()
215 if (!S_ISREG(mode) && !S_ISLNK(mode) && !geteuid() in cpio_main()
258 if (lstat(name, &st) || (S_ISREG(st.st_mode) in cpio_main()
269 if (!S_ISREG(st.st_mode) && !S_ISLNK(st.st_mode)) st.st_size = 0; in cpio_main()
/external/libcap-ng/libcap-ng-0.7/utils/
Dfilecap.c49 if (S_ISREG(sb->st_mode) == 0) in check_file()
119 if (S_ISREG(sbuf.st_mode) && path == NULL && in main()
/external/ImageMagick/MagickWand/
Dstudio.h194 # if !defined(S_ISREG)
195 # define S_ISREG(mode) (((mode) & S_IFMT) == S_IFREG) macro
/external/ImageMagick/MagickCore/
Dstudio.h204 # if !defined(S_ISREG)
205 # define S_ISREG(mode) (((mode) & S_IFMT) == S_IFREG) macro
/external/e2fsprogs/lib/e2p/
Dsetflags.c65 !S_ISREG(buf.st_mode) && !S_ISDIR(buf.st_mode)) { in setflags()
Dgetflags.c59 !S_ISREG(buf.st_mode) && !S_ISDIR(buf.st_mode)) in getflags()
Dfgetflags.c76 !S_ISREG(buf.st_mode) && !S_ISDIR(buf.st_mode)) { in fgetflags()
Dfsetflags.c82 !S_ISREG(buf.st_mode) && !S_ISDIR(buf.st_mode)) { in fsetflags()
/external/ltp/testcases/kernel/io/disktest/
Dparse.h53 #define IS_FILE(x) S_ISREG(x)
/external/elfutils/libdw/
Ddwarf_begin.c78 if (fstat (fd, &st) == 0 && ! S_ISREG (st.st_mode)) in dwarf_begin()
/external/mtools/
Dsysincludes.h602 #if !defined(S_ISREG) && defined (_S_IFMT) && defined (_S_IFREG)
603 #define S_ISREG(mode) (((mode) & (_S_IFMT)) == (_S_IFREG)) macro
/external/ltp/testcases/kernel/syscalls/open/
Dopen01.c62 if (S_ISREG(buf.st_mode)) in verify_open()
/external/ltp/lib/
Dget_path.c47 if (!access(path, R_OK) && !stat(path, &st) && S_ISREG(st.st_mode)) in file_exist()
/external/python/cpython3/Tools/scripts/
Dwhich.py34 if not S_ISREG(st[ST_MODE]):
/external/python/cpython2/Tools/scripts/
Dwhich.py34 if not S_ISREG(st[ST_MODE]):
/external/python/cpython2/Lib/
Dstat.py49 def S_ISREG(mode): function
/external/mesa3d/src/gallium/auxiliary/hud/
Dhud_diskstat.c280 if (!S_ISREG(stat_buf.st_mode)) in hud_get_num_disks()
306 if (!S_ISREG(stat_buf.st_mode)) in hud_get_num_disks()
/external/python/cpython2/Lib/distutils/
Dfilelist.py260 from stat import ST_MODE, S_ISREG, S_ISDIR, S_ISLNK
280 if S_ISREG(mode):
/external/dtc/
Dfstree.c36 if (S_ISREG(st.st_mode)) { in read_fstree()

123456789