Home
last modified time | relevance | path

Searched refs:NumLines (Results 1 – 9 of 9) 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.h189 mutable unsigned NumLines; variable
192 PreambleData() : File(nullptr), NumLines(0) { } in PreambleData()
197 NumLines = 0; in assign()
200 void clear() { Buffer.clear(); File = nullptr; NumLines = 0; } in clear()
208 if (NumLines) in getNumLines()
209 return NumLines; in getNumLines()
211 return NumLines; in getNumLines()
/external/clang/lib/Index/
DCommentToXML.cpp417 unsigned NumLines = C->getNumLines(); in visitVerbatimBlockComment() local
418 if (NumLines == 0) in visitVerbatimBlockComment()
422 for (unsigned i = 0; i != NumLines; ++i) { in visitVerbatimBlockComment()
424 if (i + 1 != NumLines) in visitVerbatimBlockComment()
798 unsigned NumLines = C->getNumLines(); in visitVerbatimBlockComment() local
799 if (NumLines == 0) in visitVerbatimBlockComment()
810 for (unsigned i = 0; i != NumLines; ++i) { in visitVerbatimBlockComment()
812 if (i + 1 != NumLines) in visitVerbatimBlockComment()
/external/compiler-rt/lib/sanitizer_common/scripts/
Dcpplint.py1005 def NumLines(self): member in CleansedLines
1075 return (line, clean_lines.NumLines(), -1)
1086 while linenum < clean_lines.NumLines() - 1:
1096 return (line, clean_lines.NumLines(), -1)
1414 for i in range(linenum, clean_lines.NumLines()):
1981 for start_linenum in xrange(linenum, clean_lines.NumLines()):
2280 if linenum + 1 < clean_lines.NumLines():
3172 if linenum + 1 < clean_lines.NumLines():
3423 if match and linenum + 1 < clean_lines.NumLines():
3678 for linenum in xrange(clean_lines.NumLines()):
[all …]
/external/chromium_org/third_party/libvpx/source/libvpx/tools/
Dcpplint.py1193 def NumLines(self): member in CleansedLines
1264 return (line, clean_lines.NumLines(), -1)
1277 while linenum < clean_lines.NumLines() - 1:
1286 return (line, clean_lines.NumLines(), -1)
1711 for i in range(linenum, clean_lines.NumLines()):
2315 for start_linenum in xrange(linenum, clean_lines.NumLines()):
2617 if linenum + 1 < clean_lines.NumLines():
2839 min(endlinenum + 3, clean_lines.NumLines() - 1)):
3841 if linenum + 1 < clean_lines.NumLines():
4000 if match and linenum + 1 < clean_lines.NumLines():
[all …]
/external/libvpx/libvpx/tools/
Dcpplint.py1193 def NumLines(self): member in CleansedLines
1264 return (line, clean_lines.NumLines(), -1)
1277 while linenum < clean_lines.NumLines() - 1:
1286 return (line, clean_lines.NumLines(), -1)
1711 for i in range(linenum, clean_lines.NumLines()):
2315 for start_linenum in xrange(linenum, clean_lines.NumLines()):
2617 if linenum + 1 < clean_lines.NumLines():
2839 min(endlinenum + 3, clean_lines.NumLines() - 1)):
3841 if linenum + 1 < clean_lines.NumLines():
4000 if match and linenum + 1 < clean_lines.NumLines():
[all …]
/external/clang/include/clang/Basic/
DSourceManager.h133 unsigned NumLines : 31; variable
148 SourceLineCache(nullptr), NumLines(0), BufferOverridden(false), in Buffer()
155 SourceLineCache(nullptr), NumLines(0), BufferOverridden(false), in ContentCache()
173 NumLines = RHS.NumLines; in ContentCache()
/external/clang/lib/Basic/
DSourceManager.cpp1147 LastLineNoResult < LastLineNoContentCache->NumLines) { in getColumnNumber()
1275 FI->NumLines = LineOffsets.size(); in ComputeLineNumbers()
1323 unsigned *SourceLineCacheEnd = SourceLineCache + Content->NumLines; in getLineNumber()
1362 if (LastLineNoResult < Content->NumLines) in getLineNumber()
1753 if (Line > Content->NumLines) { in translateLineCol()
/external/clang/lib/Frontend/
DASTUnit.cpp2855 NumLines = 0; in countLines()
2862 ++NumLines; in countLines()
2865 ++NumLines; in countLines()