Home
last modified time | relevance | path

Searched refs:EintrSafeFileDescriptor (Results 1 – 7 of 7) sorted by relevance

/system/update_engine/payload_consumer/
Dfile_descriptor.cc29 bool EintrSafeFileDescriptor::Open(const char* path, int flags, mode_t mode) { in Open()
34 bool EintrSafeFileDescriptor::Open(const char* path, int flags) { in Open()
39 ssize_t EintrSafeFileDescriptor::Read(void* buf, size_t count) { in Read()
44 ssize_t EintrSafeFileDescriptor::Write(const void* buf, size_t count) { in Write()
63 off64_t EintrSafeFileDescriptor::Seek(off64_t offset, int whence) { in Seek()
68 bool EintrSafeFileDescriptor::BlkIoctl(int request, in BlkIoctl()
110 bool EintrSafeFileDescriptor::Close() { in Close()
118 void EintrSafeFileDescriptor::Reset() { in Reset()
Dmtd_file_descriptor.cc115 EintrSafeFileDescriptor::Open(path, flags | O_CLOEXEC, mode)); in Open()
159 return EintrSafeFileDescriptor::Seek(offset, whence); in Seek()
165 return EintrSafeFileDescriptor::Close(); in Close()
186 EintrSafeFileDescriptor::Open(path, flags | O_CLOEXEC, mode)); in Open()
199 EintrSafeFileDescriptor::Close(); in Open()
219 return EintrSafeFileDescriptor::Read(buf, count); in Read()
224 ssize_t nr_chunk = EintrSafeFileDescriptor::Write(buf, count); in Write()
236 return EintrSafeFileDescriptor::Seek(offset, whence); in Seek()
252 ssize_t nr_chunk = EintrSafeFileDescriptor::Write(buf, to_write); in Close()
262 return EintrSafeFileDescriptor::Close() && pad_ok; in Close()
Dfile_descriptor.h112 class EintrSafeFileDescriptor : public FileDescriptor {
114 EintrSafeFileDescriptor() : fd_(-1) {} in EintrSafeFileDescriptor() function
Dmtd_file_descriptor.h32 class MtdFileDescriptor : public EintrSafeFileDescriptor {
68 class UbiFileDescriptor : public EintrSafeFileDescriptor {
Dbzip_extent_writer_unittest.cc44 fd_.reset(new EintrSafeFileDescriptor); in SetUp()
Dextent_writer_unittest.cc49 fd_.reset(new EintrSafeFileDescriptor); in SetUp()
Ddelta_performer.cc102 ret.reset(new EintrSafeFileDescriptor); in CreateFileDescriptor()