/third_party/python/Modules/ |
H A D | _stat.c | 91 #ifndef S_ISBLK 92 # define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK) macro 289 stat_S_ISFUNC(S_ISBLK, 290 "S_ISBLK(mode) -> bool\n\n" 358 if (S_ISBLK(mode)) return 'b'; in filetype() 418 {"S_ISBLK", stat_S_ISBLK, METH_O, stat_S_ISBLK_doc},
|
/third_party/eudev/src/udev/ |
H A D | udevadm-util.c | 37 if (S_ISBLK(statbuf.st_mode)) in find_device()
|
/third_party/ltp/testcases/kernel/syscalls/mknod/ |
H A D | mknod01.c | 36 if (S_ISCHR(tcases[i]) || S_ISBLK(tcases[i])) in run()
|
/third_party/node/deps/uvwasi/src/ |
H A D | uv_mapping.c | 229 #ifdef S_ISBLK in uvwasi__stat_to_filetype() 230 if (S_ISBLK(mode)) in uvwasi__stat_to_filetype() 232 #endif /* S_ISBLK */ in uvwasi__stat_to_filetype()
|
/third_party/toybox/toys/other/ |
H A D | mountpoint.c | 41 if (S_ISBLK(st1.st_mode)) { in mountpoint_main()
|
/third_party/ltp/lib/ |
H A D | tst_device.c | 59 if (stat(path, &st) == 0 && S_ISBLK(st.st_mode)) in set_dev_loop_path() 74 if (stat(path, &st) == 0 && S_ISBLK(st.st_mode)) in set_dev_path() 212 if (!S_ISBLK(st.st_mode)) { in tst_get_device_size()
|
/third_party/musl/libc-test/src/api/ |
H A D | ftw.c | 44 C(S_ISBLK(0)) in f()
|
H A D | sys_stat.c | 68 C(S_ISBLK(0)) in f()
|
/third_party/toybox/porting/liteos_a/toys/posix/ |
H A 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/toybox/toys/posix/ |
H A D | ls.c | 148 if (S_ISBLK(st->st_mode) || S_ISCHR(st->st_mode)) { in entrylen() 287 else if (S_ISBLK(mode) || S_ISCHR(mode)) color = 256+33; in color_from_mode() 486 if (!zap && (S_ISCHR(st->st_mode) || S_ISBLK(st->st_mode))) in listfiles()
|
H A 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/f2fs-tools/mkfs/ |
H A D | f2fs_format_utils.c | 87 } else if (S_ISBLK(stat_buf->st_mode)) { in trim_device()
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
H A D | stat.h | 46 #define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK) macro
|
/third_party/musl/porting/linux/user/include/sys/ |
H A D | stat.h | 46 #define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK) macro
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
H A D | stat.h | 46 #define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK) macro
|
/third_party/musl/porting/liteos_a/kernel/include/sys/ |
H A D | stat.h | 46 #define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK) macro
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
H A D | stat.h | 46 #define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK) macro
|
/third_party/python/Lib/ |
H A D | stat.py | 58 def S_ISBLK(mode): function
|
/third_party/musl/include/sys/ |
H A D | stat.h | 53 #define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK) macro
|
/third_party/libwebsockets/win32port/dirent/ |
H A D | dirent-win32.h | 183 * distinguished on Windows and the macros S_ISBLK, S_ISSOCK and S_ISLNK are 205 #if !defined(S_ISBLK) 206 # define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK) macro
|
/third_party/f2fs-tools/lib/ |
H A D | libf2fs.c | 797 if (stat(path, st_buf) == 0 && S_ISBLK(st_buf->st_mode)) { in f2fs_dev_is_umounted() 928 if (S_ISBLK(stat_buf->st_mode) && in get_device_info() 968 } else if (S_ISBLK(stat_buf->st_mode)) { in get_device_info() 1034 if (S_ISBLK(stat_buf->st_mode)) { in get_device_info()
|
/third_party/f2fs-tools/tools/ |
H A D | fibmap.c | 114 if (S_ISBLK(bdev_stat.st_mode)) { in stat_bdev()
|
/third_party/ntfs-3g/libntfs-3g/ |
H A D | unix_io.c | 131 if (S_ISBLK(sbuf.st_mode)) in ntfs_device_unix_io_open()
|
/third_party/ltp/testcases/kernel/fs/scsi/ltpfs/ |
H A D | LtpfsCmds.c | 275 if (!S_ISBLK(inode->i_mode)) in lookup_bdev()
|
/third_party/lzma/CPP/7zip/Common/ |
H A D | FileStreams.cpp | 570 S_ISBLK(st.st_mode))
in GetProperty() 578 S_ISBLK(st.st_mode))
in GetProperty() 592 S_ISBLK(st.st_mode))
in GetProperty()
|