• Home
  • Raw
  • Download

Lines Matching refs:tmp_file_name

57 static char tmp_file_name[2][L_tmpnam];  variable
81 strcpy(tmp_file_name[0], tmpdir); in init_subpipe()
82 strcat(tmp_file_name[0], "/bnXXXXXX"); in init_subpipe()
83 fd = mkstemp(tmp_file_name[0]); in init_subpipe()
88 strcpy(tmp_file_name[1], tmpdir); in init_subpipe()
89 strcat(tmp_file_name[1], "/bnXXXXXX"); in init_subpipe()
90 fd = mkstemp(tmp_file_name[1]); in init_subpipe()
151 from_in_fd = open(tmp_file_name[0], O_WRONLY | O_CREAT | O_TRUNC, S_IWUSR); in create_subpipe()
156 remove_tmp_file(from_in_fd, tmp_file_name[0]); in create_subpipe()
181 …int from_out_fd = open(tmp_file_name[0], O_RDONLY, S_IRUSR); /* pipe from bison … in end_of_output_subpipe()
182 …int to_in_fd = open(tmp_file_name[1], O_WRONLY | O_CREAT | O_TRUNC, S_IWUSR); /* pipe from m4 to … in end_of_output_subpipe()
200 remove_tmp_file(from_out_fd, tmp_file_name[0]); in end_of_output_subpipe()
211 remove_tmp_file(STDIN_FILENO, tmp_file_name[0]); in end_of_output_subpipe()
216 remove_tmp_file(STDIN_FILENO, tmp_file_name[0]); in end_of_output_subpipe()
217 remove_tmp_file(to_in_fd, tmp_file_name[1]); in end_of_output_subpipe()
232 remove_tmp_file(STDIN_FILENO, tmp_file_name[0]); in end_of_output_subpipe()
233 remove_tmp_file(STDOUT_FILENO, tmp_file_name[1]); in end_of_output_subpipe()
238 remove_tmp_file(STDIN_FILENO, tmp_file_name[0]); in end_of_output_subpipe()
239 remove_tmp_file(STDOUT_FILENO, tmp_file_name[1]); in end_of_output_subpipe()
254 to_in_fd = open(tmp_file_name[1], O_RDONLY, S_IRUSR); /* pipe from m4 to bison. */ in end_of_output_subpipe()
257 remove_tmp_file(STDIN_FILENO, tmp_file_name[0]); in end_of_output_subpipe()
262 remove_tmp_file(STDIN_FILENO, tmp_file_name[0]); in end_of_output_subpipe()
263 remove_tmp_file(to_in_fd, tmp_file_name[1]); in end_of_output_subpipe()
285 if (unlink(tmp_file_name[0])) in reap_subpipe()
286 error(EXIT_FAILURE, 0, _("removing of '%s' failed"), tmp_file_name[0]); in reap_subpipe()
287 if (unlink(tmp_file_name[1])) in reap_subpipe()
288 error(EXIT_FAILURE, 0, _("removing of '%s' failed"), tmp_file_name[1]); in reap_subpipe()