Home
last modified time | relevance | path

Searched refs:S_ISBLK (Results 1 - 25 of 50) sorted by relevance

12

/third_party/python/Modules/
H A D_stat.c91 #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 Dudevadm-util.c37 if (S_ISBLK(statbuf.st_mode)) in find_device()
/third_party/ltp/testcases/kernel/syscalls/mknod/
H A Dmknod01.c36 if (S_ISCHR(tcases[i]) || S_ISBLK(tcases[i])) in run()
/third_party/node/deps/uvwasi/src/
H A Duv_mapping.c229 #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 Dmountpoint.c41 if (S_ISBLK(st1.st_mode)) { in mountpoint_main()
/third_party/ltp/lib/
H A Dtst_device.c59 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 Dftw.c44 C(S_ISBLK(0)) in f()
H A Dsys_stat.c68 C(S_ISBLK(0)) in f()
/third_party/toybox/porting/liteos_a/toys/posix/
H A Dls.c147 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 Dls.c148 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 Dfile.c459 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 Df2fs_format_utils.c87 } else if (S_ISBLK(stat_buf->st_mode)) { in trim_device()
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
H A Dstat.h46 #define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK) macro
/third_party/musl/porting/linux/user/include/sys/
H A Dstat.h46 #define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK) macro
/third_party/musl/porting/liteos_m/kernel/include/sys/
H A Dstat.h46 #define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK) macro
/third_party/musl/porting/liteos_a/kernel/include/sys/
H A Dstat.h46 #define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK) macro
/third_party/musl/porting/uniproton/kernel/include/sys/
H A Dstat.h46 #define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK) macro
/third_party/python/Lib/
H A Dstat.py58 def S_ISBLK(mode): function
/third_party/musl/include/sys/
H A Dstat.h53 #define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK) macro
/third_party/libwebsockets/win32port/dirent/
H A Ddirent-win32.h183 * 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 Dlibf2fs.c797 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 Dfibmap.c114 if (S_ISBLK(bdev_stat.st_mode)) { in stat_bdev()
/third_party/ntfs-3g/libntfs-3g/
H A Dunix_io.c131 if (S_ISBLK(sbuf.st_mode)) in ntfs_device_unix_io_open()
/third_party/ltp/testcases/kernel/fs/scsi/ltpfs/
H A DLtpfsCmds.c275 if (!S_ISBLK(inode->i_mode)) in lookup_bdev()
/third_party/lzma/CPP/7zip/Common/
H A DFileStreams.cpp570 S_ISBLK(st.st_mode)) in GetProperty()
578 S_ISBLK(st.st_mode)) in GetProperty()
592 S_ISBLK(st.st_mode)) in GetProperty()

Completed in 14 milliseconds

12