HomeSort by relevance Sort by last modified time
    Searched defs:SinkFile (Results 1 - 2 of 2) sorted by null

  /external/bsdiff/
sink_file.h 18 class SinkFile : public FileInterface {
20 // Creates a SinkFile based on the underlying |sink| function passed.
21 // The SinkFile will call |sink| function upon write.
23 explicit SinkFile(const sink_func& sink);
25 ~SinkFile() = default;
sink_file.cc 9 SinkFile::SinkFile(const sink_func& sink)
12 bool SinkFile::Read(void* buf, size_t count, size_t* bytes_read) {
16 bool SinkFile::Write(const void* buf, size_t count, size_t* bytes_written) {
21 bool SinkFile::Seek(off_t pos) {
25 bool SinkFile::Close() {
29 bool SinkFile::GetSize(uint64_t* size) {

Completed in 310 milliseconds