Lines Matching refs:st_mode
161 ret |= st.st_mode&S_IRUSR ? mask&AVIO_FLAG_READ : 0;
162 ret |= st.st_mode&S_IWUSR ? mask&AVIO_FLAG_WRITE : 0;
234 h->is_streamed = !fstat(fd, &st) && S_ISFIFO(st.st_mode);
256 return ret < 0 ? AVERROR(errno) : (S_ISFIFO(st.st_mode) ? 0 : st.st_size);
309 if (S_ISDIR(st.st_mode))
311 else if (S_ISFIFO(st.st_mode))
313 else if (S_ISCHR(st.st_mode))
315 else if (S_ISBLK(st.st_mode))
317 else if (S_ISLNK(st.st_mode))
319 else if (S_ISSOCK(st.st_mode))
321 else if (S_ISREG(st.st_mode))
329 (*next)->filemode = st.st_mode & 0777;