Searched refs:FileDescriptor (Results 1 – 7 of 7) sorted by relevance
21 bool FileDescriptor::OpenReadOnly(const char* path) { in OpenReadOnly()27 bool FileDescriptor::OpenReadWrite(const char* path) { in OpenReadWrite()33 int FileDescriptor::Read(void* buffer, size_t buffer_size) { in Read()37 int FileDescriptor::SeekTo(off_t offset) { in SeekTo()41 void* FileDescriptor::Map(void* address, in Map()49 void FileDescriptor::Close() { in Close()
33 class FileDescriptor {43 FileDescriptor() : fd_(kEmptyFD) {} in FileDescriptor() function45 FileDescriptor(const char* path) : fd_(kEmptyFD) { OpenReadOnly(path); } in FileDescriptor() function47 ~FileDescriptor() { Close(); } in ~FileDescriptor()
305 bool FileDescriptor::OpenReadOnly(const char* path) { in OpenReadOnly()310 bool FileDescriptor::OpenReadWrite(const char* path) { in OpenReadWrite()315 void FileDescriptor::Close() { in Close()323 int FileDescriptor::Read(void* buffer, size_t buffer_size) { in Read()332 int FileDescriptor::SeekTo(off_t offset) { in SeekTo()341 void* FileDescriptor::Map(void* address, in Map()
48 FileDescriptor fd_;
23 FileDescriptor fd(kPath); in TEST()
56 FileDescriptor fd_;
53 crazy::FileDescriptor fd; in FindElfDynamicSection()