Searched refs:FileMap (Results 1 - 6 of 6) sorted by relevance

/system/core/include/utils/
H A DFileMap.h42 * TODO: we should be able to create a new FileMap that is a subset of
43 * an existing FileMap and shares the underlying mapped pages. Requires
45 * of a FileMap hierarchy.
47 class FileMap { class in namespace:android
49 FileMap(void);
85 FileMap* acquire(void) { mRefCount++; return this; }
112 ~FileMap(void);
116 FileMap(const FileMap& src);
117 const FileMap
[all...]
H A DTokenizer.h22 #include <utils/FileMap.h>
31 Tokenizer(const String8& filename, FileMap* fileMap, char* buffer,
122 FileMap* mFileMap;
/system/core/libutils/
H A DFileMap.cpp23 #include <utils/FileMap.h>
47 /*static*/ long FileMap::mPageSize = -1;
50 FileMap::FileMap(void) function in class:FileMap
57 FileMap::~FileMap(void)
61 //printf("+++ removing FileMap %p %zu\n", mDataPtr, mDataLength);
90 bool FileMap::create(const char* origFileName, int fd, off64_t offset, size_t length,
199 int FileMap::advise(MapAdvice advice)
H A DTokenizer.cpp38 Tokenizer::Tokenizer(const String8& filename, FileMap* fileMap, char* buffer,
70 FileMap* fileMap = new FileMap();
74 fileMap->advise(FileMap::SEQUENTIAL);
H A DAndroid.mk24 FileMap.cpp \
/system/core/libziparchive/
H A Dzip_archive.cc31 #include <utils/FileMap.h>
294 android::FileMap* directory_map;
329 static android::FileMap* MapFileSegment(const int fd, const off64_t start,
332 android::FileMap* file_map = new android::FileMap;
521 android::FileMap* map = MapFileSegment(fd,
1141 android::FileMap* map = MapFileSegment(fd, current_offset, declared_length,

Completed in 1286 milliseconds