OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:FileInterface
(Results
1 - 12
of
12
) sorted by null
/external/bsdiff/
file_interface.h
12
class
FileInterface
{
14
virtual ~
FileInterface
() = default;
43
FileInterface
() = default;
buffer_file.h
15
class BufferFile : public
FileInterface
{
22
BufferFile(std::unique_ptr<
FileInterface
> file, size_t size);
26
//
FileInterface
overrides.
35
std::unique_ptr<
FileInterface
> file_ = nullptr;
bspatch.h
35
int bspatch(const std::unique_ptr<
FileInterface
>& old_file,
36
const std::unique_ptr<
FileInterface
>& new_file,
40
bool WriteAll(const std::unique_ptr<
FileInterface
>& file,
extents_file.h
40
class ExtentsFile : public
FileInterface
{
46
ExtentsFile(std::unique_ptr<
FileInterface
> file,
51
//
FileInterface
overrides.
64
bool IOOperation(bool (
FileInterface
::*io_op)(T*, size_t, size_t*),
70
std::unique_ptr<
FileInterface
> file_;
extents_file.cc
11
// Extent files implementation extending
FileInterface
.
20
ExtentsFile::ExtentsFile(std::unique_ptr<
FileInterface
> file,
35
return IOOperation(&
FileInterface
::Read, buf, count, bytes_read);
40
return IOOperation(&
FileInterface
::Write, buf, count, bytes_written);
80
bool ExtentsFile::IOOperation(bool (
FileInterface
::*io_op)(T*, size_t, size_t*),
file.h
14
class File : public
FileInterface
{
22
//
FileInterface
overrides.
memory_file.h
14
class MemoryFile : public
FileInterface
{
23
//
FileInterface
overrides.
sink_file.h
18
class SinkFile : public
FileInterface
{
27
//
FileInterface
overrides.
buffer_file.cc
11
BufferFile::BufferFile(std::unique_ptr<
FileInterface
> file, size_t size)
bspatch.cc
97
int ReadBZ2AndWriteAll(const std::unique_ptr<bsdiff::
FileInterface
>& file,
121
bool ReadAll(const std::unique_ptr<
FileInterface
>& file,
133
bool WriteAll(const std::unique_ptr<
FileInterface
>& file,
187
std::unique_ptr<
FileInterface
> patch_file =
221
std::unique_ptr<
FileInterface
> old_file = File::FOpen(old_filename, O_RDONLY);
238
std::unique_ptr<
FileInterface
> new_file =
273
std::unique_ptr<
FileInterface
> old_file(new MemoryFile(old_data, old_size));
274
std::unique_ptr<
FileInterface
> new_file(new SinkFile(sink));
281
int bspatch(const std::unique_ptr<
FileInterface
>& old_file,
282
const std::unique_ptr<
FileInterface
>& new_file
[
all
...]
extents_file_unittest.cc
25
class MockFile : public
FileInterface
{
58
std::unique_ptr<
FileInterface
> mock_file_ptr_;
/device/linaro/bootloader/edk2/ShellPkg/Application/Shell/
FileHandleWrappers.c
[
all
...]
Completed in 287 milliseconds