Home
last modified time | relevance | path

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

123

/external/swiftshader/src/OpenGL/compiler/
DPoolAlloc.h269 pool_allocator(const pool_allocator<Other>& p) : allocator(&p.getAllocator()) { } in pool_allocator()
276 return getAllocator().allocate(n); in allocate()
279 return getAllocator().allocate(n); in allocate()
284 return reinterpret_cast<pointer>(getAllocator().allocate(n * sizeof(T))); in allocate()
287 return reinterpret_cast<pointer>(getAllocator().allocate(n * sizeof(T))); in allocate()
295 bool operator==(const pool_allocator& rhs) const { return &getAllocator() == &rhs.getAllocator(); }
296 bool operator!=(const pool_allocator& rhs) const { return &getAllocator() != &rhs.getAllocator(); }
302 TPoolAllocator& getAllocator() const { return *allocator; } in getAllocator() function
/external/clang/lib/Sema/
DSemaCodeComplete.cpp261 CodeCompletionAllocator &getAllocator() const { return Allocator; } in getAllocator() function in __anonaebf90eb0111::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(); }
DStringMap.h265 AllocatorRefTy getAllocator() { return Allocator; } in getAllocator() function
266 AllocatorCRefTy getAllocator() const { return Allocator; } in getAllocator() function
/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.cpp777 …m_colorBufferAlloc = bindBuffer(vk, getDevice(), getAllocator(), *m_colorBuffer, MemoryRequirem… in SparseBufferTestInstance()
819 …getDeviceInterface(), getDevice(), getAllocator(), m_universalQueue.queueFamilyIndex, descriptorSe… in draw()
976 .build(vk, getDevice(), getAllocator(), referenceBufferCreateInfo, minChunkSize)); in iterate()
985 .build(vk, getDevice(), getAllocator(), referenceBufferCreateInfo, minChunkSize); in iterate()
1004 …sparseAllocation = builder.build(vk, getDevice(), getAllocator(), referenceBufferCreateInfo, minCh… in iterate()
1028 …const UniquePtr<Allocation> stagingBufferAlloc (bindBuffer(vk, getDevice(), getAllocator(), *stagi… in iterate()
1093 …m_vertexBufferAlloc = bindBuffer(vk, getDevice(), getAllocator(), *m_vertexBuffer, MemoryRequireme… in iterate()
1246 …m_sparseAllocation = builder.build(vk, getDevice(), getAllocator(), referenceBufferCreateInfo, min… in DrawGridTestInstance()
1259 …m_stagingBufferAlloc = bindBuffer(vk, getDevice(), getAllocator(), *m_stagingBuffer, MemoryRequire… in DrawGridTestInstance()
1407 …m_vertexBufferAlloc = bindBuffer(vk, getDevice(), getAllocator(), *m_vertexBuffer, MemoryRequireme… in initializeBuffers()
[all …]
DvktSparseResourcesShaderIntrinsicsBase.cpp464 …Allocation> imageTexelsAlloc (bindImage(deviceInterface, getDevice(), getAllocator(), *imageTexels… in iterate()
471 …ocation> imageResidencyAlloc (bindImage(deviceInterface, getDevice(), getAllocator(), *imageReside… in iterate()
494 …location> inputBufferAlloc (bindBuffer(deviceInterface, getDevice(), getAllocator(), *inputBuffer… in iterate()
553 …ocation> bufferTexelsAlloc (bindBuffer(deviceInterface, getDevice(), getAllocator(), *bufferTexel… in iterate()
562 …tion> bufferResidencyAlloc (bindBuffer(deviceInterface, getDevice(), getAllocator(), *bufferResid… in iterate()
DvktSparseResourcesBase.hpp70 vk::Allocator& getAllocator (void) { return *m_allocator; } in getAllocator() function in vkt::sparse::SparseResourcesBaseInstance
DvktSparseResourcesBufferSparseBinding.cpp203 …location> inputBufferAlloc (bindBuffer(deviceInterface, getDevice(), getAllocator(), *inputBuffer… in iterate()
247 …ocation> 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/llvm/include/llvm/DebugInfo/PDB/Raw/
DMappedBlockStream.h48 llvm::BumpPtrAllocator &getAllocator() { return Pool; } in getAllocator() function
/external/llvm/lib/DebugInfo/PDB/Raw/
DDbiStreamBuilder.cpp49 static_cast<DbiStream::HeaderInfo *>(DS->getAllocator().Allocate( in build()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DExplodedGraph.h368 llvm::BumpPtrAllocator & getAllocator() { return BVC.getAllocator(); } in getAllocator() function
/external/llvm/lib/Support/
DYAMLParser.cpp1870 BumpPtrAllocator &Node::getAllocator() { in getAllocator() function in Node
2069 return Key = new (getAllocator()) NullNode(Doc); in getKey()
2078 return Key = new (getAllocator()) NullNode(Doc); in getKey()
2090 return Value = new (getAllocator()) NullNode(Doc); in getValue()
2100 return Value = new (getAllocator()) NullNode(Doc); in getValue()
2105 return Value = new (getAllocator()) NullNode(Doc); in getValue()
2113 return Value = new (getAllocator()) NullNode(Doc); in getValue()
2137 CurrentEntry = new (getAllocator()) KeyValueNode(Doc); in increment()

123