Searched defs:_list_increment (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/lib/print/libprint/common/
H A Dlist.c42 static int _list_increment = 64; /* just so It can be tuned with adb(1) */ variable
48 * in blocks of size _list_increment.
60 list = (void **)calloc(_list_increment, sizeof (void *));
61 (void) memset(list, NULL, (_list_increment * sizeof (void *)));
68 if ((count + 1) % _list_increment == 0) { /* increase size */
70 int new_size = (((count + 1) / _list_increment) + 1) *
71 _list_increment;
142 /* list1 + list2 padded to a multiple of _list_increment */
143 new_size = ((size1 + size2)/_list_increment + 2) * _list_increment;
[all...]

Completed in 43 milliseconds