Home
last modified time | relevance | path

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

/netbsd-src/games/sail/
H A Darray.c75 unsigned newmax; in array_setsize() local
78 newmax = a->max; in array_setsize()
79 while (num > newmax) { in array_setsize()
80 newmax = newmax ? newmax*2 : 4; in array_setsize()
82 if (reallocarr(&a->v, newmax, sizeof(*a->v)) != 0) in array_setsize()
84 a->max = newmax; in array_setsize()
/netbsd-src/external/bsd/tradcpp/dist/
H A Darray.c73 unsigned newmax; in array_setsize() local
77 newmax = a->max; in array_setsize()
78 while (num > newmax) { in array_setsize()
79 newmax = newmax ? newmax*2 : 4; in array_setsize()
82 newmax * sizeof(a->v[0])); in array_setsize()
84 a->max = newmax; in array_setsize()
/netbsd-src/sys/fs/nfs/client/
H A Dnfs_clnfsiod.c136 int iod, newmax; in sysctl_iodmax() local
138 newmax = ncl_iodmax; in sysctl_iodmax()
139 error = sysctl_handle_int(oidp, &newmax, 0, req); in sysctl_iodmax()
142 if (newmax > NFS_MAXASYNCDAEMON) in sysctl_iodmax()
145 ncl_iodmax = newmax; in sysctl_iodmax()
/netbsd-src/external/gpl3/gdb/dist/gnulib/import/
H A Dgetdtablesize.c33 _setmaxstdio_nothrow (int newmax) in _setmaxstdio_nothrow() argument
39 result = _setmaxstdio (newmax); in _setmaxstdio_nothrow()
/netbsd-src/external/mpl/dhcp/bind/dist/lib/isc/
H A Dsymtab.c179 unsigned int i, newsize, newmax; in grow_table() local
184 newmax = newsize * 3 / 4; in grow_table()
185 INSIST(newsize > 0U && newmax > 0U); in grow_table()
212 symtab->maxload = newmax; in grow_table()
/netbsd-src/external/mpl/bind/dist/lib/isc/
H A Dsymtab.c174 unsigned int i, newsize, newmax; in isc_symtab_lookup()
179 newmax = newsize * 3 / 4; in grow_table() local
180 INSIST(newsize > 0U && newmax > 0U); in grow_table()
207 symtab->maxload = newmax; in grow_table()
/netbsd-src/lib/libquota/
H A Dquota_oldfiles.c99 unsigned newmax; in __quota_oldfiles_add_fstabentry() local
104 newmax = 4; in __quota_oldfiles_add_fstabentry()
106 newmax = __quota_oldfiles_maxfstab * 2; in __quota_oldfiles_add_fstabentry()
109 newmax * sizeof(__quota_oldfiles_fstab[0])); in __quota_oldfiles_add_fstabentry()
113 __quota_oldfiles_maxfstab = newmax; in __quota_oldfiles_add_fstabentry()
/netbsd-src/sys/kern/
H A Dtty_pty.c324 pty_maxptys(int newmax, int set) in pty_maxptys() argument
339 if (newmax >= npty) in pty_maxptys()
340 maxptys = newmax; in pty_maxptys()
342 newmax = 0; in pty_maxptys()
346 return newmax; in pty_maxptys()
/netbsd-src/external/cddl/osnet/dist/tools/ctf/cvt/
H A Dtdata.c360 tdata_label_newmax(tdata_t *td, int newmax) in tdata_label_newmax() argument
362 (void) list_iter(td->td_labels, tdata_label_newmax_cb, &newmax); in tdata_label_newmax()
/netbsd-src/external/gpl3/binutils/dist/gprofng/common/
H A Dhwctable.c2555 int newmax = lst->max ? lst->max * 2 : 16; in ptr_list_add() local
2556 new = (void**) realloc (lst->array, newmax * sizeof (void*)); in ptr_list_add()
2558 lst->max = newmax; in ptr_list_add()
/netbsd-src/external/gpl3/binutils.old/dist/gprofng/common/
H A Dhwctable.c2519 int newmax = lst->max ? lst->max * 2 : 16; in ptr_list_add() local
2520 new = (void**) realloc (lst->array, newmax * sizeof (void*)); in ptr_list_add()
2522 lst->max = newmax; in ptr_list_add()