OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:BufferFile
(Results
1 - 2
of
2
) sorted by null
/external/bsdiff/
buffer_file.cc
11
BufferFile
::
BufferFile
(std::unique_ptr<FileInterface> file, size_t size)
16
BufferFile
::~
BufferFile
() {
20
bool
BufferFile
::Read(void* buf, size_t count, size_t* bytes_read) {
24
bool
BufferFile
::Write(const void* buf, size_t count, size_t* bytes_written) {
31
bool
BufferFile
::Seek(off_t pos) {
35
bool
BufferFile
::Close() {
44
bool
BufferFile
::GetSize(uint64_t* size) {
buffer_file.h
15
class
BufferFile
: public FileInterface {
17
// Creates a write only
BufferFile
based on the underlying |file| passed.
18
// The
BufferFile
will cache all the write in a buffer and write everything
22
BufferFile
(std::unique_ptr<FileInterface> file, size_t size);
24
~
BufferFile
() override;
Completed in 1113 milliseconds