Lines Matching refs:st_mode
381 - if (stat(fn, &st) == 0 && S_ISDIR(st.st_mode)) {
385 + if (php_sys_stat(fn, &st) == 0 && S_ISDIR(st.st_mode)) {
408 - if (stat(mfn, &st) == -1 || !S_ISREG(st.st_mode)) {
410 + if (zend_stat(mfn, &st) == -1 || !S_ISREG(st.st_mode)) {
593 + if (st.sb.st_mode & S_IFDIR) {
1656 - sb->st_mode = S_IFBLK;
1661 - sb->st_mode |= S_IFCHR;
1662 - sb->st_mode &= ~S_IFREG;
1665 - sb->st_mode |= S_IFIFO;
1666 - sb->st_mode &= ~S_IFREG;
1680 switch (sb->st_mode & S_IFMT) {
1963 ms->mode = b.st.st_mode;
2339 - if (S_ISDIR(st.st_mode)) {
2543 - sb.st_mode = S_IFBLK;
2548 - unreadable_info(ms, sb.st_mode, inname) == -1)
2555 + if (unreadable_info(ms, sb.st_mode, inname) == -1)
2568 - if (okstat && S_ISFIFO(sb.st_mode))
2598 - if (unreadable_info(ms, sb.st_mode, inname) == -1)