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

/ast/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.c63 else if (S_ISBLK(i)) x |= X_IFBLK;
H A Dfmtls.c83 if (S_ISBLK(st->st_mode) || S_ISCHR(st->st_mode))
/ast/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)
/ast/src/lib/libast/features/
H A Dmode.c51 #ifdef S_ISBLK
52 if (!S_ISBLK(X_IFBLK)) idtype = 0;
55 printf("#define S_ISBLK(m) (S_ITYPE(m)==S_IFBLK)\n");
57 printf("#define S_ISBLK(m) 0\n");
/ast/src/lib/libcs/
H A Dcspath.c92 if (idevice(&tst) == idevice(st) && ((t = S_ISBLK(tst.st_mode)) || S_ISCHR(tst.st_mode)) && t == blk && (!n || tst.st_dev == st->st_dev && tst.st_ino == st->st_ino))
187 else if ((typ = S_ISBLK(st.st_mode)) || S_ISCHR(st.st_mode))
/ast/src/cmd/ie/
H A Dio.h54 #ifndef S_ISBLK
55 # define S_ISBLK(m) (((m)&S_IFMT)==S_IFBLK) macro
56 #endif /* S_ISBLK */
/ast/src/cmd/std/
H A Dls.c545 if (st && (S_ISBLK(st->st_mode) || S_ISCHR(st->st_mode)))
552 n = (S_ISBLK(st->st_mode) || S_ISCHR(st->st_mode)) ? major(idevice(st)) : major(st->st_dev);
556 n = (S_ISBLK(st->st_mode) || S_ISCHR(st->st_mode)) ? minor(idevice(st)) : minor(st->st_dev);
661 else if (S_ISBLK(st->st_mode) || S_ISCHR(st->st_mode))
H A Ddf.c893 S_ISBLK(st.st_mode) ? st.st_rdev :
/ast/src/cmd/3d/
H A Dopen3d.c198 else if (S_ISBLK(st.st_mode) || S_ISCHR(st.st_mode))
H A D3d.h604 #define IVIEW(p,v) do{NIVIEW(p,(v)&(INSTANCE-1));if(!S_ISBLK((p)->st_mode)&&!S_ISCHR((p)->st_mode))(p)->st_rdev=(v)&(INSTANCE-1);}while(0)
/ast/src/cmd/nmake/
H A Dmisc.c98 if (state.regress && (S_ISBLK(st->st_mode) || S_ISCHR(st->st_mode)))
/ast/src/cmd/ksh93/bltins/
H A Dtest.c347 return(test_stat(arg,&statb)>=0 && S_ISBLK(statb.st_mode));
/ast/src/lib/libtksh/src/
H A Dfilecmd.c468 } else if (S_ISBLK(mode)) {
/ast/src/lib/libcmd/
H A Dcp.c639 else if (S_ISBLK(ent->fts_statp->st_mode) || S_ISCHR(ent->fts_statp->st_mode) || S_ISFIFO(ent->fts_statp->st_mode))
/ast/src/cmd/tw/
H A Dexpr.c331 else if (S_ISBLK(st->st_mode)) v.integer = C_BLK;
/ast/src/lib/libtksh/tcl/
H A DtclCmdAH.c1118 } else if (S_ISBLK(mode)) {

Completed in 30 milliseconds