Home
last modified time | relevance | path

Searched refs:temp_file (Results 1 – 11 of 11) sorted by relevance

/dragonfly/contrib/lvm2/dist/lib/format_text/
H A Darchive.c235 char temp_file[PATH_MAX], archive_name[PATH_MAX]; in archive_vg() local
241 if (!create_temp_name(dir, temp_file, sizeof(temp_file), &fd, in archive_vg()
250 log_sys_error("close", temp_file); in archive_vg()
256 log_sys_error("fclose", temp_file); in archive_vg()
260 if (lvm_fclose(fp, temp_file)) in archive_vg()
283 if ((renamed = lvm_rename(temp_file, archive_name))) in archive_vg()
290 log_error("Archive rename failed for %s", temp_file); in archive_vg()
H A Dformat-text.c845 char temp_file[PATH_MAX], temp_dir[PATH_MAX]; in _vg_write_file() local
861 if (!create_temp_name(temp_dir, temp_file, sizeof(temp_file), &fd, in _vg_write_file()
868 log_sys_error("fdopen", temp_file); in _vg_write_file()
870 log_sys_error("fclose", temp_file); in _vg_write_file()
874 log_debug("Writing %s metadata to %s", vg->name, temp_file); in _vg_write_file()
877 log_error("Failed to write metadata to %s.", temp_file); in _vg_write_file()
879 log_sys_error("fclose", temp_file); in _vg_write_file()
893 if (rename(temp_file, tc->path_edit)) { in _vg_write_file()
894 log_debug("Renaming %s to %s", temp_file, tc->path_edit); in _vg_write_file()
895 log_error("%s: rename to %s failed: %s", temp_file, in _vg_write_file()
/dragonfly/contrib/binutils-2.27/libiberty/
H A Dpex-common.c103 temp_file (struct pex_obj *obj, int flags, char *name) in temp_file() function
232 outname = temp_file (obj, flags, outname); in pex_run_in_environment()
396 name = temp_file (obj, flags, name); in pex_input_file()
/dragonfly/contrib/binutils-2.34/libiberty/
H A Dpex-common.c103 temp_file (struct pex_obj *obj, int flags, char *name) in temp_file() function
232 outname = temp_file (obj, flags, outname); in pex_run_in_environment()
396 name = temp_file (obj, flags, name); in pex_input_file()
/dragonfly/contrib/gdb-7/libiberty/
H A Dpex-common.c103 temp_file (struct pex_obj *obj, int flags, char *name) in temp_file() function
232 outname = temp_file (obj, flags, outname); in pex_run_in_environment()
394 name = temp_file (obj, flags, name); in pex_input_file()
/dragonfly/contrib/gcc-4.7/libiberty/
H A Dpex-common.c103 temp_file (struct pex_obj *obj, int flags, char *name) in temp_file() function
232 outname = temp_file (obj, flags, outname); in pex_run_in_environment()
394 name = temp_file (obj, flags, name); in pex_input_file()
/dragonfly/contrib/gcc-8.0/libiberty/
H A Dpex-common.c103 temp_file (struct pex_obj *obj, int flags, char *name) in temp_file() function
232 outname = temp_file (obj, flags, outname); in pex_run_in_environment()
396 name = temp_file (obj, flags, name); in pex_input_file()
/dragonfly/contrib/gcc-4.7/gcc/
H A Dgcc.c1953 struct temp_file struct
1956 struct temp_file *next; argument
1977 struct temp_file *temp; in record_temp_file()
1982 temp = XNEW (struct temp_file); in record_temp_file()
1992 struct temp_file *temp; in record_temp_file()
2041 struct temp_file *temp; in delete_temp_files()
2053 struct temp_file *temp; in delete_failure_queue()
4452 FILE *f = fopen (temp_file, "w"); in create_at_file()
4457 temp_file); in create_at_file()
4463 temp_file); in create_at_file()
[all …]
H A Dcollect2.c3270 post_ld_pass (bool temp_file) { in post_ld_pass() argument
3271 if (!(temp_file && flag_idsym) && !flag_dsym) in post_ld_pass()
3279 static void post_ld_pass (bool temp_file ATTRIBUTE_UNUSED) { } in post_ld_pass()
/dragonfly/contrib/gcc-8.0/gcc/
H A Dgcc.c2349 struct temp_file struct
2352 struct temp_file *next; argument
2373 struct temp_file *temp; in record_temp_file()
2381 temp = XNEW (struct temp_file); in record_temp_file()
2391 struct temp_file *temp; in record_temp_file()
2443 struct temp_file *temp; in delete_temp_files()
2455 struct temp_file *temp; in delete_failure_queue()
5118 FILE *f = fopen (temp_file, "w"); in create_at_file()
5123 temp_file); in create_at_file()
5130 temp_file); in create_at_file()
[all …]
H A Dcollect2.c3078 post_ld_pass (bool temp_file) { in post_ld_pass() argument
3079 if (!(temp_file && flag_idsym) && !flag_dsym) in post_ld_pass()
3087 static void post_ld_pass (bool temp_file ATTRIBUTE_UNUSED) { } in post_ld_pass()