Home
last modified time | relevance | path

Searched refs:S_ISCHR (Results 1 - 25 of 62) sorted by relevance

123

/third_party/node/deps/uvwasi/src/
H A Duv_mapping.c19 #if !defined(S_ISCHR) && defined(S_IFMT) && defined(S_IFCHR)
20 # define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) macro
213 if (S_ISCHR(mode)) in uvwasi__stat_to_filetype()
/third_party/curl/src/
H A Dtool_doswin.c50 #ifndef S_ISCHR
52 # define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) macro
54 # define S_ISCHR(m) (0) /* cannot tell if file is a device */ macro
567 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/
H A Dudevadm-util.c39 else if (S_ISCHR(statbuf.st_mode)) in find_device()
H A Dudev-builtin-blkid.c111 if (!S_ISCHR(st.st_mode) && in probe_superblocks()
/third_party/ltp/testcases/kernel/syscalls/mknod/
H A Dmknod01.c36 if (S_ISCHR(tcases[i]) || S_ISBLK(tcases[i])) in run()
/third_party/libuv/src/unix/
H A Drandom-devurandom.c48 if (!S_ISCHR(s.st_mode)) { in uv__random_readpath()
H A Dtty.c120 if (!S_ISCHR(sb.st_mode)) in uv__tty_is_slave()
390 if (S_ISCHR(s.st_mode)) in uv_guess_handle()
/third_party/node/deps/uv/src/unix/
H A Drandom-devurandom.c48 if (!S_ISCHR(s.st_mode)) { in uv__random_readpath()
H A Dtty.c120 if (!S_ISCHR(sb.st_mode)) in uv__tty_is_slave()
385 if (S_ISCHR(s.st_mode)) in uv_guess_handle()
/third_party/musl/libc-test/src/api/
H A Dftw.c45 C(S_ISCHR(0)) in f()
H A Dsys_stat.c69 C(S_ISCHR(0)) in f()
/third_party/python/Include/
H A Dpyport.h268 #ifndef S_ISCHR
269 #define S_ISCHR(x) (((x) & S_IFMT) == S_IFCHR) macro
/third_party/python/Modules/
H A D_stat.c88 * pyport.h defines S_ISDIR(), S_ISREG() and S_ISCHR()
285 stat_S_ISFUNC(S_ISCHR,
286 "S_ISCHR(mode) -> bool\n\n"
359 if (S_ISCHR(mode)) return 'c'; in filetype()
417 {"S_ISCHR", stat_S_ISCHR, METH_O, stat_S_ISCHR_doc},
/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()
/third_party/eudev/src/shared/
H A Dsmack-util.c183 else if (S_ISCHR(st.st_mode)) in mac_smack_fix()
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
H A Dstat.h45 #define S_ISCHR(mode) (((mode) & S_IFMT) == S_IFCHR) macro
/third_party/musl/porting/linux/user/include/sys/
H A Dstat.h45 #define S_ISCHR(mode) (((mode) & S_IFMT) == S_IFCHR) macro
/third_party/musl/porting/liteos_m/kernel/include/sys/
H A Dstat.h45 #define S_ISCHR(mode) (((mode) & S_IFMT) == S_IFCHR) macro
/third_party/musl/porting/liteos_a/kernel/include/sys/
H A Dstat.h45 #define S_ISCHR(mode) (((mode) & S_IFMT) == S_IFCHR) macro
/third_party/musl/porting/uniproton/kernel/include/sys/
H A Dstat.h45 #define S_ISCHR(mode) (((mode) & S_IFMT) == S_IFCHR) macro
/third_party/musl/libc-test/src/functional/
H A Dstat.c39 TEST(S_ISCHR(st.st_mode), "\n"); in main()
/third_party/python/Lib/
H A Dstat.py54 def S_ISCHR(mode): function
/third_party/musl/include/sys/
H A Dstat.h52 #define S_ISCHR(mode) (((mode) & S_IFMT) == S_IFCHR) macro
/third_party/libwebsockets/win32port/dirent/
H A Ddirent-win32.h202 #if !defined(S_ISCHR)
203 # define S_ISCHR(mode) (((mode) & S_IFMT) == S_IFCHR) macro

Completed in 14 milliseconds

123