Lines Matching refs:ssb

95 …ftp_stream_stat(php_stream_wrapper *wrapper, php_stream *stream, php_stream_statbuf *ssb TSRMLS_DC)  in php_stream_ftp_stream_stat()
791 …p_stream_wrapper *wrapper, const char *url, int flags, php_stream_statbuf *ssb, php_stream_context… in php_stream_ftp_url_stat() argument
799 if (!ssb) return -1; in php_stream_ftp_url_stat()
806ssb->sb.st_mode = 0644; /* FTP won't give us a valid mode, so aproximate one based on bein… in php_stream_ftp_url_stat()
810 ssb->sb.st_mode |= S_IFREG; in php_stream_ftp_url_stat()
812 ssb->sb.st_mode |= S_IFDIR; in php_stream_ftp_url_stat()
829 if (ssb->sb.st_mode & S_IFDIR) { in php_stream_ftp_url_stat()
830 ssb->sb.st_size = 0; in php_stream_ftp_url_stat()
835 ssb->sb.st_size = atoi(tmp_line + 4); in php_stream_ftp_url_stat()
875 ssb->sb.st_mtime = mktime(&tm); in php_stream_ftp_url_stat()
879 ssb->sb.st_mtime = -1; in php_stream_ftp_url_stat()
882 ssb->sb.st_ino = 0; /* Unknown values */ in php_stream_ftp_url_stat()
883 ssb->sb.st_dev = 0; in php_stream_ftp_url_stat()
884 ssb->sb.st_uid = 0; in php_stream_ftp_url_stat()
885 ssb->sb.st_gid = 0; in php_stream_ftp_url_stat()
886 ssb->sb.st_atime = -1; in php_stream_ftp_url_stat()
887 ssb->sb.st_ctime = -1; in php_stream_ftp_url_stat()
889 ssb->sb.st_nlink = 1; in php_stream_ftp_url_stat()
890 ssb->sb.st_rdev = -1; in php_stream_ftp_url_stat()
892 ssb->sb.st_blksize = 4096; /* Guess since FTP won't expose this information */ in php_stream_ftp_url_stat()
894 ssb->sb.st_blocks = (int)((4095 + ssb->sb.st_size) / ssb->sb.st_blksize); /* emulate ceil */ in php_stream_ftp_url_stat()