Home
last modified time | relevance | path

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

/external/llvm/lib/Support/
DSourceMgr.cpp58 OwningPtr<MemoryBuffer> NewBuf; in AddIncludeFile() local
60 MemoryBuffer::getFile(IncludedFile.c_str(), NewBuf); in AddIncludeFile()
63 for (unsigned i = 0, e = IncludeDirectories.size(); i != e && !NewBuf; ++i) { in AddIncludeFile()
65 MemoryBuffer::getFile(IncludedFile.c_str(), NewBuf); in AddIncludeFile()
68 if (NewBuf == 0) return ~0U; in AddIncludeFile()
70 return AddNewSourceBuffer(NewBuf.take(), IncludeLoc); in AddIncludeFile()
/external/jhead/
Dexif.c1512 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/
DPreprocessor.cpp381 char *NewBuf = const_cast<char*>(NewBuffer->getBufferStart()); in SetCodeCompletionPoint() local
382 char *NewPos = std::copy(Buffer->getBufferStart(), Position, NewBuf); in SetCodeCompletionPoint()
/external/llvm/lib/MC/MCParser/
DAsmParser.cpp536 int NewBuf = SrcMgr.AddIncludeFile(Filename, Lexer.getLoc(), IncludedFile); in EnterIncludeFile() local
537 if (NewBuf == -1) in EnterIncludeFile()
540 CurBuffer = NewBuf; in EnterIncludeFile()
552 int NewBuf = SrcMgr.AddIncludeFile(Filename, Lexer.getLoc(), IncludedFile); in ProcessIncbinFile() local
553 if (NewBuf == -1) in ProcessIncbinFile()
557 getStreamer().EmitBytes(SrcMgr.getMemoryBuffer(NewBuf)->getBuffer(), in ProcessIncbinFile()