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

12345678

/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/libstdc++-v3/include/ext/pb_assoc/detail/basic_hash_assoc_cntnr/
H A Dresize_fn_imps.hpp48 do_resize(size_type new_size) argument
50 return (my_base::do_resize(new_size));
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.dg/
H A D20050702-1.c10 int new_size = old_size, i; local
23 g(new_size);
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/gcc.dg/
H A D20050702-1.c10 int new_size = old_size, i; local
23 g(new_size);
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libstdc++-v3/include/ext/pb_ds/detail/ov_tree_map_/
H A Dinsert_fn_imps.hpp51 reallocate_metadata(Node_Update_* , size_type new_size) argument
53 metadata_pointer a_new_metadata_vec =(new_size == 0) ? NULL : s_metadata_alloc.allocate(new_size);
H A Derase_fn_imps.hpp77 size_type new_size = 0; local
82 ++new_size;
86 if (new_size == 0)
92 value_vector a_new_values = s_value_alloc.allocate(new_size);
94 cond_dtor<size_type> cd(a_new_values, target_it, new_size);
108 reallocate_metadata((node_update* )this, new_size);
116 m_size = new_size;
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/gold/
H A Dmremap.c46 mremap (void *old_address, size_t old_size, size_t new_size, argument
51 ret = mmap (0, new_size, PROT_READ | PROT_WRITE,
56 old_size < new_size ? old_size : new_size);
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/libstdc++-v3/include/ext/pb_assoc/detail/cc_ht_map_/
H A Dresize_fn_imps.hpp83 do_resize(size_type new_size) argument
93 my_ranged_hash_fn_base::notify_resized(new_size);
99 a_p_entries_resized = s_entry_pointer_allocator.allocate(new_size);
101 m_num_e_p = new_size;
112 resize_imp_no_exceptions(new_size, a_p_entries_resized, old_size);
114 Resize_Policy::notify_resized(new_size);
122 resize_imp_no_exceptions(size_type new_size, entry_pointer_array a_p_entries_resized, size_type old_size) argument
134 m_num_e_p = new_size;
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libstdc++-v3/include/ext/pb_ds/detail/cc_hash_table_map_/
H A Dresize_fn_imps.hpp79 resize_imp(size_type new_size) argument
82 if (new_size == m_num_e)
89 ranged_hash_fn_base::notify_resized(new_size);
94 a_p_entries_resized = s_entry_pointer_allocator.allocate(new_size);
95 m_num_e = new_size;
104 resize_imp_no_exceptions(new_size, a_p_entries_resized, old_size);
105 Resize_Policy::notify_resized(new_size);
112 resize_imp_no_exceptions(size_type new_size, entry_pointer_array a_p_entries_resized, size_type old_size) argument
124 m_num_e = new_size;
/netbsd-6-1-5-RELEASE/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);
132 // Resizes to new_size.
134 do_resize(size_type new_size);
H A Dcc_hash_max_collision_check_resize_trigger_imp.hpp138 notify_resized(size_type new_size) argument
140 m_size = new_size;
144 << static_cast<unsigned long>(new_size) << std::endl;
171 notify_externally_resized(size_type new_size) argument
172 { notify_resized(new_size); }
H A Dhash_load_check_resize_trigger_imp.hpp147 notify_resized(size_type new_size) argument
150 m_next_grow_size = size_type(m_load_max * new_size - 1);
151 m_next_shrink_size = size_type(m_load_min * new_size);
155 static_cast<unsigned long>(new_size) << " " <<
168 notify_externally_resized(size_type new_size) argument
171 size_type new_grow_size = size_type(m_load_max * new_size - 1);
172 size_type new_shrink_size = size_type(m_load_min * new_size);
181 static_cast<unsigned long>(new_size) << " " <<
195 static_cast<unsigned long>(new_size) << " " <<
H A Dsample_resize_policy.hpp112 // Notifies the table was resized to new_size.
114 notify_resized(size_type new_size);
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libstdc++-v3/include/ext/pb_ds/detail/gp_hash_table_map_/
H A Dresize_fn_imps.hpp79 resize_imp(size_type new_size) argument
85 if (new_size == m_num_e)
93 a_entries_resized = s_entry_allocator.allocate(new_size);
95 ranged_probe_fn_base::notify_resized(new_size);
96 m_num_e = new_size;
107 erase_all_valid_entries(a_entries_resized, new_size);
109 s_entry_allocator.deallocate(a_entries_resized, new_size);
117 Resize_Policy::notify_resized(new_size);
/netbsd-6-1-5-RELEASE/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-6-1-5-RELEASE/gnu/dist/gcc4/libstdc++-v3/include/ext/pb_assoc/detail/gp_ht_map_/
H A Dresize_fn_imps.hpp83 do_resize(size_type new_size) argument
95 my_ranged_probe_fn_base::notify_resized(new_size);
101 a_entries_resized = s_entry_allocator.allocate(new_size);
110 m_num_e = new_size;
121 erase_all_valid_entries(a_entries_resized, new_size);
125 s_entry_allocator.deallocate(a_entries_resized, new_size);
136 Resize_Policy::notify_resized(new_size);
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssh/dist/
H A Dxmalloc.c61 size_t new_size = nmemb * size; local
63 if (new_size == 0)
68 new_ptr = malloc(new_size);
70 new_ptr = realloc(ptr, new_size);
72 fatal("xrealloc: out of memory (new_size %lu bytes)",
73 (u_long) new_size);
/netbsd-6-1-5-RELEASE/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-6-1-5-RELEASE/gnu/dist/gcc4/libstdc++-v3/docs/html/ext/pb_assoc/
H A Dsample_resize_trigger.hpp252 * The actual size of the table is new_size.">
256 (size_type new_size);
261 * The actual size of the table is new_size.">
265 (size_type new_size);
/netbsd-6-1-5-RELEASE/external/lgpl3/gmp/dist/
H A Dmemory.c65 __gmp_default_reallocate (void *oldptr, size_t old_size, size_t new_size) argument
70 size_t req_size = new_size;
89 new_size += 2 * BYTES_PER_MP_LIMB;
92 ret = realloc (oldptr, new_size);
95 fprintf (stderr, "GNU MP: Cannot reallocate memory (old_size=%lu new_size=%lu)\n", (long) old_size, (long) new_size);
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.c-torture/compile/
H A D20010102-1.c65 register long new_size; local
70 new_size = (obj_size + length) + (obj_size >> 3) + 100;
71 if (new_size < h->chunk_size)
72 new_size = h->chunk_size;
74 new_chunk = CALL_CHUNKFUN (h, new_size);
77 new_chunk->limit = h->chunk_limit = (char *) new_chunk + new_size;
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/gcc.c-torture/compile/
H A D20010102-1.c65 register long new_size; local
70 new_size = (obj_size + length) + (obj_size >> 3) + 100;
71 if (new_size < h->chunk_size)
72 new_size = h->chunk_size;
74 new_chunk = CALL_CHUNKFUN (h, new_size);
77 new_chunk->limit = h->chunk_limit = (char *) new_chunk + new_size;
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/libstdc++-v3/include/ext/pb_assoc/detail/ov_tree_map_/
H A Derase_fn_imps.hpp103 size_type new_size = 0; local
114 ++new_size;
117 if (new_size == 0)
124 pointer a_new_values = s_alloc.allocate(new_size);
128 cond_dtor cd(a_new_values, target_it, new_size);
155 m_size = new_size;
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/tools/
H A Dpvresize.c22 uint64_t new_size; member in struct:pvresize_params
31 const uint64_t new_size)
106 if (new_size) {
107 if (new_size > size)
111 " sectors.", pv_name, new_size, pv_size(pv));
112 size = new_size;
181 if (!_pv_resize_single(cmd, vg, pv, params->new_size)) {
206 params.new_size = arg_uint64_value(cmd, physicalvolumesize_ARG,
28 _pv_resize_single(struct cmd_context *cmd, struct volume_group *vg, struct physical_volume *pv, const uint64_t new_size) argument
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/libstdc++-v3/include/ext/pb_assoc/detail/resize_policy/
H A Dhash_standard_resize_policy_imp.hpp235 notify_resized(size_type new_size) argument
237 my_trigger_policy_base::notify_resized(new_size);
239 m_size = new_size;
261 resize(size_type new_size) argument
263 resize(new_size, s_external_size_access_indicator);
269 resize(size_type new_size, external_resize_true_indicator) argument
272 while (actual_new_size < new_size)
277 if (pot == actual_new_size&& pot < new_size)
306 do_resize(size_type /*new_size*/)

Completed in 273 milliseconds

12345678