Lines Matching refs:ssb
204 static int php_stream_memory_stat(php_stream *stream, php_stream_statbuf *ssb) /* {{{ */ in php_stream_memory_stat() argument
210 memset(ssb, 0, sizeof(php_stream_statbuf)); in php_stream_memory_stat()
213 ssb->sb.st_mode = ms->mode & TEMP_STREAM_READONLY ? 0444 : 0666; in php_stream_memory_stat()
215 ssb->sb.st_size = ms->fsize; in php_stream_memory_stat()
216 ssb->sb.st_mode |= S_IFREG; /* regular file */ in php_stream_memory_stat()
219 ssb->sb.st_mtime.tv_sec = timestamp; in php_stream_memory_stat()
220 ssb->sb.st_atime.tv_sec = timestamp; in php_stream_memory_stat()
221 ssb->sb.st_ctime.tv_sec = timestamp; in php_stream_memory_stat()
223 ssb->sb.st_mtime = timestamp; in php_stream_memory_stat()
224 ssb->sb.st_atime = timestamp; in php_stream_memory_stat()
225 ssb->sb.st_ctime = timestamp; in php_stream_memory_stat()
228 ssb->sb.st_nlink = 1; in php_stream_memory_stat()
229 ssb->sb.st_rdev = -1; in php_stream_memory_stat()
231 ssb->sb.st_dev = 0xC; in php_stream_memory_stat()
233 ssb->sb.st_ino = 0; in php_stream_memory_stat()
236 ssb->sb.st_blksize = -1; in php_stream_memory_stat()
240 ssb->sb.st_blocks = -1; in php_stream_memory_stat()
524 static int php_stream_temp_stat(php_stream *stream, php_stream_statbuf *ssb) /* {{{ */ in php_stream_temp_stat() argument
531 return php_stream_stat(ts->innerstream, ssb); in php_stream_temp_stat()