Home
last modified time | relevance | path

Searched refs:__list_increment (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/print/libpapi-common/common/
H A Dlist.c36 static int __list_increment = 16; variable
38 #define LIST_SIZE(x) ((((x) / __list_increment) + 1) * __list_increment)
52 *list = (void **)calloc(__list_increment, in list_append()
58 if ((count + 1) % __list_increment == 0) { /* expand the list */ in list_append()
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dfncs.c42 static int __list_increment = 16; variable
56 *list = (void **)calloc(__list_increment, in list_append()
64 …if ((count + 1) % __list_increment == 0) { /* expand the list */ void **new… in list_append()
65 int new_size = (((count + 1) / __list_increment) + 1) * in list_append()
66 __list_increment; in list_append()
97 int new_size = (((count + 1) / __list_increment) + 1) * in list_remove()
98 __list_increment; in list_remove()