Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DTypeLocBuilder.cpp49 char *NewBuffer = new char[NewCapacity]; in grow() local
51 memcpy(&NewBuffer[NewIndex], in grow()
58 Buffer = NewBuffer; in grow()
/external/llvm/unittests/ExecutionEngine/MCJIT/
DMCJITObjectCacheTest.cpp66 std::unique_ptr<MemoryBuffer> NewBuffer = in copyBuffer() local
68 MemoryBuffer *Ret = NewBuffer.get(); in copyBuffer()
69 AllocatedBuffers.push_back(std::move(NewBuffer)); in copyBuffer()
/external/clang/lib/AST/
DNestedNameSpecifier.cpp444 char *NewBuffer = static_cast<char *>(malloc(NewCapacity)); in Append() local
445 memcpy(NewBuffer, Buffer, BufferSize); in Append()
449 Buffer = NewBuffer; in Append()
/external/clang/lib/Lex/
DPreprocessor.cpp402 std::unique_ptr<MemoryBuffer> NewBuffer = in SetCodeCompletionPoint() local
405 char *NewBuf = const_cast<char*>(NewBuffer->getBufferStart()); in SetCodeCompletionPoint()
409 SourceMgr.overrideFileContents(File, std::move(NewBuffer)); in SetCodeCompletionPoint()