Home
last modified time | relevance | path

Searched refs:FileMap (Results 1 – 8 of 8) sorted by relevance

/system/core/libutils/include/utils/
DFileMap.h51 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);
DTokenizer.h31 Tokenizer(const String8& filename, FileMap* fileMap, char* buffer,
122 FileMap* mFileMap;
/system/core/libutils/
DFileMap.cpp47 /*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()
DTokenizer.cpp34 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()
DAndroid.bp45 "FileMap.cpp",
/system/extras/mmap-perf/
DmmapPerf.cpp46 class FileMap { class
57FileMap(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/
Dzip_archive_private.h100 std::unique_ptr<android::FileMap> directory_map;
117 directory_map(new android::FileMap()), in ZipArchive()
127 directory_map(new android::FileMap()), in ZipArchive()
Dzip_archive_test.cc519 android::FileMap file_map; in TEST()