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

12345

/macosx-10.10.1/cxxfilt-11/cxxfilt/binutils/
H A Dfilemode.c150 #ifndef S_ISCHR
152 #define S_ISCHR(i) (((i) & S_IFMT) == S_IFCHR)
154 #define S_ISCHR(i) 0
156 #endif /* ! defined (S_ISCHR) */
191 if (S_ISCHR (bits))
151 #define S_ISCHR macro
153 #define S_ISCHR macro
/macosx-10.10.1/bash-94.1.2/bash-3.2/include/
H A Dposixstat.h31 # undef S_ISCHR macro
83 #if defined (S_IFCHR) && !defined (S_ISCHR)
84 #define S_ISCHR(m) (((m)&S_IFMT) == S_IFCHR) /* character device */ macro
/macosx-10.10.1/bash-94.1.2/bash-3.2/lib/readline/
H A Dposixstat.h31 # undef S_ISCHR macro
83 #if defined (S_IFCHR) && !defined (S_ISCHR)
84 #define S_ISCHR(m) (((m)&S_IFMT) == S_IFCHR) /* character device */ macro
/macosx-10.10.1/emacs-93/emacs/src/
H A Dfilemode.c54 #undef S_ISCHR
68 #if !defined(S_ISCHR) && defined(S_IFCHR) macro
69 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR)
178 if (S_ISCHR (bits))
53 #undef S_ISCHR macro
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/string/
H A Dfmtdev.c43 mm = (S_ISBLK(st->st_mode) || S_ISCHR(st->st_mode)) ? idevice(st) : st->st_dev;
H A Dmodex.c64 else if (S_ISCHR(i)) x |= X_IFCHR;
/macosx-10.10.1/rsync-45/rsync/lib/
H A Dpermstring.c60 else if (S_ISCHR(mode))
/macosx-10.10.1/OpenSSL098-52/src/crypto/rand/
H A Drandfile.c139 #if defined(S_ISBLK) && defined(S_ISCHR)
140 if (S_ISBLK(sb.st_mode) || S_ISCHR(sb.st_mode)) {
186 #if defined(S_ISBLK) && defined(S_ISCHR)
187 if (S_ISBLK(sb.st_mode) || S_ISCHR(sb.st_mode)) {
/macosx-10.10.1/bash-94.1.2/bash-3.2/lib/sh/
H A Dnetconn.c70 return (S_ISCHR (sb.st_mode));
/macosx-10.10.1/curl-83.1.2/curl/src/
H A Dtool_doswin.c72 #ifndef S_ISCHR
74 # define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) macro
76 # define S_ISCHR(m) (0) /* cannot tell if file is a device */ macro
219 if(((stat(base, &st_buf)) == 0) && (S_ISCHR(st_buf.st_mode))) {
/macosx-10.10.1/gnutar-453/gnutar/lib/
H A Dsys_stat_.h42 # undef S_ISCHR macro
62 #ifndef S_ISCHR
64 # define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) macro
66 # define S_ISCHR(m) 0 macro
H A Dsystem.h146 # undef S_ISCHR macro
176 #ifndef S_ISCHR
178 # define S_ISCHR(mode) (((mode) & S_IFMT) == S_IFCHR) macro
180 # define S_ISCHR(mode) 0 macro
/macosx-10.10.1/text_cmds-88/sort/
H A Dstat-macros.h34 # undef S_ISCHR macro
56 # ifndef S_ISCHR
58 # define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) macro
60 # define S_ISCHR(m) 0 macro
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/include/
H A Dfs3d.h52 #define iview(p) ((S_ISBLK((p)->st_mode)||S_ISCHR((p)->st_mode))?0:(p)->st_rdev)
53 #define IVIEW(p,v) do{if(!S_ISBLK((p)->st_mode)&&!S_ISCHR((p)->st_mode))(p)->st_rdev=(v);}while(0)
/macosx-10.10.1/gnudiff-19/diffutils/src/
H A Dsystem.h66 # undef S_ISCHR macro
81 #if !defined S_ISCHR && defined S_IFCHR
82 # define S_ISCHR(mode) (((mode) & S_IFMT) == S_IFCHR) macro
352 # if HAVE_ST_RDEV && defined S_ISBLK && defined S_ISCHR
355 || (S_ISCHR ((s)->st_mode) && S_ISCHR ((t)->st_mode))) \
/macosx-10.10.1/Libc-1044.1.2/gen/FreeBSD/
H A Dttyname.c95 if (!S_ISCHR(sb.st_mode))
107 if (!S_ISCHR(sb.st_mode)) {
193 if (!S_ISCHR(sb.st_mode)) {
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/features/
H A Dmode.c60 #ifdef S_ISCHR
61 if (!S_ISCHR(X_IFCHR)) idtype = 0;
64 printf("#define S_ISCHR(m) (S_ITYPE(m)==S_IFCHR)\n");
66 printf("#define S_ISCHR(m) 0\n");
/macosx-10.10.1/srm-7/srm/src/
H A Drandom.c41 if (stat("/dev/urandom", &statbuf) == 0 && S_ISCHR(statbuf.st_mode)) {
/macosx-10.10.1/bind9-45.101/bind9/contrib/sdb/dir/
H A Ddirdb.c86 else if (S_ISCHR(statbuf.st_mode) || S_ISBLK(statbuf.st_mode)) {
89 S_ISCHR(statbuf.st_mode) ? "chr" : "blk",
/macosx-10.10.1/xar-254/xar/test/
H A Dutil.py114 if stat.S_ISCHR(mode1):
115 assert stat.S_ISCHR(mode2)
/macosx-10.10.1/libarchive-30/libarchive/libarchive/
H A Darchive_write_open_fd.c107 if (S_ISCHR(st.st_mode) || S_ISBLK(st.st_mode) ||
/macosx-10.10.1/removefile-35/
H A Dremovefile_random.c66 if (stat("/dev/urandom", &statbuf) == 0 && S_ISCHR(statbuf.st_mode)) {
/macosx-10.10.1/rsync-45/rsync/
H A Dtls.c112 if (S_ISCHR(buf.st_mode) || S_ISBLK(buf.st_mode)) {
/macosx-10.10.1/shell_cmds-179/find/
H A Dls.c77 if (S_ISCHR(sb->st_mode) || S_ISBLK(sb->st_mode))
/macosx-10.10.1/gnuserv-7/gnuserv/
H A Dsysfile.h202 #undef S_ISCHR macro
216 #if !defined(S_ISCHR) && defined(S_IFCHR)
217 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) macro

Completed in 225 milliseconds

12345