Lines Matching refs:count
43 int count; in list_append() local
55 for (count = 0; (*list)[count] != NULL; count++) in list_append()
58 if ((count + 1) % __list_increment == 0) { /* expand the list */ in list_append()
60 int new_size = LIST_SIZE(count + 1); in list_append()
66 for (count = 0; (*list)[count] != NULL; count++) in list_append()
67 new_list[count] = (*list)[count]; in list_append()
72 (*list)[count] = item; in list_append()
110 int count = 0; in list_concatenate() local
114 (*result)[count++] = list1[size1]; in list_concatenate()
117 (*result)[count++] = list2[size2]; in list_concatenate()
144 int i = 0, count; in list_remove() local
150 for (count = 0; (*list)[count] != NULL; count++) in list_remove()
151 if ((*list)[count] == item) { /* mark the location of item */ in list_remove()
152 i = count; in list_remove()
165 if ((item == NULL) && (LIST_SIZE(i) < LIST_SIZE(count))) { in list_remove()