Home
last modified time | relevance | path

Searched refs:newmax (Results 1 – 10 of 10) sorted by relevance

/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/
H A Dav.c84 I32 newmax; in Perl_av_extend() local
98 newmax = key + AvMAX(av); in Perl_av_extend()
110 newmax = malloced_size((void*)AvALLOC(av))/sizeof(SV*) - 1; in Perl_av_extend()
112 if (key <= newmax) in Perl_av_extend()
115 newmax = key + AvMAX(av) / 5; in Perl_av_extend()
117 MEM_WRAP_CHECK_1(newmax+1, SV*, "panic: array extend"); in Perl_av_extend()
119 Renew(AvALLOC(av),newmax+1, SV*); in Perl_av_extend()
121 bytes = (newmax + 1) * sizeof(SV*); in Perl_av_extend()
128 assert(itmp > newmax); in Perl_av_extend()
129 newmax = itmp - 1; in Perl_av_extend()
[all …]
H A Dhv.c1203 Perl_hv_ksplit(pTHX_ HV *hv, IV newmax) in Perl_hv_ksplit() argument
1215 newsize = (I32) newmax; /* possible truncation here */ in Perl_hv_ksplit()
1216 if (newsize != newmax || newmax <= oldsize) in Perl_hv_ksplit()
1221 if (newsize < newmax) in Perl_hv_ksplit()
1223 if (newsize < newmax) in Perl_hv_ksplit()
H A Dscope.c144 I32 newmax = GROW(oldmax); in Perl_markstack_grow() local
146 Renew(PL_markstack, newmax, I32); in Perl_markstack_grow()
148 PL_markstack_max = PL_markstack + newmax; in Perl_markstack_grow()
H A Dproto.h275 PERL_CALLCONV void Perl_hv_ksplit(pTHX_ HV* hv, IV newmax);
/onnv-gate/usr/src/cmd/krb5/kadmin/kclient/
H A Dkconf.c86 int newmax; in add_to_list() local
89 newmax = list->max + 10; in add_to_list()
90 newlist = realloc(list->list, newmax * sizeof (char *)); in add_to_list()
93 list->max = newmax; in add_to_list()
/onnv-gate/usr/src/lib/gss_mechs/mech_krb5/profile/
H A Dprof_get.c73 int newmax; in add_to_list() local
76 newmax = list->max + 10; in add_to_list()
77 newlist = realloc(list->list, newmax * sizeof(char *)); in add_to_list()
80 list->max = newmax; in add_to_list()
/onnv-gate/usr/src/lib/libsldap/common/
H A Dns_confmgr.c414 int newmax = 0; in __print2buf() local
426 newmax = (((newsz+(BUFSIZ-1))/BUFSIZ)+1) * BUFSIZ; in __print2buf()
428 line->str = (char *)calloc(newmax, 1); in __print2buf()
435 str = (char *)realloc(line->str, newmax); in __print2buf()
443 line->alloc = newmax; in __print2buf()
/onnv-gate/usr/src/tools/ctf/cvt/
H A Dtdata.c346 tdata_label_newmax(tdata_t *td, int newmax) in tdata_label_newmax() argument
348 (void) list_iter(td->td_labels, tdata_label_newmax_cb, &newmax); in tdata_label_newmax()
/onnv-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/
H A Doptions.c1669 const struct device_entry *newdep, *newmax; in parse_options() local
1768 newmax = newdep + newopt->os_ndevices; in parse_options()
1770 newdep = newmax = NULL; in parse_options()
1778 while ((newdep != NULL && newdep < newmax) || in parse_options()
1780 if (newdep < newmax) { in parse_options()
1800 if (newdep >= newmax) { in parse_options()
/onnv-gate/usr/src/cmd/nscd/
H A Dnscd_selfcred.c254 int newmax = max_pu_nscd + _NSCD_PUN_BLOCK; in get_cslot() local
256 tmp = (child_t **)calloc(newmax, sizeof (child_t *)); in get_cslot()
265 max_pu_nscd = newmax; in get_cslot()