Home
last modified time | relevance | path

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

/system/core/libutils/include/utils/
DFileMap.h51 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);
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
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()
DFileMap_test.cpp23 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()
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()
DFileMap_fuzz.cpp36 android::FileMap m; in LLVMFuzzerTestOneInput()
48 m.advise(static_cast<android::FileMap::MapAdvice>(enum_index)); in LLVMFuzzerTestOneInput()
DAndroid.bp142 "FileMap.cpp",
/system/extras/mmap-perf/
DmmapPerf.cpp47 class FileMap { class
58FileMap(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/
Dmap_ptr.cpp72 map_ = std::make_unique<android::FileMap>(); in CreateForceVerification()
146 map_ = std::make_unique<android::FileMap>(); in CreateForceVerification()
/system/incremental_delivery/incfs/util/include/util/
Dmap_ptr.h35 class FileMap; variable
107 std::unique_ptr<android::FileMap> map_;