Lines Matching refs:st_mode
879 if (S_ISREG (st->st_mode))
889 if (S_ISDIR (st->st_mode)) return "directory";
893 if (S_ISBLK (st->st_mode)) return "block special file";
896 if (S_ISCHR (st->st_mode)) return "character special file";
899 if (S_ISFIFO (st->st_mode)) return "fifo";
916 if (S_ISSOCK (st->st_mode)) return "socket";
993 if (stat_result == 0 && S_ISREG (inf[i].stat.st_mode))
1019 inf[i].dir_p = S_ISDIR (inf[i].stat.st_mode) && inf[i].desc != 0;
1023 inf[1 - i].stat.st_mode = inf[i].stat.st_mode;
1051 inf[dir_arg].dir_p = S_ISDIR (inf[dir_arg].stat.st_mode);
1094 && (! S_ISREG (inf[0].stat.st_mode)
1095 || ! S_ISREG (inf[1].stat.st_mode))))
1130 && (inf[0].desc == -1 || S_ISREG (inf[0].stat.st_mode))
1131 && (inf[1].desc == -1 || S_ISREG (inf[1].stat.st_mode)))