Searched refs:CurBuffer (Results 1 – 6 of 6) sorted by relevance
/external/clang/lib/Lex/ |
D | ScratchBuffer.cpp | 24 ScratchBuffer::ScratchBuffer(SourceManager &SM) : SourceMgr(SM), CurBuffer(0) { in ScratchBuffer() 40 CurBuffer[BytesUsed++] = '\n'; in getToken() 43 DestPtr = CurBuffer+BytesUsed; in getToken() 46 memcpy(CurBuffer+BytesUsed, Buf, Len); in getToken() 54 CurBuffer[BytesUsed-1] = '\0'; in getToken() 70 CurBuffer = const_cast<char*>(Buf->getBufferStart()); in AllocScratchBuffer() 72 CurBuffer[0] = '0'; // Start out with a \0 for cleanliness. in AllocScratchBuffer()
|
/external/llvm/lib/TableGen/ |
D | TGLexer.cpp | 31 CurBuffer = 0; in TGLexer() 32 CurBuf = SrcMgr.getMemoryBuffer(CurBuffer); in TGLexer() 61 SMLoc ParentIncludeLoc = SrcMgr.getParentIncludeLoc(CurBuffer); in getNextChar() 63 CurBuffer = SrcMgr.FindBufferContainingLoc(ParentIncludeLoc); in getNextChar() 64 CurBuf = SrcMgr.getMemoryBuffer(CurBuffer); in getNextChar() 306 CurBuffer = SrcMgr.AddIncludeFile(Filename, SMLoc::getFromPointer(CurPtr), in LexInclude() 308 if (CurBuffer == -1) { in LexInclude() 315 CurBuf = SrcMgr.getMemoryBuffer(CurBuffer); in LexInclude()
|
D | TGLexer.h | 75 int CurBuffer; variable
|
/external/clang/include/clang/Lex/ |
D | ScratchBuffer.h | 27 char *CurBuffer; variable
|
/external/llvm/lib/MC/MCParser/ |
D | AsmParser.cpp | 102 int CurBuffer; member in __anon7a2b25310111::AsmParser 409 CurBuffer(0), MacrosEnabled(true), CppHashLineNumber(0), in AsmParser() 416 Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer)); in AsmParser() 478 CurBuffer = NewBuf; in EnterIncludeFile() 480 Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer)); in EnterIncludeFile() 501 CurBuffer = SrcMgr.FindBufferContainingLoc(Loc); in JumpToLoc() 502 Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer), Loc.getPointer()); in JumpToLoc() 511 SMLoc ParentIncludeLoc = SrcMgr.getParentIncludeLoc(CurBuffer); in Lex() 543 StringRef(), SrcMgr.getMemoryBuffer(CurBuffer)->getBufferIdentifier()); in Run() 1339 SrcMgr.FindLineNumber(IDLoc, CurBuffer), in ParseStatement() [all …]
|
/external/llvm/lib/MC/ |
D | MCDwarf.cpp | 761 int CurBuffer = SrcMgr.FindBufferContainingLoc(Loc); in Make() local 762 unsigned LineNumber = SrcMgr.FindLineNumber(Loc, CurBuffer); in Make()
|