Searched refs:FileBuffer (Results 1 – 4 of 4) sorted by relevance
84 auto FileBuffer = FM.getBufferForFile(FE); in Create() local85 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()
38 std::unique_ptr<const llvm::MemoryBuffer> FileBuffer; variable42 : FileBuffer(std::move(File)), NeedsBSwap(BSwap) {} in HeaderMap()
105 auto FileBuffer = Files.getBufferForFile(Path); in getFileContentFromDisk() local106 return (*FileBuffer)->getBuffer(); in getFileContentFromDisk()
255 auto FileBuffer = Context.Files.getBufferForFile(Path); in getFileContentFromDisk() local256 return (*FileBuffer)->getBuffer(); in getFileContentFromDisk()