Home
last modified time | relevance | path

Searched refs:FilePos (Results 1 – 3 of 3) sorted by relevance

/external/clang/lib/Rewrite/Core/
DHTMLRewrite.cpp119 for (unsigned FilePos = 0; C != FileEnd ; ++C, ++FilePos) { in EscapeText() local
129 RB.ReplaceText(FilePos, 1, " "); in EscapeText()
133 RB.ReplaceText(FilePos, 1, "<hr>"); in EscapeText()
142 RB.ReplaceText(FilePos, 1, in EscapeText()
146 RB.ReplaceText(FilePos, 1, StringRef(" ", NumSpaces)); in EscapeText()
151 RB.ReplaceText(FilePos, 1, "&lt;"); in EscapeText()
156 RB.ReplaceText(FilePos, 1, "&gt;"); in EscapeText()
161 RB.ReplaceText(FilePos, 1, "&amp;"); in EscapeText()
239 unsigned FilePos = 0; in AddLineNumbers() local
244 unsigned LineStartPos = FilePos; in AddLineNumbers()
[all …]
/external/clang/lib/Basic/
DSourceManager.cpp1015 unsigned SourceManager::getColumnNumber(FileID FID, unsigned FilePos, in getColumnNumber() argument
1026 if (FilePos > MemBuf->getBufferSize()) { in getColumnNumber()
1033 unsigned LineStart = FilePos; in getColumnNumber()
1036 return FilePos-LineStart+1; in getColumnNumber()
1162 unsigned SourceManager::getLineNumber(FileID FID, unsigned FilePos, in getLineNumber() argument
1203 unsigned QueriedFilePos = FilePos+1; in getLineNumber()
1626 unsigned FilePos = Content->SourceLineCache[Line - 1]; in translateLineCol() local
1627 const char *Buf = Buffer->getBufferStart() + FilePos; in translateLineCol()
1628 unsigned BufLength = Buffer->getBufferSize() - FilePos; in translateLineCol()
1630 return FileLoc.getLocWithOffset(FilePos); in translateLineCol()
[all …]
/external/clang/include/clang/Basic/
DSourceManager.h1138 unsigned getColumnNumber(FileID FID, unsigned FilePos,
1152 unsigned getLineNumber(FileID FID, unsigned FilePos, bool *Invalid = 0) const;