Searched refs:NewBuf (Results 1 – 4 of 4) sorted by relevance
/external/llvm/lib/Support/ |
D | SourceMgr.cpp | 54 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/jhead/ |
D | exif.c | 1512 unsigned char * NewBuf = malloc(DataWriteIndex); in create_EXIF_internal() local 1513 if (NewBuf == NULL){ in create_EXIF_internal() 1516 memcpy(NewBuf, Buffer, DataWriteIndex); in create_EXIF_internal() 1518 CreateSection(M_EXIF, NewBuf, DataWriteIndex); in create_EXIF_internal() 1522 process_EXIF(NewBuf, DataWriteIndex); in create_EXIF_internal()
|
/external/clang/lib/Lex/ |
D | Preprocessor.cpp | 340 char *NewBuf = const_cast<char*>(NewBuffer->getBufferStart()); in SetCodeCompletionPoint() local 341 char *NewPos = std::copy(Buffer->getBufferStart(), Position, NewBuf); in SetCodeCompletionPoint()
|
/external/llvm/lib/MC/MCParser/ |
D | AsmParser.cpp | 474 int NewBuf = SrcMgr.AddIncludeFile(Filename, Lexer.getLoc(), IncludedFile); in EnterIncludeFile() local 475 if (NewBuf == -1) in EnterIncludeFile() 478 CurBuffer = NewBuf; in EnterIncludeFile() 490 int NewBuf = SrcMgr.AddIncludeFile(Filename, Lexer.getLoc(), IncludedFile); in ProcessIncbinFile() local 491 if (NewBuf == -1) in ProcessIncbinFile() 495 getStreamer().EmitBytes(SrcMgr.getMemoryBuffer(NewBuf)->getBuffer(), in ProcessIncbinFile()
|