Lines Matching defs:st
61 struct stat st;
62 if (stat(path, &st) < 0) {
72 if ((st.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH)) != 0)
74 } else if (st.st_uid == uid) {
76 if ((st.st_mode & S_IRUSR) != 0)
78 if ((st.st_mode & S_IWUSR) != 0)
80 if ((st.st_mode & S_IXUSR) != 0)
82 } else if (st.st_gid == getegid()) {
84 if ((st.st_mode & S_IRGRP) != 0)
86 if ((st.st_mode & S_IWGRP) != 0)
88 if ((st.st_mode & S_IXGRP) != 0)
92 if ((st.st_mode & S_IROTH) != 0)
94 if ((st.st_mode & S_IWOTH) != 0)
96 if ((st.st_mode & S_IXOTH) != 0)
216 struct stat st;
217 if (fstat(fd, &st)) {
222 if (!S_ISDIR(st.st_mode)) {
242 fstatat(int fd, const char *path, struct stat *st, int flag)
252 return (flag & AT_SYMLINK_NOFOLLOW) != 0 ? lstat(path, st)
253 : stat(path, st);
266 return (flag & AT_SYMLINK_NOFOLLOW) != 0 ? lstat(fullPath, st)
267 : stat(fullPath, st);