Lines Matching refs:sb
123 struct zip_stat sb; in php_zip_ops_stat() local
167 if (zip_stat(za, fragment, ZIP_FL_NOCASE, &sb) != 0) { in php_zip_ops_stat()
175 ssb->sb.st_size = sb.size; in php_zip_ops_stat()
176 ssb->sb.st_mode |= S_IFREG; /* regular file */ in php_zip_ops_stat()
178 ssb->sb.st_size = 0; in php_zip_ops_stat()
179 ssb->sb.st_mode |= S_IFDIR; /* regular directory */ in php_zip_ops_stat()
182 ssb->sb.st_mtime = sb.mtime; in php_zip_ops_stat()
183 ssb->sb.st_atime = sb.mtime; in php_zip_ops_stat()
184 ssb->sb.st_ctime = sb.mtime; in php_zip_ops_stat()
185 ssb->sb.st_nlink = 1; in php_zip_ops_stat()
186 ssb->sb.st_rdev = -1; in php_zip_ops_stat()
188 ssb->sb.st_blksize = -1; in php_zip_ops_stat()
189 ssb->sb.st_blocks = -1; in php_zip_ops_stat()
191 ssb->sb.st_ino = -1; in php_zip_ops_stat()
238 php_stream *php_stream_zip_open(struct zip *arch, struct zip_stat *sb, const char *mode, zip_flags_… in php_stream_zip_open() argument
250 zf = zip_fopen_index(arch, sb->index, flags); in php_stream_zip_open()
266 stream->orig_path = estrdup(sb->name); in php_stream_zip_open()