/external/curl/src/ |
D | tool_doswin.c | 73 #ifndef S_ISCHR 75 # define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) macro 77 # define S_ISCHR(m) (0) /* cannot tell if file is a device */ macro 590 if(base && ((stat(base, &st_buf)) == 0) && (S_ISCHR(st_buf.st_mode))) { in rename_if_reserved_dos_device_name()
|
/external/fsck_msdos/ |
D | fsutil.c | 150 if (!S_ISCHR(stchar.st_mode)) { in devcheck() 171 if (S_ISCHR(devstat.st_mode) || S_ISBLK(devstat.st_mode)) in getmntpt()
|
/external/autotest/client/site_tests/cellular_GobiPorts/ |
D | cellular_GobiPorts.py | 25 if not stat.S_ISCHR(mode):
|
/external/webrtc/talk/media/devices/ |
D | v4llookup.cc | 57 if (lstat(device_path.c_str(), &s) != 0 || !S_ISCHR(s.st_mode)) return false; in CheckIsV4L2Device()
|
/external/ltp/testcases/kernel/syscalls/mknod/ |
D | mknod01.c | 84 if (S_ISCHR(tcases[i])) in main()
|
/external/python/cpython2/Lib/ |
D | stat.py | 43 def S_ISCHR(mode): function
|
/external/python/cpython3/Include/ |
D | pyport.h | 248 #ifndef S_ISCHR 249 #define S_ISCHR(x) (((x) & S_IFMT) == S_IFCHR) macro
|
/external/libdrm/libkms/ |
D | linux.c | 78 if (!S_ISCHR(buffer.st_mode)) in linux_name_from_sysfs()
|
/external/kernel-headers/original/uapi/linux/ |
D | stat.h | 24 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) macro
|
/external/vboot_reference/futility/ |
D | file_type.c | 110 } else if (S_ISCHR(sb.st_mode)) { in futil_file_type()
|
/external/python/cpython3/Lib/ |
D | stat.py | 50 def S_ISCHR(mode): function
|
/external/e2fsprogs/lib/blkid/ |
D | blkidP.h | 164 return S_ISBLK(mode) || S_ISCHR(mode); in blkidP_is_disk_device()
|
/external/python/cpython3/Modules/ |
D | _stat.c | 281 stat_S_ISFUNC(S_ISCHR, 355 if (S_ISCHR(mode)) return 'c'; in filetype()
|
/external/toybox/toys/posix/ |
D | ls.c | 148 if (S_ISBLK(st->st_mode) || S_ISCHR(st->st_mode)) { in entrylen() 278 else if (S_ISBLK(mode) || S_ISCHR(mode)) color = 256+33; in color_from_mode() 460 if (S_ISCHR(st->st_mode) || S_ISBLK(st->st_mode)) in listfiles()
|
/external/u-boot/include/linux/ |
D | stat.h | 25 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) macro
|
/external/u-boot/fs/yaffs2/ |
D | yportenv.h | 257 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) macro
|
/external/autotest/client/site_tests/security_DeviceJail_Filesystem/ |
D | security_DeviceJail_Filesystem.py | 84 if stat.S_ISCHR(mode):
|
/external/e2fsprogs/lib/ext2fs/ |
D | ext2fsP.h | 23 return S_ISBLK(mode) || S_ISCHR(mode); in ext2fsP_is_disk_device()
|
/external/autotest/client/site_tests/camera_V4L2/ |
D | camera_V4L2.py | 78 if (stat.S_ISCHR(statinfo.st_mode) and
|
/external/autotest/client/site_tests/security_OpenFDs/ |
D | security_OpenFDs.py | 172 stat.S_ISCHR(x) or
|
/external/ppp/pppd/ |
D | tty.c | 320 if (!S_ISCHR(statbuf.st_mode)) { 493 if (fstat(0, &statbuf) >= 0 && S_ISCHR(statbuf.st_mode) in tty_check_options() 509 && S_ISCHR(statbuf.st_mode) && statbuf.st_rdev == devstat.st_rdev) in tty_check_options()
|
/external/e2fsprogs/lib/support/ |
D | plausible.c | 220 if (S_ISCHR(s.st_mode)) in check_plausibility()
|
/external/libdrm/ |
D | xf86drm.c | 2775 if (maj != DRM_MAJOR || !S_ISCHR(sbuf.st_mode)) { in drmGetNodeTypeFromFd() 2840 if (maj != DRM_MAJOR || !S_ISCHR(sbuf.st_mode)) in drmGetMinorNameForFD() 2872 if (maj != DRM_MAJOR || !S_ISCHR(sbuf.st_mode)) in drmGetMinorNameForFD() 3743 if (maj != DRM_MAJOR || !S_ISCHR(sbuf.st_mode)) in drmGetDevice2() 3811 if (maj != DRM_MAJOR || !S_ISCHR(sbuf.st_mode)) in drmGetDevice2() 3839 if (maj != DRM_MAJOR || !S_ISCHR(sbuf.st_mode)) in drmGetDevice2() 3989 if (maj != DRM_MAJOR || !S_ISCHR(sbuf.st_mode)) in drmGetDevices2() 4107 if (maj != DRM_MAJOR || !S_ISCHR(sbuf.st_mode)) in drmGetDeviceNameFromFd2() 4133 if (maj != DRM_MAJOR || !S_ISCHR(sbuf.st_mode)) in drmGetDeviceNameFromFd2()
|
/external/minijail/ |
D | system.c | 343 S_ISCHR(st_buf.st_mode))); in setup_mount_destination()
|
/external/gptfdisk/ |
D | diskio-unix.cc | 80 else if (S_ISCHR(st.st_mode)) in OpenForRead()
|