Searched refs:tempstore (Results 1 – 3 of 3) sorted by relevance
332 char *tempstore; in Curl_altsvc_save() local350 tempstore = aprintf("%s.%s.tmp", file, randsuffix); in Curl_altsvc_save()351 if(!tempstore) in Curl_altsvc_save()354 out = fopen(tempstore, FOPEN_WRITETEXT); in Curl_altsvc_save()369 if(!result && Curl_rename(tempstore, file)) in Curl_altsvc_save()373 unlink(tempstore); in Curl_altsvc_save()375 free(tempstore); in Curl_altsvc_save()
1511 char *tempstore = NULL; in cookie_output() local1532 tempstore = aprintf("%s.%s.tmp", filename, randsuffix); in cookie_output()1533 if(!tempstore) in cookie_output()1536 out = fopen(tempstore, FOPEN_WRITETEXT); in cookie_output()1584 if(Curl_rename(tempstore, filename)) { in cookie_output()1585 unlink(tempstore); in cookie_output()1596 free(tempstore); in cookie_output()
358 SORT_TYPE *tempstore = (SORT_TYPE *)realloc(store->storage, new_size * sizeof(SORT_TYPE)); in TIM_SORT_RESIZE() local360 if (tempstore == NULL) { in TIM_SORT_RESIZE()366 store->storage = tempstore; in TIM_SORT_RESIZE()