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

/illumos-gate/usr/src/lib/print/libpapi-common/common/
H A Dlist.c38 static int __list_increment = 16; variable
40 #define LIST_SIZE(x) ((((x) / __list_increment) + 1) * __list_increment)
54 *list = (void **)calloc(__list_increment,
60 if ((count + 1) % __list_increment == 0) { /* expand the list */
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dfncs.c42 static int __list_increment = 16; variable
56 *list = (void **)calloc(__list_increment,
64 if ((count + 1) % __list_increment == 0) { /* expand the list */ void **new_list = NULL;
65 int new_size = (((count + 1) / __list_increment) + 1) *
66 __list_increment;
97 int new_size = (((count + 1) / __list_increment) + 1) *
98 __list_increment;

Completed in 67 milliseconds