Lines Matching defs:list

14  *       this list of conditions and the following disclaimer.
16 * notice, this list of conditions and the following disclaimer in the
44 int list_count_str_array(char **list)
48 if (list == NULL)
51 for (i = 0; *list != NULL; list++) {
62 int list_count_int_array(int *list)
66 if (list == NULL)
69 for (i = 0; *list != END_OF_LIST; list++) {
78 * Frees the entries in a given list and not the list pointer
80 void krb5_free_list_entries(list)
81 char **list;
83 if (list == NULL)
85 for (; *list != NULL; list++) {
86 free(*list);
87 *list = NULL;
96 * and return the result as a list
99 krb5_parse_list(buffer, delimiter, list)
102 char **list;
107 char **plist = list;
111 if ((buffer == NULL) || (list == NULL) || (delimiter == NULL)) {
137 krb5_free_list_entries(list);
155 * Modifies the destination list to contain or not to contain the
156 * entries present in the source list, depending on the mode
172 /* We need to add every entry present in the source list to
173 * the destination list */
180 /* Count the number of entries in the source list */
185 /* Reset the slist pointer to the start of source list */
188 /* Now append the source list to the existing destlist */
192 /* Leave the last entry for list terminator(=NULL) */
199 /* We need to delete every entry present in the source list
200 * from the destination list */
223 * Modifies the destination list to contain or not to contain the
224 * entries present in the source list, depending on the mode
225 * (ADD or DELETE). where the list is array of integers.
240 /* We need to add every entry present in the source list to the
241 * destination list */
248 /* Count the number of entries in the source list */
253 /* Reset the slist pointer to the start of source list */
256 /* Now append the source list to the existing destlist */
260 /* Leave the last entry for list terminator(=NULL) */
268 /* We need to delete every entry present in the source list from
269 * the destination list */