/external/openssl/crypto/rand/ |
D | randfile.c | 193 #if defined(S_ISBLK) && defined(S_ISCHR) in RAND_write_file() 194 if (S_ISBLK(sb.st_mode) || S_ISCHR(sb.st_mode)) { in RAND_write_file()
|
/external/mesa3d/src/gbm/main/ |
D | gbm.c | 112 if (fd < 0 || fstat(fd, &buf) < 0 || !S_ISCHR(buf.st_mode)) { in _gbm_mesa_get_device() 148 if (fd < 0 || fstat(fd, &buf) < 0 || !S_ISCHR(buf.st_mode)) { in gbm_create_device()
|
/external/chromium_org/third_party/mesa/src/src/gbm/main/ |
D | gbm.c | 112 if (fd < 0 || fstat(fd, &buf) < 0 || !S_ISCHR(buf.st_mode)) { in _gbm_mesa_get_device() 148 if (fd < 0 || fstat(fd, &buf) < 0 || !S_ISCHR(buf.st_mode)) { in gbm_create_device()
|
/external/bison/lib/ |
D | sys_stat.in.h | 87 # undef S_ISCHR 107 #ifndef S_ISCHR 109 # define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) 111 # define S_ISCHR(m) 0
|
/external/kernel-headers/original/uapi/linux/ |
D | stat.h | 22 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) macro
|
/external/chromium_org/third_party/libjingle/source/talk/media/devices/ |
D | v4llookup.cc | 31 if (lstat(device_path.c_str(), &s) != 0 || !S_ISCHR(s.st_mode)) return false; in CheckIsV4L2Device()
|
/external/bison/linux-lib/sys/ |
D | stat.h | 399 # undef S_ISCHR 419 #ifndef S_ISCHR 421 # define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) macro 423 # define S_ISCHR(m) 0 macro
|
/external/bison/darwin-lib/sys/ |
D | stat.h | 399 # undef S_ISCHR 419 #ifndef S_ISCHR 421 # define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) macro 423 # define S_ISCHR(m) 0 macro
|
/external/qemu/distrib/sdl-1.2.15/src/audio/ |
D | SDL_audiodev.c | 66 ((stat(_PATH_DEV_DSP24, &sb) == 0) && S_ISCHR(sb.st_mode)) ) { in SDL_OpenAudioPath()
|
/external/e2fsprogs/lib/blkid/ |
D | getsize.c | 151 (S_ISBLK(st.st_mode) || S_ISCHR(st.st_mode))) in blkid_get_dev_size()
|
/external/ppp/pppd/ |
D | tty.c | 315 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/e2fsprogs/misc/ |
D | util.c | 97 if (!S_ISBLK(s.st_mode) && !S_ISCHR(s.st_mode)) in check_plausibility()
|
/external/yaffs2/yaffs2/utils/ |
D | mkyaffsimage.c | 417 S_ISCHR(stats.st_mode) || in process_directory() 497 else if(S_ISCHR(stats.st_mode)) in process_directory()
|
D | mkyaffs2image.c | 404 S_ISCHR(stats.st_mode) || in process_directory() 488 else if(S_ISCHR(stats.st_mode)) in process_directory()
|
/external/chromium_org/third_party/mesa/src/src/egl/main/ |
D | egldisplay.c | 153 if (fstat((intptr_t) nativeDisplay, &buf) == 0 && S_ISCHR(buf.st_mode)) in _eglNativePlatformDetectNativeDisplay()
|
/external/mesa3d/src/egl/main/ |
D | egldisplay.c | 153 if (fstat((intptr_t) nativeDisplay, &buf) == 0 && S_ISCHR(buf.st_mode)) in _eglNativePlatformDetectNativeDisplay()
|
/external/qemu/block/ |
D | raw-posix.c | 588 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/freebsd/ |
D | SDL_syscdrom.c | 75 if ( S_ISCHR(stbuf->st_mode) || S_ISBLK(stbuf->st_mode) ) { in CheckDrive()
|
/external/qemu/distrib/sdl-1.2.15/src/cdrom/openbsd/ |
D | SDL_syscdrom.c | 78 if ( S_ISCHR(stbuf->st_mode) || S_ISBLK(stbuf->st_mode) ) { in CheckDrive()
|
/external/qemu/distrib/sdl-1.2.15/src/cdrom/qnx/ |
D | SDL_syscdrom.c | 83 if (S_ISCHR(stbuf->st_mode) || S_ISBLK(stbuf->st_mode)) in CheckDrive()
|
/external/e2fsprogs/ext2ed/ |
D | inode_com.c | 262 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/ |
D | SDL_syscdrom.c | 131 if ( S_ISCHR(stbuf->st_mode) || S_ISBLK(stbuf->st_mode) ) { in CheckDrive()
|
/external/llvm/lib/Support/ |
D | raw_ostream.cpp | 596 if (S_ISCHR(statbuf.st_mode) && isatty(FD)) in preferred_buffer_size()
|
/external/chromium_org/components/storage_monitor/ |
D | storage_monitor_linux.cc | 137 if (S_ISCHR(device_stat.st_mode)) in GetDeviceInfo()
|
/external/qemu/distrib/sdl-1.2.15/src/cdrom/aix/ |
D | SDL_syscdrom.c | 84 if ( S_ISCHR(stbuf->st_mode) || S_ISBLK(stbuf->st_mode) ) { in CheckDrive()
|