Searched refs:allocate (Results 126 - 150 of 456) sorted by relevance

1234567891011>>

/netbsd-current/external/gpl3/gcc.old/dist/libphobos/src/std/experimental/allocator/building_blocks/
H A Dstats_collector.d29 Counts the number of calls to $(D allocate). All calls are counted,
34 Counts the number of calls to $(D allocate) that succeeded, i.e. they
87 Tracks total cumulative bytes allocated by means of $(D allocate),
198 auto d1 = a.allocate(10);
199 auto d2 = a.allocate(11);
304 Forwards to $(D parent.allocate). Affects per instance: $(D numAllocate),
313 void[] allocate(size_t n)
318 void[] allocate(string f = __FILE__, ulong n = __LINE__)
325 auto result = parent.allocate(bytes);
453 // This was a allocate
[all...]
H A Dbucketizer.d59 void[] allocate(size_t bytes)
65 auto result = a.allocate(actual);
236 auto b = a.allocate(400);
/netbsd-current/external/gpl3/gcc/dist/libphobos/src/std/experimental/allocator/building_blocks/
H A Dbitmapped_block.d34 // allocate/deallocate in shared environments
163 auto data = cast(ubyte[])(parent.allocate(toAllocate));
173 auto data = cast(ubyte[])(parent.allocate(toAllocate));
283 void[] allocate(const size_t s)
293 void[] allocate(const size_t s)
299 // If shared, this is protected by a lock inside 'allocate'
397 if (a <= alignment) return allocate(n);
425 Tries to allocate "blocks" blocks at the exact position indicated by the
476 // Can't allocate, make a suggestion
485 // We can't allocate th
[all...]
H A Dstats_collector.d32 Counts the number of calls to `allocate`. All calls are counted,
37 Counts the number of calls to `allocate` that succeeded, i.e. they
101 Tracks total cumulative bytes allocated by means of `allocate`,
212 auto d1 = a.allocate(10);
213 auto d2 = a.allocate(11);
324 Forwards to `parent.allocate`. Affects per instance: `numAllocate`,
333 void[] allocate(size_t n)
338 void[] allocate(string f = __FILE__, ulong n = __LINE__)
358 auto result = parent.allocate(bytes);
383 // as if they were calls to `allocate`
[all...]
/netbsd-current/external/gpl3/gcc/dist/gcc/rtl-ssa/
H A Dinsns.cc253 order = allocate<insn_info::order_node> (insn->uid ());
379 insn_info *insn = allocate<insn_info> (bb, rtl, m_next_artificial_uid);
432 auto *use = allocate<use_info> (insn, resource, value);
553 ecc = allocate<ebb_call_clobbers_info> (&abi.base_abi ());
559 auto *insn_clobbers = allocate<insn_call_clobbers_note> (abi_id, insn);
571 def = allocate<clobber_info> (insn, regno);
621 def = allocate<clobber_info> (insn, regno);
623 def = allocate<set_info> (insn, resource_info { mode, regno });
635 insn_info *insn = allocate<insn_info> (bi.current_bb, rtl, UNKNOWN_COST);
/netbsd-current/external/gpl3/gcc/dist/libstdc++-v3/include/bits/
H A Dalloc_traits.h221 -> decltype(__a.allocate(__n, __hint))
222 { return __a.allocate(__n, __hint); }
227 { return __a.allocate(__n); }
312 * @param __n The number of objects to allocate space for.
314 * Calls @c a.allocate(n)
317 allocate(_Alloc& __a, size_type __n) function in struct:allocator_traits
318 { return __a.allocate(__n); }
323 * @param __n The number of objects to allocate space for.
328 * Returns <tt> a.allocate(n, hint) </tt> if that expression is
329 * well-formed, otherwise returns @c a.allocate(
332 allocate(_Alloc& __a, size_type __n, const_void_pointer __hint) function in struct:allocator_traits
463 allocate(allocator_type& __a, size_type __n) function in struct:allocator_traits
477 allocate(allocator_type& __a, size_type __n, const_void_pointer __hint) function in struct:allocator_traits
[all...]
/netbsd-current/external/gpl3/gcc.old/dist/libphobos/src/std/experimental/allocator/
H A Dpackage.d78 comfortably allocate/create and respectively destroy/deallocate objects. This
113 built-in operators that allocate memory, such as `new`, array literals, or
253 cast(ubyte[])(GCAllocator.instance.allocate(
258 auto b = tuMalloc.allocate(500);
260 auto c = tuMalloc.allocate(113);
303 void[] allocate(size_t, TypeInfo ti = null);
399 void[] allocate(size_t, TypeInfo ti = null) shared;
482 override void[] allocate(size_t n, TypeInfo ti = null)
484 return processAllocator.allocate(n, ti);
574 // Use the now changed allocator to allocate a
[all...]
H A Dmallocator.d26 void[] allocate(size_t bytes) shared
74 auto buffer = Mallocator.instance.allocate(1024 * 1024 * 4);
86 p = cast(int*) A.instance.allocate(int.sizeof);
213 void[] allocate(size_t bytes) shared
H A Dcommon.d357 auto newB = a.allocate(s);
444 // Test allocate
445 assert(a.allocate(0) is null);
447 auto b1 = a.allocate(1);
449 auto b2 = a.allocate(2);
479 assert(!aa.allocate(1).ptr);
485 assert(!ab.allocate(1).ptr);
573 // Test allocate
574 assert(a.allocate(0) is null);
576 auto b1 = a.allocate(
[all...]
/netbsd-current/external/gpl3/gcc.old/dist/libstdc++-v3/src/c++17/
H A Dmemory_resource.cc189 allocate(memory_resource* __r, size_t __size, size_t __align, function in class:pmr::monotonic_buffer_resource::_Chunk
206 void* __p = __r->allocate(__size, __align);
258 auto [p, size] = _Chunk::allocate(_M_upstream, n, m, _M_head);
651 void* allocate(memory_resource* r, const pool_options& opts)
690 void* __p = __r->allocate(__bytes, __alignment);
742 : data(polymorphic_allocator<value_type>(__r).allocate(__n)),
796 auto __p = __alloc.allocate(capacity * 1.5);
811 data = __alloc.allocate(capacity = 8);
829 unsigned _M_blocks_per_chunk; // number of blocks to allocate next
973 __pool_resource::allocate(size_
[all...]
/netbsd-current/external/gpl3/gcc/dist/libstdc++-v3/src/c++17/
H A Dmemory_resource.cc187 // For example, allocate(1024, 32) is stored as 1024 + log2(32) = 1029.
234 allocate(memory_resource* __r, size_t __size, size_t __align, function in class:monotonic_buffer_resource::_Chunk
252 void* __p = __r->allocate(__size, __align);
293 auto [p, size] = _Chunk::allocate(_M_upstream, n, m, _M_head);
680 void* allocate(memory_resource* r, const pool_options& opts)
719 void* __p = __r->allocate(__bytes, __alignment);
771 : data(polymorphic_allocator<value_type>(__r).allocate(__n)),
825 auto __p = __alloc.allocate(capacity * 1.5);
840 data = __alloc.allocate(capacity = 8);
858 unsigned _M_blocks_per_chunk; // number of blocks to allocate nex
[all...]
/netbsd-current/external/gpl3/gcc/dist/libphobos/src/std/experimental/allocator/
H A Dpackage.d78 comfortably allocate/create and respectively destroy/deallocate objects. This
113 built-in operators that allocate memory, such as `new`, array literals, or
266 cast(ubyte[])(GCAllocator.instance.allocate(
271 auto b = tuMalloc.allocate(500);
273 auto c = tuMalloc.allocate(113);
317 void[] allocate(size_t, TypeInfo ti = null);
481 void[] allocate(size_t n, TypeInfo ti = null)
484 return _alloc.allocate(n, ti);
554 auto state = reg.allocate(stateSize!(CAllocatorImpl!(Region!(), Yes.indirect)));
558 auto b = rcalloc.allocate(1
[all...]
H A Dcommon.d359 auto newB = a.allocate(s);
504 // Test allocate
505 assert(a.allocate(0) is null);
507 auto b1 = a.allocate(1);
509 auto b2 = a.allocate(2);
551 assert(!aa.allocate(1).ptr);
557 assert(!ab.allocate(1).ptr);
649 // Test allocate
650 assert(a.allocate(0) is null);
652 auto b1 = a.allocate(
[all...]
/netbsd-current/external/gpl3/gcc.old/dist/libstdc++-v3/include/ext/pb_ds/detail/bin_search_tree_/
H A Dinsert_fn_imps.hpp157 node_pointer p_new_nd = s_node_allocator.allocate(1);
174 node_pointer p_new_nd = s_node_allocator.allocate(1);
/netbsd-current/external/gpl3/gcc.old/dist/libstdc++-v3/include/ext/
H A Dextptr_allocator.h95 _GLIBCXX_NODISCARD pointer allocate(size_type __n, const void* = 0) function in class:_ExtPtr_allocator
96 { return _M_real_alloc.allocate(__n); }
/netbsd-current/external/gpl3/gcc/dist/gcc/
H A Dgimple-range-edge.cc167 slot = m_range_allocator.allocate (case_range);
173 irange *dr = m_range_allocator.allocate (default_range);
/netbsd-current/external/gpl3/gcc/dist/libstdc++-v3/include/ext/pb_ds/detail/bin_search_tree_/
H A Dinsert_fn_imps.hpp157 node_pointer p_new_nd = s_node_allocator.allocate(1);
174 node_pointer p_new_nd = s_node_allocator.allocate(1);
/netbsd-current/external/gpl3/gcc/dist/libstdc++-v3/include/ext/
H A Dextptr_allocator.h95 _GLIBCXX_NODISCARD pointer allocate(size_type __n, const void* = 0) function in class:_ExtPtr_allocator
96 { return _M_real_alloc.allocate(__n); }
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/Transforms/IPO/
H A DLowerTypeTests.h192 void allocate(const std::set<uint64_t> &Bits, uint64_t BitSize,
/netbsd-current/external/gpl3/gcc.old/dist/libstdc++-v3/include/ext/pb_ds/detail/gp_hash_table_map_/
H A Dresize_fn_imps.hpp95 a_entries_resized = s_entry_allocator.allocate(new_size);
/netbsd-current/external/gpl3/gcc.old/dist/libstdc++-v3/include/ext/pb_ds/detail/left_child_next_sibling_heap_/
H A Dconstructors_destructor_fn_imps.hpp119 node_pointer p_ret = s_node_allocator.allocate(1);
/netbsd-current/external/gpl3/gcc/dist/libstdc++-v3/include/ext/pb_ds/detail/gp_hash_table_map_/
H A Dresize_fn_imps.hpp95 a_entries_resized = s_entry_allocator.allocate(new_size);
/netbsd-current/external/gpl3/gcc/dist/libstdc++-v3/include/ext/pb_ds/detail/left_child_next_sibling_heap_/
H A Dconstructors_destructor_fn_imps.hpp119 node_pointer p_ret = s_node_allocator.allocate(1);
/netbsd-current/external/gpl3/gcc/dist/libsanitizer/asan/
H A Dasan_win.cpp367 __declspec(allocate(".CRT$XCAB")) int (*__intercept_seh)() =
380 __declspec(allocate(".CRT$XLAB")) void(NTAPI *__asan_tls_init)(
394 __declspec(allocate(".CRT$XLY")) void(NTAPI *__asan_tls_exit)(
/netbsd-current/external/apache2/llvm/dist/libcxx/include/__memory/
H A Dallocator_traits.h183 (void)declval<_Alloc>().allocate(declval<_SizeType>(), declval<_ConstVoidPtr>())
260 static pointer allocate(allocator_type& __a, size_type __n) { function in struct:allocator_traits
261 return __a.allocate(__n);
267 static pointer allocate(allocator_type& __a, size_type __n, const_void_pointer __hint) { function in struct:allocator_traits
269 return __a.allocate(__n, __hint);
275 static pointer allocate(allocator_type& __a, size_type __n, const_void_pointer) { function in struct:allocator_traits
276 return __a.allocate(__n);

Completed in 375 milliseconds

1234567891011>>