Lines Matching refs:sb
788 …ssb->sb.st_mode = 0644; /* FTP won't give us a valid mode, so approximate one based on bei… in php_stream_ftp_url_stat()
792 ssb->sb.st_mode |= S_IFREG; in php_stream_ftp_url_stat()
794 ssb->sb.st_mode |= S_IFDIR | S_IXUSR | S_IXGRP | S_IXOTH; in php_stream_ftp_url_stat()
811 if (ssb->sb.st_mode & S_IFDIR) { in php_stream_ftp_url_stat()
812 ssb->sb.st_size = 0; in php_stream_ftp_url_stat()
817 ssb->sb.st_size = atoi(tmp_line + 4); in php_stream_ftp_url_stat()
857 ssb->sb.st_mtime = mktime(&tm); in php_stream_ftp_url_stat()
861 ssb->sb.st_mtime = -1; in php_stream_ftp_url_stat()
864 ssb->sb.st_ino = 0; /* Unknown values */ in php_stream_ftp_url_stat()
865 ssb->sb.st_dev = 0; in php_stream_ftp_url_stat()
866 ssb->sb.st_uid = 0; in php_stream_ftp_url_stat()
867 ssb->sb.st_gid = 0; in php_stream_ftp_url_stat()
868 ssb->sb.st_atime = -1; in php_stream_ftp_url_stat()
869 ssb->sb.st_ctime = -1; in php_stream_ftp_url_stat()
871 ssb->sb.st_nlink = 1; in php_stream_ftp_url_stat()
872 ssb->sb.st_rdev = -1; in php_stream_ftp_url_stat()
874 ssb->sb.st_blksize = 4096; /* Guess since FTP won't expose this information */ in php_stream_ftp_url_stat()
876 ssb->sb.st_blocks = (int)((4095 + ssb->sb.st_size) / ssb->sb.st_blksize); /* emulate ceil */ in php_stream_ftp_url_stat()