Searched refs:tempstore (Results 1 – 6 of 6) sorted by relevance
/third_party/curl/lib/ |
D | fopen.c | 54 char *tempstore = NULL; in Curl_fopen() local 71 tempstore = aprintf("%s.%s.tmp", filename, randsuffix); in Curl_fopen() 72 if(!tempstore) { in Curl_fopen() 78 fd = open(tempstore, O_WRONLY | O_CREAT | O_EXCL, 0600); in Curl_fopen() 98 *tempname = tempstore; in Curl_fopen() 104 unlink(tempstore); in Curl_fopen() 107 free(tempstore); in Curl_fopen()
|
D | hsts.c | 329 char *tempstore = NULL; in Curl_hsts_save() local 343 result = Curl_fopen(data, file, &out, &tempstore); in Curl_hsts_save() 356 if(!result && tempstore && Curl_rename(tempstore, file)) in Curl_hsts_save() 359 if(result && tempstore) in Curl_hsts_save() 360 unlink(tempstore); in Curl_hsts_save() 362 free(tempstore); in Curl_hsts_save()
|
D | altsvc.c | 332 char *tempstore = NULL; in Curl_altsvc_save() local 346 result = Curl_fopen(data, file, &out, &tempstore); in Curl_altsvc_save() 359 if(!result && tempstore && Curl_rename(tempstore, file)) in Curl_altsvc_save() 362 if(result && tempstore) in Curl_altsvc_save() 363 unlink(tempstore); in Curl_altsvc_save() 365 free(tempstore); in Curl_altsvc_save()
|
D | cookie.c | 1628 char *tempstore = NULL; in cookie_output() local 1644 error = Curl_fopen(data, filename, &out, &tempstore); in cookie_output() 1693 if(tempstore && Curl_rename(tempstore, filename)) { in cookie_output() 1694 unlink(tempstore); in cookie_output() 1705 free(tempstore); in cookie_output() 1711 free(tempstore); in cookie_output()
|
/third_party/libxml2/ |
D | timsort.h | 358 SORT_TYPE *tempstore = (SORT_TYPE *)realloc(store->storage, new_size * sizeof(SORT_TYPE)); in TIM_SORT_RESIZE() local 360 if (tempstore == NULL) { in TIM_SORT_RESIZE() 366 store->storage = tempstore; in TIM_SORT_RESIZE()
|
/third_party/gettext/gnulib-local/lib/libxml/ |
D | timsort.h | 389 SORT_TYPE *tempstore = (SORT_TYPE *)realloc(store->storage, new_size * sizeof(SORT_TYPE)); in TIM_SORT_RESIZE() local 391 if (tempstore == NULL) { in TIM_SORT_RESIZE() 397 store->storage = tempstore; in TIM_SORT_RESIZE()
|