Searched refs:newmax (Results 1 - 12 of 12) sorted by relevance

/openbsd-current/libexec/tradcpp/
H A Darray.c73 unsigned newmax; local
77 newmax = a->max;
78 while (num > newmax) {
79 newmax = newmax ? newmax*2 : 4;
82 newmax * sizeof(a->v[0]));
84 a->max = newmax;
/openbsd-current/gnu/usr.bin/gcc/gcc/f/
H A Dsts.c155 ffestsLength newmax;
170 newmax = s->max_ << 1;
171 while (newmax < newlen)
172 newmax <<= 1;
173 s->text_ = malloc_resize_ksr (s->pool_, s->text_, newmax, s->max_);
174 s->max_ = newmax;
154 ffestsLength newmax; local
H A Dcom.c2378 int newmax;
2380 newmax = (catlist.max == 0) ? 8 : catlist.max * 2;
2382 newmax * sizeof (newx[0]));
2389 catlist.max = newmax;
2377 int newmax; local
/openbsd-current/usr.bin/users/
H A Dusers.c78 size_t newmax = nmax + 32; local
81 newnames = reallocarray(names, newmax,
89 nmax = newmax;
/openbsd-current/usr.bin/dig/lib/isc/
H A Dsymtab.c171 unsigned int i, newsize, newmax; local
176 newmax = newsize * 3 / 4;
177 INSIST(newsize > 0U && newmax > 0U);
204 symtab->maxload = newmax;
/openbsd-current/gnu/usr.bin/perl/
H A Dav.c109 SSize_t newmax = 0; local
125 newmax = key + *maxp;
151 newmax = Perl_safesysmalloc_size((void*)*allocp) /
154 if (key <= newmax)
157 /* overflow-safe version of newmax = key + *maxp/5 */
158 newmax = *maxp / 5;
159 newmax = (key > SSize_t_MAX - newmax)
160 ? SSize_t_MAX : key + newmax;
163 /* it should really be newmax
[all...]
H A Dscope.c155 const I32 newmax = GROW(oldmax); local
157 Renew(PL_markstack, newmax, I32);
158 PL_markstack_max = PL_markstack + newmax;
H A Dhv.c1693 Attempt to grow the hash C<hv> so it has at least C<newmax> buckets available.
1698 keys %hv = newmax;
1704 Perl_hv_ksplit(pTHX_ HV *hv, IV newmax) argument
1715 wantsize = (I32) newmax; /* possible truncation here */
1716 if (wantsize != newmax)
1720 if (wantsize < newmax) /* overflow detection */
1750 if (LARGE_HASH_HEURISTIC(hv, newmax))
H A Dproto.h1659 Perl_hv_ksplit(pTHX_ HV *hv, IV newmax);
/openbsd-current/usr.bin/yacc/
H A Doutput.c584 int newmax; local
607 newmax = maxtable;
609 newmax += 200;
610 } while (newmax <= loc);
611 table = realloc(table, newmax * sizeof(short));
614 check = realloc(check, newmax * sizeof(short));
617 for (l = maxtable; l < newmax; ++l) {
621 maxtable = newmax;
/openbsd-current/sys/netinet/
H A Dip_output.c1567 size_t newmax; local
1576 newmax = ((imo->imo_max_memberships + 1) * 2) - 1;
1577 if (newmax <= IP_MAX_MEMBERSHIPS) {
1578 nmships = mallocarray(newmax, sizeof(*nmships),
1588 imo->imo_max_memberships = newmax;
/openbsd-current/sys/dev/pci/
H A Dazalia_codec.c1438 size_t newmax; local
1443 newmax = this->maxmixers + 10;
1444 if (newmax < newsize)
1445 newmax = newsize;
1446 newbuf = mallocarray(newmax, sizeof(mixer_item_t), M_DEVBUF,
1455 this->maxmixers = newmax;

Completed in 346 milliseconds