Searched refs:deallocate (Results 26 - 50 of 224) sorted by relevance

123456789

/netbsd-current/external/gpl3/binutils.old/dist/gprofng/src/
H A DHeapMap.h43 long deallocate (uint64_t addr);
/netbsd-current/external/gpl3/gcc.old/dist/libphobos/src/std/experimental/allocator/
H A Dgc_allocator.d22 deallocate) and $(D reallocate) methods are $(D @system) because they may
83 pure nothrow @system bool deallocate(void[] b) shared
126 // deallocate upon scope's end (alternatively: leave it to collection)
127 scope(exit) GCAllocator.instance.deallocate(buffer);
150 scope(exit) GCAllocator.instance.deallocate(buffer);
160 scope(exit) GCAllocator.instance.deallocate(buffer2);
/netbsd-current/external/apache2/llvm/dist/libcxx/src/include/
H A Dsso_allocator.h60 _LIBCPP_INLINE_VISIBILITY void deallocate(pointer __p, size_type __n) function in class:__sso_allocator
65 allocator<_Tp>().deallocate(__p, __n);
/netbsd-current/external/gpl3/gcc.old/dist/libstdc++-v3/include/ext/pb_ds/detail/binary_heap_/
H A Dconstructors_destructor_fn_imps.hpp103 s_entry_allocator.deallocate(m_a_entries, m_actual_size);
140 s_entry_allocator.deallocate(m_a_entries, m_actual_size);
/netbsd-current/external/gpl3/gcc.old/dist/libstdc++-v3/include/ext/pb_ds/detail/gp_hash_table_map_/
H A Dresize_fn_imps.hpp111 s_entry_allocator.deallocate(a_entries_resized, new_size);
123 s_entry_allocator.deallocate(m_entries, old_size);
/netbsd-current/external/gpl3/gcc/dist/libstdc++-v3/include/ext/pb_ds/detail/gp_hash_table_map_/
H A Dresize_fn_imps.hpp111 s_entry_allocator.deallocate(a_entries_resized, new_size);
123 s_entry_allocator.deallocate(m_entries, old_size);
/netbsd-current/external/gpl3/gcc/dist/libstdc++-v3/include/ext/pb_ds/detail/binary_heap_/
H A Dconstructors_destructor_fn_imps.hpp103 s_entry_allocator.deallocate(m_a_entries, m_actual_size);
140 s_entry_allocator.deallocate(m_a_entries, m_actual_size);
/netbsd-current/external/gpl3/gcc/dist/libphobos/src/std/experimental/allocator/
H A Dmallocator.d25 `deallocate` and `reallocate` methods are `@system` because they
41 bool deallocate(void[] b) shared const
56 // so just deallocate and nullify the pointer
57 deallocate(b);
88 scope(exit) Mallocator.instance.deallocate(buffer);
99 scope(exit) () nothrow @nogc { A.instance.deallocate(p[0 .. int.sizeof]); }();
284 bool deallocate(void[] b) shared
292 bool deallocate(void[] b) shared
323 deallocate(b);
340 deallocate(
[all...]
H A Dmmap_allocator.d13 and each call to `deallocate(b)` issues $(D munmap(b.ptr, b.length)).
50 bool deallocate(void[] b) shared const
95 bool deallocate(void[] b) shared const
137 () @trusted { alloc.deallocate(p); p = null; }();
H A Dgc_allocator.d27 deallocate) and `reallocate` methods are `@system` because they may
89 bool deallocate(void[] b) shared const
140 // deallocate upon scope's end (alternatively: leave it to collection)
141 scope(exit) GCAllocator.instance.deallocate(buffer);
164 scope(exit) () nothrow @nogc { GCAllocator.instance.deallocate(buffer); }();
177 scope(exit) () nothrow @nogc { GCAllocator.instance.deallocate(buffer2); }();
/netbsd-current/external/gpl3/gcc.old/dist/libphobos/src/std/experimental/allocator/building_blocks/
H A Dbucketizer.d114 deallocate(b);
141 deallocate(b);
175 This method is only defined if $(D Allocator) defines $(D deallocate).
177 static if (hasMember!(Allocator, "deallocate"))
178 bool deallocate(void[] b)
183 a.deallocate(b.ptr[0 .. goodAllocSize(b.length)]);
191 allocators could deallocate all.
240 a.deallocate(b);
H A Dfree_tree.d19 $(LI Adding $(D deallocate) capability to an allocator that lacks it (such as simple regions).)
256 static if (hasMember!(ParentAllocator, "deallocate"))
282 ParentAllocator) defines $(D deallocate), $(D FreeTree) releases all of its
285 TODO: Splitting and coalescing should be implemented if $(D ParentAllocator) does not defined $(D deallocate).
304 static if (hasMember!(ParentAllocator, "deallocate"))
324 bool deallocate(void[] b)
343 a.deallocate(b1);
344 a.deallocate(b3);
345 a.deallocate(b2);
368 a.deallocate(
[all...]
H A Dfallback_allocator.d134 static if (hasMember!(From, "deallocate"))
135 from.deallocate(b);
168 static if (hasMember!(From, "deallocate"))
169 from.deallocate(b);
217 $(D deallocate) is defined if and only if at least one of the allocators
218 define $(D deallocate). It works as follows. If $(D primary.owns(b)),
219 then the request is forwarded to $(D primary.deallocate) if it is defined,
221 request is forwarded to $(D fallback.deallocate) if it is defined, or is a
225 (hasMember!(Primary, "deallocate")
226 || hasMember!(Fallback, "deallocate")))
[all...]
H A Dsegregator.d83 bool deallocate(void[] b);
224 static if (hasMember!(SmallAllocator, "deallocate")
225 && hasMember!(LargeAllocator, "deallocate"))
226 bool deallocate(void[] data)
229 ? _small.deallocate(data)
230 : _large.deallocate(data);
295 a.deallocate(b);
360 a.deallocate(b);
H A Dscoped_allocator.d10 deallocate) for all memory allocated through its lifetime. (The $(D
13 $(D deallocate) is also supported, which is where most implementation effort
14 and overhead of $(D ScopedAllocator) go. If $(D deallocate) is not needed, a
151 static if (hasMember!(Allocator, "deallocate"))
152 bool deallocate(void[] b)
162 return parent.deallocate(b);
176 if (!parent.deallocate(p[0 .. length]))
H A Dfree_list.d201 parent.deallocate(b);
333 parent.deallocate) if $(D Parent.deallocate) is defined.
336 block = Block to deallocate.
344 bool deallocate(void[] block)
358 static if (hasMember!(ParentAllocator, "deallocate"))
359 return parent.deallocate(block);
378 $(D deallocate).
380 static if (hasMember!(ParentAllocator, "deallocate") && !unchecked)
387 parent.deallocate(nuk
[all...]
/netbsd-current/external/gpl3/gcc/dist/libphobos/src/std/experimental/allocator/building_blocks/
H A Dfree_tree.d22 $(LI Adding `deallocate` capability to an allocator that lacks it (such as simple regions).)
259 static if (hasMember!(ParentAllocator, "deallocate"))
285 ParentAllocator) defines `deallocate`, `FreeTree` releases all of its
288 TODO: Splitting and coalescing should be implemented if `ParentAllocator` does not defined `deallocate`.
307 static if (hasMember!(ParentAllocator, "deallocate"))
327 bool deallocate(void[] b)
346 () nothrow @nogc { a.deallocate(b1); }();
347 () nothrow @nogc { a.deallocate(b3); }();
348 () nothrow @nogc { a.deallocate(b2); }();
371 () nothrow @nogc { a.deallocate(
[all...]
H A Dsegregator.d86 bool deallocate(void[] b);
255 static if (hasMember!(SmallAllocator, "deallocate")
256 && hasMember!(LargeAllocator, "deallocate"))
257 bool deallocate(void[] data)
260 ? _small.deallocate(data)
261 : _large.deallocate(data);
326 a.deallocate(b);
391 a.deallocate(b);
435 // Ensure deallocate inherits from parent allocators
436 assert((() nothrow @nogc => a.deallocate(
[all...]
H A Daligned_block_list.d74 // The payload is deallocated by calling 'parent.deallocate'
80 parent.deallocate((cast(void*) tmp)[0 .. theAlignment]);
147 bool deallocate(void[] b)
157 if (node.bAlloc.deallocate(b))
300 Although allocations are in theory served in linear searching time, `deallocate` calls take
344 bool deallocate(void[] b);
424 assert(a.deallocate(buf[j]));
438 assert(a.deallocate(buf[j]));
452 assert(a.deallocate(buf[j]));
457 a.deallocate(
[all...]
H A Dascending_page_allocator.d14 bool deallocate(void[] buf) nothrow @nogc
212 On POSIX systems `deallocate` calls `mmap` with `MAP_FIXED' a second time to decommit the memory.
215 void deallocate(void[] b) nothrow @nogc;
434 assert(a.deallocate(buf));
469 On POSIX systems `deallocate` calls `mmap` with `MAP_FIXED' a second time to decommit the memory.
472 void deallocate(void[] b) nothrow @nogc;
655 assert(a.deallocate(b));
700 a.deallocate(b1);
702 a.deallocate(b2);
704 a.deallocate(b
[all...]
H A Dfree_list.d206 parent.deallocate(b);
362 parent.deallocate) if `Parent.deallocate` is defined.
365 block = Block to deallocate.
373 bool deallocate(void[] block)
387 static if (hasMember!(ParentAllocator, "deallocate"))
388 return parent.deallocate(block);
407 `deallocate`. $(D FreeList!(0, unbounded)) does not have this function.
409 static if (hasMember!(ParentAllocator, "deallocate") && !unchecked)
416 parent.deallocate(nuk
[all...]
H A Dkernighan_ritchie.d311 `KRRegion`'s destructor will call `parent.deallocate`.
360 && hasMember!(ParentAllocator, "deallocate"))
363 parent.deallocate(payload);
457 allocators with many free blocks are slower to deallocate.
462 bool deallocate(void[] b)
464 debug(KRRegion) writefln("KRRegion@%s: deallocate(%s[%s])", &this,
543 assert(0, "Wrong parameter passed to deallocate");
550 has been used but not `deallocate`), allocates and returns the only
639 allocator if `deallocate` is needed, yet the actual deallocation traffic is
704 () nothrow @nogc { alloc.deallocate(arra
[all...]
/netbsd-current/external/gpl3/gcc.old/dist/libstdc++-v3/include/ext/pb_ds/detail/bin_search_tree_/
H A Dconstructors_destructor_fn_imps.hpp105 s_node_allocator.deallocate(m_p_head, 1);
139 s_node_allocator.deallocate(m_p_head, 1);
168 s_node_allocator.deallocate(p_ret, 1);
/netbsd-current/external/gpl3/gcc/dist/libstdc++-v3/include/ext/pb_ds/detail/bin_search_tree_/
H A Dconstructors_destructor_fn_imps.hpp105 s_node_allocator.deallocate(m_p_head, 1);
139 s_node_allocator.deallocate(m_p_head, 1);
168 s_node_allocator.deallocate(p_ret, 1);
/netbsd-current/external/gpl3/gcc.old/dist/libstdc++-v3/src/c++17/
H A Dmemory_resource.cc234 __r->deallocate(__start, __size, __align);
660 bool deallocate(memory_resource*, void* p)
699 __r->deallocate(__p, __bytes, __alignment);
719 __r->deallocate(__c._M_p, __c._M_bytes, __alignment);
776 polymorphic_allocator<value_type>(__r).deallocate(data, capacity);
804 __alloc.deallocate(data, capacity);
966 // deallocate oversize allocations
968 res->deallocate(b.pointer, b.size(), b.align());
995 __pool_resource::deallocate(void* p, size_t bytes [[maybe_unused]],
1007 // N.B. need to deallocate
[all...]

Completed in 172 milliseconds

123456789