Home
last modified time | relevance | path

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

/netbsd-src/external/gpl2/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()
/netbsd-src/usr.sbin/rpc.pcnfsd/
H A Dpcnfsd_misc.c238 char temp_file[256]; in run_ps630() local
242 (void) strlcpy(temp_file, f, sizeof(temp_file)); in run_ps630()
243 (void) strlcat(temp_file, "X", sizeof(temp_file)); /* intermediate file name */ in run_ps630()
247 opts[2], opts[3], temp_file); in run_ps630()
261 temp_file, f); in run_ps630()
274 if (rename(temp_file, f)) { in run_ps630()
/netbsd-src/external/bsd/atf/dist/atf-sh/
H A Datf-check.cpp110 class temp_file : public std::ostream { class
115 temp_file(const atf::fs::path& p) : in temp_file() function in __anon9a50e0e80111::temp_file
131 ~temp_file(void) in ~temp_file()
637 temp_file temp(path2); in run_output_check()
/netbsd-src/external/gpl3/binutils.old/dist/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()
H A DChangeLog3845 * pex-common.c (temp_file): New function, containing guts of
/netbsd-src/external/gpl3/binutils/dist/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()
H A DChangeLog4255 * pex-common.c (temp_file): New function, containing guts of
/netbsd-src/external/gpl3/gcc/dist/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()
H A DChangeLog3764 * pex-common.c (temp_file): New function, containing guts of
/netbsd-src/external/gpl3/gcc.old/dist/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()
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dgcc.cc2249 char *temp_file = make_at_file (); in close_at_file() local
2250 char *at_argument = concat ("@", temp_file, NULL); in close_at_file()
2251 FILE *f = fopen (temp_file, "w"); in close_at_file()
2264 temp_file); in close_at_file()
2271 temp_file); in close_at_file()
2277 temp_file); in close_at_file()
2281 record_temp_file (temp_file, !save_temps_flag, !save_temps_flag); in close_at_file()
2631 struct temp_file struct
2634 struct temp_file *next; argument
2638 static struct temp_file *always_delete_queue;
[all …]
H A Dcollect2.cc3068 post_ld_pass (bool temp_file) { in post_ld_pass() argument
3069 if (!(temp_file && flag_idsym) && !flag_dsym) in post_ld_pass()
3077 static void post_ld_pass (bool temp_file ATTRIBUTE_UNUSED) { } in post_ld_pass()
H A DChangeLog-199917994 multilib_dir, temp_filename, temp_file, command, switchstr,
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dgcc.c2050 char *temp_file = make_temp_file (""); in close_at_file() local
2051 char *at_argument = concat ("@", temp_file, NULL); in close_at_file()
2052 FILE *f = fopen (temp_file, "w"); in close_at_file()
2065 temp_file); in close_at_file()
2072 temp_file); in close_at_file()
2078 temp_file); in close_at_file()
2082 record_temp_file (temp_file, !save_temps_flag, !save_temps_flag); in close_at_file()
2432 struct temp_file struct
2435 struct temp_file *next; argument
2439 static struct temp_file *always_delete_queue;
[all …]
H A Dcollect2.c3063 post_ld_pass (bool temp_file) { in post_ld_pass() argument
3064 if (!(temp_file && flag_idsym) && !flag_dsym) in post_ld_pass()
3072 static void post_ld_pass (bool temp_file ATTRIBUTE_UNUSED) { } in post_ld_pass()
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/
H A Dparallelism.d4209 string temp_file = deleteme ~ "-tempDelMe.txt"; variable
4210 auto file = File(temp_file, "wb");
4215 remove(temp_file); in scope()
4224 file = File(temp_file);
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/
H A Dparallelism.d4471 string temp_file = deleteme ~ "-tempDelMe.txt"; variable
4472 auto file = File(temp_file, "wb");
4477 remove(temp_file); in scope()
4486 file = File(temp_file);