Home
last modified time | relevance | path

Searched refs:CurBuffer (Results 1 – 6 of 6) sorted by relevance

/external/clang/lib/Lex/
DScratchBuffer.cpp25 : SourceMgr(SM), CurBuffer(nullptr) { in ScratchBuffer()
41 CurBuffer[BytesUsed++] = '\n'; in getToken()
44 DestPtr = CurBuffer+BytesUsed; in getToken()
47 memcpy(CurBuffer+BytesUsed, Buf, Len); in getToken()
55 CurBuffer[BytesUsed-1] = '\0'; in getToken()
74 CurBuffer = const_cast<char*>(Buf.getBufferStart()); in AllocScratchBuffer()
/external/llvm/lib/TableGen/
DTGLexer.cpp30 CurBuffer = SrcMgr.getMainFileID(); in TGLexer()
31 CurBuf = SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer(); in TGLexer()
60 SMLoc ParentIncludeLoc = SrcMgr.getParentIncludeLoc(CurBuffer); in getNextChar()
62 CurBuffer = SrcMgr.FindBufferContainingLoc(ParentIncludeLoc); in getNextChar()
63 CurBuf = SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer(); in getNextChar()
305 CurBuffer = SrcMgr.AddIncludeFile(Filename, SMLoc::getFromPointer(CurPtr), in LexInclude()
307 if (!CurBuffer) { in LexInclude()
322 CurBuf = SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer(); in LexInclude()
DTGLexer.h80 unsigned CurBuffer; variable
/external/clang/include/clang/Lex/
DScratchBuffer.h27 char *CurBuffer; variable
/external/llvm/lib/MC/MCParser/
DAsmParser.cpp128 unsigned CurBuffer; member in __anon13c8422b0111::AsmParser
492 PlatformParser(nullptr), CurBuffer(SM.getMainFileID()), in AsmParser()
500 Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer()); in AsmParser()
562 CurBuffer = NewBuf; in enterIncludeFile()
563 Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer()); in enterIncludeFile()
583 CurBuffer = InBuffer ? InBuffer : SrcMgr.FindBufferContainingLoc(Loc); in jumpToLoc()
584 Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer(), in jumpToLoc()
594 SMLoc ParentIncludeLoc = SrcMgr.getParentIncludeLoc(CurBuffer); in Lex()
1606 Line = SrcMgr.FindLineNumber(IDLoc, CurBuffer); in parseStatement()
1691 CppHashBuf = CurBuffer; in parseCppHashLineFilenameComment()
[all …]
/external/llvm/lib/MC/
DMCDwarf.cpp928 unsigned CurBuffer = SrcMgr.FindBufferContainingLoc(Loc); in Make() local
929 unsigned LineNumber = SrcMgr.FindLineNumber(Loc, CurBuffer); in Make()