/third_party/python/Modules/ |
D | _stat.c | 91 #ifndef S_ISBLK 92 # define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK) macro 289 stat_S_ISFUNC(S_ISBLK, 358 if (S_ISBLK(mode)) return 'b'; in filetype()
|
/third_party/e2fsprogs/lib/blkid/ |
D | blkidP.h | 164 return S_ISBLK(mode) || S_ISCHR(mode); in blkidP_is_disk_device() 166 return S_ISBLK(mode); in blkidP_is_disk_device()
|
/third_party/e2fsprogs/misc/ |
D | ismounted.c | 95 if (S_ISBLK(st_buf.st_mode)) { in check_mntent_file() 123 if (S_ISBLK(st_buf.st_mode)) { in check_mntent_file()
|
/third_party/e2fsprogs/lib/ext2fs/ |
D | ext2fsP.h | 23 return S_ISBLK(mode) || S_ISCHR(mode); in ext2fsP_is_disk_device() 25 return S_ISBLK(mode); in ext2fsP_is_disk_device()
|
/third_party/ltp/lib/ |
D | tst_device.c | 66 if (stat(path, &st) == 0 && S_ISBLK(st.st_mode)) in set_dev_path() 204 if (!S_ISBLK(st.st_mode)) { in tst_get_device_size() 547 if (S_ISBLK(buf.st_mode) != 1) in tst_find_backing_dev()
|
/third_party/eudev/src/udev/ |
D | udevadm-util.c | 37 if (S_ISBLK(statbuf.st_mode)) in find_device()
|
/third_party/node/deps/uvwasi/src/ |
D | uv_mapping.c | 225 #ifdef S_ISBLK in uvwasi__stat_to_filetype() 226 if (S_ISBLK(mode)) in uvwasi__stat_to_filetype()
|
/third_party/toybox/toys/other/ |
D | mountpoint.c | 41 if (S_ISBLK(st1.st_mode)) { in mountpoint_main()
|
/third_party/python/Lib/ |
D | stat.py | 58 def S_ISBLK(mode): function
|
/third_party/musl/libc-test/src/api/ |
D | ftw.c | 44 C(S_ISBLK(0)) in f()
|
D | sys_stat.c | 68 C(S_ISBLK(0)) in f()
|
/third_party/f2fs-tools/mkfs/ |
D | f2fs_format_utils.c | 84 } else if (S_ISBLK(stat_buf->st_mode)) { in trim_device()
|
/third_party/musl/ndk_musl_include/sys/ |
D | stat.h | 46 #define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK) macro
|
/third_party/boost/boost/process/detail/posix/ |
D | handles.hpp | 79 …|| S_ISBLK (stat_.st_mode) // This macro returns non-zero if the file is a block special file (a … in is_stream_handle()
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
D | stat.h | 46 #define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK) macro
|
/third_party/musl/porting/liteos_a/kernel/include/sys/ |
D | stat.h | 46 #define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK) macro
|
/third_party/musl/include/sys/ |
D | stat.h | 46 #define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK) macro
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
D | stat.h | 46 #define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK) macro
|
/third_party/musl/porting/linux/user/include/sys/ |
D | stat.h | 46 #define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK) macro
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
D | stat.h | 46 #define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK) macro
|
/third_party/toybox/toys/posix/ |
D | ls.c | 148 if (S_ISBLK(st->st_mode) || S_ISCHR(st->st_mode)) { in entrylen() 285 else if (S_ISBLK(mode) || S_ISCHR(mode)) color = 256+33; in color_from_mode() 484 if (!zap && (S_ISCHR(st->st_mode) || S_ISBLK(st->st_mode))) in listfiles()
|
D | file.c | 459 if (!fd && !FLAG(s) && (S_ISBLK(sb.st_mode) || S_ISCHR(sb.st_mode))) { in file_main() 461 S_ISBLK(sb.st_mode) ? "block" : "character", in file_main()
|
/third_party/toybox/porting/liteos_a/toys/posix/ |
D | ls.c | 147 if (S_ISBLK(st->st_mode) || S_ISCHR(st->st_mode)) { in entrylen() 277 else if (S_ISBLK(mode) || S_ISCHR(mode)) color = 256+33; in color_from_mode() 474 if (!zap && (S_ISCHR(st->st_mode) || S_ISBLK(st->st_mode))) in listfiles()
|
/third_party/glib/glib/ |
D | giounix.c | 551 || S_ISBLK (buffer.st_mode); in g_io_channel_new_file() 632 || S_ISBLK (buffer.st_mode); in g_io_channel_unix_new()
|
/third_party/f2fs-tools/lib/ |
D | libf2fs.c | 790 if (stat(path, st_buf) == 0 && S_ISBLK(st_buf->st_mode)) { in f2fs_dev_is_umounted() 914 if (S_ISBLK(stat_buf->st_mode) && in get_device_info() 954 } else if (S_ISBLK(stat_buf->st_mode)) { in get_device_info() 1020 if (S_ISBLK(stat_buf->st_mode)) { in get_device_info()
|