Searched refs:LIST_SIZE (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/cmd/stat/common/ |
H A D | walkers.c | 32 #define LIST_SIZE 512 macro 34 static char cpus_added[LIST_SIZE]; 35 static char cpus_removed[LIST_SIZE]; 185 char tmp[LIST_SIZE]; in add_nr_to_list() 190 (void) strlcat(buf, ", ", LIST_SIZE); in add_nr_to_list() 192 (void) strlcat(buf, tmp, LIST_SIZE); in add_nr_to_list() 236 char tmp[LIST_SIZE]; in get_child_list() 245 (void) strlcat(buf, "t", LIST_SIZE); in get_child_list() 247 (void) strlcat(buf, "d", LIST_SIZE); in get_child_list() 250 (void) strlcat(buf, tmp, LIST_SIZE); in get_child_list() [all …]
|
/illumos-gate/usr/src/lib/print/libpapi-common/common/ |
H A D | list.c | 38 #define LIST_SIZE(x) ((((x) / __list_increment) + 1) * __list_increment) macro 60 int new_size = LIST_SIZE(count + 1); in list_append() 107 new_size = LIST_SIZE(size1 + size2); in list_concatenate() 165 if ((item == NULL) && (LIST_SIZE(i) < LIST_SIZE(count))) { in list_remove() 166 void **tmp = (void **)calloc(LIST_SIZE(i), sizeof (void *)); in list_remove()
|