Home
last modified time | relevance | path

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

1234567

/external/libgsm/inc/
Dtoast.h42 #ifndef S_ISREG
43 #define S_ISREG(x) ((x) & S_IFREG) macro
/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/toybox/toys/posix/
Dcpio.c154 } else if (S_ISREG(mode)) { in cpio_main()
193 if (!S_ISREG(mode) && !S_ISLNK(mode) && !geteuid() in cpio_main()
235 if (lstat(name, &st) || (S_ISREG(st.st_mode) in cpio_main()
242 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.h198 # if !defined(S_ISREG)
199 # define S_ISREG(mode) (((mode) & S_IFMT) == S_IFREG) macro
/external/ImageMagick/MagickCore/
Dstudio.h197 # if !defined(S_ISREG)
198 # define S_ISREG(mode) (((mode) & S_IFMT) == S_IFREG) macro
/external/bison/lib/
Dsys_stat.in.h95 # undef S_ISREG
173 #ifndef S_ISREG
175 # define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
177 # define S_ISREG(m) 0
/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()
Dfsetflags.c82 !S_ISREG(buf.st_mode) && !S_ISDIR(buf.st_mode)) { in fsetflags()
Dfgetflags.c76 !S_ISREG(buf.st_mode) && !S_ISDIR(buf.st_mode)) { in fgetflags()
/external/kernel-headers/original/uapi/linux/
Dstat.h20 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) macro
/external/syslinux/com32/include/sys/
Dstat.h24 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) macro
/external/elfutils/libdw/
Ddwarf_begin.c78 if (fstat (fd, &st) == 0 && ! S_ISREG (st.st_mode)) in dwarf_begin()
/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/bison/darwin-lib/sys/
Dstat.h407 # undef S_ISREG
485 #ifndef S_ISREG
487 # define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) macro
489 # define S_ISREG(m) 0 macro
/external/bison/linux-lib/sys/
Dstat.h407 # undef S_ISREG
485 #ifndef S_ISREG
487 # define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) macro
489 # define S_ISREG(m) 0 macro
/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/curl/lib/
Dcurl_setup.h679 #if !defined(S_ISREG) && defined(S_IFMT) && defined(S_IFREG)
680 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) macro
/external/python/cpython2/Lib/
Dstat.py49 def S_ISREG(mode): function
/external/f2fs-tools/mkfs/
Df2fs_format_utils.c55 if (S_ISREG(stat_buf.st_mode)) { in trim_device()
/external/python/cpython2/Tools/scripts/
Dwhich.py34 if not S_ISREG(st[ST_MODE]):
/external/ltp/lib/
Dget_path.c51 if (!access(path, R_OK) && !stat(path, &st) && S_ISREG(st.st_mode)) in file_exist()

1234567