Searched refs:FileMap (Results 1 – 8 of 8) sorted by relevance
/system/core/libutils/include/utils/ |
D | FileMap.h | 51 class FileMap { 53 FileMap(void); 55 FileMap(FileMap&& f); 56 FileMap& operator=(FileMap&& f); 69 ~FileMap(void); 110 FileMap(const FileMap& src); 111 const FileMap& operator=(const FileMap& src);
|
D | Tokenizer.h | 31 Tokenizer(const String8& filename, FileMap* fileMap, char* buffer, 122 FileMap* mFileMap;
|
/system/core/libutils/ |
D | FileMap.cpp | 47 /*static*/ long FileMap::mPageSize = -1; 50 FileMap::FileMap(void) in FileMap() function in FileMap 57 FileMap::FileMap(FileMap&& other) in FileMap() function in FileMap 74 FileMap& FileMap::operator=(FileMap&& other) { in operator =() 94 FileMap::~FileMap(void) in ~FileMap() 121 bool FileMap::create(const char* origFileName, int fd, off64_t offset, size_t length, in create() 216 int FileMap::advise(MapAdvice advice) in advise() 238 int FileMap::advise(MapAdvice /* advice */) in advise()
|
D | Tokenizer.cpp | 34 Tokenizer::Tokenizer(const String8& filename, FileMap* fileMap, char* buffer, in Tokenizer() 64 FileMap* fileMap = new FileMap(); in open() 68 fileMap->advise(FileMap::SEQUENTIAL); in open()
|
D | Android.bp | 45 "FileMap.cpp",
|
/system/extras/mmap-perf/ |
D | mmapPerf.cpp | 46 class FileMap { class 57 …FileMap(const string &name, size_t size, Hint hint = FILE_MAP_HINT_NONE) : m_name{name}, m_size{si… in FileMap() function in FileMap 106 ~FileMap() { in ~FileMap() 114 FileMap file{"/data/local/tmp/mmap_test", fsize}; in benchRandomRead() 124 FileMap file{"/data/local/tmp/mmap_test", fsize}; in benchRandomWrite() 134 FileMap file{"/data/local/tmp/mmap_test", fsize}; in benchLinearRead() 145 FileMap file{"/data/local/tmp/mmap_test", fsize}; in benchLinearWrite()
|
/system/core/libziparchive/ |
D | zip_archive_private.h | 100 std::unique_ptr<android::FileMap> directory_map; 117 directory_map(new android::FileMap()), in ZipArchive() 127 directory_map(new android::FileMap()), in ZipArchive()
|
D | zip_archive_test.cc | 519 android::FileMap file_map; in TEST()
|