Lines Matching defs:expand
107 * @param n The number to expand.
108 * @param req The number limbs to expand the allocation capacity to.
588 // This is the hard case. We need to expand the number, move the limbs, and
828 // If this is non-zero, we need an extra place, so expand, move, and set.
861 size_t places_rdx, scale, scale_mod, int_len, expand;
891 expand = places_rdx - 1;
896 expand = places_rdx;
901 if (expand > int_len) expand -= int_len;
902 else expand = 0;
904 // Extend, expand, and zero.
906 bc_num_expand(n, bc_vm_growSize(expand, n->len));
908 memset(n->num + n->len, 0, BC_NUM_SIZE(expand));
911 n->len += expand;
2251 // Actually reallocate. If we don't reallocate, we want to expand at the
3022 // is less than pow and to expand the number to fit new limbs as necessary.
4258 // Initialize or expand as necessary.