Lines Matching refs:FilePos
1125 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()
1769 unsigned BufLength = Buffer->getBufferSize() - FilePos; in translateLineCol()
1771 return FileLoc.getLocWithOffset(FilePos); in translateLineCol()
1778 return FileLoc.getLocWithOffset(FilePos + i); in translateLineCol()