Home | History | Annotate | Download | only in bsdiff

Lines Matching defs:File

3 // found in the LICENSE file.
5 #include "bsdiff/file.h"
27 std::unique_ptr<File> File::FOpen(const char* pathname, int flags) {
30 return std::unique_ptr<File>();
31 return std::unique_ptr<File>(new File(fd));
34 File::~File() {
38 bool File::Read(void* buf, size_t count, size_t* bytes_read) {
50 bool File::Write(const void* buf, size_t count, size_t* bytes_written) {
62 bool File::Seek(off_t pos) {
78 bool File::Close() {
90 bool File::GetSize(uint64_t* size) {
124 File::File(int fd)