Home | History | Annotate | Download | only in libutils

Lines Matching refs:fileMap

34 Tokenizer::Tokenizer(const String8& filename, FileMap* fileMap, char* buffer,
36 mFilename(filename), mFileMap(fileMap),
64 FileMap* fileMap = new FileMap();
67 if (fileMap->create(NULL, fd, 0, length, true)) {
68 fileMap->advise(FileMap::SEQUENTIAL);
69 buffer = static_cast<char*>(fileMap->getDataPtr());
71 delete fileMap;
72 fileMap = NULL;
91 *outTokenizer = new Tokenizer(filename, fileMap, buffer, ownBuffer, length);