Lines Matching defs:outfile
408 static errcode_t write_data_to_file(prf_data_t data, const char *outfile,
419 if (asprintf(&new_file, "%s.$$$", outfile) < 0) {
423 if (asprintf(&old_file, "%s.bak", outfile) < 0) {
447 if (make_hard_link(outfile, old_file) == 0) {
451 if (rename(new_file, outfile)) {
459 if (rename(new_file, outfile)) {
470 if (rename(outfile, old_file)) {
474 if (rename(new_file, outfile)) {
476 rename(old_file, outfile); /* back out... */
524 errcode_t profile_flush_file_data_to_file(prf_data_t data, const char *outfile)
534 retval = write_data_to_file(data, outfile, 1);