Lines Matching defs:array
1035 struct Cookie **array;
1038 /* alloc an array and store all cookie pointers */
1039 array = malloc(sizeof(struct Cookie *) * matches);
1040 if(!array)
1046 array[i++] = co;
1049 qsort(array, matches, sizeof(struct Cookie *), cookie_sort);
1053 mainco = array[0]; /* start here */
1055 array[i]->next = array[i+1];
1056 array[matches-1]->next = NULL; /* terminate the list */
1058 free(array); /* remove the temporary data again */