Searched refs:tmp_file (Results 1 - 25 of 28) sorted by relevance

12

/freebsd-10-stable/usr.bin/patch/
H A Dbackupfile.c56 char *dir, *base_versions, *tmp_file; local
61 tmp_file = strdup(file);
62 if (tmp_file == NULL)
64 base_versions = concat(basename(tmp_file), ".~");
65 free(tmp_file);
68 tmp_file = strdup(file);
69 if (tmp_file == NULL) {
73 dir = dirname(tmp_file);
76 free(tmp_file);
81 free(tmp_file);
[all...]
/freebsd-10-stable/usr.sbin/pkg_install/updating/
H A Dmain.c67 char tmp_file[MAXPATHLEN]; local
145 n = strlcpy(tmp_file, pkgdbpath, sizeof(tmp_file));
146 n = strlcpy(tmp_file + n, "/", sizeof(tmp_file) - n);
147 n = strlcat(tmp_file + n, pkgdbdir->d_name,
148 sizeof(tmp_file) - n);
149 if (stat(tmp_file, &attribute) == -1) {
151 tmp_file, strerror(errno));
156 (void)strlcat(tmp_file
[all...]
/freebsd-10-stable/tests/sys/aio/
H A Daio_kqueue_test.c69 int tmp_file = 0; local
84 tmp_file = 1;
210 if (tmp_file)
H A Dlio_kqueue_test.c75 int tmp_file = 0, failed = 0; local
87 tmp_file = 1;
230 if (tmp_file)
/freebsd-10-stable/usr.bin/sort/
H A Dfile.h106 void tmp_file_atexit(const char *tmp_file);
H A Dfile.c137 tmp_file_atexit(const char *tmp_file) argument
140 if (tmp_file) {
144 item->fn = sort_strdup(tmp_file);
/freebsd-10-stable/contrib/groff/contrib/gdiffmk/tests/
H A Druntests.in11 rm -fv test_result* tmp_file*
20 clean Remove the test_result? and tmp_file? files.
/freebsd-10-stable/usr.bin/catman/
H A Dcatman.c98 static char tmp_file[MAXPATHLEN]; variable
163 if (tmp_file[0] != '\0')
164 unlink(tmp_file);
439 snprintf(tmp_file, sizeof tmp_file, "%s.tmp", cat);
448 if (rename(tmp_file, cat) < 0)
450 tmp_file[0] = '\0';
/freebsd-10-stable/contrib/ee/
H A Dee.c199 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
[all...]
/freebsd-10-stable/usr.bin/makewhatis/
H A Dmakewhatis.c118 static char tmp_file[MAXPATHLEN]; /* path of temporary file, if any */ variable
319 if (tmp_file[0] != '\0')
320 unlink(tmp_file);
348 snprintf(tmp_file, sizeof tmp_file, "%s.tmp", name);
349 name = tmp_file;
387 rename(tmp_file, name);
388 unlink(tmp_file);
/freebsd-10-stable/contrib/subversion/subversion/libsvn_subr/
H A Dcmdline.c1325 apr_file_t *tmp_file; local
1380 err = svn_io_open_uniquely_named(&tmp_file, &tmpfile_name,
1402 err = svn_io_open_uniquely_named(&tmp_file, &tmpfile_name,
1416 apr_err = apr_file_write_full(tmp_file, translated_contents->data,
1419 apr_err2 = apr_file_close(tmp_file);
/freebsd-10-stable/contrib/subversion/subversion/svn/
H A Dutil.c408 const char **tmp_file,
467 *tmp_file = NULL;
571 *tmp_file = lmb->tmpfile_left = apr_pstrdup(lmb->pool,
634 *tmp_file = lmb->tmpfile_left = NULL;
644 *tmp_file = lmb->tmpfile_left = NULL;
405 svn_cl__get_log_message(const char **log_msg, const char **tmp_file, const apr_array_header_t *commit_items, void *baton, apr_pool_t *pool) argument
H A Dcl.h648 const char **tmp_file,
/freebsd-10-stable/contrib/byacc/test/
H A Dgrammar.y320 FILE *tmp_file; /* temporary file */
727 fputs(cur_text(), cur_file->tmp_file);
736 fputs(" =", cur_file->tmp_file);
/freebsd-10-stable/contrib/subversion/subversion/libsvn_client/
H A Ddelete.c217 const char *tmp_file;
230 SVN_ERR(svn_client__get_log_msg(&log_msg, &tmp_file, commit_items,
215 const char *tmp_file; local
H A Dimport.c846 const char *tmp_file;
857 SVN_ERR(svn_client__get_log_msg(&log_msg, &tmp_file, commit_items,
861 if (tmp_file)
864 SVN_ERR(svn_dirent_get_absolute(&abs_path, tmp_file, scratch_pool));
844 const char *tmp_file; local
H A Dcommit.c807 const char *tmp_file;
809 svn_client__get_log_msg(&log_msg, &tmp_file, commit_items,
805 const char *tmp_file; local
H A Dclient.h1050 const char **tmp_file,
H A Dcommit_util.c1961 const char **tmp_file,
1970 return (*ctx->log_msg_func3)(log_msg, tmp_file, commit_items,
2028 err = (*ctx->log_msg_func2)(log_msg, tmp_file, old_commit_items,
2031 err = (*ctx->log_msg_func)(log_msg, tmp_file, old_commit_items,
2040 *tmp_file = NULL;
1959 svn_client__get_log_msg(const char **log_msg, const char **tmp_file, const apr_array_header_t *commit_items, svn_client_ctx_t *ctx, apr_pool_t *pool) argument
H A Dadd.c1134 const char *tmp_file;
1148 SVN_ERR(svn_client__get_log_msg(&log_msg, &tmp_file, commit_items,
1132 const char *tmp_file; local
H A Dmtcc.c1343 const char *tmp_file; local
1350 SVN_ERR(svn_client__get_log_msg(&log_msg, &tmp_file, commit_items,
H A Dprop_commands.c206 const char *tmp_file;
214 SVN_ERR(svn_client__get_log_msg(&message, &tmp_file, commit_items,
204 const char *tmp_file; local
/freebsd-10-stable/contrib/subversion/subversion/svnmucc/
H A Dsvnmucc.c405 const char **tmp_file,
412 *tmp_file = NULL;
404 log_message_func(const char **log_msg, const char **tmp_file, const apr_array_header_t *commit_items, void *baton, apr_pool_t *pool) argument
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Host/common/
H A DFileSpec.cpp589 FileSpec tmp_file (dir_ref.data(), false);
590 if (tmp_file.Exists())
592 m_directory = tmp_file.m_directory;
/freebsd-10-stable/contrib/byacc/test/yacc/
H A Dgrammar.tab.c350 FILE *tmp_file; /* temporary file */ member in struct:__anon827
1666 fputs(cur_text(), cur_file->tmp_file);
1677 fputs(" =", cur_file->tmp_file);

Completed in 235 milliseconds

12