Home
last modified time | relevance | path

Searched refs:fileMap (Results 1 – 2 of 2) sorted by relevance

/system/core/libutils/
DTokenizer.cpp38 Tokenizer::Tokenizer(const String8& filename, FileMap* fileMap, char* buffer, in Tokenizer() argument
40 mFilename(filename), mFileMap(fileMap), in Tokenizer()
68 FileMap* fileMap = new FileMap(); in open() local
71 if (fileMap->create(NULL, fd, 0, length, true)) { in open()
72 fileMap->advise(FileMap::SEQUENTIAL); in open()
73 buffer = static_cast<char*>(fileMap->getDataPtr()); in open()
75 delete fileMap; in open()
76 fileMap = NULL; in open()
95 *outTokenizer = new Tokenizer(filename, fileMap, buffer, ownBuffer, length); in open()
/system/core/include/utils/
DTokenizer.h31 Tokenizer(const String8& filename, FileMap* fileMap, char* buffer,