/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/ |
H A D | 20050702-1.c | 8 void h (int old_size) argument 10 int new_size = old_size, i; 11 g(old_size - 1); 13 while (i < old_size - 1) 20 while (i < old_size - 1)
|
/haiku-buildtools/binutils/gold/ |
H A D | mremap.c | 52 gold_mremap (void *old_address, size_t old_size, size_t new_size, argument 62 old_size < new_size ? old_size : new_size); 63 (void) munmap (old_address, old_size); 79 size_t old_size ATTRIBUTE_UNUSED,
|
/haiku-buildtools/gcc/libstdc++-v3/include/ext/pb_ds/detail/gp_hash_table_map_/ |
H A D | resize_fn_imps.hpp | 89 const size_type old_size = m_num_e; local 103 resize_imp(a_entries_resized, old_size); 108 m_num_e = old_size; 110 ranged_probe_fn_base::notify_resized(old_size); 120 erase_all_valid_entries(m_entries, old_size); 121 s_entry_allocator.deallocate(m_entries, old_size); 129 resize_imp(entry_array a_entries_resized, size_type old_size) argument 131 for (size_type pos = 0; pos < old_size; ++pos)
|
/haiku-buildtools/gcc/libstdc++-v3/include/ext/pb_ds/detail/cc_hash_table_map_/ |
H A D | resize_fn_imps.hpp | 85 const size_type old_size = m_num_e; local 99 ranged_hash_fn_base::notify_resized(old_size); 104 resize_imp_no_exceptions(new_size, a_p_entries_resized, old_size); 112 resize_imp_no_exceptions(size_type new_size, entry_pointer_array a_p_entries_resized, size_type old_size) argument 117 for (size_type pos = 0; pos < old_size; ++pos) 127 s_entry_pointer_allocator.deallocate(m_entries, old_size);
|
/haiku-buildtools/gcc/gmp/ |
H A D | memory.c | 65 __gmp_default_reallocate (void *oldptr, size_t old_size, size_t new_size) argument 72 if (old_size != 0) 80 if (old_size % BYTES_PER_MP_LIMB == 0) 81 if (p[old_size / BYTES_PER_MP_LIMB] != ~((0xdeadbeef << 31) + 0xdeafdeed)) 95 fprintf (stderr, "GNU MP: Cannot reallocate memory (old_size=%lu new_size=%lu)\n", (long) old_size, (long) new_size);
|
/haiku-buildtools/gcc/libstdc++-v3/testsuite/23_containers/vector/capacity/ |
H A D | 2.cc | 46 const X::size_type old_size = a.size(); local 56 VERIFY(old_size == a.size()); 57 VERIFY(copy_constructor::count() <= old_size); 58 VERIFY(destructor::count() <= old_size); 76 const X::size_type old_size __attribute__((unused)) = a.size(); local
|
/haiku-buildtools/gcc/gcc/testsuite/gcc.c-torture/compile/ |
H A D | pr25311.c | 18 int old_size = set_height? w->height : w->width; local 23 int div_val = old_size << 1; 36 pos = (((old_pos * new_size) << 1) + old_size) / div_val;
|
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.eh/ |
H A D | badalloc1.C | 76 size_t old_size = o->size; local 78 if (old_size >= size) 86 memcpy (r, p, old_size);
|
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/torture/ |
H A D | pr54098.c | 32 static unsigned long long calculate_memsize(unsigned long long size, unsigned long long min_size, unsigned long long size1, unsigned long long old_size, unsigned long long align) { argument 33 if (old_size == 1 ) old_size = 0; 34 if (size < old_size) size = old_size;
|
/haiku-buildtools/gcc/mpfr/tests/ |
H A D | memory.c | 92 tests_reallocate (void *ptr, size_t old_size, size_t new_size) argument 112 if (h->size != old_size) 117 (unsigned long) old_size, (unsigned long) h->size); 122 h->ptr = __gmp_default_reallocate (ptr, old_size, 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 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/libsanitizer/tsan/ |
H A D | tsan_vector.h | 83 uptr old_size = Size(); local 85 if (old_size < size) { 86 for (uptr i = old_size; i < size; i++)
|
/haiku-buildtools/gcc/gmp/tests/ |
H A D | memory.c | 104 tests_reallocate (void *ptr, size_t old_size, size_t new_size) argument 126 if (h->size != old_size) 129 (unsigned long) old_size, (unsigned long) h->size); 147 old_size + 2 * sizeof (mp_limb_t),
|
/haiku-buildtools/gcc/libstdc++-v3/testsuite/23_containers/vector/cons/ |
H A D | 4.cc | 252 X::size_type old_size = a.size(); local 253 X::size_type new_size = old_size - 2; 281 X::size_type old_size = a.size(); local 283 X::size_type new_size = old_size + 2; 290 VERIFY(old_size < new_size); 351 X::size_type old_size = a.size(); local 373 VERIFY(a.size() == old_size); 394 X::size_type old_size = a.size(); local 395 X::size_type new_size = old_size - 2;
|
/haiku-buildtools/legacy/gcc/gcc/f/ |
H A D | malloc.h | 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)
|
/haiku-buildtools/legacy/gcc/libio/ |
H A D | parsestream.cc | 164 int old_size = ebuf() - base(); local 165 char *new_buffer = new char[old_size * 2]; 166 memcpy(new_buffer, base(), old_size); 167 setb(new_buffer, new_buffer + 2 * old_size, 1); 168 ptr = new_buffer + old_size;
|
/haiku-buildtools/gcc/libstdc++-v3/include/ext/pb_ds/detail/resize_policy/ |
H A D | hash_standard_resize_policy_imp.hpp | 201 const size_type old_size = m_size; local 208 m_size = old_size; 213 m_size = old_size;
|
/haiku-buildtools/isl/ |
H A D | isl_hash.c | 82 size_t old_size, size; local 87 old_size = 1 << table->bits; 88 size = 2 * old_size; 100 for (h = 0; h < old_size; ++h) {
|
/haiku-buildtools/gcc/libstdc++-v3/src/c++98/ |
H A D | strstream.cc | 147 ptrdiff_t old_size = epptr() - pbase(); local 148 ptrdiff_t new_size = std::max(ptrdiff_t(2 * old_size), ptrdiff_t(1)); 153 memcpy(buf, pbase(), old_size); 164 __safe_pbump(old_size); 168 std::max(old_get_offset, old_size));
|
/haiku-buildtools/gcc/gcc/java/ |
H A D | jcf-io.c | 78 JCF_u4 old_size = jcf->buffer_end - jcf->buffer; local 79 JCF_u4 new_size = (old_size == 0 ? 2000 : 2 * old_size) + count;
|
/haiku-buildtools/gcc/gcc/ |
H A D | tree-phinodes.c | 260 size_t old_size, i; local 268 old_size = sizeof (struct gphi) 273 memcpy (new_phi, phi, old_size);
|
H A D | ipa-inline-transform.c | 317 int old_size = 0, new_size = 0; local 372 old_size = inline_summaries->get (to)->size; 402 || abs (estimated_growth - (new_size - old_size)) <= 1 412 *overall_size += new_size - old_size;
|
H A D | ggc-common.c | 130 size_t old_size; local 135 old_size = ggc_get_size (x); 137 if (size <= old_size) 146 old_size as reachable, but that would lose tracking of writes 150 old_size - size)); 161 VALGRIND_DISCARD (VALGRIND_MAKE_MEM_DEFINED (x, old_size)); 163 memcpy (r, x, old_size);
|
/haiku-buildtools/legacy/gcc/gcc/java/ |
H A D | jcf-io.c | 70 JCF_u4 old_size = jcf->buffer_end - jcf->buffer; variable 71 JCF_u4 new_size = (old_size == 0 ? 2000 : 2 * old_size) + count;
|
/haiku-buildtools/gcc/gmp/demos/expr/ |
H A D | expr.c | 42 #define REALLOCATE_FUNC_TYPE(p, old_size, new_size, type) \ 44 (p, (old_size) * sizeof (type), (new_size) * sizeof (type))) 45 #define REALLOCATE_FUNC_LIMBS(p, old_size, new_size) \ 46 REALLOCATE_FUNC_TYPE(p, old_size, new_size, mp_limb_t)
|