Lines Matching refs:array
1416 struct Cookie **array; in Curl_cookie_getlist() local
1420 array = malloc(sizeof(struct Cookie *) * matches); in Curl_cookie_getlist()
1421 if(!array) in Curl_cookie_getlist()
1427 array[i++] = Curl_node_elem(n); in Curl_cookie_getlist()
1430 qsort(array, matches, sizeof(struct Cookie *), cookie_sort); in Curl_cookie_getlist()
1436 Curl_llist_append(list, array[i], &array[i]->getnode); in Curl_cookie_getlist()
1438 free(array); /* remove the temporary data again */ in Curl_cookie_getlist()
1589 struct Cookie **array; in cookie_output() local
1592 array = calloc(1, sizeof(struct Cookie *) * ci->numcookies); in cookie_output()
1593 if(!array) { in cookie_output()
1605 array[nvalid++] = co; in cookie_output()
1609 qsort(array, nvalid, sizeof(struct Cookie *), cookie_sort_ct); in cookie_output()
1612 char *format_ptr = get_netscape_format(array[i]); in cookie_output()
1614 free(array); in cookie_output()
1622 free(array); in cookie_output()