HomeSort by: relevance | last modified time | path
    Searched refs:Deallocate (Results 1 - 25 of 76) sorted by relevancy

1 2 3 4

  /src/external/apache2/llvm/dist/llvm/include/llvm/Support/
AllocatorBase.h 12 /// and alignment, and a Deallocate accepting a pointer and size. Further, the
13 /// LLVM "Allocator" concept has overloads of Allocate and Deallocate for
49 /// Deallocate \a Ptr to \a Size bytes of memory allocated by this
51 void Deallocate(const void *Ptr, size_t Size, size_t Alignment) {
55 &AllocatorBase::Deallocate) !=
57 &DerivedT::Deallocate),
59 "core Deallocate(void *) overload!");
61 return static_cast<DerivedT *>(this)->Deallocate(Ptr, Size, Alignment);
72 /// Deallocate space for a sequence of objects without constructing them.
75 Deallocate(T *Ptr, size_t Num = 1)
    [all...]
RecyclingAllocator.h 47 /// Deallocate - Release storage for the pointed-to object. The
51 void Deallocate(SubClass* E) { return Base.Deallocate(Allocator, E); }
73 A.Deallocate(E);
Recycler.h 71 Allocator.Deallocate(t);
75 /// Special case for BumpPtrAllocator which has an empty Deallocate()
98 void Deallocate(AllocatorType & /*Allocator*/, SubClass* Element) {
Allocator.h 123 /// Deallocate all but the current slab and reset the current pointer
126 // Deallocate all but the first slab, and deallocate all custom-sized slabs.
213 void Deallocate(const void *Ptr, size_t Size, size_t /*Alignment*/) {
218 using AllocatorBase<BumpPtrAllocatorImpl>::Deallocate;
345 /// Deallocate a sequence of slabs.
351 AllocatorT::Deallocate(*I, AllocatedSlabSize, alignof(std::max_align_t));
355 /// Deallocate all memory for custom sized slabs.
360 AllocatorT::Deallocate(Ptr, Size, alignof(std::max_align_t));
394 /// Call the destructor of each allocated object and deallocate all but th
    [all...]
ArrayRecycler.h 107 Allocator.Deallocate(Ptr);
110 /// Special case for BumpPtrAllocator which has an empty Deallocate()
133 /// Deallocate an array with the specified Capacity.
137 void deallocate(Capacity Cap, T *Ptr) { function in class:llvm::ArrayRecycler
  /src/external/apache2/llvm/dist/libcxx/benchmarks/
allocation.bench.cpp 25 static void Deallocate(void* P, size_t) {
36 static void Deallocate(void* P, size_t) {
47 static void Deallocate(void* P, size_t) {
58 static void Deallocate(void* P, size_t N) {
70 AllocWrapper::Deallocate(p, alloc_size);
91 AllocWrapper::Deallocate(Tmp, alloc_size);
109 AllocWrapper::Deallocate(*Data, alloc_size);
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
sanitizer_allocator_combined.h 93 void Deallocate(AllocatorCache *cache, void *p) {
96 cache->Deallocate(&primary_, primary_.GetSizeClass(p), p);
98 secondary_.Deallocate(&stats_, p);
106 Deallocate(cache, p);
115 Deallocate(cache, p);
sanitizer_allocator_local_cache.h 56 void Deallocate(SizeClassAllocator *allocator, uptr class_id, void *p) {
151 Deallocate(allocator, batch_class_id, b);
175 void Deallocate(SizeClassAllocator *allocator, uptr class_id, void *p) {
sanitizer_allocator.cc 134 return internal_allocator()->Deallocate(&internal_allocator_cache, ptr);
136 internal_allocator()->Deallocate(cache, ptr);
  /src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
sanitizer_allocator_combined.h 89 void Deallocate(AllocatorCache *cache, void *p) {
92 cache->Deallocate(&primary_, primary_.GetSizeClass(p), p);
94 secondary_.Deallocate(&stats_, p);
102 Deallocate(cache, p);
111 Deallocate(cache, p);
sanitizer_allocator.cpp 74 return internal_allocator()->Deallocate(&internal_allocator_cache, ptr);
76 internal_allocator()->Deallocate(cache, ptr);
sanitizer_allocator_local_cache.h 49 void Deallocate(SizeClassAllocator *allocator, uptr class_id, void *p) {
150 Deallocate(allocator, batch_class_id, b);
174 void Deallocate(SizeClassAllocator *allocator, uptr class_id, void *p) {
  /src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/
sanitizer_allocator_combined.h 89 void Deallocate(AllocatorCache *cache, void *p) {
92 cache->Deallocate(&primary_, primary_.GetSizeClass(p), p);
94 secondary_.Deallocate(&stats_, p);
102 Deallocate(cache, p);
111 Deallocate(cache, p);
sanitizer_allocator_local_cache.h 49 void Deallocate(SizeClassAllocator *allocator, uptr class_id, void *p) {
150 Deallocate(allocator, batch_class_id, b);
174 void Deallocate(SizeClassAllocator *allocator, uptr class_id, void *p) {
sanitizer_allocator.cpp 133 return internal_allocator()->Deallocate(&internal_allocator_cache, ptr);
135 internal_allocator()->Deallocate(cache, ptr);
  /src/external/apache2/llvm/dist/clang/lib/AST/
RecordLayout.cpp 24 Ctx.Deallocate(CXXInfo);
27 Ctx.Deallocate(this);
StmtCXX.cpp 119 SubStmts[CoroutineBodyStmt::Deallocate] = Args.Deallocate;
  /src/sys/external/bsd/compiler_rt/dist/lib/lsan/
lsan_allocator.cc 111 void Deallocate(void *p) {
115 allocator.Deallocate(GetAllocatorCache(), p);
122 allocator.Deallocate(GetAllocatorCache(), p);
182 Deallocate(p);
  /src/external/gpl3/gcc.old/dist/libsanitizer/lsan/
lsan_allocator.cpp 117 void Deallocate(void *p) {
121 allocator.Deallocate(GetAllocatorCache(), p);
192 Deallocate(p);
  /src/sys/external/bsd/compiler_rt/dist/lib/asan/
asan_fake_stack.h 124 // Deallocate the fake frame: read the saved flag address and write 0 there.
125 static void Deallocate(uptr x, uptr class_id) {
  /src/external/gpl3/gcc/dist/libsanitizer/asan/
asan_fake_stack.h 123 // Deallocate the fake frame: read the saved flag address and write 0 there.
124 static void Deallocate(uptr x, uptr class_id) {
  /src/external/gpl3/gcc.old/dist/libsanitizer/asan/
asan_fake_stack.h 123 // Deallocate the fake frame: read the saved flag address and write 0 there.
124 static void Deallocate(uptr x, uptr class_id) {
  /src/sys/external/bsd/compiler_rt/dist/lib/asan/tests/
asan_fake_stack_test.cc 129 fs->Deallocate(reinterpret_cast<uptr>(it->first), it->second);
142 fs->Deallocate(reinterpret_cast<uptr>(ff), class_id);
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/
sanitizer_quarantine_test.cc 26 void Deallocate(void *p) {
40 cb.Deallocate(batch);
94 // Nothing to merge, nothing to deallocate.
116 // Batches merged, one batch to deallocate.
sanitizer_allocator_test.cc 237 // Deallocate all.
243 cache.Deallocate(a, a->GetSizeClass(x), x);
341 cache.Deallocate(a, 1 + i % (Allocator::kNumClasses - 1), allocated[i]);
514 a.Deallocate(&stats, x);
559 // Deallocate all.
564 a.Deallocate(&stats, p);
583 // Deallocate all in reverse order.
590 a.Deallocate(&stats, p);
610 a.Deallocate(&stats, allocated[i]);
620 a.Deallocate(&stats, p)
    [all...]

Completed in 127 milliseconds

1 2 3 4