/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/curl/src/ |
D | tool_doswin.c | 47 #ifndef S_ISCHR 49 # define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) macro 51 # define S_ISCHR(m) (0) /* cannot tell if file is a device */ macro 564 if(base && ((stat(base, &st_buf)) == 0) && (S_ISCHR(st_buf.st_mode))) { in rename_if_reserved_dos_device_name()
|
/external/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Posix/ |
D | lstat.cpp | 14 assert(S_ISCHR(st.st_mode)); in main()
|
D | devname.cpp | 14 assert((name = devname(st.st_rdev, S_ISCHR(st.st_mode) ? S_IFCHR : S_IFBLK))); in main()
|
D | devname_r.cpp | 18 type = S_ISCHR(st.st_mode) ? S_IFCHR : S_IFBLK; in main()
|
/external/igt-gpu-tools/lib/ |
D | igt_device.c | 111 igt_fail_on(fstat(fd, &st) || !S_ISCHR(st.st_mode)); in igt_device_get_card_index()
|
/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/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/e2fsprogs/lib/blkid/ |
D | blkidP.h | 164 return S_ISBLK(mode) || S_ISCHR(mode); in blkidP_is_disk_device()
|
/external/python/cpython3/Lib/ |
D | stat.py | 54 def S_ISCHR(mode): function
|
/external/python/cpython3/Modules/ |
D | _stat.c | 285 stat_S_ISFUNC(S_ISCHR, 359 if (S_ISCHR(mode)) return 'c'; in filetype()
|
/external/python/cpython3/Include/ |
D | pyport.h | 262 #ifndef S_ISCHR 263 #define S_ISCHR(x) (((x) & S_IFMT) == S_IFCHR) macro
|
/external/toybox/toys/posix/ |
D | ls.c | 147 if (S_ISBLK(st->st_mode) || S_ISCHR(st->st_mode)) { in entrylen() 240 else if (S_ISBLK(mode) || S_ISCHR(mode)) color = 256+33; in color_from_mode() 438 if (!zap && (S_ISCHR(st->st_mode) || S_ISBLK(st->st_mode))) in listfiles()
|
/external/e2fsprogs/lib/ext2fs/ |
D | ext2fsP.h | 23 return S_ISBLK(mode) || S_ISCHR(mode); in ext2fsP_is_disk_device()
|
/external/e2fsprogs/lib/support/ |
D | plausible.c | 220 if (S_ISCHR(s.st_mode)) in check_plausibility()
|
/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/erofs-utils/fuse/ |
D | main.c | 53 if (S_ISBLK(vi.i_mode) || S_ISCHR(vi.i_mode)) in erofsfuse_getattr()
|
/external/libdrm/ |
D | xf86drm.c | 2872 if (!drmNodeIsDRM(maj, min) || !S_ISCHR(sbuf.st_mode)) { in drmGetNodeTypeFromFd() 2938 if (!drmNodeIsDRM(maj, min) || !S_ISCHR(sbuf.st_mode)) in drmGetMinorNameForFD() 2972 if (!drmNodeIsDRM(maj, min) || !S_ISCHR(sbuf.st_mode)) in drmGetMinorNameForFD() 3015 if (!drmNodeIsDRM(maj, min) || !S_ISCHR(sbuf.st_mode)) in drmGetMinorNameForFD() 3986 if (!drmNodeIsDRM(maj, min) || !S_ISCHR(sbuf.st_mode)) in process_device() 4100 if (!drmNodeIsDRM(maj, min) || !S_ISCHR(sbuf.st_mode)) in drmGetDevice2() 4152 if (!drmNodeIsDRM(maj, min) || !S_ISCHR(sbuf.st_mode)) in drmGetDevice2() 4317 if (!drmNodeIsDRM(maj, min) || !S_ISCHR(sbuf.st_mode)) in drmGetDeviceNameFromFd2() 4345 if (!drmNodeIsDRM(maj, min) || !S_ISCHR(sbuf.st_mode)) in drmGetDeviceNameFromFd2()
|
/external/selinux/libselinux/src/ |
D | stringrep.c | 208 if (S_ISCHR(m)) in mode_to_security_class()
|
/external/minijail/ |
D | system.c | 329 S_ISCHR(st_buf.st_mode))); in setup_mount_destination()
|
/external/mesa3d/src/gbm/main/ |
D | gbm.c | 132 if (fd < 0 || fstat(fd, &buf) < 0 || !S_ISCHR(buf.st_mode)) { in gbm_create_device()
|
/external/gptfdisk/ |
D | diskio-unix.cc | 84 else if (S_ISCHR(st.st_mode)) in OpenForRead()
|