Home
last modified time | relevance | path

Searched refs:S_ISCHR (Results 1 – 25 of 77) sorted by relevance

1234

/third_party/flutter/skia/third_party/externals/sdl/src/audio/
DSDL_audiodev.c53 if ((stat(fname, &sb) == 0) && (S_ISCHR(sb.st_mode))) { in test_device()
95 && S_ISCHR(sb.st_mode))) { in SDL_EnumUnixAudioDevices_Internal()
/third_party/node/deps/uvwasi/src/
Duv_mapping.c19 #if !defined(S_ISCHR) && defined(S_IFMT) && defined(S_IFCHR)
20 # define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) macro
209 if (S_ISCHR(mode)) in uvwasi__stat_to_filetype()
/third_party/curl/src/
Dtool_doswin.c48 #ifndef S_ISCHR
50 # define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) macro
52 # define S_ISCHR(m) (0) /* cannot tell if file is a device */ macro
565 if(base && ((stat(base, &st_buf)) == 0) && (S_ISCHR(st_buf.st_mode))) { in rename_if_reserved_dos_device_name()
/third_party/eudev/src/udev/
Dudevadm-util.c39 else if (S_ISCHR(statbuf.st_mode)) in find_device()
/third_party/libuv/src/unix/
Drandom-devurandom.c48 if (!S_ISCHR(s.st_mode)) { in uv__random_readpath()
Dtty.c107 if (!S_ISCHR(sb.st_mode)) in uv__tty_is_slave()
351 if (S_ISCHR(s.st_mode)) in uv_guess_handle()
/third_party/ltp/testcases/kernel/syscalls/mknod/
Dmknod01.c84 if (S_ISCHR(tcases[i])) in main()
/third_party/libdrm/libkms/
Dlinux.c78 if (!S_ISCHR(buffer.st_mode)) in linux_name_from_sysfs()
/third_party/musl/libc-test/src/functional/
Dstat.c39 TEST(S_ISCHR(st.st_mode), "\n"); in main()
/third_party/python/Include/
Dpyport.h267 #ifndef S_ISCHR
268 #define S_ISCHR(x) (((x) & S_IFMT) == S_IFCHR) macro
/third_party/python/Modules/
D_stat.c285 stat_S_ISFUNC(S_ISCHR,
359 if (S_ISCHR(mode)) return 'c'; in filetype()
/third_party/python/Lib/
Dstat.py54 def S_ISCHR(mode): function
/third_party/e2fsprogs/lib/blkid/
DblkidP.h164 return S_ISBLK(mode) || S_ISCHR(mode); in blkidP_is_disk_device()
/third_party/musl/libc-test/src/api/
Dftw.c45 C(S_ISCHR(0)) in f()
/third_party/eudev/src/shared/
Dsmack-util.c183 else if (S_ISCHR(st.st_mode)) in mac_smack_fix()
/third_party/musl/ndk_musl_include/sys/
Dstat.h45 #define S_ISCHR(mode) (((mode) & S_IFMT) == S_IFCHR) macro
/third_party/boost/boost/process/detail/posix/
Dhandles.hpp78 …return S_ISCHR (stat_.st_mode) //This macro returns non-zero if the file is a character special … in is_stream_handle()
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
Dstat.h45 #define S_ISCHR(mode) (((mode) & S_IFMT) == S_IFCHR) macro
/third_party/musl/porting/liteos_a/kernel/include/sys/
Dstat.h45 #define S_ISCHR(mode) (((mode) & S_IFMT) == S_IFCHR) macro
/third_party/musl/include/sys/
Dstat.h45 #define S_ISCHR(mode) (((mode) & S_IFMT) == S_IFCHR) macro
/third_party/musl/porting/liteos_m/kernel/include/sys/
Dstat.h45 #define S_ISCHR(mode) (((mode) & S_IFMT) == S_IFCHR) macro
/third_party/musl/porting/linux/user/include/sys/
Dstat.h45 #define S_ISCHR(mode) (((mode) & S_IFMT) == S_IFCHR) macro
/third_party/musl/porting/uniproton/kernel/include/sys/
Dstat.h45 #define S_ISCHR(mode) (((mode) & S_IFMT) == S_IFCHR) 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()
/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()

1234