Home
last modified time | relevance | path

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

12345

/external/toybox/toys/other/
Dlsattr.c82 if(!S_ISREG(sb->st_mode) && !S_ISDIR(sb->st_mode)) { in ext2_getflag()
95 if (!stat(path, &sb) && !S_ISREG(sb.st_mode) && !S_ISDIR(sb.st_mode)) { in print_file_attr()
192 if (!S_ISREG(sb->st_mode) && !S_ISDIR(sb->st_mode)) { in ext2_setflag()
262 || (!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()
Dswitch_root.c76 if (stat(*cmdline, &st1) || !S_ISREG(st1.st_mode) || !(st1.st_mode&0100)) { in switch_root_main()
/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()
Dwc.c57 if (!fstat(fd, &st) && S_ISREG(st.st_mode) && st.st_size > 0) { in do_wc()
/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/lz4/programs/
Dbench.c74 #if !defined(S_ISREG)
75 # define S_ISREG(x) (((x) & S_IFMT) == S_IFREG) macro
228 if (r || !S_ISREG(statbuf.st_mode)) return 0; /* No good... */ in BMK_GetFileSize()
/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/e2fsprogs/lib/e2p/
Dsetflags.c64 !S_ISREG(buf.st_mode) && !S_ISDIR(buf.st_mode)) { in setflags()
Dgetflags.c58 !S_ISREG(buf.st_mode) && !S_ISDIR(buf.st_mode)) in getflags()
Dfgetflags.c71 !S_ISREG(buf.st_mode) && !S_ISDIR(buf.st_mode)) { in fgetflags()
Dfsetflags.c77 !S_ISREG(buf.st_mode) && !S_ISDIR(buf.st_mode)) { in fsetflags()
/external/f2fs-tools/mkfs/
Df2fs_format_utils.c48 if (S_ISREG(stat_buf.st_mode)) { in f2fs_trim_device()
/external/kernel-headers/original/uapi/linux/
Dstat.h20 #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/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/curl/lib/
Dcurl_setup.h669 #if !defined(S_ISREG) && defined(S_IFMT) && defined(S_IFREG)
670 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) macro
/external/libcap/libcap/
Dcap_file.c248 if (S_ISLNK(buf.st_mode) || !S_ISREG(buf.st_mode)) { in cap_set_fd()
280 if (S_ISLNK(buf.st_mode) || !S_ISREG(buf.st_mode)) { in cap_set_file()
/external/libcap/progs/
Dgetcap.c101 int tflag = S_ISREG(stbuf.st_mode) ? FTW_F : in main()
/external/strace/tests/
Dsendfile64.c67 assert(S_ISREG(stb.st_mode) && blen > 0); in main()
/external/libmicrohttpd/src/examples/
Dhttps_fileserver_example.c141 (S_ISREG (buf.st_mode)) ) in http_ahc()
/external/vboot_reference/futility/
Dfile_type.c94 if (S_ISREG(sb.st_mode) || S_ISBLK(sb.st_mode)) { in futil_file_type()
/external/ppp/pppd/plugins/radius/
Dconfig.c351 if (!S_ISREG(st.st_mode)) { in test_config()
362 if (!S_ISREG(st.st_mode)) { in test_config()
/external/toybox/toys/lsb/
Dmount.c165 && ((S_ISREG(stdev.st_mode) && S_ISREG(stdir.st_mode)) in mount_filesystem()

12345