Home | History | Annotate | Download | only in Basic

Lines Matching defs:Content

51 /// this content cache.  This is used for performance analysis.
63 /// getSize - Returns the size of the content encapsulated by this ContentCache.
106 // situation where the content cache referenced a file which no longer
387 // Delete FileEntry objects corresponding to content caches. Since the actual
388 // content cache objects are bump pointer allocated, we just have to run the
517 /// \brief As part of recovering from missing or changed content, produce a
527 /// \brief As part of recovering from missing or changed content, produce a
528 /// fake content cache.
1309 ContentCache *Content;
1311 Content = LastLineNoContentCache;
1321 Content = const_cast<ContentCache*>(Entry.getFile().getContentCache());
1326 if (Content->SourceLineCache == 0) {
1328 ComputeLineNumbers(Diag, Content, ContentCacheAlloc, *this, MyInvalid);
1338 unsigned *SourceLineCache = Content->SourceLineCache;
1340 unsigned *SourceLineCacheEnd = SourceLineCache + Content->NumLines;
1379 if (LastLineNoResult < Content->NumLines)
1389 unsigned FileLen = Content->SourceLineCache[Content->NumLines-1];
1392 unsigned ApproxPos = Content->NumLines*QueriedFilePos / FileLen;
1414 LastLineNoContentCache = Content;
1746 ContentCache *Content
1748 if (!Content)
1753 if (Content->SourceLineCache == 0) {
1755 ComputeLineNumbers(Diag, Content, ContentCacheAlloc, *this, MyInvalid);
1760 if (Line > Content->NumLines) {
1761 unsigned Size = Content->getBuffer(Diag, *this)->getBufferSize();
1767 const llvm::MemoryBuffer *Buffer = Content->getBuffer(Diag, *this);
1768 unsigned FilePos = Content->SourceLineCache[Line - 1];