| /netbsd/src/external/gpl3/gcc/dist/libstdc++-v3/include/ext/pb_ds/detail/gp_hash_table_map_/ |
| D | resize_fn_imps.hpp | 91 const size_type old_size = m_num_e; in resize_imp() 105 resize_imp(a_entries_resized, old_size); in resize_imp() 110 m_num_e = old_size; in resize_imp() 112 ranged_probe_fn_base::notify_resized(old_size); in resize_imp() 122 erase_all_valid_entries(m_entries, old_size); in resize_imp() 123 s_entry_allocator.deallocate(m_entries, old_size); in resize_imp() 131 resize_imp(entry_array a_entries_resized, size_type old_size) in resize_imp() argument 133 for (size_type pos = 0; pos < old_size; ++pos) in resize_imp()
|
| /netbsd/src/external/gpl3/gcc/dist/libstdc++-v3/include/ext/pb_ds/detail/cc_hash_table_map_/ |
| D | resize_fn_imps.hpp | 87 const size_type old_size = m_num_e; in resize_imp() local 101 ranged_hash_fn_base::notify_resized(old_size); in resize_imp() 106 resize_imp_no_exceptions(new_size, a_p_entries_resized, old_size); in resize_imp() 114 …_imp_no_exceptions(size_type new_size, entry_pointer_array a_p_entries_resized, size_type old_size) in resize_imp_no_exceptions() argument 119 for (size_type pos = 0; pos < old_size; ++pos) in resize_imp_no_exceptions() 129 s_entry_pointer_allocator.deallocate(m_entries, old_size); in resize_imp_no_exceptions()
|
| /netbsd/src/external/gpl3/binutils/dist/gold/ |
| D | mremap.c | 52 gold_mremap (void *old_address, size_t old_size, size_t new_size, in gold_mremap() argument 62 old_size < new_size ? old_size : new_size); in gold_mremap() 63 (void) munmap (old_address, old_size); in gold_mremap() 79 size_t old_size ATTRIBUTE_UNUSED, in gold_mremap()
|
| /netbsd/src/external/lgpl3/gmp/dist/ |
| D | memory.c | 74 __gmp_default_reallocate (void *oldptr, size_t old_size, size_t new_size) in __gmp_default_reallocate() argument 81 if (old_size != 0) in __gmp_default_reallocate() 89 if (old_size % GMP_LIMB_BYTES == 0) in __gmp_default_reallocate() 90 if (p[old_size / GMP_LIMB_BYTES] != ~((0xdeadbeef << 31) + 0xdeafdeed)) in __gmp_default_reallocate() 104 …GNU MP: Cannot reallocate memory (old_size=%lu new_size=%lu)\n", (long) old_size, (long) new_size); in __gmp_default_reallocate()
|
| /netbsd/src/external/lgpl3/mpfr/dist/tests/ |
| D | memory.c | 82 mpfr_default_reallocate (void *oldptr, size_t old_size, size_t new_size) in mpfr_default_reallocate() argument 91 (mpfr_uintmax_t) old_size, (mpfr_uintmax_t) new_size); in mpfr_default_reallocate() 182 tests_reallocate (void *ptr, size_t old_size, size_t new_size) in tests_reallocate() argument 208 if (h->size != old_size) in tests_reallocate() 215 (mpfr_uintmax_t) old_size, (mpfr_uintmax_t) h->size); in tests_reallocate() 220 tests_total_size -= old_size; in tests_reallocate() 224 h->ptr = mpfr_default_reallocate (ptr, old_size, new_size); in tests_reallocate()
|
| /netbsd/src/sbin/tunefs/ |
| D | tunefs.c | 577 uint64_t old_size; in change_log_info() local 579 old_size = 0; in change_log_info() 583 old_size = sblock.fs_journallocs[UFS_WAPBL_EPART_COUNT] * in change_log_info() 589 old_size = sblock.fs_journallocs[UFS_WAPBL_INFS_COUNT] * in change_log_info() 596 old_size = 0; in change_log_info() 608 warnx("log file size cleared from %" PRIu64 "", old_size); in change_log_info() 612 if (!in_fs_log && logfilesize > 0 && old_size > 0) in change_log_info() 615 if (old_size == (uint64_t)logfilesize && logfilesize > 0) { in change_log_info() 621 if (old_size == 0) { in change_log_info() 634 old_size, logfilesize); in change_log_info()
|
| /netbsd/src/external/lgpl3/gmp/dist/tests/ |
| D | memory.c | 110 tests_reallocate (void *ptr, size_t old_size, size_t new_size) in tests_reallocate() argument 132 if (h->size != old_size) in tests_reallocate() 135 (unsigned long) old_size, (unsigned long) h->size); in tests_reallocate() 153 old_size + 2 * sizeof (mp_limb_t), in tests_reallocate()
|
| /netbsd/src/external/gpl3/gcc/dist/libstdc++-v3/include/ext/pb_ds/detail/resize_policy/ |
| D | hash_standard_resize_policy_imp.hpp | 203 const size_type old_size = m_size; in resize() local 210 m_size = old_size; in resize() 215 m_size = old_size; in resize()
|
| /netbsd/src/external/gpl3/gcc/dist/gcc/ |
| D | tree-phinodes.cc | 239 size_t old_size, i; in resize_phi_node() local 247 old_size = sizeof (struct gphi) in resize_phi_node() 252 memcpy (new_phi, phi, old_size); in resize_phi_node() 253 memset ((char *)new_phi + old_size, 0, in resize_phi_node() 256 + sizeof (struct phi_arg_d) * len) - old_size); in resize_phi_node()
|
| D | ipa-inline-transform.cc | 340 int old_size = 0, new_size = 0; in inline_call() local 502 old_size = ipa_size_summaries->get (to)->size; in inline_call() 532 || abs (estimated_growth - (new_size - old_size)) <= 1 in inline_call() 542 *overall_size += new_size - old_size; in inline_call()
|
| D | ggc-common.cc | 124 size_t old_size; in ggc_realloc() local 129 old_size = ggc_get_size (x); in ggc_realloc() 131 if (size <= old_size) in ggc_realloc() 144 old_size - size)); in ggc_realloc() 155 VALGRIND_DISCARD (VALGRIND_MAKE_MEM_DEFINED (x, old_size)); in ggc_realloc() 157 memcpy (r, x, old_size); in ggc_realloc()
|
| D | gimple-fold.h | 161 gimple_build_round_up (gimple_seq *seq, tree type, tree old_size, in gimple_build_round_up() argument 164 return gimple_build_round_up (seq, UNKNOWN_LOCATION, type, old_size, align); in gimple_build_round_up()
|
| /netbsd/src/external/lgpl3/mpfr/dist/src/ |
| D | mpfr-gmp.c | 319 mpfr_reallocate_func (void * ptr, size_t old_size, size_t new_size) in mpfr_reallocate_func() argument 326 return (*reallocate_func) (ptr, old_size, new_size); in mpfr_reallocate_func()
|
| /netbsd/src/external/lgpl3/gmp/dist/mini-gmp/tests/ |
| D | testutils.c | 85 tu_realloc (void *p, size_t old_size, size_t new_size) in tu_realloc() argument 99 tu_free (void *p, size_t old_size) in tu_free() argument
|
| /netbsd/src/external/gpl3/gcc/dist/libgomp/ |
| D | allocator.c | 562 size_t new_size, old_size, new_alignment, old_alignment; in omp_realloc() local 602 old_size = data->size; in omp_realloc() 617 prev_size = old_size; in omp_realloc() 719 if (old_size - old_alignment < size) in omp_realloc() 720 size = old_size - old_alignment; in omp_realloc()
|
| /netbsd/src/external/ibm-public/postfix/dist/src/util/ |
| D | htable.c | 212 size_t old_size = table->size; in htable_grow() local 216 htable_size(table, 2 * old_size); in htable_grow() 218 while (old_size-- > 0) { in htable_grow()
|
| D | binhash.c | 219 ssize_t old_size = table->size; in binhash_grow() local 223 binhash_size(table, 2 * old_size); in binhash_grow() 225 while (old_size-- > 0) { in binhash_grow()
|
| /netbsd/src/sys/fs/udf/ |
| D | udf_allocation.c | 2602 uint64_t size_diff, old_size, inflen, objsize, chunk, append_len; in udf_grow_node() local 2649 old_size = inflen; in udf_grow_node() 2650 size_diff = new_size - old_size; in udf_grow_node() 2652 DPRINTF(ALLOC, ("\tfrom %"PRIu64" to %"PRIu64"\n", old_size, new_size)); in udf_grow_node() 2680 ubc_zerorange(&vp->v_uobj, old_size, in udf_grow_node() 2681 new_size - old_size, UBC_VNODE_FLAGS(vp)); in udf_grow_node() 2697 if (old_size > 0) { in udf_grow_node() 2707 evacuated_data, old_size, 0, in udf_grow_node() 2730 c_ad.len = udf_rw32(old_size | UDF_EXT_FREE); in udf_grow_node() 2758 if (old_size == 0) { in udf_grow_node() [all …]
|
| /netbsd/src/external/gpl2/lvm2/dist/lib/metadata/ |
| D | metadata.c | 891 const char *desc2, uint32_t old_size, in _recalc_extents() argument 894 uint64_t size = (uint64_t) old_size * (*extents); in _recalc_extents() 917 uint32_t old_size = vg->extent_size; in vg_set_extent_size() local 959 if (!_recalc_extents(&vg->extent_count, vg->name, "", old_size, in vg_set_extent_size() 964 old_size, new_size)) in vg_set_extent_size() 973 old_size, new_size)) in vg_set_extent_size() 977 " allocated space", old_size, new_size)) in vg_set_extent_size() 986 " PV segment start", old_size, in vg_set_extent_size() 990 " PV segment length", old_size, in vg_set_extent_size() 1000 if (!_recalc_extents(&lv->le_count, lv->name, "", old_size, in vg_set_extent_size() [all …]
|
| /netbsd/src/sys/kern/ |
| D | subr_autoconf.c | 3622 size_t i, old_size, new_size; in device_active_register() local 3626 old_size = dev->dv_activity_count; in device_active_register() 3628 KASSERT(old_size == 0 || old_handlers != NULL); in device_active_register() 3630 for (i = 0; i < old_size; ++i) { in device_active_register() 3638 new_size = old_size + 4; in device_active_register() 3641 for (i = 0; i < old_size; ++i) in device_active_register() 3643 new_handlers[old_size] = handler; in device_active_register() 3644 for (i = old_size+1; i < new_size; ++i) in device_active_register() 3652 if (old_size > 0) in device_active_register() 3653 kmem_free(old_handlers, sizeof(void *) * old_size); in device_active_register() [all …]
|
| /netbsd/src/external/lgpl3/gmp/dist/demos/expr/ |
| D | expr.c | 53 #define REALLOCATE_FUNC_TYPE(p, old_size, new_size, type) \ argument 55 (p, (old_size) * sizeof (type), (new_size) * sizeof (type))) 56 #define REALLOCATE_FUNC_LIMBS(p, old_size, new_size) \ argument 57 REALLOCATE_FUNC_TYPE(p, old_size, new_size, mp_limb_t)
|
| /netbsd/src/sys/compat/linux32/common/ |
| D | linux32_mman.c | 115 NETBSD32TOX_UAP(old_size, size_t); in linux32_sys_mremap()
|
| /netbsd/src/external/gpl3/gdb/dist/gdb/ |
| D | charset.c | 525 int old_size; in convert_between_encodings() local 527 old_size = obstack_object_size (output); in convert_between_encodings() 530 outp = (char *) obstack_base (output) + old_size; in convert_between_encodings()
|
| /netbsd/src/external/gpl3/binutils/dist/ld/ |
| D | ldcref.c | 113 static unsigned int old_size; variable 246 old_size = cref_table.root.size; in handle_asneeded_cref() 287 cref_table.root.size = old_size; in handle_asneeded_cref()
|
| /netbsd/src/external/cddl/osnet/dev/cyclic/ |
| D | cyclic.c | 642 cyc_index_t new_size, old_size; in cyclic_expand() local 653 if ((new_size = ((old_size = cpu->cyp_size) << 1)) == 0) { in cyclic_expand() 676 ASSERT(old_size != 0); in cyclic_expand()
|