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

1 2

  /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...]
  /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.
  /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/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) {
asan_allocator.cc 165 get_allocator().Deallocate(cache_, p);
176 void Deallocate(void *p) {
177 get_allocator().Deallocate(cache_, p);
610 void Deallocate(void *ptr, uptr delete_size, uptr delete_alignment,
671 Deallocate(old_ptr, 0, 0, stack, FROM_MALLOC);
867 instance.Deallocate(ptr, 0, 0, stack, alloc_type);
872 instance.Deallocate(ptr, size, alignment, stack, alloc_type);
888 instance.Deallocate(p, 0, 0, stack, FROM_MALLOC);
  /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_secondary.h 135 void Deallocate(AllocatorStats *stat, void *p) {
  /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/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_secondary.h 134 void Deallocate(AllocatorStats *stat, void *p) {
  /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/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_secondary.h 134 void Deallocate(AllocatorStats *stat, void *p) {
  /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/dist/libsanitizer/lsan/
lsan_allocator.cpp 125 void Deallocate(void *p) {
127 allocator.Deallocate(GetAllocatorCache(), p);
220 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/external/apache2/llvm/dist/clang/include/clang/Lex/
PreprocessingRecord.h 407 /// Deallocate memory in the preprocessing record.
408 void Deallocate(void *Ptr) {}
571 PR.Deallocate(ptr);
  /src/external/apache2/llvm/dist/clang/include/clang/AST/
StmtCXX.h 328 Deallocate, ///< Coroutine frame memory deallocation.
355 Expr *Deallocate = nullptr;
407 return cast_or_null<Expr>(getStoredStmts()[SubStmt::Deallocate]);
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGCoroutine.cpp 75 // Stores the last emitted coro.free for the deallocate expressions, we use it
420 Stmt *Deallocate;
422 // Emit "if (coro.free(CoroId, CoroBegin)) Deallocate;"
425 // once for exceptional exit. This usage is safe because Deallocate does not
437 CGF.EmitStmt(Deallocate);
442 // We should have captured coro.free from the emission of deallocate.
445 CGF.CGM.Error(Deallocate->getBeginLoc(),
455 // Add if (auto *mem = coro.free) Deallocate;
464 explicit CallCoroDelete(Stmt *DeallocStmt) : Deallocate(DeallocStmt) {}

Completed in 26 milliseconds

1 2