Searched refs:S_ISCHR (Results 1 - 25 of 27) sorted by relevance

12

/external/chromium/third_party/libjingle/source/talk/session/phone/
H A Dv4llookup.cc31 if (lstat(device_path.c_str(), &s) != 0 || !S_ISCHR(s.st_mode)) return false;
/external/kernel-headers/original/linux/
H A Dstat.h27 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) macro
H A Dfs.h2392 #define special_file(m) (S_ISCHR(m)||S_ISBLK(m)||S_ISFIFO(m)||S_ISSOCK(m))
/external/openssl/crypto/rand/
H A Drandfile.c192 #if defined(S_ISBLK) && defined(S_ISCHR)
193 if (S_ISBLK(sb.st_mode) || S_ISCHR(sb.st_mode)) {
/external/qemu/distrib/sdl-1.2.15/src/audio/
H A DSDL_audiodev.c66 ((stat(_PATH_DEV_DSP24, &sb) == 0) && S_ISCHR(sb.st_mode)) ) {
/external/bison/lib/
H A Dsys_stat.in.h87 # undef S_ISCHR
107 #ifndef S_ISCHR
109 # define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR)
111 # define S_ISCHR(m) 0
/external/bison/darwin-lib/sys/
H A Dstat.h399 # undef S_ISCHR macro
419 #ifndef S_ISCHR
421 # define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) macro
423 # define S_ISCHR(m) 0 macro
/external/bison/linux-lib/sys/
H A Dstat.h399 # undef S_ISCHR macro
419 #ifndef S_ISCHR
421 # define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) macro
423 # define S_ISCHR(m) 0 macro
/external/e2fsprogs/lib/blkid/
H A Dgetsize.c143 * character) devices, so we need to check for S_ISCHR, too.
145 if ((fstat(fd, &st) >= 0) && (S_ISBLK(st.st_mode) || S_ISCHR(st.st_mode)))
/external/e2fsprogs/misc/
H A Dutil.c102 if (!S_ISBLK(s.st_mode) && !S_ISCHR(s.st_mode))
/external/yaffs2/yaffs2/utils/
H A Dmkyaffs2image.c404 S_ISCHR(stats.st_mode) ||
488 else if(S_ISCHR(stats.st_mode))
H A Dmkyaffsimage.c417 S_ISCHR(stats.st_mode) ||
497 else if(S_ISCHR(stats.st_mode))
/external/qemu/distrib/sdl-1.2.15/src/cdrom/freebsd/
H A DSDL_syscdrom.c75 if ( S_ISCHR(stbuf->st_mode) || S_ISBLK(stbuf->st_mode) ) {
/external/qemu/distrib/sdl-1.2.15/src/cdrom/openbsd/
H A DSDL_syscdrom.c78 if ( S_ISCHR(stbuf->st_mode) || S_ISBLK(stbuf->st_mode) ) {
/external/qemu/distrib/sdl-1.2.15/src/cdrom/qnx/
H A DSDL_syscdrom.c83 if (S_ISCHR(stbuf->st_mode) || S_ISBLK(stbuf->st_mode))
/external/ppp/pppd/
H A Dtty.c315 if (!S_ISCHR(statbuf.st_mode)) {
488 if (fstat(0, &statbuf) >= 0 && S_ISCHR(statbuf.st_mode)
504 && S_ISCHR(statbuf.st_mode) && statbuf.st_rdev == devstat.st_rdev)
/external/qemu/block/
H A Draw-posix.c588 if (S_ISCHR(st.st_mode) || S_ISBLK(st.st_mode)) {
831 (S_ISCHR(st.st_mode) || S_ISBLK(st.st_mode))) {
987 else if (!S_ISBLK(stat_buf.st_mode) && !S_ISCHR(stat_buf.st_mode))
/external/e2fsprogs/ext2ed/
H A Dinode_com.c262 if (S_ISCHR (type_data.u.t_ext2_inode.i_mode))
/external/llvm/lib/Support/
H A Draw_ostream.cpp605 if (S_ISCHR(statbuf.st_mode) && isatty(FD))
/external/qemu/distrib/sdl-1.2.15/src/cdrom/aix/
H A DSDL_syscdrom.c84 if ( S_ISCHR(stbuf->st_mode) || S_ISBLK(stbuf->st_mode) ) {
/external/qemu/distrib/sdl-1.2.15/src/cdrom/linux/
H A DSDL_syscdrom.c131 if ( S_ISCHR(stbuf->st_mode) || S_ISBLK(stbuf->st_mode) ) {
/external/chromium/chrome/browser/chromeos/login/
H A Dcamera.cc341 if (!S_ISCHR(st.st_mode)) {
/external/qemu/android/camera/
H A Dcamera-capture-linux.c504 if (!S_ISCHR(st.st_mode)) {
/external/valgrind/main/include/vki/
H A Dvki-darwin.h117 #define VKI_S_ISCHR(m) S_ISCHR(m)
/external/mksh/src/
H A Dmain.c509 if (fstat(0, &s_stdin) >= 0 && S_ISCHR(s_stdin.st_mode) &&

Completed in 459 milliseconds

12