Home
last modified time | relevance | path

Searched refs:S_ISCHR (Results 1 – 25 of 26) sorted by relevance

12

/external/openssl/crypto/rand/
Drandfile.c190 #if defined(S_ISBLK) && defined(S_ISCHR) in RAND_write_file()
191 if (S_ISBLK(sb.st_mode) || S_ISCHR(sb.st_mode)) { in RAND_write_file()
/external/chromium/third_party/libjingle/source/talk/session/phone/
Dv4llookup.cc31 if (lstat(device_path.c_str(), &s) != 0 || !S_ISCHR(s.st_mode)) return false; in CheckIsV4L2Device()
/external/kernel-headers/original/linux/
Dstat.h27 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) macro
Dfs.h1755 #define special_file(m) (S_ISCHR(m)||S_ISBLK(m)||S_ISFIFO(m)||S_ISSOCK(m))
/external/qemu/distrib/sdl-1.2.15/src/audio/
DSDL_audiodev.c66 ((stat(_PATH_DEV_DSP24, &sb) == 0) && S_ISCHR(sb.st_mode)) ) { in SDL_OpenAudioPath()
/external/e2fsprogs/lib/blkid/
Dgetsize.c145 if ((fstat(fd, &st) >= 0) && (S_ISBLK(st.st_mode) || S_ISCHR(st.st_mode))) in blkid_get_dev_size()
/external/e2fsprogs/misc/
Dutil.c102 if (!S_ISBLK(s.st_mode) && !S_ISCHR(s.st_mode)) in check_plausibility()
/external/ppp/pppd/
Dtty.c315 if (!S_ISCHR(statbuf.st_mode)) {
488 if (fstat(0, &statbuf) >= 0 && S_ISCHR(statbuf.st_mode) in tty_check_options()
504 && S_ISCHR(statbuf.st_mode) && statbuf.st_rdev == devstat.st_rdev) in tty_check_options()
/external/yaffs2/yaffs2/utils/
Dmkyaffsimage.c417 S_ISCHR(stats.st_mode) || in process_directory()
497 else if(S_ISCHR(stats.st_mode)) in process_directory()
Dmkyaffs2image.c413 S_ISCHR(stats.st_mode) || in process_directory()
497 else if(S_ISCHR(stats.st_mode)) in process_directory()
/external/qemu/block/
Draw-posix.c588 if (S_ISCHR(st.st_mode) || S_ISBLK(st.st_mode)) { in raw_getlength()
831 (S_ISCHR(st.st_mode) || S_ISBLK(st.st_mode))) { in hdev_probe_device()
987 else if (!S_ISBLK(stat_buf.st_mode) && !S_ISCHR(stat_buf.st_mode)) in hdev_create()
/external/qemu/distrib/sdl-1.2.15/src/cdrom/openbsd/
DSDL_syscdrom.c78 if ( S_ISCHR(stbuf->st_mode) || S_ISBLK(stbuf->st_mode) ) { in CheckDrive()
/external/qemu/distrib/sdl-1.2.15/src/cdrom/freebsd/
DSDL_syscdrom.c75 if ( S_ISCHR(stbuf->st_mode) || S_ISBLK(stbuf->st_mode) ) { in CheckDrive()
/external/qemu/distrib/sdl-1.2.15/src/cdrom/qnx/
DSDL_syscdrom.c83 if (S_ISCHR(stbuf->st_mode) || S_ISBLK(stbuf->st_mode)) in CheckDrive()
/external/e2fsprogs/ext2ed/
Dinode_com.c262 if (S_ISCHR (type_data.u.t_ext2_inode.i_mode)) in type_ext2_inode___show()
/external/qemu/distrib/sdl-1.2.15/src/cdrom/linux/
DSDL_syscdrom.c131 if ( S_ISCHR(stbuf->st_mode) || S_ISBLK(stbuf->st_mode) ) { in CheckDrive()
/external/llvm/lib/Support/
Draw_ostream.cpp599 if (S_ISCHR(statbuf.st_mode) && isatty(FD)) in preferred_buffer_size()
/external/qemu/distrib/sdl-1.2.15/src/cdrom/aix/
DSDL_syscdrom.c84 if ( S_ISCHR(stbuf->st_mode) || S_ISBLK(stbuf->st_mode) ) { in CheckDrive()
/external/chromium/chrome/browser/chromeos/login/
Dcamera.cc341 if (!S_ISCHR(st.st_mode)) { in OpenDevice()
/external/okhttp/src/main/java/libcore/io/
DOsConstants.java23 public static boolean S_ISCHR(int mode) { return (mode & S_IFMT) == S_IFCHR; } in S_ISCHR() method in OsConstants
/external/valgrind/main/include/vki/
Dvki-darwin.h117 #define VKI_S_ISCHR(m) S_ISCHR(m)
/external/qemu/android/camera/
Dcamera-capture-linux.c504 if (!S_ISCHR(st.st_mode)) { in _camera_device_open()
/external/llvm/lib/Support/Unix/
DPathV2.inc347 else if (S_ISCHR(status.st_mode))
/external/mksh/src/
Dmain.c465 if (fstat(0, &s_stdin) >= 0 && S_ISCHR(s_stdin.st_mode) && in main()
Dfuncs.c2894 return (stat(opnd1, &b1) == 0 && S_ISCHR(b1.st_mode)); in test_eval()

12