Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Support/
DSourceMgr.cpp54 OwningPtr<MemoryBuffer> NewBuf; in AddIncludeFile() local
56 MemoryBuffer::getFile(IncludedFile.c_str(), NewBuf); in AddIncludeFile()
59 for (unsigned i = 0, e = IncludeDirectories.size(); i != e && !NewBuf; ++i) { in AddIncludeFile()
61 MemoryBuffer::getFile(IncludedFile.c_str(), NewBuf); in AddIncludeFile()
64 if (NewBuf == 0) return ~0U; in AddIncludeFile()
66 return AddNewSourceBuffer(NewBuf.take(), IncludeLoc); in AddIncludeFile()
/external/clang/lib/Lex/
DPreprocessor.cpp422 char *NewBuf = const_cast<char*>(NewBuffer->getBufferStart()); in SetCodeCompletionPoint() local
423 char *NewPos = std::copy(Buffer->getBufferStart(), Position, NewBuf); in SetCodeCompletionPoint()
/external/llvm/lib/MC/MCParser/
DAsmParser.cpp631 unsigned NewBuf = in enterIncludeFile() local
633 if (!NewBuf) in enterIncludeFile()
636 CurBuffer = NewBuf; in enterIncludeFile()
646 unsigned NewBuf = in processIncbinFile() local
648 if (!NewBuf) in processIncbinFile()
652 getStreamer().EmitBytes(SrcMgr.getMemoryBuffer(NewBuf)->getBuffer()); in processIncbinFile()
/external/swiftshader/third_party/LLVM/lib/MC/MCParser/
DAsmParser.cpp419 int NewBuf = SrcMgr.AddIncludeFile(Filename, Lexer.getLoc(), IncludedFile); in EnterIncludeFile() local
420 if (NewBuf == -1) in EnterIncludeFile()
423 CurBuffer = NewBuf; in EnterIncludeFile()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/MCParser/
DAsmParser.cpp760 unsigned NewBuf = in enterIncludeFile() local
762 if (!NewBuf) in enterIncludeFile()
765 CurBuffer = NewBuf; in enterIncludeFile()
776 unsigned NewBuf = in processIncbinFile() local
778 if (!NewBuf) in processIncbinFile()
782 StringRef Bytes = SrcMgr.getMemoryBuffer(NewBuf)->getBuffer(); in processIncbinFile()