|
| Result< void > | Visit (IoVisitor &visitor) override |
| |
| Result< uint64_t, int > | PRead (void *data, uint64_t len, uint64_t offset) const override |
| |
| | ReaderFakeSeeker (uint64_t length) |
| |
| Result< uint64_t, int > | Read (void *buf, uint64_t count) final override |
| |
| Result< uint64_t, int > | SeekSet (uint64_t) final override |
| |
| Result< uint64_t, int > | SeekCur (int64_t) final override |
| |
| Result< uint64_t, int > | SeekEnd (int64_t) final override |
| |
| virtual Result< uint64_t, int > | PRead (void *buf, uint64_t count, uint64_t offset) const =0 |
| |
| virtual | ~Reader ()=default |
| |
| virtual Result< uint64_t, int > | Read (void *buf, uint64_t count)=0 |
| |
| virtual | ~IoVisitable ()=default |
| |
| virtual Result< void > | Visit (IoVisitor &)=0 |
| |
| virtual | ~Seeker ()=default |
| |
| virtual Result< uint64_t, int > | SeekSet (uint64_t offset)=0 |
| |
| virtual Result< uint64_t, int > | SeekCur (int64_t offset)=0 |
| |
| virtual Result< uint64_t, int > | SeekEnd (int64_t offset)=0 |
| |
◆ BufferedZipSourceCallbacks()
| cuttlefish::anonymous_namespace{buffered_zip_source.cc}::BufferedZipSourceCallbacks::BufferedZipSourceCallbacks |
( |
uint64_t |
buffer_size, |
|
|
uint64_t |
backing_size |
|
) |
| |
|
inlineexplicitprivate |
◆ Create()
| static Result< std::unique_ptr< BufferedZipSourceCallbacks > > cuttlefish::anonymous_namespace{buffered_zip_source.cc}::BufferedZipSourceCallbacks::Create |
( |
std::unique_ptr< ReaderSeeker > |
data_provider, |
|
|
uint64_t |
buffer_size |
|
) |
| |
|
inlinestatic |
◆ PRead()
| Result< uint64_t, int > cuttlefish::anonymous_namespace{buffered_zip_source.cc}::BufferedZipSourceCallbacks::PRead |
( |
void * |
data, |
|
|
uint64_t |
len, |
|
|
uint64_t |
offset |
|
) |
| const |
|
inlineoverridevirtual |
◆ PReadMut()
| Result< uint64_t, int > cuttlefish::anonymous_namespace{buffered_zip_source.cc}::BufferedZipSourceCallbacks::PReadMut |
( |
void * |
data, |
|
|
uint64_t |
len, |
|
|
uint64_t |
offset |
|
) |
| |
|
inlineprivate |
◆ ReadBufLocked()
| uint64_t cuttlefish::anonymous_namespace{buffered_zip_source.cc}::BufferedZipSourceCallbacks::ReadBufLocked |
( |
void * |
data, |
|
|
uint64_t |
len, |
|
|
uint64_t |
off |
|
) |
| |
|
inlineprivate |
◆ Visit()
| Result< void > cuttlefish::anonymous_namespace{buffered_zip_source.cc}::BufferedZipSourceCallbacks::Visit |
( |
IoVisitor & |
visitor | ) |
|
|
inlineoverridevirtual |
◆ backing_size_
| uint64_t cuttlefish::anonymous_namespace{buffered_zip_source.cc}::BufferedZipSourceCallbacks::backing_size_ = 0 |
|
private |
◆ buf_begin_
| uint64_t cuttlefish::anonymous_namespace{buffered_zip_source.cc}::BufferedZipSourceCallbacks::buf_begin_ = 0 |
|
private |
◆ buffer_
| std::vector<char> cuttlefish::anonymous_namespace{buffered_zip_source.cc}::BufferedZipSourceCallbacks::buffer_ |
|
private |
◆ data_provider_
| std::unique_ptr<ReaderSeeker> cuttlefish::anonymous_namespace{buffered_zip_source.cc}::BufferedZipSourceCallbacks::data_provider_ |
|
private |
◆ has_data_
| bool cuttlefish::anonymous_namespace{buffered_zip_source.cc}::BufferedZipSourceCallbacks::has_data_ = false |
|
private |
◆ mutex_
| std::shared_mutex cuttlefish::anonymous_namespace{buffered_zip_source.cc}::BufferedZipSourceCallbacks::mutex_ |
|
private |
The documentation for this class was generated from the following file: