Home
last modified time | relevance | path

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

/external/clang/lib/Rewrite/
DHTMLRewrite.cpp118 for (unsigned FilePos = 0; C != FileEnd ; ++C, ++FilePos) { in EscapeText() local
128 RB.ReplaceText(FilePos, 1, " "); in EscapeText()
132 RB.ReplaceText(FilePos, 1, "<hr>"); in EscapeText()
141 RB.ReplaceText(FilePos, 1, in EscapeText()
145 RB.ReplaceText(FilePos, 1, StringRef(" ", NumSpaces)); in EscapeText()
150 RB.ReplaceText(FilePos, 1, "&lt;"); in EscapeText()
155 RB.ReplaceText(FilePos, 1, "&gt;"); in EscapeText()
160 RB.ReplaceText(FilePos, 1, "&amp;"); in EscapeText()
237 unsigned FilePos = 0; in AddLineNumbers() local
242 unsigned LineStartPos = FilePos; in AddLineNumbers()
[all …]
/external/llvm-project/clang/lib/Rewrite/
DHTMLRewrite.cpp119 for (unsigned FilePos = 0; C != FileEnd ; ++C, ++FilePos) { in EscapeText() local
129 RB.ReplaceText(FilePos, 1, "&nbsp;"); 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()
238 unsigned FilePos = 0; in AddLineNumbers() local
243 unsigned LineStartPos = FilePos; in AddLineNumbers()
[all …]
/external/llvm-project/clang/lib/Basic/
DSourceManager.cpp1173 unsigned SourceManager::getColumnNumber(FileID FID, unsigned FilePos, in getColumnNumber() argument
1183 if (FilePos > MemBuf->getBufferSize()) { in getColumnNumber()
1198 if (FilePos >= LineStart && FilePos < LineEnd) { in getColumnNumber()
1203 if (FilePos + 1 == LineEnd && FilePos > LineStart) { in getColumnNumber()
1204 if (Buf[FilePos - 1] == '\r' || Buf[FilePos - 1] == '\n') in getColumnNumber()
1205 --FilePos; in getColumnNumber()
1207 return FilePos - LineStart + 1; in getColumnNumber()
1211 unsigned LineStart = FilePos; in getColumnNumber()
1214 return FilePos-LineStart+1; in getColumnNumber()
1291 unsigned SourceManager::getLineNumber(FileID FID, unsigned FilePos, in getLineNumber() argument
[all …]
/external/clang/lib/Basic/
DSourceManager.cpp1125 unsigned SourceManager::getColumnNumber(FileID FID, unsigned FilePos, in getColumnNumber() argument
1136 if (FilePos > MemBuf->getBufferSize()) { in getColumnNumber()
1150 if (FilePos >= LineStart && FilePos < LineEnd) in getColumnNumber()
1151 return FilePos - LineStart + 1; in getColumnNumber()
1155 unsigned LineStart = FilePos; in getColumnNumber()
1158 return FilePos-LineStart+1; in getColumnNumber()
1289 unsigned SourceManager::getLineNumber(FileID FID, unsigned FilePos, in getLineNumber() argument
1330 unsigned QueriedFilePos = FilePos+1; in getLineNumber()
1767 unsigned FilePos = Content->SourceLineCache[Line - 1]; in translateLineCol() local
1768 const char *Buf = Buffer->getBufferStart() + FilePos; in translateLineCol()
[all …]
/external/clang/include/clang/Basic/
DSourceManager.h1270 unsigned getColumnNumber(FileID FID, unsigned FilePos,
1285 unsigned getLineNumber(FileID FID, unsigned FilePos, bool *Invalid = nullptr) const;
/external/llvm-project/clang/include/clang/Basic/
DSourceManager.h1378 unsigned getColumnNumber(FileID FID, unsigned FilePos,
1393 unsigned getLineNumber(FileID FID, unsigned FilePos, bool *Invalid = nullptr) const;
/external/google-breakpad/src/processor/testdata/symbols/kernel32.pdb/BCE8785C57B44245A669896B6A19B9542/
Dkernel32.sym997 PUBLIC 6c414 0 FilePos(int)