Home
last modified time | relevance | path

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

12345678

/external/expat/xmlwf/
Dreadfilemap.c58 #ifndef S_ISREG
65 # define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) macro
100 if (!S_ISREG(sb.st_mode)) { in filemap()
Dunixfilemap.c75 if (!S_ISREG(sb.st_mode)) { in filemap()
/external/libgsm/inc/
Dtoast.h42 #ifndef S_ISREG
43 #define S_ISREG(x) ((x) & S_IFREG) macro
/external/toybox/toys/posix/
Dcpio.c152 } else if (S_ISREG(mode)) { in cpio_main()
191 if (!S_ISREG(mode) && !S_ISLNK(mode) && !geteuid() in cpio_main()
233 if (lstat(name, &st) || (S_ISREG(st.st_mode) in cpio_main()
240 if (!S_ISREG(st.st_mode) && !S_ISLNK(st.st_mode)) st.st_size = 0; in cpio_main()
/external/toybox/toys/other/
Dlsattr.c85 if(!S_ISREG(sb->st_mode) && !S_ISDIR(sb->st_mode)) { in ext2_getflag()
98 if (!stat(path, &sb) && !S_ISREG(sb.st_mode) && !S_ISDIR(sb.st_mode)) { in print_file_attr()
195 if (!S_ISREG(sb->st_mode) && !S_ISDIR(sb->st_mode)) { in ext2_setflag()
265 || (!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/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.h200 # if !defined(S_ISREG)
201 # define S_ISREG(mode) (((mode) & S_IFMT) == S_IFREG) macro
/external/ImageMagick/MagickCore/
Dstudio.h202 # if !defined(S_ISREG)
203 # define S_ISREG(mode) (((mode) & S_IFMT) == S_IFREG) macro
/external/mesa3d/src/gallium/auxiliary/hud/
Dhud_diskstat.c277 if (!S_ISREG(stat_buf.st_mode)) in hud_get_num_disks()
303 if (!S_ISREG(stat_buf.st_mode)) in hud_get_num_disks()
/external/ltp/testcases/kernel/io/disktest/
Dparse.h53 #define IS_FILE(x) S_ISREG(x)
/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/libcap/libcap/
Dcap_file.c257 if (S_ISLNK(buf.st_mode) || !S_ISREG(buf.st_mode)) { in cap_set_fd()
289 if (S_ISLNK(buf.st_mode) || !S_ISREG(buf.st_mode)) { in cap_set_file()
/external/elfutils/libdw/
Ddwarf_begin.c78 if (fstat (fd, &st) == 0 && ! S_ISREG (st.st_mode)) in dwarf_begin()
/external/python/cpython2/Lib/distutils/
Dfilelist.py260 from stat import ST_MODE, S_ISREG, S_ISDIR, S_ISLNK
280 if S_ISREG(mode):
/external/ltp/lib/
Dget_path.c47 if (!access(path, R_OK) && !stat(path, &st) && S_ISREG(st.st_mode)) in file_exist()
/external/ltp/testcases/kernel/syscalls/open/
Dopen01.c75 if (S_ISREG(buf.st_mode)) in verify_open()
/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/python/cpython3/Tools/scripts/
Dwhich.py34 if not S_ISREG(st[ST_MODE]):
/external/libcap/progs/
Dgetcap.c101 int tflag = S_ISREG(stbuf.st_mode) ? FTW_F : in main()
/external/curl/lib/
Dcurl_setup.h745 #if !defined(S_ISREG) && defined(S_IFMT) && defined(S_IFREG)
746 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) macro

12345678