Lines Matching refs:ops

79 fprintf(stderr, "forget_persistent: %s:%p\n", stream->ops->label, stream);  in forget_persistent_resource_id_numbers()
278 PHPAPI php_stream *_php_stream_alloc(const php_stream_ops *ops, void *abstract, const char *persist… in _php_stream_alloc() argument
290 fprintf(stderr, "stream_alloc: %s:%p persistent=%s\n", ops->label, ret, persistent_id); in _php_stream_alloc()
293 ret->ops = ops; in _php_stream_alloc()
394 …stream->ops->label, stream, stream->orig_path, stream->in_free, _php_stream_pretty_free_options(cl… in _php_stream_free()
444 stream->ops->label, stream, stream->orig_path, preserve_handle, release_cast, in _php_stream_free()
477 ret = stream->ops->close(stream, preserve_handle ? 0 : 1); in _php_stream_free()
561 justread = stream->ops->read(stream, chunk_buf, stream->chunk_size); in _php_stream_fill_read_buffer()
668 justread = stream->ops->read(stream, (char*)stream->readbuf + stream->writepos, in _php_stream_fill_read_buffer()
710 toread = stream->ops->read(stream, buf, size); in _php_stream_read()
748 (stream->ops != &php_stream_memory_ops) && in _php_stream_read()
749 (stream->ops != &php_stream_temp_ops)) { in _php_stream_read()
843 if (stream->ops->stat == NULL) { in _php_stream_stat()
847 return (stream->ops->stat)(stream, ssb); in _php_stream_stat()
1129 …if (stream->ops->seek && (stream->flags & PHP_STREAM_FLAG_NO_SEEK) == 0 && stream->readpos != stre… in _php_stream_write_buffer()
1132 stream->ops->seek(stream, stream->position, SEEK_SET, &stream->position); in _php_stream_write_buffer()
1141 justwrote = stream->ops->write(stream, buf, towrite); in _php_stream_write_buffer()
1239 if (stream->ops->flush) { in _php_stream_flush()
1240 ret = stream->ops->flush(stream); in _php_stream_flush()
1255 if (stream->ops->write == NULL) { in _php_stream_write()
1329 if (stream->ops->seek && (stream->flags & PHP_STREAM_FLAG_NO_SEEK) == 0) { in _php_stream_seek()
1342 ret = stream->ops->seek(stream, offset, whence, &stream->position); in _php_stream_seek()
1381 if (stream->ops->set_option) { in _php_stream_set_option()
1382 ret = stream->ops->set_option(stream, option, value, ptrparam); in _php_stream_set_option()
2196 …if (stream && stream->ops->seek && (stream->flags & PHP_STREAM_FLAG_NO_SEEK) == 0 && strchr(mode, …
2200 if (0 == stream->ops->seek(stream, 0, SEEK_CUR, &newpos)) {