OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:ExtentsFile
(Results
1 - 2
of
2
) sorted by null
/external/bsdiff/
extents_file.cc
20
ExtentsFile
::
ExtentsFile
(std::unique_ptr<FileInterface> file,
30
ExtentsFile
::~
ExtentsFile
() {
34
bool
ExtentsFile
::Read(void* buf, size_t count, size_t* bytes_read) {
39
bool
ExtentsFile
::Write(const void* buf, size_t count, size_t* bytes_written) {
43
bool
ExtentsFile
::Seek(off_t pos) {
61
bool
ExtentsFile
::Close() {
65
bool
ExtentsFile
::GetSize(uint64_t* size) {
70
void
ExtentsFile
::AdvancePos(uint64_t size)
[
all
...]
extents_file.h
40
class
ExtentsFile
: public FileInterface {
42
// Creates an
ExtentsFile
based on the underlying |file| passed. The positions
43
// in the
ExtentsFile
will be linearly mapped to the extents provided in
44
// |extents|. The created
ExtentsFile
takes ownership of the |file| will close
46
ExtentsFile
(std::unique_ptr<FileInterface> file,
49
~
ExtentsFile
() override;
Completed in 361 milliseconds