/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/ |
H A D | 20050702-1.c | 10 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 D | insert_fn_imps.hpp | 51 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 D | erase_fn_imps.hpp | 76 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 D | resize_fn_imps.hpp | 79 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 D | tsan_stack_trace.cc | 24 void VarSizeStackTrace::ResizeBuffer(uptr new_size) { argument 29 (new_size > 0) 31 new_size * sizeof(trace_buffer[0])) 34 size = new_size;
|
H A D | tsan_stack_trace.h | 29 void ResizeBuffer(uptr new_size);
|
/haiku-buildtools/binutils/gold/ |
H A D | mremap.c | 52 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 D | resize_fn_imps.hpp | 79 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 D | sample_resize_trigger.hpp | 116 notify_resized(size_type new_size); 120 notify_externally_resized(size_type new_size); 131 /// Resizes to new_size.
|
H A D | cc_hash_max_collision_check_resize_trigger_imp.hpp | 138 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 D | sample_resize_policy.hpp | 112 /// Notifies the table was resized to new_size. 114 notify_resized(size_type new_size);
|
H A D | hash_standard_resize_policy_imp.hpp | 167 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 D | offload_util.cpp | 52 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 D | erase_fn_imps.hpp | 51 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 D | split_join_fn_imps.hpp | 59 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 D | memory.c | 65 __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 D | 20010102-1.c | 65 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 D | sanitizer_tls_get_addr.cc | 51 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 D | lsan_allocator.h | 24 void *Reallocate(const StackTrace &stack, void *p, uptr new_size,
|
/haiku-buildtools/gcc/mpfr/src/ |
H A D | mpfr-gmp.c | 338 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 D | string_ranged_probe_fn.hpp | 86 notify_resized(size_t new_size) argument 88 comb_fn::notify_resized(new_size); 89 _M_limit = dna_str_limit(new_size);
|
H A D | string_ranged_hash_fn.hpp | 82 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 D | 4.cc | 253 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 D | memory.c | 92 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 D | malloc.h | 121 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)
|