Lines Matching refs:tmppath
1476 char* tmppath = NULL; in handle_buildid_r_match() local
1477 rc = asprintf (&tmppath, "%s/debuginfod.XXXXXX", tmpdir.c_str()); in handle_buildid_r_match()
1480 defer_dtor<void*,void> tmmpath_freer (tmppath, free); in handle_buildid_r_match()
1481 fd = mkstemp (tmppath); in handle_buildid_r_match()
1491 unlink (tmppath); in handle_buildid_r_match()
1507 tmppath, archive_entry_size(e), in handle_buildid_r_match()
1517 tmppath, archive_entry_size(e), in handle_buildid_r_match()
2545 char* tmppath = NULL; in archive_classify() local
2546 rc = asprintf (&tmppath, "%s/debuginfod.XXXXXX", tmpdir.c_str()); in archive_classify()
2549 defer_dtor<void*,void> tmmpath_freer (tmppath, free); in archive_classify()
2550 int fd = mkstemp (tmppath); in archive_classify()
2553 unlink (tmppath); // unlink now so OS will release the file as soon as we close the fd in archive_classify()