Lines Matching defs:array
1461 struct Cookie **array;
1464 /* alloc an array and store all cookie pointers */
1465 array = malloc(sizeof(struct Cookie *) * matches);
1466 if(!array)
1472 array[i++] = co;
1475 qsort(array, matches, sizeof(struct Cookie *), cookie_sort);
1479 mainco = array[0]; /* start here */
1481 array[i]->next = array[i + 1];
1482 array[matches-1]->next = NULL; /* terminate the list */
1484 free(array); /* remove the temporary data again */
1659 struct Cookie **array;
1661 array = calloc(1, sizeof(struct Cookie *) * c->numcookies);
1662 if(!array) {
1672 array[nvalid++] = co;
1676 qsort(array, nvalid, sizeof(struct Cookie *), cookie_sort_ct);
1679 char *format_ptr = get_netscape_format(array[i]);
1681 free(array);
1689 free(array);