Searched refs:CurBuffer (Results 1 – 9 of 9) sorted by relevance
/external/clang/lib/Lex/ |
D | ScratchBuffer.cpp | 25 : 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/swiftshader/third_party/LLVM/lib/TableGen/ |
D | TGLexer.cpp | 29 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()
|
D | TGLexer.h | 74 int CurBuffer; variable
|
/external/llvm/lib/TableGen/ |
D | TGLexer.cpp | 30 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()
|
D | TGLexer.h | 80 unsigned CurBuffer; variable
|
/external/clang/include/clang/Lex/ |
D | ScratchBuffer.h | 27 char *CurBuffer; variable
|
/external/swiftshader/third_party/LLVM/lib/MC/MCParser/ |
D | AsmParser.cpp | 97 int CurBuffer; member in __anonc86f18d70111::AsmParser 355 CurBuffer(0), MacrosEnabled(true), CppHashLineNumber(0) { in AsmParser() 361 Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer)); in AsmParser() 423 CurBuffer = NewBuf; in EnterIncludeFile() 425 Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer)); in EnterIncludeFile() 431 CurBuffer = SrcMgr.FindBufferContainingLoc(Loc); in JumpToLoc() 432 Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer), Loc.getPointer()); in JumpToLoc() 441 SMLoc ParentIncludeLoc = SrcMgr.getParentIncludeLoc(CurBuffer); in Lex() 1481 CurBuffer = SrcMgr.AddNewSourceBuffer(MI->Instantiation, SMLoc()); in HandleMacroEntry() 1482 Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer)); in HandleMacroEntry()
|
/external/llvm/lib/MC/MCParser/ |
D | AsmParser.cpp | 128 unsigned CurBuffer; member in __anon13c8422b0111::AsmParser 562 PlatformParser(nullptr), CurBuffer(SM.getMainFileID()), in AsmParser() 570 Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer()); in AsmParser() 636 CurBuffer = NewBuf; in enterIncludeFile() 637 Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer()); in enterIncludeFile() 657 CurBuffer = InBuffer ? InBuffer : SrcMgr.FindBufferContainingLoc(Loc); in jumpToLoc() 658 Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer(), in jumpToLoc() 686 SMLoc ParentIncludeLoc = SrcMgr.getParentIncludeLoc(CurBuffer); in Lex() 1879 Line = SrcMgr.FindLineNumber(IDLoc, CurBuffer); in parseStatement() 1967 CppHashInfo.Buf = CurBuffer; in parseCppHashLineFilenameComment() [all …]
|
/external/llvm/lib/MC/ |
D | MCDwarf.cpp | 933 unsigned CurBuffer = SrcMgr.FindBufferContainingLoc(Loc); in Make() local 934 unsigned LineNumber = SrcMgr.FindLineNumber(Loc, CurBuffer); in Make()
|