Lines Matching defs:tempname
1549 char *tempname = NULL;
1553 tempname = isc_mem_allocate(mctx, tempnamelen);
1554 if (tempname == NULL)
1557 result = isc_file_mktemplate(file, tempname, tempnamelen);
1562 result = isc_file_openunique(tempname, &f);
1564 result = isc_file_bopenunique(tempname, &f);
1569 tempname, isc_result_totext(result));
1572 *tempp = tempname;
1577 isc_mem_free(mctx, tempname);
1600 char *tempname = NULL;
1608 result = opentmp(mctx, format, filename, &tempname, &f);
1615 (void)isc_file_remove(tempname);
1625 dctx->tmpfile = tempname;
1626 tempname = NULL;
1639 if (tempname != NULL)
1640 isc_mem_free(mctx, tempname);
1659 char *tempname;
1662 result = opentmp(mctx, format, filename, &tempname, &f);
1674 result = closeandrename(f, result, tempname, filename);
1677 isc_mem_free(mctx, tempname);