Home
last modified time | relevance | path

Searched refs:S_ISBLK (Results 1 – 25 of 64) sorted by relevance

123

/third_party/python/Modules/
D_stat.c91 #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/
DblkidP.h164 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/
Dismounted.c95 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/
Dext2fsP.h23 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/
Dtst_device.c66 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/
Dudevadm-util.c37 if (S_ISBLK(statbuf.st_mode)) in find_device()
/third_party/node/deps/uvwasi/src/
Duv_mapping.c225 #ifdef S_ISBLK in uvwasi__stat_to_filetype()
226 if (S_ISBLK(mode)) in uvwasi__stat_to_filetype()
/third_party/toybox/toys/other/
Dmountpoint.c41 if (S_ISBLK(st1.st_mode)) { in mountpoint_main()
/third_party/python/Lib/
Dstat.py58 def S_ISBLK(mode): function
/third_party/musl/libc-test/src/api/
Dftw.c44 C(S_ISBLK(0)) in f()
Dsys_stat.c68 C(S_ISBLK(0)) in f()
/third_party/f2fs-tools/mkfs/
Df2fs_format_utils.c84 } else if (S_ISBLK(stat_buf->st_mode)) { in trim_device()
/third_party/musl/ndk_musl_include/sys/
Dstat.h46 #define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK) macro
/third_party/boost/boost/process/detail/posix/
Dhandles.hpp79 …|| 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/
Dstat.h46 #define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK) macro
/third_party/musl/porting/liteos_a/kernel/include/sys/
Dstat.h46 #define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK) macro
/third_party/musl/include/sys/
Dstat.h46 #define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK) macro
/third_party/musl/porting/liteos_m/kernel/include/sys/
Dstat.h46 #define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK) macro
/third_party/musl/porting/linux/user/include/sys/
Dstat.h46 #define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK) macro
/third_party/musl/porting/uniproton/kernel/include/sys/
Dstat.h46 #define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK) macro
/third_party/toybox/toys/posix/
Dls.c148 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()
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/toybox/porting/liteos_a/toys/posix/
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/glib/glib/
Dgiounix.c551 || 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/
Dlibf2fs.c790 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()

123