Searched refs:S_ISREG (Results 1 - 25 of 171) sorted by relevance

1234567

/external/ltp/testcases/kernel/io/disktest/
H A Dparse.h53 #define IS_FILE(x) S_ISREG(x)
/external/toybox/toys/other/
H A Dwhich.c34 if (!stat(filename, &st) && S_ISREG(st.st_mode)) {
H A Dlsattr.c85 if(!S_ISREG(sb->st_mode) && !S_ISDIR(sb->st_mode)) {
98 if (!stat(path, &sb) && !S_ISREG(sb.st_mode) && !S_ISDIR(sb.st_mode)) {
195 if (!S_ISREG(sb->st_mode) && !S_ISDIR(sb->st_mode)) {
265 || (!S_ISREG(root->st.st_mode) && !S_ISLNK(root->st.st_mode)
H A Dmakedevs.c98 if (stat(ptr, &st) || !S_ISREG(st.st_mode)) {
H A Dswitch_root.c76 if (stat(*cmdline, &st1) || !S_ISREG(st1.st_mode) || !(st1.st_mode&0100)) {
/external/libgsm/inc/
H A Dtoast.h42 #ifndef S_ISREG
43 #define S_ISREG(x) ((x) & S_IFREG) macro
44 #endif /* S_ISREG */
/external/e2fsprogs/lib/e2p/
H A Dgetflags.c59 !S_ISREG(buf.st_mode) && !S_ISDIR(buf.st_mode))
H A Dsetflags.c65 !S_ISREG(buf.st_mode) && !S_ISDIR(buf.st_mode)) {
H A Dfgetflags.c76 !S_ISREG(buf.st_mode) && !S_ISDIR(buf.st_mode)) {
H A Dfsetflags.c82 !S_ISREG(buf.st_mode) && !S_ISDIR(buf.st_mode)) {
/external/elfutils/libdw/
H A Ddwarf_begin.c78 if (fstat (fd, &st) == 0 && ! S_ISREG (st.st_mode))
/external/kernel-headers/original/uapi/linux/
H A Dstat.h20 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) macro
/external/syslinux/com32/include/sys/
H A Dstat.h24 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) macro
/external/dtc/
H A Dfstree.c51 if (S_ISREG(st.st_mode)) {
/external/f2fs-tools/mkfs/
H A Df2fs_format_utils.c55 if (S_ISREG(stat_buf.st_mode)) {
/external/ltp/lib/
H A Dget_path.c51 if (!access(path, R_OK) && !stat(path, &st) && S_ISREG(st.st_mode))
/external/python/cpython2/Lib/
H A Dgenericpath.py40 return stat.S_ISREG(st.st_mode)
H A Dstat.py49 def S_ISREG(mode): function
/external/python/cpython2/Tools/scripts/
H A Dwhich.py34 if not S_ISREG(st[ST_MODE]):
/external/toybox/toys/posix/
H A Dcpio.c154 } else if (S_ISREG(mode)) {
193 if (!S_ISREG(mode) && !S_ISLNK(mode) && !geteuid()
235 if (lstat(name, &st) || (S_ISREG(st.st_mode)
242 if (!S_ISREG(st.st_mode) && !S_ISLNK(st.st_mode)) st.st_size = 0;
H A Dwc.c60 if (!fstat(fd, &st) && S_ISREG(st.st_mode) && st.st_size) {
/external/libcap-ng/libcap-ng-0.7/utils/
H A Dfilecap.c49 if (S_ISREG(sb->st_mode) == 0)
119 if (S_ISREG(sbuf.st_mode) && path == NULL &&
/external/libcap/progs/
H A Dgetcap.c101 int tflag = S_ISREG(stbuf.st_mode) ? FTW_F :
/external/libmicrohttpd/src/examples/
H A Dhttps_fileserver_example.c141 (S_ISREG (buf.st_mode)) )
/external/syslinux/com32/lib/syslinux/
H A Dfloadfile.c58 if (!S_ISREG(st.st_mode)) {

Completed in 582 milliseconds

1234567