• Home
  • History
  • Annotate
  • Raw
  • Download

Lines Matching refs:SourceLineCache

1192   if (LastLineNoFileIDQuery == FID && LastLineNoContentCache->SourceLineCache &&  in getColumnNumber()
1193 LastLineNoResult < LastLineNoContentCache->SourceLineCache.size()) { in getColumnNumber()
1194 const unsigned *SourceLineCache = in getColumnNumber() local
1195 LastLineNoContentCache->SourceLineCache.begin(); in getColumnNumber()
1196 unsigned LineStart = SourceLineCache[LastLineNoResult - 1]; in getColumnNumber()
1197 unsigned LineEnd = SourceLineCache[LastLineNoResult]; in getColumnNumber()
1316 if (!Content->SourceLineCache) { in getLineNumber()
1324 Content->SourceLineCache = in getLineNumber()
1331 const unsigned *SourceLineCache = Content->SourceLineCache.begin(); in getLineNumber() local
1332 const unsigned *SourceLineCacheStart = SourceLineCache; in getLineNumber()
1333 const unsigned *SourceLineCacheEnd = Content->SourceLineCache.end(); in getLineNumber()
1353 SourceLineCache = SourceLineCache+LastLineNoResult-1; in getLineNumber()
1359 if (SourceLineCache+5 < SourceLineCacheEnd) { in getLineNumber()
1360 if (SourceLineCache[5] > QueriedFilePos) in getLineNumber()
1361 SourceLineCacheEnd = SourceLineCache+5; in getLineNumber()
1362 else if (SourceLineCache+10 < SourceLineCacheEnd) { in getLineNumber()
1363 if (SourceLineCache[10] > QueriedFilePos) in getLineNumber()
1364 SourceLineCacheEnd = SourceLineCache+10; in getLineNumber()
1365 else if (SourceLineCache+20 < SourceLineCacheEnd) { in getLineNumber()
1366 if (SourceLineCache[20] > QueriedFilePos) in getLineNumber()
1367 SourceLineCacheEnd = SourceLineCache+20; in getLineNumber()
1372 if (LastLineNoResult < Content->SourceLineCache.size()) in getLineNumber()
1373 SourceLineCacheEnd = SourceLineCache+LastLineNoResult+1; in getLineNumber()
1378 std::lower_bound(SourceLineCache, SourceLineCacheEnd, QueriedFilePos); in getLineNumber()
1671 if (!Content->SourceLineCache) in translateLineCol()
1672 Content->SourceLineCache = in translateLineCol()
1675 if (Line > Content->SourceLineCache.size()) { in translateLineCol()
1682 unsigned FilePos = Content->SourceLineCache[Line - 1]; in translateLineCol()
2087 NumLineNumsComputed += bool(I->second->SourceLineCache); in PrintStats()