Home
last modified time | relevance | path

Searched refs:getAllocator (Results 1 – 25 of 64) sorted by relevance

123

/external/swiftshader/src/OpenGL/compiler/
DPoolAlloc.h275 pool_allocator(const pool_allocator<Other>& p) : allocator(&p.getAllocator()) { } in pool_allocator()
282 return getAllocator().allocate(n); in allocate()
285 return getAllocator().allocate(n); in allocate()
290 return reinterpret_cast<pointer>(getAllocator().allocate(n * sizeof(T))); in allocate()
293 return reinterpret_cast<pointer>(getAllocator().allocate(n * sizeof(T))); in allocate()
301 bool operator==(const pool_allocator& rhs) const { return &getAllocator() == &rhs.getAllocator(); }
302 bool operator!=(const pool_allocator& rhs) const { return &getAllocator() != &rhs.getAllocator(); }
308 TPoolAllocator& getAllocator() const { return *allocator; } in getAllocator() function
/external/clang/lib/Sema/
DSemaCodeComplete.cpp261 CodeCompletionAllocator &getAllocator() const { return Allocator; } in getAllocator() function in __anon44622c280111::ResultBuilder
1309 CodeCompletionBuilder Builder(Results.getAllocator(), in AddTypeSpecifierResults()
1425 CodeCompletionBuilder Builder(Results.getAllocator(), in AddTypedefResult()
1519 CodeCompletionAllocator &Allocator = Results.getAllocator(); in addThisCompletion()
1535 CodeCompletionAllocator &Allocator = Results.getAllocator(); in AddOrdinaryNameResults()
2113 Result.getAllocator())); in AddResultTypeChunk()
2327 CodeCompletionBuilder Opt(Result.getAllocator(), in AddFunctionParameterChunks()
2351 Result.getAllocator().CopyString(PlaceholderStr)); in AddFunctionParameterChunks()
2422 CodeCompletionBuilder Opt(Result.getAllocator(), in AddTemplateParameterChunks()
2441 Result.getAllocator().CopyString(PlaceholderStr)); in AddTemplateParameterChunks()
[all …]
DCodeCompleteConsumer.cpp329 void *Mem = getAllocator().Allocate( in TakeString()
448 getAllocator(), in ProcessCodeCompleteResults()
467 getAllocator(), in ProcessCodeCompleteResults()
518 getAllocator(), CCTUInfo, in ProcessOverloadCandidates()
/external/compiler-rt/lib/scudo/
Dscudo_allocator.cpp45 static ScudoAllocator &getAllocator();
175 getAllocator().DestroyCache(&Cache); in teardownThread()
201 getAllocator().InitCache(&Cache); in initThread()
218 getAllocator().Deallocate(Cache_, Ptr); in Recycle()
231 return getAllocator().Allocate(Cache_, Size, 1, false); in Allocate()
236 getAllocator().Deallocate(Cache_, Ptr); in Deallocate()
526 static ScudoAllocator &getAllocator() { in getAllocator() function
607 getAllocator().GetStats(stats); in __sanitizer_get_current_allocated_bytes()
613 getAllocator().GetStats(stats); in __sanitizer_get_heap_size()
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DImmutableList.h152 BumpPtrAllocator& getAllocator() const { in getAllocator() function
164 if (ownsAllocator()) delete &getAllocator(); in ~ImmutableListFactory()
178 BumpPtrAllocator& A = getAllocator(); in concat()
DScopedHashTable.h172 AllocatorRefTy getAllocator() { return Allocator; } in getAllocator() function
173 AllocatorCRefTy getAllocator() const { return Allocator; } in getAllocator() function
250 ThisEntry->Destroy(HT.getAllocator()); in ~ScopedHashTableScope()
DStringSet.h33 Create(KeyStart, KeyEnd, base::getAllocator(), '+')); in insert()
DImmutableSet.h381 BumpPtrAllocator& getAllocator() const { in getAllocator() function
397 if (ownsAllocator()) delete &getAllocator(); in ~ImutAVLFactory()
459 BumpPtrAllocator& A = getAllocator(); in createNode()
998 BumpPtrAllocator& getAllocator() { return F.getAllocator(); }
/external/llvm/include/llvm/ADT/
DImmutableList.h151 BumpPtrAllocator& getAllocator() const { in getAllocator() function
163 if (ownsAllocator()) delete &getAllocator(); in ~ImmutableListFactory()
177 BumpPtrAllocator& A = getAllocator(); in concat()
DScopedHashTable.h171 AllocatorTy &getAllocator() { return Allocator; } in getAllocator() function
172 const AllocatorTy &getAllocator() const { return Allocator; } in getAllocator() function
250 ThisEntry->Destroy(HT.getAllocator()); in ~ScopedHashTableScope()
DImmutableSet.h381 BumpPtrAllocator& getAllocator() const { in getAllocator() function
397 if (ownsAllocator()) delete &getAllocator(); in ~ImutAVLFactory()
462 BumpPtrAllocator& A = getAllocator(); in createNode()
1030 BumpPtrAllocator& getAllocator() { return F.getAllocator(); }
/external/clang/include/clang/Sema/
DCodeCompleteConsumer.h527 CodeCompletionAllocator &getAllocator() const { in getAllocator() function
579 CodeCompletionAllocator &getAllocator() const { return Allocator; }
939 virtual CodeCompletionAllocator &getAllocator() = 0;
969 CodeCompletionAllocator &getAllocator() override {
970 return CCTUInfo.getAllocator();
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesBufferTests.cpp784 …m_colorBufferAlloc = bindBuffer(vk, getDevice(), getAllocator(), *m_colorBuffer, MemoryRequirem… in SparseBufferTestInstance()
828 …getDeviceInterface(), getDevice(), getAllocator(), m_universalQueue.queueFamilyIndex, descriptorSe… in draw()
989 .build(vk, getDevice(), getAllocator(), referenceBufferCreateInfo, minChunkSize)); in iterate()
998 .build(vk, getDevice(), getAllocator(), referenceBufferCreateInfo, minChunkSize); in iterate()
1017 …sparseAllocation = builder.build(vk, getDevice(), getAllocator(), referenceBufferCreateInfo, minCh… in iterate()
1041 …const UniquePtr<Allocation> stagingBufferAlloc (bindBuffer(vk, getDevice(), getAllocator(), *stagi… in iterate()
1111 …m_vertexBufferAlloc = bindBuffer(vk, getDevice(), getAllocator(), *m_vertexBuffer, MemoryRequireme… in iterate()
1267 …m_sparseAllocation = builder.build(vk, getDevice(), getAllocator(), referenceBufferCreateInfo, min… in DrawGridTestInstance()
1278 …m_stagingBufferAlloc = bindBuffer(vk, getDevice(), getAllocator(), *m_stagingBuffer, MemoryRequire… in DrawGridTestInstance()
1441 …m_vertexBufferAlloc = bindBuffer(vk, getDevice(), getAllocator(), *m_vertexBuffer, MemoryRequireme… in initializeBuffers()
[all …]
DvktSparseResourcesShaderIntrinsicsBase.cpp484 …Allocation> imageTexelsAlloc (bindImage(deviceInterface, getDevice(), getAllocator(), *imageTexels… in iterate()
491 …ocation> imageResidencyAlloc (bindImage(deviceInterface, getDevice(), getAllocator(), *imageReside… in iterate()
514 …location> inputBufferAlloc (bindBuffer(deviceInterface, getDevice(), getAllocator(), *inputBuffer… in iterate()
573 …ocation> bufferTexelsAlloc (bindBuffer(deviceInterface, getDevice(), getAllocator(), *bufferTexel… in iterate()
582 …tion> bufferResidencyAlloc (bindBuffer(deviceInterface, getDevice(), getAllocator(), *bufferResid… in iterate()
DvktSparseResourcesBase.hpp81 vk::Allocator& getAllocator (void) { return *m_allocator; } in getAllocator() function in vkt::sparse::SparseResourcesBaseInstance
DvktSparseResourcesBufferSparseBinding.cpp240 …Allocation> inputBufferAlloc(bindBuffer(deviceInterface, getDevice(), getAllocator(), *inputBuffer… in iterate()
284 …llocation> outputBufferAlloc(bindBuffer(deviceInterface, getDevice(), getAllocator(), *outputBuffe… in iterate()
/external/clang/include/clang/Basic/
DIdentifierTable.h470 llvm::BumpPtrAllocator& getAllocator() { in getAllocator() function
471 return HashTable.getAllocator(); in getAllocator()
490 void *Mem = getAllocator().Allocate<IdentifierInfo>(); in get()
521 void *Mem = getAllocator().Allocate<IdentifierInfo>(); in getOwn()
/external/clang/lib/AST/
DRawCommentList.cpp208 comments::Lexer L(Context.getAllocator(), Context.getDiagnostics(), in parse()
212 comments::Sema S(Context.getAllocator(), Context.getSourceManager(), in parse()
217 comments::Parser P(L, S, Context.getAllocator(), Context.getSourceManager(), in parse()
/external/clang/lib/StaticAnalyzer/Core/
DExplodedGraph.cpp253 V = G.getAllocator().Allocate<ExplodedNodeVector>(); in addNode()
319 V = (NodeTy*) getAllocator().Allocate<NodeTy>(); in getNode()
342 NodeTy *V = (NodeTy *) getAllocator().Allocate<NodeTy>(); in createUncachedNode()
/external/clang/include/clang/Analysis/Support/
DBumpVector.h54 llvm::BumpPtrAllocator &getAllocator() { return *Alloc.getPointer(); } in getAllocator() function
228 T *NewElts = C.getAllocator().template Allocate<T>(NewCapacity); in grow()
/external/swiftshader/third_party/subzero/src/
DIceMemory.cpp54 Manager == nullptr ? nullptr : Manager->getAllocator(); in set_current()
DIceGlobalContext.h284 return getAllocator()->Allocate<T>(); in allocate()
290 T *Ret = getAllocator()->Allocate<T>(); in allocate()
528 LockedPtr<ArenaAllocator> getAllocator() { in getAllocator() function
/external/llvm/include/llvm/DebugInfo/PDB/Raw/
DMappedBlockStream.h48 llvm::BumpPtrAllocator &getAllocator() { return Pool; } in getAllocator() function
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DExplodedGraph.h368 llvm::BumpPtrAllocator & getAllocator() { return BVC.getAllocator(); } in getAllocator() function
/external/llvm/lib/DebugInfo/PDB/Raw/
DDbiStreamBuilder.cpp49 static_cast<DbiStream::HeaderInfo *>(DS->getAllocator().Allocate( in build()

123