HomeSort by relevance Sort by last modified time
    Searched refs:FileMap (Results 1 - 22 of 22) sorted by null

  /frameworks/native/include/utils/
FileMap.h 42 * 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 {
49 FileMap(void);
85 FileMap* acquire(void) { mRefCount++; return this; }
112 ~FileMap(void);
116 FileMap(const FileMap& src);
117 const FileMap& operator=(const FileMap& src)
    [all...]
Tokenizer.h 22 #include <utils/FileMap.h>
31 Tokenizer(const String8& filename, FileMap* fileMap, char* buffer,
122 FileMap* mFileMap;
ZipFileRO.h 35 #include <utils/FileMap.h>
136 * Create a new FileMap object that maps a subset of the archive. For
141 FileMap* createEntryFileMap(ZipEntryRO entry) const;
244 FileMap* mDirectoryMap;
  /frameworks/av/drm/libdrmframework/include/
ReadWriteUtils.h 20 #include <utils/FileMap.h>
73 FileMap* mFileMap;
  /frameworks/base/include/androidfw/
Asset.h 29 #include <utils/FileMap.h>
179 * The asset takes ownership of the FileMap.
181 static Asset* createFromUncompressedMap(FileMap* dataMap, AccessMode mode);
187 * The asset takes ownership of the FileMap.
189 static Asset* createFromCompressedMap(FileMap* dataMap, int method,
233 status_t openChunk(FileMap* dataMap);
261 FileMap* mMap; // for memory map
264 const void* ensureAlignment(FileMap* map);
289 status_t openChunk(FileMap* dataMap, int compressionMethod,
310 FileMap* mMap; // for memory-mapped inpu
    [all...]
StreamingZipInflater.h 37 StreamingZipInflater(class FileMap* dataMap, size_t uncompSize);
57 class FileMap* mDataMap;
  /frameworks/native/libs/utils/
FileMap.cpp 21 #define LOG_TAG "filemap"
23 #include <utils/FileMap.h>
40 /*static*/ long FileMap::mPageSize = -1;
46 FileMap::FileMap(void)
55 FileMap::~FileMap(void)
59 //printf("+++ removing FileMap %p %u\n", mDataPtr, mDataLength);
91 bool FileMap::create(const char* origFileName, int fd, off64_t offset, size_t length,
202 int FileMap::advise(MapAdvice advice
    [all...]
Tokenizer.cpp 38 Tokenizer::Tokenizer(const String8& filename, FileMap* fileMap, char* buffer,
40 mFilename(filename), mFileMap(fileMap),
70 FileMap* fileMap = new FileMap();
73 if (fileMap->create(NULL, fd, 0, length, true)) {
74 fileMap->advise(FileMap::SEQUENTIAL);
75 buffer = static_cast<char*>(fileMap->getDataPtr())
    [all...]
ZipFileRO.cpp 283 mDirectoryMap = new FileMap();
636 * Create a new FileMap object that spans the data in "entry".
638 FileMap* ZipFileRO::createEntryFileMap(ZipEntryRO entry) const
641 * TODO: the efficient way to do this is to modify FileMap to allow
647 FileMap* newMap;
654 newMap = new FileMap();
684 FileMap* file = createEntryFileMap(entry);
705 file->advise(FileMap::SEQUENTIAL);
715 file->advise(FileMap::NORMAL);
744 FileMap* file = createEntryFileMap(entry)
    [all...]
Android.mk 26 FileMap.cpp \
  /frameworks/compile/libbcc/include/bcc/Support/
FileBase.h 27 class FileMap;
126 // One who gets non-null android::FileMap returned from this API is responsible
128 android::FileMap *createMap(off_t pOffset, size_t pLength, bool pIsReadOnly);
File.h 62 inline android::FileMap *createMap(off_t pOffset, size_t pLength,
  /frameworks/compile/libbcc/lib/Support/
FileBase.cpp 29 #include <utils/FileMap.h>
213 android::FileMap *FileBase::createMap(off_t pOffset, size_t pLength,
219 android::FileMap *map = new (std::nothrow) android::FileMap();
  /frameworks/compile/libbcc/lib/ExecutionEngine/
ObjectLoader.cpp 19 #include <utils/FileMap.h>
106 android::FileMap *file_map = NULL;
  /frameworks/base/cmds/bootanimation/
BootAnimation.h 62 FileMap* map;
BootAnimation.cpp 399 FileMap* descMap = zip.createEntryFileMap(desc);
455 FileMap* map = zip.createEntryFileMap(entry);
  /frameworks/base/libs/androidfw/
Asset.cpp 27 #include <utils/FileMap.h>
274 /*static*/ Asset* Asset::createFromUncompressedMap(FileMap* dataMap,
292 /*static*/ Asset* Asset::createFromCompressedMap(FileMap* dataMap,
419 status_t _FileAsset::openChunk(FileMap* dataMap)
605 FileMap* map;
607 map = new FileMap;
645 const void* _FileAsset::ensureAlignment(FileMap* map)
731 status_t _CompressedAsset::openChunk(FileMap* dataMap, int compressionMethod,
StreamingZipInflater.cpp 22 #include <utils/FileMap.h>
71 StreamingZipInflater::StreamingZipInflater(FileMap* dataMap, size_t uncompSize) {
AssetManager.cpp     [all...]
  /frameworks/compile/libbcc/lib/Renderscript/
RSInfoReader.cpp 25 #include <utils/FileMap.h>
177 android::FileMap *map = NULL;
264 map->advise(android::FileMap::SEQUENTIAL);
  /external/clang/tools/libclang/
IndexingContext.cpp 237 FileMap[File] = idxFile;
256 FileMap[File] = idxFile;
858 FileMapTy::iterator FI = FileMap.find(File);
859 if (FI != FileMap.end())
    [all...]
IndexingContext.h 292 FileMapTy FileMap;

Completed in 488 milliseconds