Home
last modified time | relevance | path

Searched refs:CurBuf (Results 1 – 8 of 8) sorted by relevance

/external/llvm/lib/TableGen/
DTGLexer.cpp31 CurBuf = SrcMgr.getMemoryBuffer(CurBuffer); in TGLexer()
32 CurPtr = CurBuf->getBufferStart(); in TGLexer()
55 if (CurPtr-1 != CurBuf->getBufferEnd()) in getNextChar()
63 CurBuf = SrcMgr.getMemoryBuffer(CurBuffer); in getNextChar()
190 if (*CurPtr == 0 && CurPtr == CurBuf->getBufferEnd()) in LexString()
223 if (CurPtr == CurBuf->getBufferEnd()) in LexString()
322 CurBuf = SrcMgr.getMemoryBuffer(CurBuffer); in LexInclude()
323 CurPtr = CurBuf->getBufferStart(); in LexInclude()
336 if (CurPtr == CurBuf->getBufferEnd()) in SkipBCPLComment()
DTGLexer.h66 const MemoryBuffer *CurBuf; variable
/external/llvm/lib/Support/
DSourceMgr.cpp135 int CurBuf = FindBufferContainingLoc(IncludeLoc); in PrintIncludeStack() local
136 assert(CurBuf != -1 && "Invalid or unspecified location!"); in PrintIncludeStack()
138 PrintIncludeStack(getBufferInfo(CurBuf).IncludeLoc, OS); in PrintIncludeStack()
141 << getBufferInfo(CurBuf).Buffer->getBufferIdentifier() in PrintIncludeStack()
142 << ":" << FindLineNumber(IncludeLoc, CurBuf) << ":\n"; in PrintIncludeStack()
164 int CurBuf = FindBufferContainingLoc(Loc); in GetMessage() local
165 assert(CurBuf != -1 && "Invalid or unspecified location!"); in GetMessage()
167 MemoryBuffer *CurMB = getBufferInfo(CurBuf).Buffer; in GetMessage()
206 LineAndCol = getLineAndColumn(Loc, CurBuf); in GetMessage()
228 int CurBuf = FindBufferContainingLoc(Loc); in PrintMessage() local
[all …]
/external/llvm/lib/MC/MCParser/
DAsmLexer.cpp25 CurBuf = NULL; in AsmLexer()
34 CurBuf = buf; in setBuffer()
39 CurPtr = CurBuf->getBufferStart(); in setBuffer()
60 if (CurPtr-1 != CurBuf->getBufferEnd()) in getNextChar()
370 (*CurPtr != 0 || CurPtr != CurBuf->getBufferEnd())) { in LexUntilEndOfStatement()
381 (*CurPtr != 0 || CurPtr != CurBuf->getBufferEnd())) { in LexUntilEndOfLine()
DDarwinAsmParser.cpp606 int CurBuf = getSourceManager().FindBufferContainingLoc(IDLoc); in ParseDirectiveSecureLogUnique() local
607 *OS << getSourceManager().getBufferInfo(CurBuf).Buffer->getBufferIdentifier() in ParseDirectiveSecureLogUnique()
608 << ":" << getSourceManager().FindLineNumber(IDLoc, CurBuf) << ":" in ParseDirectiveSecureLogUnique()
/external/llvm/include/llvm/MC/MCParser/
DAsmLexer.h31 const MemoryBuffer *CurBuf; variable
/external/llvm/lib/AsmParser/
DLLLexer.h31 MemoryBuffer *CurBuf; variable
DLLLexer.cpp162 : CurBuf(StartBuf), ErrorInfo(Err), SM(sm), Context(C), APFloatVal(0.0) { in LLLexer()
163 CurPtr = CurBuf->getBufferStart(); in LLLexer()
167 return CurBuf->getBufferIdentifier(); in getFilename()
177 if (CurPtr-1 != CurBuf->getBufferEnd()) in getNextChar()