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.cpp446 char *NewBuffer = static_cast<char *>(malloc(NewCapacity)); in Append() local
448 memcpy(NewBuffer, Buffer, BufferSize); in Append()
451 Buffer = NewBuffer; in Append()
/external/clang/lib/Lex/
DPreprocessor.cpp416 std::unique_ptr<MemoryBuffer> NewBuffer = in SetCodeCompletionPoint() local
419 char *NewBuf = const_cast<char*>(NewBuffer->getBufferStart()); in SetCodeCompletionPoint()
423 SourceMgr.overrideFileContents(File, std::move(NewBuffer)); in SetCodeCompletionPoint()