| /freebsd-10-stable/usr.sbin/pkg_install/updating/ |
| D | main.c | 67 char tmp_file[MAXPATHLEN]; in main() local 145 n = strlcpy(tmp_file, pkgdbpath, sizeof(tmp_file)); in main() 146 n = strlcpy(tmp_file + n, "/", sizeof(tmp_file) - n); in main() 147 n = strlcat(tmp_file + n, pkgdbdir->d_name, in main() 148 sizeof(tmp_file) - n); in main() 149 if (stat(tmp_file, &attribute) == -1) { in main() 151 tmp_file, strerror(errno)); in main() 156 (void)strlcat(tmp_file + n, "/", in main() 157 sizeof(tmp_file) - n); in main() 158 (void)strlcat(tmp_file + n, CONTENTS_FNAME, in main() [all …]
|
| /freebsd-10-stable/usr.bin/patch/ |
| D | backupfile.c | 56 char *dir, *base_versions, *tmp_file; in find_backup_file_name() local 61 tmp_file = strdup(file); in find_backup_file_name() 62 if (tmp_file == NULL) in find_backup_file_name() 64 base_versions = concat(basename(tmp_file), ".~"); in find_backup_file_name() 65 free(tmp_file); in find_backup_file_name() 68 tmp_file = strdup(file); in find_backup_file_name() 69 if (tmp_file == NULL) { in find_backup_file_name() 73 dir = dirname(tmp_file); in find_backup_file_name() 76 free(tmp_file); in find_backup_file_name() 81 free(tmp_file); in find_backup_file_name()
|
| /freebsd-10-stable/tests/sys/aio/ |
| D | aio_kqueue_test.c | 69 int tmp_file = 0; in main() local 84 tmp_file = 1; in main() 210 if (tmp_file) in main()
|
| D | lio_kqueue_test.c | 75 int tmp_file = 0, failed = 0; in main() local 87 tmp_file = 1; in main() 230 if (tmp_file) in main()
|
| /freebsd-10-stable/usr.bin/catman/ |
| D | catman.c | 98 static char tmp_file[MAXPATHLEN]; variable 163 if (tmp_file[0] != '\0') in trap_signal() 164 unlink(tmp_file); in trap_signal() 439 snprintf(tmp_file, sizeof tmp_file, "%s.tmp", cat); in process_page() 448 if (rename(tmp_file, cat) < 0) in process_page() 450 tmp_file[0] = '\0'; in process_page()
|
| /freebsd-10-stable/usr.bin/makewhatis/ |
| D | makewhatis.c | 118 static char tmp_file[MAXPATHLEN]; /* path of temporary file, if any */ variable 319 if (tmp_file[0] != '\0') in trap_signal() 320 unlink(tmp_file); in trap_signal() 348 snprintf(tmp_file, sizeof tmp_file, "%s.tmp", name); in open_output() 349 name = tmp_file; in open_output() 387 rename(tmp_file, name); in finish_output() 388 unlink(tmp_file); in finish_output()
|
| /freebsd-10-stable/contrib/ee/ |
| D | ee.c | 199 char *tmp_file; /* temporary file name */ variable 1710 tmp_file = resolve_name(cmd_str); 1711 write_file(tmp_file, 1); 1712 if (tmp_file != cmd_str) 1713 free(tmp_file); 1726 tmp_file = cmd_str; 1728 tmp_file = resolve_name(cmd_str); 1730 if (tmp_file != cmd_str) 1731 free(tmp_file); 2168 in_file_name = tmp_file = top_of_stack->name; in check_fp() [all …]
|
| /freebsd-10-stable/contrib/subversion/subversion/svn/ |
| D | util.c | 406 const char **tmp_file, in svn_cl__get_log_message() argument 465 *tmp_file = NULL; in svn_cl__get_log_message() 569 *tmp_file = lmb->tmpfile_left = apr_pstrdup(lmb->pool, in svn_cl__get_log_message() 632 *tmp_file = lmb->tmpfile_left = NULL; in svn_cl__get_log_message() 642 *tmp_file = lmb->tmpfile_left = NULL; in svn_cl__get_log_message()
|
| D | cl.h | 638 const char **tmp_file,
|
| /freebsd-10-stable/usr.bin/sort/ |
| D | file.h | 106 void tmp_file_atexit(const char *tmp_file);
|
| D | file.c | 137 tmp_file_atexit(const char *tmp_file) in tmp_file_atexit() argument 140 if (tmp_file) { in tmp_file_atexit() 144 item->fn = sort_strdup(tmp_file); in tmp_file_atexit()
|
| /freebsd-10-stable/contrib/subversion/subversion/libsvn_client/ |
| D | import.c | 844 const char *tmp_file; in svn_client_import5() local 855 SVN_ERR(svn_client__get_log_msg(&log_msg, &tmp_file, commit_items, in svn_client_import5() 859 if (tmp_file) in svn_client_import5() 862 SVN_ERR(svn_dirent_get_absolute(&abs_path, tmp_file, scratch_pool)); in svn_client_import5()
|
| D | delete.c | 215 const char *tmp_file; in single_repos_delete() local 228 SVN_ERR(svn_client__get_log_msg(&log_msg, &tmp_file, commit_items, in single_repos_delete()
|
| D | commit_util.c | 1960 const char **tmp_file, in svn_client__get_log_msg() argument 1969 return (*ctx->log_msg_func3)(log_msg, tmp_file, commit_items, in svn_client__get_log_msg() 2027 err = (*ctx->log_msg_func2)(log_msg, tmp_file, old_commit_items, in svn_client__get_log_msg() 2030 err = (*ctx->log_msg_func)(log_msg, tmp_file, old_commit_items, in svn_client__get_log_msg() 2039 *tmp_file = NULL; in svn_client__get_log_msg()
|
| D | commit.c | 805 const char *tmp_file; in svn_client_commit6() local 807 svn_client__get_log_msg(&log_msg, &tmp_file, commit_items, in svn_client_commit6()
|
| D | client.h | 1050 const char **tmp_file,
|
| D | add.c | 1132 const char *tmp_file; in mkdir_urls() local 1146 SVN_ERR(svn_client__get_log_msg(&log_msg, &tmp_file, commit_items, in mkdir_urls()
|
| D | prop_commands.c | 204 const char *tmp_file; in propset_on_url() local 212 SVN_ERR(svn_client__get_log_msg(&message, &tmp_file, commit_items, in propset_on_url()
|
| D | copy.c | 1741 const char *tmp_file; in repos_to_repos_copy() local 1786 SVN_ERR(svn_client__get_log_msg(&message, &tmp_file, commit_items, in repos_to_repos_copy() 2224 const char *tmp_file; in wc_to_repos_copy() local 2226 SVN_ERR(svn_client__get_log_msg(&message, &tmp_file, commit_items, in wc_to_repos_copy()
|
| /freebsd-10-stable/contrib/groff/contrib/gdiffmk/tests/ |
| D | runtests.in | 11 rm -fv test_result* tmp_file*
|
| /freebsd-10-stable/contrib/subversion/subversion/libsvn_subr/ |
| D | cmdline.c | 1325 apr_file_t *tmp_file; in svn_cmdline__edit_string_externally() local 1380 err = svn_io_open_uniquely_named(&tmp_file, &tmpfile_name, in svn_cmdline__edit_string_externally() 1402 err = svn_io_open_uniquely_named(&tmp_file, &tmpfile_name, in svn_cmdline__edit_string_externally() 1416 apr_err = apr_file_write_full(tmp_file, translated_contents->data, in svn_cmdline__edit_string_externally() 1419 apr_err2 = apr_file_close(tmp_file); in svn_cmdline__edit_string_externally()
|
| /freebsd-10-stable/contrib/byacc/test/ |
| D | grammar.y | 320 FILE *tmp_file; /* temporary file */ member 727 fputs(cur_text(), cur_file->tmp_file); 736 fputs(" =", cur_file->tmp_file);
|
| /freebsd-10-stable/contrib/llvm/tools/lldb/source/Host/common/ |
| D | FileSpec.cpp | 589 FileSpec tmp_file (dir_ref.data(), false); in ResolveExecutableLocation() local 590 if (tmp_file.Exists()) in ResolveExecutableLocation() 592 m_directory = tmp_file.m_directory; in ResolveExecutableLocation()
|
| /freebsd-10-stable/contrib/subversion/subversion/svnmucc/ |
| D | svnmucc.c | 405 const char **tmp_file, in log_message_func() argument 412 *tmp_file = NULL; in log_message_func()
|
| /freebsd-10-stable/contrib/byacc/test/yacc/ |
| D | grammar.tab.c | 350 FILE *tmp_file; /* temporary file */ member 1666 fputs(cur_text(), cur_file->tmp_file); in YYPARSE_DECL() 1677 fputs(" =", cur_file->tmp_file); in YYPARSE_DECL()
|