Home
last modified time | relevance | path

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

/external/clang/lib/Lex/
DScratchBuffer.cpp24 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/utils/TableGen/
DTGLexer.cpp29 CurBuffer = 0; in TGLexer()
30 CurBuf = SrcMgr.getMemoryBuffer(CurBuffer); in TGLexer()
59 SMLoc ParentIncludeLoc = SrcMgr.getParentIncludeLoc(CurBuffer); in getNextChar()
61 CurBuffer = SrcMgr.FindBufferContainingLoc(ParentIncludeLoc); in getNextChar()
62 CurBuf = SrcMgr.getMemoryBuffer(CurBuffer); in getNextChar()
263 CurBuffer = SrcMgr.AddIncludeFile(Filename, SMLoc::getFromPointer(CurPtr), in LexInclude()
265 if (CurBuffer == -1) { in LexInclude()
272 CurBuf = SrcMgr.getMemoryBuffer(CurBuffer); in LexInclude()
DTGLexer.h74 int CurBuffer; variable
/external/clang/include/clang/Lex/
DScratchBuffer.h27 char *CurBuffer; variable
/external/llvm/lib/MC/MCParser/
DAsmParser.cpp96 int CurBuffer; member in __anondc01ef0e0111::AsmParser
346 CurBuffer(0), MacrosEnabled(true) { in AsmParser()
347 Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer)); in AsmParser()
409 CurBuffer = NewBuf; in EnterIncludeFile()
411 Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer)); in EnterIncludeFile()
417 CurBuffer = SrcMgr.FindBufferContainingLoc(Loc); in JumpToLoc()
418 Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer), Loc.getPointer()); in JumpToLoc()
427 SMLoc ParentIncludeLoc = SrcMgr.getParentIncludeLoc(CurBuffer); in Lex()
1373 CurBuffer = SrcMgr.AddNewSourceBuffer(MI->Instantiation, SMLoc()); in HandleMacroEntry()
1374 Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer)); in HandleMacroEntry()