Searched refs:SourceLineCache (Results 1 – 7 of 7) sorted by relevance
1192 if (LastLineNoFileIDQuery == FID && LastLineNoContentCache->SourceLineCache && in getColumnNumber()1193 LastLineNoResult < LastLineNoContentCache->SourceLineCache.size()) { in getColumnNumber()1194 const unsigned *SourceLineCache = in getColumnNumber() local1195 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() local1332 const unsigned *SourceLineCacheStart = SourceLineCache; in getLineNumber()[all …]
1145 LastLineNoContentCache->SourceLineCache != nullptr && in getColumnNumber()1147 unsigned *SourceLineCache = LastLineNoContentCache->SourceLineCache; in getColumnNumber() local1148 unsigned LineStart = SourceLineCache[LastLineNoResult - 1]; in getColumnNumber()1149 unsigned LineEnd = SourceLineCache[LastLineNoResult]; in getColumnNumber()1281 FI->SourceLineCache = Alloc.Allocate<unsigned>(LineOffsets.size()); in ComputeLineNumbers()1282 std::copy(LineOffsets.begin(), LineOffsets.end(), FI->SourceLineCache); in ComputeLineNumbers()1314 if (!Content->SourceLineCache) { in getLineNumber()1326 unsigned *SourceLineCache = Content->SourceLineCache; in getLineNumber() local1327 unsigned *SourceLineCacheStart = SourceLineCache; in getLineNumber()1328 unsigned *SourceLineCacheEnd = SourceLineCache + Content->NumLines; in getLineNumber()[all …]
268 unsigned lineOffs = Content->SourceLineCache[lineNo]; in InsertText()374 unsigned parentLineOffs = Content->SourceLineCache[parentLineNo]; in IncreaseIndentation()375 unsigned startLineOffs = Content->SourceLineCache[startLineNo]; in IncreaseIndentation()400 unsigned offs = Content->SourceLineCache[lineNo]; in IncreaseIndentation()
251 unsigned lineOffs = Content->SourceLineCache[lineNo]; in InsertText()357 unsigned parentLineOffs = Content->SourceLineCache[parentLineNo]; in IncreaseIndentation()358 unsigned startLineOffs = Content->SourceLineCache[startLineNo]; in IncreaseIndentation()383 unsigned offs = Content->SourceLineCache[lineNo]; in IncreaseIndentation()
43 .SourceLineCache = SrcMgr::LineOffsetMapping(); in getToken()
119 unsigned *SourceLineCache; variable146 SourceLineCache(nullptr), NumLines(0), BufferOverridden(false), in ContentCache()155 : Buffer(nullptr, false), SourceLineCache(nullptr), in ContentCache()161 RHS.SourceLineCache == nullptr && in ContentCache()
159 mutable LineOffsetMapping SourceLineCache; variable194 assert(!RHS.Buffer && !RHS.SourceLineCache && in ContentCache()