Home
last modified time | relevance | path

Searched refs:NumLines (Results 1 – 5 of 5) sorted by relevance

/external/llvm/utils/count/
Dcount.c14 unsigned Count, NumLines, NumRead; in main() local
28 NumLines = 0; in main()
36 ++NumLines; in main()
44 if (Count != NumLines) { in main()
45 fprintf(stderr, "Expected %d lines, got %d.\n", Count, NumLines); in main()
/external/clang/include/clang/Frontend/
DASTUnit.h167 mutable unsigned NumLines; variable
170 PreambleData() : File(0), NumLines(0) { } in PreambleData()
175 NumLines = 0; in assign()
178 void clear() { Buffer.clear(); File = 0; NumLines = 0; } in clear()
186 if (NumLines) in getNumLines()
187 return NumLines; in getNumLines()
189 return NumLines; in getNumLines()
/external/clang/include/clang/Basic/
DSourceManager.h105 unsigned NumLines : 31; variable
116 SourceLineCache(0), NumLines(0), BufferOverridden(false) {}
120 SourceLineCache(0), NumLines(0), BufferOverridden(false) {} in ContentCache()
136 NumLines = RHS.NumLines; in ContentCache()
/external/clang/lib/Basic/
DSourceManager.cpp1125 FI->NumLines = LineOffsets.size(); in ComputeLineNumbers()
1173 unsigned *SourceLineCacheEnd = SourceLineCache + Content->NumLines; in getLineNumber()
1212 if (LastLineNoResult < Content->NumLines) in getLineNumber()
1222 unsigned FileLen = Content->SourceLineCache[Content->NumLines-1]; in getLineNumber()
1225 unsigned ApproxPos = Content->NumLines*QueriedFilePos / FileLen; in getLineNumber()
1590 if (Line > Content->NumLines) { in translateLineCol()
/external/clang/lib/Frontend/
DASTUnit.cpp2737 NumLines = 0; in countLines()
2744 ++NumLines; in countLines()
2747 ++NumLines; in countLines()