Lines Matching refs:st_mode
388 - if (stat(fn, &st) == 0 && S_ISDIR(st.st_mode)) {
392 + if (php_sys_stat(fn, &st) == 0 && S_ISDIR(st.st_mode)) {
415 - if (stat(mfn, &st) == -1 || !S_ISREG(st.st_mode)) {
417 + if (zend_stat(mfn, &st) == -1 || !S_ISREG(st.st_mode)) {
599 + if (st.sb.st_mode & S_IFDIR) {
1660 - sb->st_mode = S_IFBLK;
1665 - sb->st_mode |= S_IFCHR;
1666 - sb->st_mode &= ~S_IFREG;
1669 - sb->st_mode |= S_IFIFO;
1670 - sb->st_mode &= ~S_IFREG;
1684 switch (sb->st_mode & S_IFMT) {
1965 ms->mode = b.st.st_mode;
2385 - if (S_ISDIR(st.st_mode)) {
2589 - sb.st_mode = S_IFBLK;
2594 - unreadable_info(ms, sb.st_mode, inname) == -1)
2601 + if (unreadable_info(ms, sb.st_mode, inname) == -1)
2614 - if (okstat && S_ISFIFO(sb.st_mode))
2644 - if (unreadable_info(ms, sb.st_mode, inname) == -1)