Searched refs:new_size (Results 1 - 25 of 392) sorted by relevance

1234567891011>>

/netbsd-current/external/gpl3/gcc.old/dist/libstdc++-v3/include/ext/pb_ds/detail/ov_tree_map_/
H A Dinsert_fn_imps.hpp53 reallocate_metadata(Node_Update_* , size_type new_size) argument
55 metadata_pointer a_new_metadata_vec =(new_size == 0) ? 0 : s_metadata_alloc.allocate(new_size);
H A Derase_fn_imps.hpp78 size_type new_size = 0; local
83 ++new_size;
87 if (new_size == 0)
93 value_vector a_new_values = s_value_alloc.allocate(new_size);
95 cond_dtor<size_type> cd(a_new_values, target_it, new_size);
109 reallocate_metadata((node_update*)this, new_size);
117 m_size = new_size;
/netbsd-current/external/gpl3/gcc/dist/libstdc++-v3/include/ext/pb_ds/detail/ov_tree_map_/
H A Dinsert_fn_imps.hpp53 reallocate_metadata(Node_Update_* , size_type new_size) argument
55 metadata_pointer a_new_metadata_vec =(new_size == 0) ? 0 : s_metadata_alloc.allocate(new_size);
H A Derase_fn_imps.hpp78 size_type new_size = 0; local
83 ++new_size;
87 if (new_size == 0)
93 value_vector a_new_values = s_value_alloc.allocate(new_size);
95 cond_dtor<size_type> cd(a_new_values, target_it, new_size);
109 reallocate_metadata((node_update*)this, new_size);
117 m_size = new_size;
/netbsd-current/external/gpl3/gcc.old/dist/libstdc++-v3/include/ext/pb_ds/detail/cc_hash_table_map_/
H A Dresize_fn_imps.hpp81 resize_imp(size_type new_size) argument
84 if (new_size == m_num_e)
91 ranged_hash_fn_base::notify_resized(new_size);
96 a_p_entries_resized = s_entry_pointer_allocator.allocate(new_size);
97 m_num_e = new_size;
106 resize_imp_no_exceptions(new_size, a_p_entries_resized, old_size);
107 Resize_Policy::notify_resized(new_size);
114 resize_imp_no_exceptions(size_type new_size, entry_pointer_array a_p_entries_resized, size_type old_size) argument
126 m_num_e = new_size;
/netbsd-current/external/gpl3/gcc/dist/libstdc++-v3/include/ext/pb_ds/detail/cc_hash_table_map_/
H A Dresize_fn_imps.hpp81 resize_imp(size_type new_size) argument
84 if (new_size == m_num_e)
91 ranged_hash_fn_base::notify_resized(new_size);
96 a_p_entries_resized = s_entry_pointer_allocator.allocate(new_size);
97 m_num_e = new_size;
106 resize_imp_no_exceptions(new_size, a_p_entries_resized, old_size);
107 Resize_Policy::notify_resized(new_size);
114 resize_imp_no_exceptions(size_type new_size, entry_pointer_array a_p_entries_resized, size_type old_size) argument
126 m_num_e = new_size;
/netbsd-current/external/gpl3/binutils.old/dist/gold/
H A Dmremap.c52 gold_mremap (void *old_address, size_t old_size, size_t new_size, argument
57 ret = mmap (0, new_size, PROT_READ | PROT_WRITE,
62 old_size < new_size ? old_size : new_size);
80 size_t new_size ATTRIBUTE_UNUSED,
/netbsd-current/external/gpl3/binutils/dist/gold/
H A Dmremap.c52 gold_mremap (void *old_address, size_t old_size, size_t new_size, argument
57 ret = mmap (0, new_size, PROT_READ | PROT_WRITE,
62 old_size < new_size ? old_size : new_size);
80 size_t new_size ATTRIBUTE_UNUSED,
/netbsd-current/external/gpl3/gdb.old/dist/gold/
H A Dmremap.c52 gold_mremap (void *old_address, size_t old_size, size_t new_size, argument
57 ret = mmap (0, new_size, PROT_READ | PROT_WRITE,
62 old_size < new_size ? old_size : new_size);
80 size_t new_size ATTRIBUTE_UNUSED,
/netbsd-current/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/
H A Dtsan_stack_trace.cc26 void VarSizeStackTrace::ResizeBuffer(uptr new_size) { argument
31 (new_size > 0)
33 new_size * sizeof(trace_buffer[0]))
36 size = new_size;
H A Dtsan_stack_trace.h35 void ResizeBuffer(uptr new_size);
/netbsd-current/external/gpl3/gcc.old/dist/libsanitizer/tsan/
H A Dtsan_stack_trace.cc24 void VarSizeStackTrace::ResizeBuffer(uptr new_size) { argument
29 (new_size > 0)
31 new_size * sizeof(trace_buffer[0]))
34 size = new_size;
H A Dtsan_stack_trace.h33 void ResizeBuffer(uptr new_size);
/netbsd-current/external/gpl3/gcc.old/dist/libstdc++-v3/include/ext/pb_ds/detail/gp_hash_table_map_/
H A Dresize_fn_imps.hpp81 resize_imp(size_type new_size) argument
87 if (new_size == m_num_e)
95 a_entries_resized = s_entry_allocator.allocate(new_size);
97 ranged_probe_fn_base::notify_resized(new_size);
98 m_num_e = new_size;
109 erase_all_valid_entries(a_entries_resized, new_size);
111 s_entry_allocator.deallocate(a_entries_resized, new_size);
121 Resize_Policy::notify_resized(new_size);
/netbsd-current/external/gpl3/gcc/dist/libstdc++-v3/include/ext/pb_ds/detail/gp_hash_table_map_/
H A Dresize_fn_imps.hpp81 resize_imp(size_type new_size) argument
87 if (new_size == m_num_e)
95 a_entries_resized = s_entry_allocator.allocate(new_size);
97 ranged_probe_fn_base::notify_resized(new_size);
98 m_num_e = new_size;
109 erase_all_valid_entries(a_entries_resized, new_size);
111 s_entry_allocator.deallocate(a_entries_resized, new_size);
121 Resize_Policy::notify_resized(new_size);
/netbsd-current/external/bsd/tre/dist/lib/
H A Dtre-stack.c86 int new_size; local
88 new_size = s->size + s->increment;
89 if (new_size > s->max_size)
90 new_size = s->max_size;
91 new_buffer = xrealloc(s->stack, sizeof(*new_buffer) * new_size);
98 assert(new_size > s->size);
99 s->size = new_size;
H A Dxmalloc.h16 void *xrealloc_impl(void *ptr, size_t new_size, const char *file, int line,
51 #define xrealloc(ptr, new_size) xrealloc_impl(ptr, new_size, __FILE__, \
70 #define xrealloc(ptr, new_size) realloc(ptr, new_size)
/netbsd-current/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_allocator_dlsym.h56 static void *Realloc(void *ptr, uptr new_size) { argument
58 return Allocate(new_size);
60 if (!new_size) {
65 uptr memcpy_size = Min(new_size, size);
66 void *new_ptr = Allocate(new_size);
/netbsd-current/external/gpl3/gcc/dist/libgomp/
H A Dallocator.c214 size_t new_size, new_alignment; local
243 new_size = sizeof (struct omp_mem_header);
245 new_size += new_alignment - sizeof (void *);
246 if (__builtin_add_overflow (size, new_size, &new_size))
253 if (new_size > allocator_data->pool_size)
261 if (__builtin_add_overflow (used_pool_size, new_size,
274 if (__builtin_add_overflow (allocator_data->used_pool_size, new_size,
284 ptr = malloc (new_size);
288 __atomic_add_fetch (&allocator_data->used_pool_size, -new_size,
413 size_t new_size, size_temp, new_alignment; local
562 size_t new_size, old_size, new_alignment, old_alignment; local
[all...]
/netbsd-current/external/bsd/libbind/dist/isc/
H A Dmemcluster.c188 size_t new_size = quantize(size); local
213 if (size >= max_size || new_size >= max_size) {
218 e = malloc(new_size);
245 * of memory and then break it up into "new_size"-sized blocks, adding
248 if (freelists[new_size] == NULL) {
280 if (new_size > mem_target_half)
291 frags = total_size / new_size;
292 stats[new_size].blocks++;
293 stats[new_size].freefrags += frags;
294 /* Set up a linked-list of blocks of size "new_size"
371 size_t new_size = quantize(size); local
[all...]
/netbsd-current/external/gpl3/gcc.old/dist/libstdc++-v3/include/ext/pb_ds/detail/resize_policy/
H A Dsample_resize_trigger.hpp116 notify_resized(size_type new_size);
120 notify_externally_resized(size_type new_size);
131 /// Resizes to new_size.
/netbsd-current/external/gpl3/gcc/dist/libstdc++-v3/include/ext/pb_ds/detail/resize_policy/
H A Dsample_resize_trigger.hpp116 notify_resized(size_type new_size);
120 notify_externally_resized(size_type new_size);
131 /// Resizes to new_size.
/netbsd-current/external/gpl3/gcc/dist/libsanitizer/tsan/
H A Dtsan_stack_trace.cpp25 void VarSizeStackTrace::ResizeBuffer(uptr new_size) { argument
27 trace_buffer = (new_size > 0)
28 ? (uptr *)Alloc(new_size * sizeof(trace_buffer[0]))
31 size = new_size;
H A Dtsan_stack_trace.h34 void ResizeBuffer(uptr new_size);
/netbsd-current/external/gpl3/gcc.old/dist/libstdc++-v3/include/ext/pb_ds/detail/binary_heap_/
H A Derase_fn_imps.hpp53 const size_type new_size = resize_policy::get_new_size_for_arbitrary(0); local
54 entry_pointer new_entries = s_entry_allocator.allocate(new_size);
55 resize_policy::notify_arbitrary(new_size);
57 m_actual_size = new_size;
118 const size_type new_size = local
121 entry_pointer new_entries = s_entry_allocator.allocate(new_size);
124 m_actual_size = new_size;
169 const size_type new_size = resize_policy::get_new_size_for_shrink(); local
170 entry_pointer new_entries = s_entry_allocator.allocate(new_size);
176 m_actual_size = new_size;
[all...]

Completed in 192 milliseconds

1234567891011>>