Lines Matching refs:list
11 * notice, this list of conditions and the following disclaimer.
14 * notice, this list of conditions and the following disclaimer in the
53 add_list(char ****list, size_t *listlen, char **str, size_t len)
56 *list = erealloc(*list, sizeof(**list) * (*listlen + 1));
58 (*list)[*listlen] = ecalloc(len, sizeof(**list));
60 (*list)[*listlen][i] = str[i];
65 permute(char ****list, size_t *listlen,
75 permute(list, listlen, str, i+1, len);
79 add_list(list, listlen, str, len);
85 char **list, ***all = NULL;
90 list = ecalloc(strings->num_strings, sizeof(*list));
92 list[i] = strings->strings[i];
94 permute(&all, size, list, 0, strings->num_strings);
95 free(list);