Home
last modified time | relevance | path

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

/ndk/sources/android/crazy_linker/src/
Dcrazy_linker_system.cpp21 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()
Dcrazy_linker_system.h33 class FileDescriptor {
43 FileDescriptor() : fd_(kEmptyFD) {} in FileDescriptor() function
45 FileDescriptor(const char* path) : fd_(kEmptyFD) { OpenReadOnly(path); } in FileDescriptor() function
47 ~FileDescriptor() { Close(); } in ~FileDescriptor()
Dcrazy_linker_system_mock.cpp305 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()
Dcrazy_linker_line_reader.h48 FileDescriptor fd_;
Dcrazy_linker_system_unittest.cpp23 FileDescriptor fd(kPath); in TEST()
Dcrazy_linker_elf_loader.h56 FileDescriptor fd_;
Dcrazy_linker_rdebug.cpp53 crazy::FileDescriptor fd; in FindElfDynamicSection()