Home
last modified time | relevance | path

Searched refs:FileBuffer (Results 1 – 4 of 4) sorted by relevance

/external/clang/lib/Lex/
DHeaderMap.cpp84 auto FileBuffer = FM.getBufferForFile(FE); in Create() local
85 if (!FileBuffer) return nullptr; // Unreadable file? in Create()
86 const char *FileStart = (*FileBuffer)->getBufferStart(); in Create()
106 return new HeaderMap(std::move(*FileBuffer), NeedsByteSwap); in Create()
116 return FileBuffer->getBufferIdentifier(); in getFileName()
128 return *reinterpret_cast<const HMapHeader*>(FileBuffer->getBufferStart()); in getHeader()
139 reinterpret_cast<const HMapBucket*>(FileBuffer->getBufferStart() + in getBucket()
143 if ((const char*)(BucketPtr+1) > FileBuffer->getBufferEnd()) { in getBucket()
163 if (StrTabIdx >= FileBuffer->getBufferSize()) in getString()
169 return FileBuffer->getBufferStart()+StrTabIdx; in getString()
/external/clang/include/clang/Lex/
DHeaderMap.h38 std::unique_ptr<const llvm::MemoryBuffer> FileBuffer; variable
42 : FileBuffer(std::move(File)), NeedsBSwap(BSwap) {} in HeaderMap()
/external/clang/unittests/Tooling/
DRewriterTestContext.h105 auto FileBuffer = Files.getBufferForFile(Path); in getFileContentFromDisk() local
106 return (*FileBuffer)->getBuffer(); in getFileContentFromDisk()
DRefactoringTest.cpp255 auto FileBuffer = Context.Files.getBufferForFile(Path); in getFileContentFromDisk() local
256 return (*FileBuffer)->getBuffer(); in getFileContentFromDisk()