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

12345

/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/
H A D20050702-1.c10 int new_size = old_size, i; local
23 g(new_size);
/haiku-buildtools/gcc/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) ? 0 : s_metadata_alloc.allocate(new_size);
H A Derase_fn_imps.hpp76 size_type new_size = 0; local
81 ++new_size;
85 if (new_size == 0)
91 value_vector a_new_values = s_value_alloc.allocate(new_size);
93 cond_dtor<size_type> cd(a_new_values, target_it, new_size);
107 reallocate_metadata((node_update*)this, new_size);
115 m_size = new_size;
/haiku-buildtools/gcc/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;
/haiku-buildtools/gcc/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.h29 void ResizeBuffer(uptr new_size);
/haiku-buildtools/binutils/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,
/haiku-buildtools/gcc/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);
119 Resize_Policy::notify_resized(new_size);
/haiku-buildtools/gcc/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.
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 Dsample_resize_policy.hpp112 /// Notifies the table was resized to new_size.
114 notify_resized(size_type new_size);
H A Dhash_standard_resize_policy_imp.hpp167 notify_resized(size_type new_size) argument
169 trigger_policy_base::notify_resized(new_size);
170 m_size = new_size;
185 resize(size_type new_size) argument
189 while (actual_size < new_size)
193 if (pot == actual_size && pot < new_size)
/haiku-buildtools/gcc/liboffloadmic/runtime/
H A Doffload_util.cpp52 bool __offload_parse_size_string(const char *str, uint64_t &new_size) argument
69 new_size = val * 1024;
78 new_size = val;
83 new_size = val * 1024;
88 new_size = val * 1024 * 1024;
93 new_size = val * 1024 * 1024 * 1024;
98 new_size = val * 1024 * 1024 * 1024 * 1024;
/haiku-buildtools/gcc/libstdc++-v3/include/ext/pb_ds/detail/binary_heap_/
H A Derase_fn_imps.hpp51 const size_type new_size = resize_policy::get_new_size_for_arbitrary(0); local
52 entry_pointer new_entries = s_entry_allocator.allocate(new_size);
53 resize_policy::notify_arbitrary(new_size);
55 m_actual_size = new_size;
116 const size_type new_size = local
119 entry_pointer new_entries = s_entry_allocator.allocate(new_size);
122 m_actual_size = new_size;
167 const size_type new_size = resize_policy::get_new_size_for_shrink(); local
168 entry_pointer new_entries = s_entry_allocator.allocate(new_size);
174 m_actual_size = new_size;
[all...]
H A Dsplit_join_fn_imps.hpp59 const size_type new_size = resize_policy::get_new_size_for_arbitrary(left); local
67 a_entries = s_entry_allocator.allocate(new_size);
73 s_entry_allocator.deallocate(a_entries, new_size);
84 _GLIBCXX_DEBUG_ASSERT(new_size >= left);
91 m_actual_size = new_size;
119 const size_type new_size = resize_policy::get_new_size_for_arbitrary(len); local
126 a_entries = s_entry_allocator.allocate(new_size);
132 s_entry_allocator.deallocate(a_entries, new_size);
147 m_actual_size = new_size;
148 resize_policy::notify_arbitrary(new_size);
[all...]
/haiku-buildtools/gcc/gmp/
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);
/haiku-buildtools/gcc/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;
/haiku-buildtools/gcc/libsanitizer/sanitizer_common/
H A Dsanitizer_tls_get_addr.cc51 static inline void DTLS_Resize(uptr new_size) { argument
52 if (dtls.dtv_size >= new_size) return;
53 new_size = RoundUpToPowerOfTwo(new_size);
54 new_size = Max(new_size, 4096UL / sizeof(DTLS::DTV));
56 (DTLS::DTV *)MmapOrDie(new_size * sizeof(DTLS::DTV), "DTLS_Resize");
66 dtls.dtv_size = new_size;
/haiku-buildtools/gcc/libsanitizer/lsan/
H A Dlsan_allocator.h24 void *Reallocate(const StackTrace &stack, void *p, uptr new_size,
/haiku-buildtools/gcc/mpfr/src/
H A Dmpfr-gmp.c338 mpfr_default_reallocate (void *oldptr, size_t old_size, size_t new_size) argument
341 ret = realloc (oldptr, new_size);
345 "MPFR: Can't reallocate memory (old_size=%lu new_size=%lu)\n",
346 (unsigned long) old_size, (unsigned long) new_size);
/haiku-buildtools/gcc/libstdc++-v3/testsuite/util/hash_fn/
H A Dstring_ranged_probe_fn.hpp86 notify_resized(size_t new_size) argument
88 comb_fn::notify_resized(new_size);
89 _M_limit = dna_str_limit(new_size);
H A Dstring_ranged_hash_fn.hpp82 notify_resized(size_t new_size) argument
84 comb_fn::notify_resized(new_size);
85 _M_limit = dna_str_limit(new_size);
/haiku-buildtools/gcc/libstdc++-v3/testsuite/23_containers/vector/cons/
H A D4.cc253 X::size_type new_size = old_size - 2; local
260 a.assign(new_size, t);
263 VERIFY(a.size() == new_size);
283 X::size_type new_size = old_size + 2; local
290 VERIFY(old_size < new_size);
291 VERIFY(new_size <= old_capacity);
294 a.assign(new_size, t);
297 VERIFY(a.size() == new_size);
317 X::size_type new_size = old_capacity + 4;
323 VERIFY(new_size > old_capacit
353 X::size_type new_size = old_capacity + 4; local
395 X::size_type new_size = old_size - 2; local
[all...]
/haiku-buildtools/gcc/mpfr/tests/
H A Dmemory.c92 tests_reallocate (void *ptr, size_t old_size, size_t new_size) argument
96 if (new_size == 0)
121 h->size = new_size;
122 h->ptr = __gmp_default_reallocate (ptr, old_size, new_size);
/haiku-buildtools/legacy/gcc/gcc/f/
H A Dmalloc.h121 void *malloc_resize_ (void *ptr, mallocSize new_size);
123 mallocSize new_size, mallocSize old_size);
162 #define malloc_resize_ksr(pool,ptr,new_size,old_size) \
163 malloc_resize_inpool_ (pool,MALLOC_typeKSR_,ptr,new_size,old_size)
164 #define malloc_resize_kpr(pool,ptr,new_size,old_size) \
165 malloc_resize_inpool_ (pool,MALLOC_typeKPR_,ptr,new_size,old_size)
166 #define malloc_resize_usr(pool,ptr,new_size) \
167 malloc_resize_inpool_ (pool,MALLOC_typeUSR_,ptr,new_size,0)

Completed in 223 milliseconds

12345