Searched refs:FileMap (Results 1 – 10 of 10) sorted by relevance
/system/core/libutils/include/utils/ |
D | FileMap.h | 51 class FileMap { 53 FileMap(void); 55 FileMap(FileMap&& f) noexcept; 56 FileMap& operator=(FileMap&& f) noexcept; 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 65 FileMap::FileMap(FileMap&& other) noexcept in FileMap() function in FileMap 88 FileMap& FileMap::operator=(FileMap&& other) noexcept { in operator =() 108 FileMap::~FileMap(void) in ~FileMap() 135 bool FileMap::create(const char* origFileName, int fd, off64_t offset, size_t length, in create() 229 int FileMap::advise(MapAdvice advice) in advise() 251 int FileMap::advise(MapAdvice /* advice */) in advise()
|
D | FileMap_test.cpp | 23 TEST(FileMap, zero_length_mapping) { in TEST() argument 29 android::FileMap m; in TEST() 36 TEST(FileMap, large_offset) { in TEST() argument 49 android::FileMap m; in TEST() 56 TEST(FileMap, offset_overflow) { in TEST() argument 65 android::FileMap m; in TEST()
|
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 | FileMap_fuzz.cpp | 36 android::FileMap m; in LLVMFuzzerTestOneInput() 48 m.advise(static_cast<android::FileMap::MapAdvice>(enum_index)); in LLVMFuzzerTestOneInput()
|
D | Android.bp | 142 "FileMap.cpp",
|
/system/extras/mmap-perf/ |
D | mmapPerf.cpp | 47 class FileMap { class 58 …FileMap(const string &name, size_t size, Hint hint = FILE_MAP_HINT_NONE) : m_name{name}, m_size{si… in FileMap() function in FileMap 107 ~FileMap() { in ~FileMap() 115 FileMap file{"/data/local/tmp/mmap_test", fsize}; in benchRandomRead() 125 FileMap file{"/data/local/tmp/mmap_test", fsize}; in benchRandomWrite() 135 FileMap file{"/data/local/tmp/mmap_test", fsize}; in benchLinearRead() 146 FileMap file{"/data/local/tmp/mmap_test", fsize}; in benchLinearWrite()
|
/system/incremental_delivery/incfs/util/ |
D | map_ptr.cpp | 72 map_ = std::make_unique<android::FileMap>(); in CreateForceVerification() 146 map_ = std::make_unique<android::FileMap>(); in CreateForceVerification()
|
/system/incremental_delivery/incfs/util/include/util/ |
D | map_ptr.h | 35 class FileMap; variable 107 std::unique_ptr<android::FileMap> map_;
|